Class ListPartitionsResponse.Builder (1.43.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.dataplex.v1.Partition>
Returns
Type Description
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
Name Description
value Partition
Returns
Type Description
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
Name Description
builderForValue Partition.Builder
Returns
Type Description
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
Name Description
index int
value Partition
Returns
Type Description
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
Name Description
index int
builderForValue Partition.Builder
Returns
Type Description
ListPartitionsResponse.Builder

addPartitionsBuilder()

public Partition.Builder addPartitionsBuilder()

Partitions under the specified parent entity.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
Partition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPartitionsResponse build()
Returns
Type Description
ListPartitionsResponse

buildPartial()

public ListPartitionsResponse buildPartial()
Returns
Type Description
ListPartitionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListPartitionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListPartitionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPartitions()

public ListPartitionsResponse.Builder clearPartitions()

Partitions under the specified parent entity.

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

Returns
Type Description
ListPartitionsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListPartitionsResponse getDefaultInstanceForType()
Returns
Type Description
ListPartitionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
Partition.Builder

getPartitionsBuilderList()

public List<Partition.Builder> getPartitionsBuilderList()

Partitions under the specified parent entity.

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

Returns
Type Description
List<Builder>

getPartitionsCount()

public int getPartitionsCount()

Partitions under the specified parent entity.

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

Returns
Type Description
int

getPartitionsList()

public List<Partition> getPartitionsList()

Partitions under the specified parent entity.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
PartitionOrBuilder

getPartitionsOrBuilderList()

public List<? extends PartitionOrBuilder> getPartitionsOrBuilderList()

Partitions under the specified parent entity.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPartitionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPartitionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ListPartitionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPartitionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
index int
value Partition
Returns
Type Description
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
Name Description
index int
builderForValue Partition.Builder
Returns
Type Description
ListPartitionsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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