public final class Partition extends GeneratedMessageV3 implements PartitionOrBuilder
Information returned for each partition returned in a PartitionResponse.
Protobuf type google.spanner.v1.Partition
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PartitionImplements
PartitionOrBuilderFields
PARTITION_TOKEN_FIELD_NUMBER
public static final int PARTITION_TOKEN_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static Partition getDefaultInstance()
Type | Description |
Partition |
getDefaultInstanceForType()
public Partition getDefaultInstanceForType()
Type | Description |
Partition |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getParserForType()
public Parser<Partition> getParserForType()
Type | Description |
Parser<Partition> |
getPartitionToken()
public ByteString getPartitionToken()
This token can be passed to Read, StreamingRead, ExecuteSql, or ExecuteStreamingSql requests to restrict the results to those identified by this partition token.
bytes partition_token = 1;
Type | Description |
ByteString | The partitionToken. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static Partition.Builder newBuilder()
Type | Description |
Partition.Builder |
newBuilder(Partition prototype)
public static Partition.Builder newBuilder(Partition prototype)
Name | Description |
prototype | Partition |
Type | Description |
Partition.Builder |
newBuilderForType()
public Partition.Builder newBuilderForType()
Type | Description |
Partition.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Partition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Partition.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static Partition parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Partition |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Partition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Partition |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Partition parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Partition |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Partition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Partition |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Partition parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Partition |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Partition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Partition |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Partition parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Partition |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Partition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Partition |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Partition parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Partition |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Partition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Partition |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Partition parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Partition |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Partition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Partition |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Partition> parser()
Type | Description |
Parser<Partition> |
toBuilder()
public Partition.Builder toBuilder()
Type | Description |
Partition.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |