Class DeletePartitionRequest.Builder (1.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeletePartitionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeletePartitionRequest.Builder
Overrides

build()

public DeletePartitionRequest build()
Returns
TypeDescription
DeletePartitionRequest

buildPartial()

public DeletePartitionRequest buildPartial()
Returns
TypeDescription
DeletePartitionRequest

clear()

public DeletePartitionRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
DeletePartitionRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DeletePartitionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DeletePartitionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeletePartitionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeletePartitionRequest.Builder
Overrides

clone()

public DeletePartitionRequest.Builder clone()
Returns
TypeDescription
DeletePartitionRequest.Builder
Overrides

getDefaultInstanceForType()

public DeletePartitionRequest getDefaultInstanceForType()
Returns
TypeDescription
DeletePartitionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeletePartitionRequest other)

public DeletePartitionRequest.Builder mergeFrom(DeletePartitionRequest other)
Parameter
NameDescription
otherDeletePartitionRequest
Returns
TypeDescription
DeletePartitionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeletePartitionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeletePartitionRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeletePartitionRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeletePartitionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeletePartitionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The etag to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
DeletePartitionRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DeletePartitionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeletePartitionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeletePartitionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeletePartitionRequest.Builder
Overrides