Class DeletePartitionRequest.Builder (1.81.0)

public static final class DeletePartitionRequest.Builder extends GeneratedMessage.Builder<DeletePartitionRequest.Builder> implements DeletePartitionRequestOrBuilder

Delete metadata partition request.

Protobuf type google.cloud.dataplex.v1.DeletePartitionRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeletePartitionRequest build()
Returns
Type Description
DeletePartitionRequest

buildPartial()

public DeletePartitionRequest buildPartial()
Returns
Type Description
DeletePartitionRequest

clear()

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

clearEtag() (deprecated)

public DeletePartitionRequest.Builder clearEtag()

Deprecated. google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See google/cloud/dataplex/v1/metadata.proto;l=318

Optional. The etag associated with the partition.

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

Returns
Type Description
DeletePartitionRequest.Builder

This builder for chaining.

clearName()

public DeletePartitionRequest.Builder clearName()

Required. The resource name of the partition. format: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}. The {partition_value_path} segment consists of an ordered sequence of partition values separated by "/". All values must be provided.

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

Returns
Type Description
DeletePartitionRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeletePartitionRequest getDefaultInstanceForType()
Returns
Type Description
DeletePartitionRequest

getDescriptorForType()

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

getEtag() (deprecated)

public String getEtag()

Deprecated. google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See google/cloud/dataplex/v1/metadata.proto;l=318

Optional. The etag associated with the partition.

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

Returns
Type Description
String

The etag.

getEtagBytes() (deprecated)

public ByteString getEtagBytes()

Deprecated. google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See google/cloud/dataplex/v1/metadata.proto;l=318

Optional. The etag associated with the partition.

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

Returns
Type Description
ByteString

The bytes for etag.

getName()

public String getName()

Required. The resource name of the partition. format: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}. The {partition_value_path} segment consists of an ordered sequence of partition values separated by "/". All values must be provided.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the partition. format: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}. The {partition_value_path} segment consists of an ordered sequence of partition values separated by "/". All values must be provided.

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(DeletePartitionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEtag(String value) (deprecated)

public DeletePartitionRequest.Builder setEtag(String value)

Deprecated. google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See google/cloud/dataplex/v1/metadata.proto;l=318

Optional. The etag associated with the partition.

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

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
DeletePartitionRequest.Builder

This builder for chaining.

setEtagBytes(ByteString value) (deprecated)

public DeletePartitionRequest.Builder setEtagBytes(ByteString value)

Deprecated. google.cloud.dataplex.v1.DeletePartitionRequest.etag is deprecated. See google/cloud/dataplex/v1/metadata.proto;l=318

Optional. The etag associated with the partition.

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

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
DeletePartitionRequest.Builder

This builder for chaining.

setName(String value)

public DeletePartitionRequest.Builder setName(String value)

Required. The resource name of the partition. format: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}. The {partition_value_path} segment consists of an ordered sequence of partition values separated by "/". All values must be provided.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeletePartitionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeletePartitionRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the partition. format: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}. The {partition_value_path} segment consists of an ordered sequence of partition values separated by "/". All values must be provided.

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

This builder for chaining.