Class GetPartitionRequest.Builder (1.52.0)

public static final class GetPartitionRequest.Builder extends GeneratedMessageV3.Builder<GetPartitionRequest.Builder> implements GetPartitionRequestOrBuilder

Get metadata partition request.

Protobuf type google.cloud.dataplex.v1.GetPartitionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetPartitionRequest build()
Returns
Type Description
GetPartitionRequest

buildPartial()

public GetPartitionRequest buildPartial()
Returns
Type Description
GetPartitionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetPartitionRequest.Builder clearName()

Required. The resource name of the partition: 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
GetPartitionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetPartitionRequest getDefaultInstanceForType()
Returns
Type Description
GetPartitionRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the partition: 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: 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(GetPartitionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetPartitionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetPartitionRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetPartitionRequest.Builder setName(String value)

Required. The resource name of the partition: 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
GetPartitionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetPartitionRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the partition: 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
GetPartitionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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