public static final class ListPartitionsResponse.Builder extends GeneratedMessage.Builder<ListPartitionsResponse.Builder> implements ListPartitionsResponseOrBuilderList metadata partitions response.
Protobuf type google.cloud.dataplex.v1.ListPartitionsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListPartitionsResponse.BuilderImplements
ListPartitionsResponseOrBuilderStatic 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 |
|
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 |
|
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. |
clearPartitions()
public ListPartitionsResponse.Builder clearPartitions()Partitions under the specified parent entity.
repeated .google.cloud.dataplex.v1.Partition partitions = 1;
| Returns | |
|---|---|
| Type | Description |
ListPartitionsResponse.Builder |
|
getDefaultInstanceForType()
public ListPartitionsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListPartitionsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListPartitionsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListPartitionsResponse.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
|