Class UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder (0.14.0)

publicstaticfinalclass UpdateSecurityHealthAnalyticsCustomModuleRequest.BuilderextendsGeneratedMessageV3.Builder<UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder>implementsUpdateSecurityHealthAnalyticsCustomModuleRequestOrBuilder

Message for updating a SecurityHealthAnalyticsCustomModule

Protobuf type google.cloud.securitycentermanagement.v1.UpdateSecurityHealthAnalyticsCustomModuleRequest

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

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)

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

build()

publicUpdateSecurityHealthAnalyticsCustomModuleRequestbuild()
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest

buildPartial()

publicUpdateSecurityHealthAnalyticsCustomModuleRequestbuildPartial()
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest

clear()

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.Builderclear()
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

clearSecurityHealthAnalyticsCustomModule()

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearSecurityHealthAnalyticsCustomModule()

Required. The resource being updated

.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

clearUpdateMask()

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearUpdateMask()

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

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

Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

clearValidateOnly()

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.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
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.

clone()

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.Builderclone()
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

getDefaultInstanceForType()

publicUpdateSecurityHealthAnalyticsCustomModuleRequestgetDefaultInstanceForType()
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSecurityHealthAnalyticsCustomModule()

publicSecurityHealthAnalyticsCustomModulegetSecurityHealthAnalyticsCustomModule()

Required. The resource being updated

.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityHealthAnalyticsCustomModule

The securityHealthAnalyticsCustomModule.

getSecurityHealthAnalyticsCustomModuleBuilder()

publicSecurityHealthAnalyticsCustomModule.BuildergetSecurityHealthAnalyticsCustomModuleBuilder()

Required. The resource being updated

.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityHealthAnalyticsCustomModule.Builder

getSecurityHealthAnalyticsCustomModuleOrBuilder()

publicSecurityHealthAnalyticsCustomModuleOrBuildergetSecurityHealthAnalyticsCustomModuleOrBuilder()

Required. The resource being updated

.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityHealthAnalyticsCustomModuleOrBuilder

getUpdateMask()

publicFieldMaskgetUpdateMask()

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

publicFieldMask.BuildergetUpdateMaskBuilder()

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

publicFieldMaskOrBuildergetUpdateMaskOrBuilder()

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

.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.

hasSecurityHealthAnalyticsCustomModule()

publicbooleanhasSecurityHealthAnalyticsCustomModule()

Required. The resource being updated

.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the securityHealthAnalyticsCustomModule field is set.

hasUpdateMask()

publicbooleanhasUpdateMask()

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

.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

mergeFrom(UpdateSecurityHealthAnalyticsCustomModuleRequest other)

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeFrom(UpdateSecurityHealthAnalyticsCustomModuleRequestother)
Parameter
Name Description
other UpdateSecurityHealthAnalyticsCustomModuleRequest
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

mergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModulevalue)

Required. The resource being updated

.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SecurityHealthAnalyticsCustomModule
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeUpdateMask(FieldMaskvalue)

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.BuildersetSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModulevalue)

Required. The resource being updated

.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SecurityHealthAnalyticsCustomModule
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.Builder builderForValue)

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.BuildersetSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.BuilderbuilderForValue)

Required. The resource being updated

.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SecurityHealthAnalyticsCustomModule.Builder
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateSecurityHealthAnalyticsCustomModuleRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

setUpdateMask(FieldMask value)

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.BuildersetUpdateMask(FieldMaskvalue)

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.BuildersetUpdateMask(FieldMask.BuilderbuilderForValue)

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

setValidateOnly(boolean value)

publicUpdateSecurityHealthAnalyticsCustomModuleRequest.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
UpdateSecurityHealthAnalyticsCustomModuleRequest.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.