Class ListPartitionsResponse (1.17.0)

public final class ListPartitionsResponse extends GeneratedMessageV3 implements ListPartitionsResponseOrBuilder

List metadata partitions response.

Protobuf type google.cloud.dataplex.v1.ListPartitionsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PARTITIONS_FIELD_NUMBER

public static final int PARTITIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListPartitionsResponse getDefaultInstance()
Returns
TypeDescription
ListPartitionsResponse

getDescriptor()

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

newBuilder()

public static ListPartitionsResponse.Builder newBuilder()
Returns
TypeDescription
ListPartitionsResponse.Builder

newBuilder(ListPartitionsResponse prototype)

public static ListPartitionsResponse.Builder newBuilder(ListPartitionsResponse prototype)
Parameter
NameDescription
prototypeListPartitionsResponse
Returns
TypeDescription
ListPartitionsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListPartitionsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListPartitionsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListPartitionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPartitionsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListPartitionsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListPartitionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListPartitionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPartitionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListPartitionsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListPartitionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListPartitionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPartitionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListPartitionsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListPartitionsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListPartitionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPartitionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListPartitionsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListPartitionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListPartitionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPartitionsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListPartitionsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListPartitionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListPartitionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPartitionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListPartitionsResponse> parser()
Returns
TypeDescription
Parser<ListPartitionsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListPartitionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPartitionsResponse

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.

getParserForType()

public Parser<ListPartitionsResponse> getParserForType()
Returns
TypeDescription
Parser<ListPartitionsResponse>
Overrides

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListPartitionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListPartitionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListPartitionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListPartitionsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListPartitionsResponse.Builder toBuilder()
Returns
TypeDescription
ListPartitionsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException