public final class PartitionResponse extends GeneratedMessageV3 implements PartitionResponseOrBuilder
The response for PartitionQuery or PartitionRead
Protobuf type google.spanner.v1.PartitionResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PartitionResponseImplements
PartitionResponseOrBuilderStatic Fields
PARTITIONS_FIELD_NUMBER
public static final int PARTITIONS_FIELD_NUMBER
Type | Description |
int |
TRANSACTION_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static PartitionResponse getDefaultInstance()
Type | Description |
PartitionResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static PartitionResponse.Builder newBuilder()
Type | Description |
PartitionResponse.Builder |
newBuilder(PartitionResponse prototype)
public static PartitionResponse.Builder newBuilder(PartitionResponse prototype)
Name | Description |
prototype | PartitionResponse |
Type | Description |
PartitionResponse.Builder |
parseDelimitedFrom(InputStream input)
public static PartitionResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PartitionResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PartitionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PartitionResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static PartitionResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
PartitionResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PartitionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PartitionResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PartitionResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
PartitionResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PartitionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PartitionResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PartitionResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
PartitionResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PartitionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PartitionResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static PartitionResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PartitionResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PartitionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PartitionResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PartitionResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
PartitionResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PartitionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PartitionResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PartitionResponse> parser()
Type | Description |
Parser<PartitionResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public PartitionResponse getDefaultInstanceForType()
Type | Description |
PartitionResponse |
getParserForType()
public Parser<PartitionResponse> getParserForType()
Type | Description |
Parser<PartitionResponse> |
getPartitions(int index)
public Partition getPartitions(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Name | Description |
index | int |
Type | Description |
Partition |
getPartitionsCount()
public int getPartitionsCount()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Type | Description |
int |
getPartitionsList()
public List<Partition> getPartitionsList()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Type | Description |
List<Partition> |
getPartitionsOrBuilder(int index)
public PartitionOrBuilder getPartitionsOrBuilder(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Name | Description |
index | int |
Type | Description |
PartitionOrBuilder |
getPartitionsOrBuilderList()
public List<? extends PartitionOrBuilder> getPartitionsOrBuilderList()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Type | Description |
List<? extends com.google.spanner.v1.PartitionOrBuilder> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getTransaction()
public Transaction getTransaction()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
Type | Description |
Transaction | The transaction. |
getTransactionOrBuilder()
public TransactionOrBuilder getTransactionOrBuilder()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
Type | Description |
TransactionOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasTransaction()
public boolean hasTransaction()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
Type | Description |
boolean | Whether the transaction field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public PartitionResponse.Builder newBuilderForType()
Type | Description |
PartitionResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PartitionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
PartitionResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public PartitionResponse.Builder toBuilder()
Type | Description |
PartitionResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |