Class CreateSecurityHealthAnalyticsCustomModuleRequest.Builder (2.29.0)

public static final class CreateSecurityHealthAnalyticsCustomModuleRequest.Builder extends GeneratedMessageV3.Builder<CreateSecurityHealthAnalyticsCustomModuleRequest.Builder> implements CreateSecurityHealthAnalyticsCustomModuleRequestOrBuilder

Request message for creating Security Health Analytics custom modules.

Protobuf type google.cloud.securitycenter.v1.CreateSecurityHealthAnalyticsCustomModuleRequest

Inheritance

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

build()

public CreateSecurityHealthAnalyticsCustomModuleRequest build()
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest

buildPartial()

public CreateSecurityHealthAnalyticsCustomModuleRequest buildPartial()
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest

clear()

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clear()
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

clearParent()

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clearParent()

Required. Resource name of the new custom module's parent. Its format is "organizations/{organization}/securityHealthAnalyticsSettings", "folders/{folder}/securityHealthAnalyticsSettings", or "projects/{project}/securityHealthAnalyticsSettings"

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

Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.

clearSecurityHealthAnalyticsCustomModule()

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clearSecurityHealthAnalyticsCustomModule()

Required. SecurityHealthAnalytics custom module to create. The provided name is ignored and reset with provided parent information and server-generated ID.

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

Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

clone()

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clone()
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateSecurityHealthAnalyticsCustomModuleRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. Resource name of the new custom module's parent. Its format is "organizations/{organization}/securityHealthAnalyticsSettings", "folders/{folder}/securityHealthAnalyticsSettings", or "projects/{project}/securityHealthAnalyticsSettings"

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource name of the new custom module's parent. Its format is "organizations/{organization}/securityHealthAnalyticsSettings", "folders/{folder}/securityHealthAnalyticsSettings", or "projects/{project}/securityHealthAnalyticsSettings"

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

Returns
TypeDescription
ByteString

The bytes for parent.

getSecurityHealthAnalyticsCustomModule()

public SecurityHealthAnalyticsCustomModule getSecurityHealthAnalyticsCustomModule()

Required. SecurityHealthAnalytics custom module to create. The provided name is ignored and reset with provided parent information and server-generated ID.

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

Returns
TypeDescription
SecurityHealthAnalyticsCustomModule

The securityHealthAnalyticsCustomModule.

getSecurityHealthAnalyticsCustomModuleBuilder()

public SecurityHealthAnalyticsCustomModule.Builder getSecurityHealthAnalyticsCustomModuleBuilder()

Required. SecurityHealthAnalytics custom module to create. The provided name is ignored and reset with provided parent information and server-generated ID.

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

Returns
TypeDescription
SecurityHealthAnalyticsCustomModule.Builder

getSecurityHealthAnalyticsCustomModuleOrBuilder()

public SecurityHealthAnalyticsCustomModuleOrBuilder getSecurityHealthAnalyticsCustomModuleOrBuilder()

Required. SecurityHealthAnalytics custom module to create. The provided name is ignored and reset with provided parent information and server-generated ID.

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

Returns
TypeDescription
SecurityHealthAnalyticsCustomModuleOrBuilder

hasSecurityHealthAnalyticsCustomModule()

public boolean hasSecurityHealthAnalyticsCustomModule()

Required. SecurityHealthAnalytics custom module to create. The provided name is ignored and reset with provided parent information and server-generated ID.

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

Returns
TypeDescription
boolean

Whether the securityHealthAnalyticsCustomModule field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateSecurityHealthAnalyticsCustomModuleRequest other)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(CreateSecurityHealthAnalyticsCustomModuleRequest other)
Parameter
NameDescription
otherCreateSecurityHealthAnalyticsCustomModuleRequest
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

mergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)

Required. SecurityHealthAnalytics custom module to create. The provided name is ignored and reset with provided parent information and server-generated ID.

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

Parameter
NameDescription
valueSecurityHealthAnalyticsCustomModule
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

setParent(String value)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setParent(String value)

Required. Resource name of the new custom module's parent. Its format is "organizations/{organization}/securityHealthAnalyticsSettings", "folders/{folder}/securityHealthAnalyticsSettings", or "projects/{project}/securityHealthAnalyticsSettings"

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setParentBytes(ByteString value)

Required. Resource name of the new custom module's parent. Its format is "organizations/{organization}/securityHealthAnalyticsSettings", "folders/{folder}/securityHealthAnalyticsSettings", or "projects/{project}/securityHealthAnalyticsSettings"

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.

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

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)

Required. SecurityHealthAnalytics custom module to create. The provided name is ignored and reset with provided parent information and server-generated ID.

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

Parameter
NameDescription
valueSecurityHealthAnalyticsCustomModule
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.Builder builderForValue)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.Builder builderForValue)

Required. SecurityHealthAnalytics custom module to create. The provided name is ignored and reset with provided parent information and server-generated ID.

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

Parameter
NameDescription
builderForValueSecurityHealthAnalyticsCustomModule.Builder
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides