Class ChildPartitionsRecord.ChildPartition (6.58.0)

public static final class ChildPartitionsRecord.ChildPartition extends GeneratedMessageV3 implements ChildPartitionsRecord.ChildPartitionOrBuilder

A single child partition.

Protobuf type google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ChildPartitionsRecord.ChildPartition

Static Fields

PARENT_PARTITION_TOKENS_FIELD_NUMBER

public static final int PARENT_PARTITION_TOKENS_FIELD_NUMBER
Field Value
TypeDescription
int

TOKEN_FIELD_NUMBER

public static final int TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ChildPartitionsRecord.ChildPartition getDefaultInstance()
Returns
TypeDescription
ChildPartitionsRecord.ChildPartition

getDescriptor()

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

newBuilder()

public static ChildPartitionsRecord.ChildPartition.Builder newBuilder()
Returns
TypeDescription
ChildPartitionsRecord.ChildPartition.Builder

newBuilder(ChildPartitionsRecord.ChildPartition prototype)

public static ChildPartitionsRecord.ChildPartition.Builder newBuilder(ChildPartitionsRecord.ChildPartition prototype)
Parameter
NameDescription
prototypeChildPartitionsRecord.ChildPartition
Returns
TypeDescription
ChildPartitionsRecord.ChildPartition.Builder

parseDelimitedFrom(InputStream input)

public static ChildPartitionsRecord.ChildPartition parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ChildPartitionsRecord.ChildPartition
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ChildPartitionsRecord.ChildPartition parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ChildPartitionsRecord.ChildPartition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ChildPartitionsRecord.ChildPartition parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ChildPartitionsRecord.ChildPartition
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ChildPartitionsRecord.ChildPartition parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ChildPartitionsRecord.ChildPartition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ChildPartitionsRecord.ChildPartition parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ChildPartitionsRecord.ChildPartition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ChildPartitionsRecord.ChildPartition> parser()
Returns
TypeDescription
Parser<ChildPartition>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ChildPartitionsRecord.ChildPartition getDefaultInstanceForType()
Returns
TypeDescription
ChildPartitionsRecord.ChildPartition

getParentPartitionTokens(int index)

public String getParentPartitionTokens(int index)

Parent partition tokens of this child partition.

repeated string parent_partition_tokens = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The parentPartitionTokens at the given index.

getParentPartitionTokensBytes(int index)

public ByteString getParentPartitionTokensBytes(int index)

Parent partition tokens of this child partition.

repeated string parent_partition_tokens = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the parentPartitionTokens at the given index.

getParentPartitionTokensCount()

public int getParentPartitionTokensCount()

Parent partition tokens of this child partition.

repeated string parent_partition_tokens = 2;

Returns
TypeDescription
int

The count of parentPartitionTokens.

getParentPartitionTokensList()

public ProtocolStringList getParentPartitionTokensList()

Parent partition tokens of this child partition.

repeated string parent_partition_tokens = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the parentPartitionTokens.

getParserForType()

public Parser<ChildPartitionsRecord.ChildPartition> getParserForType()
Returns
TypeDescription
Parser<ChildPartition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getToken()

public String getToken()

Partition token string used to identify the child partition in queries.

string token = 1;

Returns
TypeDescription
String

The token.

getTokenBytes()

public ByteString getTokenBytes()

Partition token string used to identify the child partition in queries.

string token = 1;

Returns
TypeDescription
ByteString

The bytes for token.

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 ChildPartitionsRecord.ChildPartition.Builder newBuilderForType()
Returns
TypeDescription
ChildPartitionsRecord.ChildPartition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ChildPartitionsRecord.ChildPartition.Builder toBuilder()
Returns
TypeDescription
ChildPartitionsRecord.ChildPartition.Builder

writeTo(CodedOutputStream output)

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