Class UpdateEventThreatDetectionCustomModuleRequest.Builder (0.8.0)

publicstaticfinalclass UpdateEventThreatDetectionCustomModuleRequest.BuilderextendsGeneratedMessageV3.Builder<UpdateEventThreatDetectionCustomModuleRequest.Builder>implementsUpdateEventThreatDetectionCustomModuleRequestOrBuilder

Message for updating a EventThreatDetectionCustomModule

Protobuf type google.cloud.securitycentermanagement.v1.UpdateEventThreatDetectionCustomModuleRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicUpdateEventThreatDetectionCustomModuleRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder
Overrides

build()

publicUpdateEventThreatDetectionCustomModuleRequestbuild()
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest

buildPartial()

publicUpdateEventThreatDetectionCustomModuleRequestbuildPartial()
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest

clear()

publicUpdateEventThreatDetectionCustomModuleRequest.Builderclear()
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder
Overrides

clearEventThreatDetectionCustomModule()

publicUpdateEventThreatDetectionCustomModuleRequest.BuilderclearEventThreatDetectionCustomModule()

Required. The module being updated

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder

clearField(Descriptors.FieldDescriptor field)

publicUpdateEventThreatDetectionCustomModuleRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicUpdateEventThreatDetectionCustomModuleRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder
Overrides

clearUpdateMask()

publicUpdateEventThreatDetectionCustomModuleRequest.BuilderclearUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the EventThreatDetectionCustomModule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder

clearValidateOnly()

publicUpdateEventThreatDetectionCustomModuleRequest.BuilderclearValidateOnly()

Optional. When set to true, only validations (including IAM checks) will done for the request (module will not be updated). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually update the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred while trying to update the module.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

clone()

publicUpdateEventThreatDetectionCustomModuleRequest.Builderclone()
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder
Overrides

getDefaultInstanceForType()

publicUpdateEventThreatDetectionCustomModuleRequestgetDefaultInstanceForType()
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEventThreatDetectionCustomModule()

publicEventThreatDetectionCustomModulegetEventThreatDetectionCustomModule()

Required. The module being updated

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventThreatDetectionCustomModule

The eventThreatDetectionCustomModule.

getEventThreatDetectionCustomModuleBuilder()

publicEventThreatDetectionCustomModule.BuildergetEventThreatDetectionCustomModuleBuilder()

Required. The module being updated

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventThreatDetectionCustomModule.Builder

getEventThreatDetectionCustomModuleOrBuilder()

publicEventThreatDetectionCustomModuleOrBuildergetEventThreatDetectionCustomModuleOrBuilder()

Required. The module being updated

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventThreatDetectionCustomModuleOrBuilder

getUpdateMask()

publicFieldMaskgetUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the EventThreatDetectionCustomModule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

publicFieldMask.BuildergetUpdateMaskBuilder()

Required. Field mask is used to specify the fields to be overwritten in the EventThreatDetectionCustomModule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

publicFieldMaskOrBuildergetUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the EventThreatDetectionCustomModule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

publicbooleangetValidateOnly()

Optional. When set to true, only validations (including IAM checks) will done for the request (module will not be updated). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually update the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred while trying to update the module.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasEventThreatDetectionCustomModule()

publicbooleanhasEventThreatDetectionCustomModule()

Required. The module being updated

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the eventThreatDetectionCustomModule field is set.

hasUpdateMask()

publicbooleanhasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the EventThreatDetectionCustomModule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)

publicUpdateEventThreatDetectionCustomModuleRequest.BuildermergeEventThreatDetectionCustomModule(EventThreatDetectionCustomModulevalue)

Required. The module being updated

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EventThreatDetectionCustomModule
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder

mergeFrom(UpdateEventThreatDetectionCustomModuleRequest other)

publicUpdateEventThreatDetectionCustomModuleRequest.BuildermergeFrom(UpdateEventThreatDetectionCustomModuleRequestother)
Parameter
Name Description
other UpdateEventThreatDetectionCustomModuleRequest
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicUpdateEventThreatDetectionCustomModuleRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicUpdateEventThreatDetectionCustomModuleRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateEventThreatDetectionCustomModuleRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

publicUpdateEventThreatDetectionCustomModuleRequest.BuildermergeUpdateMask(FieldMaskvalue)

Required. Field mask is used to specify the fields to be overwritten in the EventThreatDetectionCustomModule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder

setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)

publicUpdateEventThreatDetectionCustomModuleRequest.BuildersetEventThreatDetectionCustomModule(EventThreatDetectionCustomModulevalue)

Required. The module being updated

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EventThreatDetectionCustomModule
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder

setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule.Builder builderForValue)

publicUpdateEventThreatDetectionCustomModuleRequest.BuildersetEventThreatDetectionCustomModule(EventThreatDetectionCustomModule.BuilderbuilderForValue)

Required. The module being updated

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EventThreatDetectionCustomModule.Builder
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicUpdateEventThreatDetectionCustomModuleRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicUpdateEventThreatDetectionCustomModuleRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateEventThreatDetectionCustomModuleRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder
Overrides

setUpdateMask(FieldMask value)

publicUpdateEventThreatDetectionCustomModuleRequest.BuildersetUpdateMask(FieldMaskvalue)

Required. Field mask is used to specify the fields to be overwritten in the EventThreatDetectionCustomModule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

publicUpdateEventThreatDetectionCustomModuleRequest.BuildersetUpdateMask(FieldMask.BuilderbuilderForValue)

Required. Field mask is used to specify the fields to be overwritten in the EventThreatDetectionCustomModule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder

setValidateOnly(boolean value)

publicUpdateEventThreatDetectionCustomModuleRequest.BuildersetValidateOnly(booleanvalue)

Optional. When set to true, only validations (including IAM checks) will done for the request (module will not be updated). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually update the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred while trying to update the module.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
UpdateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.