Class CreateFrameworkDeploymentRequest.Builder (0.12.0)

public static final class CreateFrameworkDeploymentRequest.Builder extends GeneratedMessage.Builder<CreateFrameworkDeploymentRequest.Builder> implements CreateFrameworkDeploymentRequestOrBuilder

The request message for [CreateFrameworkDeployment][].

Protobuf type google.cloud.cloudsecuritycompliance.v1.CreateFrameworkDeploymentRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateFrameworkDeploymentRequest build()
Returns
Type Description
CreateFrameworkDeploymentRequest

buildPartial()

public CreateFrameworkDeploymentRequest buildPartial()
Returns
Type Description
CreateFrameworkDeploymentRequest

clear()

public CreateFrameworkDeploymentRequest.Builder clear()
Returns
Type Description
CreateFrameworkDeploymentRequest.Builder
Overrides

clearFrameworkDeployment()

public CreateFrameworkDeploymentRequest.Builder clearFrameworkDeployment()

Required. The framework deployment that you're creating.

.google.cloud.cloudsecuritycompliance.v1.FrameworkDeployment framework_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateFrameworkDeploymentRequest.Builder

clearFrameworkDeploymentId()

public CreateFrameworkDeploymentRequest.Builder clearFrameworkDeploymentId()

Optional. An identifier for the framework deployment that's unique in scope of the parent. If you don't specify a value, then a random UUID is generated.

string framework_deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateFrameworkDeploymentRequest.Builder

This builder for chaining.

clearParent()

public CreateFrameworkDeploymentRequest.Builder clearParent()

Required. The parent resource of the framework deployment in the format organizations/{organization}/locations/{location}. Only the global location is supported.

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

Returns
Type Description
CreateFrameworkDeploymentRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateFrameworkDeploymentRequest getDefaultInstanceForType()
Returns
Type Description
CreateFrameworkDeploymentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFrameworkDeployment()

public FrameworkDeployment getFrameworkDeployment()

Required. The framework deployment that you're creating.

.google.cloud.cloudsecuritycompliance.v1.FrameworkDeployment framework_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FrameworkDeployment

The frameworkDeployment.

getFrameworkDeploymentBuilder()

public FrameworkDeployment.Builder getFrameworkDeploymentBuilder()

Required. The framework deployment that you're creating.

.google.cloud.cloudsecuritycompliance.v1.FrameworkDeployment framework_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FrameworkDeployment.Builder

getFrameworkDeploymentId()

public String getFrameworkDeploymentId()

Optional. An identifier for the framework deployment that's unique in scope of the parent. If you don't specify a value, then a random UUID is generated.

string framework_deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The frameworkDeploymentId.

getFrameworkDeploymentIdBytes()

public ByteString getFrameworkDeploymentIdBytes()

Optional. An identifier for the framework deployment that's unique in scope of the parent. If you don't specify a value, then a random UUID is generated.

string framework_deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for frameworkDeploymentId.

getFrameworkDeploymentOrBuilder()

public FrameworkDeploymentOrBuilder getFrameworkDeploymentOrBuilder()

Required. The framework deployment that you're creating.

.google.cloud.cloudsecuritycompliance.v1.FrameworkDeployment framework_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FrameworkDeploymentOrBuilder

getParent()

public String getParent()

Required. The parent resource of the framework deployment in the format organizations/{organization}/locations/{location}. Only the global location is supported.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource of the framework deployment in the format organizations/{organization}/locations/{location}. Only the global location is supported.

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

Returns
Type Description
ByteString

The bytes for parent.

hasFrameworkDeployment()

public boolean hasFrameworkDeployment()

Required. The framework deployment that you're creating.

.google.cloud.cloudsecuritycompliance.v1.FrameworkDeployment framework_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the frameworkDeployment field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrameworkDeployment(FrameworkDeployment value)

public CreateFrameworkDeploymentRequest.Builder mergeFrameworkDeployment(FrameworkDeployment value)

Required. The framework deployment that you're creating.

.google.cloud.cloudsecuritycompliance.v1.FrameworkDeployment framework_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FrameworkDeployment
Returns
Type Description
CreateFrameworkDeploymentRequest.Builder

mergeFrom(CreateFrameworkDeploymentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateFrameworkDeploymentRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateFrameworkDeploymentRequest.Builder
Overrides

setFrameworkDeployment(FrameworkDeployment value)

public CreateFrameworkDeploymentRequest.Builder setFrameworkDeployment(FrameworkDeployment value)

Required. The framework deployment that you're creating.

.google.cloud.cloudsecuritycompliance.v1.FrameworkDeployment framework_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FrameworkDeployment
Returns
Type Description
CreateFrameworkDeploymentRequest.Builder

setFrameworkDeployment(FrameworkDeployment.Builder builderForValue)

public CreateFrameworkDeploymentRequest.Builder setFrameworkDeployment(FrameworkDeployment.Builder builderForValue)

Required. The framework deployment that you're creating.

.google.cloud.cloudsecuritycompliance.v1.FrameworkDeployment framework_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue FrameworkDeployment.Builder
Returns
Type Description
CreateFrameworkDeploymentRequest.Builder

setFrameworkDeploymentId(String value)

public CreateFrameworkDeploymentRequest.Builder setFrameworkDeploymentId(String value)

Optional. An identifier for the framework deployment that's unique in scope of the parent. If you don't specify a value, then a random UUID is generated.

string framework_deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The frameworkDeploymentId to set.

Returns
Type Description
CreateFrameworkDeploymentRequest.Builder

This builder for chaining.

setFrameworkDeploymentIdBytes(ByteString value)

public CreateFrameworkDeploymentRequest.Builder setFrameworkDeploymentIdBytes(ByteString value)

Optional. An identifier for the framework deployment that's unique in scope of the parent. If you don't specify a value, then a random UUID is generated.

string framework_deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for frameworkDeploymentId to set.

Returns
Type Description
CreateFrameworkDeploymentRequest.Builder

This builder for chaining.

setParent(String value)

public CreateFrameworkDeploymentRequest.Builder setParent(String value)

Required. The parent resource of the framework deployment in the format organizations/{organization}/locations/{location}. Only the global location is supported.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateFrameworkDeploymentRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateFrameworkDeploymentRequest.Builder setParentBytes(ByteString value)

Required. The parent resource of the framework deployment in the format organizations/{organization}/locations/{location}. Only the global location is supported.

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

This builder for chaining.