public static final class ChildPartitionsRecord.ChildPartition extends GeneratedMessageV3 implements ChildPartitionsRecord.ChildPartitionOrBuilder
A single child partition.
Protobuf type google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ChildPartitionsRecord.ChildPartition.Builder newBuilder()
newBuilder(ChildPartitionsRecord.ChildPartition prototype)
public static ChildPartitionsRecord.ChildPartition.Builder newBuilder(ChildPartitionsRecord.ChildPartition prototype)
public static ChildPartitionsRecord.ChildPartition parseDelimitedFrom(InputStream input)
public static ChildPartitionsRecord.ChildPartition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ChildPartitionsRecord.ChildPartition parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ChildPartitionsRecord.ChildPartition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ChildPartitionsRecord.ChildPartition parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChildPartitionsRecord.ChildPartition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChildPartitionsRecord.ChildPartition parseFrom(CodedInputStream input)
public static ChildPartitionsRecord.ChildPartition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ChildPartitionsRecord.ChildPartition parseFrom(InputStream input)
public static ChildPartitionsRecord.ChildPartition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ChildPartitionsRecord.ChildPartition parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ChildPartitionsRecord.ChildPartition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ChildPartitionsRecord.ChildPartition> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ChildPartitionsRecord.ChildPartition getDefaultInstanceForType()
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;
getParserForType()
public Parser<ChildPartitionsRecord.ChildPartition> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ChildPartitionsRecord.ChildPartition.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ChildPartitionsRecord.ChildPartition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ChildPartitionsRecord.ChildPartition.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides