Class DeletePartitionRequest.Builder (1.51.0)

public static final class DeletePartitionRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeletePartitionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeletePartitionRequest.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public DeletePartitionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeletePartitionRequest.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeletePartitionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeletePartitionRequest.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeletePartitionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public DeletePartitionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeletePartitionRequest.Builder
Overrides

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.

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

public DeletePartitionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeletePartitionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeletePartitionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeletePartitionRequest.Builder
Overrides