Class ListPartitionsResponse.Builder (1.10.0)

public static final class ListPartitionsResponse.Builder extends GeneratedMessageV3.Builder<ListPartitionsResponse.Builder> implements ListPartitionsResponseOrBuilder

List metadata partitions response.

Protobuf type google.cloud.dataplex.v1.ListPartitionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllPartitions(Iterable<? extends Partition> values)

public ListPartitionsResponse.Builder addAllPartitions(Iterable<? extends Partition> values)

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dataplex.v1.Partition>
Returns
TypeDescription
ListPartitionsResponse.Builder

addPartitions(Partition value)

public ListPartitionsResponse.Builder addPartitions(Partition value)

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Parameter
NameDescription
valuePartition
Returns
TypeDescription
ListPartitionsResponse.Builder

addPartitions(Partition.Builder builderForValue)

public ListPartitionsResponse.Builder addPartitions(Partition.Builder builderForValue)

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Parameter
NameDescription
builderForValuePartition.Builder
Returns
TypeDescription
ListPartitionsResponse.Builder

addPartitions(int index, Partition value)

public ListPartitionsResponse.Builder addPartitions(int index, Partition value)

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Parameters
NameDescription
indexint
valuePartition
Returns
TypeDescription
ListPartitionsResponse.Builder

addPartitions(int index, Partition.Builder builderForValue)

public ListPartitionsResponse.Builder addPartitions(int index, Partition.Builder builderForValue)

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Parameters
NameDescription
indexint
builderForValuePartition.Builder
Returns
TypeDescription
ListPartitionsResponse.Builder

addPartitionsBuilder()

public Partition.Builder addPartitionsBuilder()

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Returns
TypeDescription
Partition.Builder

addPartitionsBuilder(int index)

public Partition.Builder addPartitionsBuilder(int index)

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Partition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPartitionsResponse build()
Returns
TypeDescription
ListPartitionsResponse

buildPartial()

public ListPartitionsResponse buildPartial()
Returns
TypeDescription
ListPartitionsResponse

clear()

public ListPartitionsResponse.Builder clear()
Returns
TypeDescription
ListPartitionsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListPartitionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListPartitionsResponse.Builder
Overrides

clearNextPageToken()

public ListPartitionsResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no remaining results in the list.

string next_page_token = 2;

Returns
TypeDescription
ListPartitionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPartitions()

public ListPartitionsResponse.Builder clearPartitions()

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Returns
TypeDescription
ListPartitionsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListPartitionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPartitionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no remaining results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no remaining results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getPartitions(int index)

public Partition getPartitions(int index)

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Partition

getPartitionsBuilder(int index)

public Partition.Builder getPartitionsBuilder(int index)

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Partition.Builder

getPartitionsBuilderList()

public List<Partition.Builder> getPartitionsBuilderList()

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Returns
TypeDescription
List<Builder>

getPartitionsCount()

public int getPartitionsCount()

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Returns
TypeDescription
int

getPartitionsList()

public List<Partition> getPartitionsList()

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Returns
TypeDescription
List<Partition>

getPartitionsOrBuilder(int index)

public PartitionOrBuilder getPartitionsOrBuilder(int index)

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PartitionOrBuilder

getPartitionsOrBuilderList()

public List<? extends PartitionOrBuilder> getPartitionsOrBuilderList()

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dataplex.v1.PartitionOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPartitionsResponse other)

public ListPartitionsResponse.Builder mergeFrom(ListPartitionsResponse other)
Parameter
NameDescription
otherListPartitionsResponse
Returns
TypeDescription
ListPartitionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPartitionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListPartitionsResponse.Builder
Overrides

removePartitions(int index)

public ListPartitionsResponse.Builder removePartitions(int index)

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListPartitionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListPartitionsResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no remaining results in the list.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListPartitionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListPartitionsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no remaining results in the list.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListPartitionsResponse.Builder

This builder for chaining.

setPartitions(int index, Partition value)

public ListPartitionsResponse.Builder setPartitions(int index, Partition value)

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Parameters
NameDescription
indexint
valuePartition
Returns
TypeDescription
ListPartitionsResponse.Builder

setPartitions(int index, Partition.Builder builderForValue)

public ListPartitionsResponse.Builder setPartitions(int index, Partition.Builder builderForValue)

Partitions under the specified parent entity.

repeated .google.cloud.dataplex.v1.Partition partitions = 1;

Parameters
NameDescription
indexint
builderForValuePartition.Builder
Returns
TypeDescription
ListPartitionsResponse.Builder

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

public ListPartitionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListPartitionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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