Class CreateSecurityHealthAnalyticsCustomModuleRequest.Builder (2.91.0)

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

Request message for creating Security Health Analytics custom modules.

Protobuf type google.cloud.securitycenter.v1.CreateSecurityHealthAnalyticsCustomModuleRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CreateSecurityHealthAnalyticsCustomModuleRequest build()
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest

buildPartial()

public CreateSecurityHealthAnalyticsCustomModuleRequest buildPartial()
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest

clear()

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

getDefaultInstanceForType()

public CreateSecurityHealthAnalyticsCustomModuleRequest getDefaultInstanceForType()
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the securityHealthAnalyticsCustomModule field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateSecurityHealthAnalyticsCustomModuleRequest other)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(CreateSecurityHealthAnalyticsCustomModuleRequest other)
Parameter
Name Description
other CreateSecurityHealthAnalyticsCustomModuleRequest
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value SecurityHealthAnalyticsCustomModule
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

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
Name Description
value String

The parent to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.

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
Name Description
value SecurityHealthAnalyticsCustomModule
Returns
Type Description
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
Name Description
builderForValue SecurityHealthAnalyticsCustomModule.Builder
Returns
Type Description
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder