Class DeleteFrameworkDeploymentRequest.Builder (0.12.0)

public static final class DeleteFrameworkDeploymentRequest.Builder extends GeneratedMessage.Builder<DeleteFrameworkDeploymentRequest.Builder> implements DeleteFrameworkDeploymentRequestOrBuilder

The request message for [DeleteFrameworkDeployment][].

Protobuf type google.cloud.cloudsecuritycompliance.v1.DeleteFrameworkDeploymentRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeleteFrameworkDeploymentRequest build()
Returns
Type Description
DeleteFrameworkDeploymentRequest

buildPartial()

public DeleteFrameworkDeploymentRequest buildPartial()
Returns
Type Description
DeleteFrameworkDeploymentRequest

clear()

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

clearEtag()

public DeleteFrameworkDeploymentRequest.Builder clearEtag()

Optional. An opaque identifier for the current version of the resource.

If you provide this value, then it must match the existing value. If the values don't match, then the request fails with an ABORTED error.

If you omit this value, then the resource is deleted regardless of its current etag value.

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

Returns
Type Description
DeleteFrameworkDeploymentRequest.Builder

This builder for chaining.

clearName()

public DeleteFrameworkDeploymentRequest.Builder clearName()

Required. The name of the framework deployment that you want to delete, in the format organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}. The only supported location is global.

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

Returns
Type Description
DeleteFrameworkDeploymentRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteFrameworkDeploymentRequest getDefaultInstanceForType()
Returns
Type Description
DeleteFrameworkDeploymentRequest

getDescriptorForType()

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

getEtag()

public String getEtag()

Optional. An opaque identifier for the current version of the resource.

If you provide this value, then it must match the existing value. If the values don't match, then the request fails with an ABORTED error.

If you omit this value, then the resource is deleted regardless of its current etag value.

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

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Optional. An opaque identifier for the current version of the resource.

If you provide this value, then it must match the existing value. If the values don't match, then the request fails with an ABORTED error.

If you omit this value, then the resource is deleted regardless of its current etag value.

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

Returns
Type Description
ByteString

The bytes for etag.

getName()

public String getName()

Required. The name of the framework deployment that you want to delete, in the format organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}. The only supported location is global.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the framework deployment that you want to delete, in the format organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}. The only supported location is global.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteFrameworkDeploymentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEtag(String value)

public DeleteFrameworkDeploymentRequest.Builder setEtag(String value)

Optional. An opaque identifier for the current version of the resource.

If you provide this value, then it must match the existing value. If the values don't match, then the request fails with an ABORTED error.

If you omit this value, then the resource is deleted regardless of its current etag value.

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

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
DeleteFrameworkDeploymentRequest.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public DeleteFrameworkDeploymentRequest.Builder setEtagBytes(ByteString value)

Optional. An opaque identifier for the current version of the resource.

If you provide this value, then it must match the existing value. If the values don't match, then the request fails with an ABORTED error.

If you omit this value, then the resource is deleted regardless of its current etag value.

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

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
DeleteFrameworkDeploymentRequest.Builder

This builder for chaining.

setName(String value)

public DeleteFrameworkDeploymentRequest.Builder setName(String value)

Required. The name of the framework deployment that you want to delete, in the format organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}. The only supported location is global.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteFrameworkDeploymentRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteFrameworkDeploymentRequest.Builder setNameBytes(ByteString value)

Required. The name of the framework deployment that you want to delete, in the format organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}. The only supported location is global.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteFrameworkDeploymentRequest.Builder

This builder for chaining.