Class UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder (0.42.0)

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

Request message for SecurityCenterManagement.UpdateSecurityHealthAnalyticsCustomModule.

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 fields to update. The following values are valid:

  • custom_config
  • enablement_state

    If you omit this field or set it to the wildcard value *, then all eligible fields 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, the request will be validated (including IAM checks), but no module will be updated. An OK response indicates that the request is valid, while an error response indicates that the request is invalid.

If the request is valid, a subsequent request to update the module could still fail for one of the following reasons:

  • The state of your cloud resources changed; for example, you lost a required IAM permission
  • An error occurred during creation of the module

    Defaults to false.

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 fields to update. The following values are valid:

  • custom_config
  • enablement_state

    If you omit this field or set it to the wildcard value *, then all eligible fields are updated.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

publicFieldMask.BuildergetUpdateMaskBuilder()

Required. The fields to update. The following values are valid:

  • custom_config
  • enablement_state

    If you omit this field or set it to the wildcard value *, then all eligible fields are updated.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

publicFieldMaskOrBuildergetUpdateMaskOrBuilder()

Required. The fields to update. The following values are valid:

  • custom_config
  • enablement_state

    If you omit this field or set it to the wildcard value *, then all eligible fields are updated.

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

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

publicbooleangetValidateOnly()

Optional. When set to true, the request will be validated (including IAM checks), but no module will be updated. An OK response indicates that the request is valid, while an error response indicates that the request is invalid.

If the request is valid, a subsequent request to update the module could still fail for one of the following reasons:

  • The state of your cloud resources changed; for example, you lost a required IAM permission
  • An error occurred during creation of the module

    Defaults to false.

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 fields to update. The following values are valid:

  • custom_config
  • enablement_state

    If you omit this field or set it to the wildcard value *, then all eligible fields 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 fields to update. The following values are valid:

  • custom_config
  • enablement_state

    If you omit this field or set it to the wildcard value *, then all eligible fields 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 fields to update. The following values are valid:

  • custom_config
  • enablement_state

    If you omit this field or set it to the wildcard value *, then all eligible fields 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 fields to update. The following values are valid:

  • custom_config
  • enablement_state

    If you omit this field or set it to the wildcard value *, then all eligible fields 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, the request will be validated (including IAM checks), but no module will be updated. An OK response indicates that the request is valid, while an error response indicates that the request is invalid.

If the request is valid, a subsequent request to update the module could still fail for one of the following reasons:

  • The state of your cloud resources changed; for example, you lost a required IAM permission
  • An error occurred during creation of the module

    Defaults to false.

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.