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
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
addPartitions(Partition value)
public ListPartitionsResponse.Builder addPartitions(Partition value)
Partitions under the specified parent entity.
repeated .google.cloud.dataplex.v1.Partition partitions = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
addPartitionsBuilder()
public Partition.Builder addPartitionsBuilder()
Partitions under the specified parent entity.
repeated .google.cloud.dataplex.v1.Partition partitions = 1;
Returns
addPartitionsBuilder(int index)
public Partition.Builder addPartitionsBuilder(int index)
Partitions under the specified parent entity.
repeated .google.cloud.dataplex.v1.Partition partitions = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPartitionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListPartitionsResponse build()
Returns
buildPartial()
public ListPartitionsResponse buildPartial()
Returns
clear()
public ListPartitionsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListPartitionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPartitionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPartitions()
public ListPartitionsResponse.Builder clearPartitions()
Partitions under the specified parent entity.
repeated .google.cloud.dataplex.v1.Partition partitions = 1;
Returns
clone()
public ListPartitionsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListPartitionsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
getPartitionsBuilder(int index)
public Partition.Builder getPartitionsBuilder(int index)
Partitions under the specified parent entity.
repeated .google.cloud.dataplex.v1.Partition partitions = 1;
Parameter
Returns
getPartitionsBuilderList()
public List<Partition.Builder> getPartitionsBuilderList()
Partitions under the specified parent entity.
repeated .google.cloud.dataplex.v1.Partition partitions = 1;
Returns
getPartitionsCount()
public int getPartitionsCount()
Partitions under the specified parent entity.
repeated .google.cloud.dataplex.v1.Partition partitions = 1;
Returns
getPartitionsList()
public List<Partition> getPartitionsList()
Partitions under the specified parent entity.
repeated .google.cloud.dataplex.v1.Partition partitions = 1;
Returns
getPartitionsOrBuilder(int index)
public PartitionOrBuilder getPartitionsOrBuilder(int index)
Partitions under the specified parent entity.
repeated .google.cloud.dataplex.v1.Partition partitions = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListPartitionsResponse other)
public ListPartitionsResponse.Builder mergeFrom(ListPartitionsResponse other)
Parameter
Returns
public ListPartitionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListPartitionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPartitionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListPartitionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPartitionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPartitionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides