Class ChildPartitionsRecord.ChildPartition (6.74.1)

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
Type Description
int

TOKEN_FIELD_NUMBER

public static final int TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ChildPartitionsRecord.ChildPartition getDefaultInstance()
Returns
Type Description
ChildPartitionsRecord.ChildPartition

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ChildPartitionsRecord.ChildPartition.Builder newBuilder()
Returns
Type Description
ChildPartitionsRecord.ChildPartition.Builder

newBuilder(ChildPartitionsRecord.ChildPartition prototype)

public static ChildPartitionsRecord.ChildPartition.Builder newBuilder(ChildPartitionsRecord.ChildPartition prototype)
Parameter
Name Description
prototype ChildPartitionsRecord.ChildPartition
Returns
Type Description
ChildPartitionsRecord.ChildPartition.Builder

parseDelimitedFrom(InputStream input)

public static ChildPartitionsRecord.ChildPartition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChildPartitionsRecord.ChildPartition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChildPartitionsRecord.ChildPartition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChildPartitionsRecord.ChildPartition
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ChildPartitionsRecord.ChildPartition parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ChildPartitionsRecord.ChildPartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ChildPartitionsRecord.ChildPartition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChildPartitionsRecord.ChildPartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ChildPartitionsRecord.ChildPartition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ChildPartitionsRecord.ChildPartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ChildPartitionsRecord.ChildPartition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChildPartitionsRecord.ChildPartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ChildPartitionsRecord.ChildPartition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ChildPartitionsRecord.ChildPartition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ChildPartitionsRecord.ChildPartition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChildPartitionsRecord.ChildPartition
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ChildPartitionsRecord.ChildPartition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChildPartitionsRecord.ChildPartition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChildPartitionsRecord.ChildPartition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChildPartitionsRecord.ChildPartition
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ChildPartitionsRecord.ChildPartition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ChildPartitionsRecord.ChildPartition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ChildPartitionsRecord.ChildPartition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChildPartitionsRecord.ChildPartition
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ChildPartitionsRecord.ChildPartition getDefaultInstanceForType()
Returns
Type Description
ChildPartitionsRecord.ChildPartition

getParentPartitionTokens(int index)

public String getParentPartitionTokens(int index)

Parent partition tokens of this child partition.

repeated string parent_partition_tokens = 2;

Parameter
Name Description
index int

The index of the element to return.

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

The index of the value to return.

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

The count of parentPartitionTokens.

getParentPartitionTokensList()

public ProtocolStringList getParentPartitionTokensList()

Parent partition tokens of this child partition.

repeated string parent_partition_tokens = 2;

Returns
Type Description
ProtocolStringList

A list containing the parentPartitionTokens.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getToken()

public String getToken()

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

string token = 1;

Returns
Type Description
String

The token.

getTokenBytes()

public ByteString getTokenBytes()

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

string token = 1;

Returns
Type Description
ByteString

The bytes for token.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ChildPartitionsRecord.ChildPartition.Builder newBuilderForType()
Returns
Type Description
ChildPartitionsRecord.ChildPartition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ChildPartitionsRecord.ChildPartition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ChildPartitionsRecord.ChildPartition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ChildPartitionsRecord.ChildPartition.Builder toBuilder()
Returns
Type Description
ChildPartitionsRecord.ChildPartition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException