Class CreateSecurityHealthAnalyticsCustomModuleRequest.Builder (0.38.0)

publicstaticfinalclass CreateSecurityHealthAnalyticsCustomModuleRequest.BuilderextendsGeneratedMessageV3.Builder<CreateSecurityHealthAnalyticsCustomModuleRequest.Builder>implementsCreateSecurityHealthAnalyticsCustomModuleRequestOrBuilder

Request message for SecurityCenterManagement.CreateSecurityHealthAnalyticsCustomModule.

Protobuf type google.cloud.securitycentermanagement.v1.CreateSecurityHealthAnalyticsCustomModuleRequest

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateSecurityHealthAnalyticsCustomModuleRequest.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)

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

build()

publicCreateSecurityHealthAnalyticsCustomModuleRequestbuild()
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest

buildPartial()

publicCreateSecurityHealthAnalyticsCustomModuleRequestbuildPartial()
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest

clear()

publicCreateSecurityHealthAnalyticsCustomModuleRequest.Builderclear()
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicCreateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicCreateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

clearParent()

publicCreateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearParent()

Required. Name of the parent organization, folder, or project of the module, in one of the following formats:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.

clearSecurityHealthAnalyticsCustomModule()

publicCreateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearSecurityHealthAnalyticsCustomModule()

Required. The resource being created.

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

Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

clearValidateOnly()

publicCreateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearValidateOnly()

Optional. When set to true, the request will be validated (including IAM checks), but no module will be created. 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 create 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
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.

clone()

publicCreateSecurityHealthAnalyticsCustomModuleRequest.Builderclone()
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

getDefaultInstanceForType()

publicCreateSecurityHealthAnalyticsCustomModuleRequestgetDefaultInstanceForType()
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

publicStringgetParent()

Required. Name of the parent organization, folder, or project of the module, in one of the following formats:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

publicByteStringgetParentBytes()

Required. Name of the parent organization, folder, or project of the module, in one of the following formats:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getSecurityHealthAnalyticsCustomModule()

publicSecurityHealthAnalyticsCustomModulegetSecurityHealthAnalyticsCustomModule()

Required. The resource being created.

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

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

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

Returns
Type Description
SecurityHealthAnalyticsCustomModuleOrBuilder

getValidateOnly()

publicbooleangetValidateOnly()

Optional. When set to true, the request will be validated (including IAM checks), but no module will be created. 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 create 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 created.

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

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateSecurityHealthAnalyticsCustomModuleRequest other)

publicCreateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeFrom(CreateSecurityHealthAnalyticsCustomModuleRequestother)
Parameter
Name Description
other CreateSecurityHealthAnalyticsCustomModuleRequest
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

publicCreateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

mergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)

publicCreateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModulevalue)

Required. The resource being created.

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

Parameter
Name Description
value SecurityHealthAnalyticsCustomModule
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

publicCreateSecurityHealthAnalyticsCustomModuleRequest.BuildersetParent(Stringvalue)

Required. Name of the parent organization, folder, or project of the module, in one of the following formats:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

publicCreateSecurityHealthAnalyticsCustomModuleRequest.BuildersetParentBytes(ByteStringvalue)

Required. Name of the parent organization, folder, or project of the module, in one of the following formats:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.

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

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

setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)

publicCreateSecurityHealthAnalyticsCustomModuleRequest.BuildersetSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModulevalue)

Required. The resource being created.

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

Parameter
Name Description
value SecurityHealthAnalyticsCustomModule
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.Builder builderForValue)

publicCreateSecurityHealthAnalyticsCustomModuleRequest.BuildersetSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.BuilderbuilderForValue)

Required. The resource being created.

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

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateSecurityHealthAnalyticsCustomModuleRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

setValidateOnly(boolean value)

publicCreateSecurityHealthAnalyticsCustomModuleRequest.BuildersetValidateOnly(booleanvalue)

Optional. When set to true, the request will be validated (including IAM checks), but no module will be created. 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 create 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
CreateSecurityHealthAnalyticsCustomModuleRequest.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.