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