public static final class TransactionOptions.ReadWrite extends GeneratedMessageV3 implements TransactionOptions.ReadWriteOrBuilder
Message type to initiate a read-write transaction. Currently this transaction type has no options.
Protobuf type google.spanner.v1.TransactionOptions.ReadWrite
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TransactionOptions.ReadWriteImplements
TransactionOptions.ReadWriteOrBuilderStatic Methods
getDefaultInstance()
public static TransactionOptions.ReadWrite getDefaultInstance()
Type | Description |
TransactionOptions.ReadWrite |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static TransactionOptions.ReadWrite.Builder newBuilder()
Type | Description |
TransactionOptions.ReadWrite.Builder |
newBuilder(TransactionOptions.ReadWrite prototype)
public static TransactionOptions.ReadWrite.Builder newBuilder(TransactionOptions.ReadWrite prototype)
Name | Description |
prototype | TransactionOptions.ReadWrite |
Type | Description |
TransactionOptions.ReadWrite.Builder |
parseDelimitedFrom(InputStream input)
public static TransactionOptions.ReadWrite parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
TransactionOptions.ReadWrite |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransactionOptions.ReadWrite parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransactionOptions.ReadWrite |
Type | Description |
IOException |
parseFrom(byte[] data)
public static TransactionOptions.ReadWrite parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
TransactionOptions.ReadWrite |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransactionOptions.ReadWrite parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransactionOptions.ReadWrite |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static TransactionOptions.ReadWrite parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
TransactionOptions.ReadWrite |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransactionOptions.ReadWrite parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransactionOptions.ReadWrite |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static TransactionOptions.ReadWrite parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
TransactionOptions.ReadWrite |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransactionOptions.ReadWrite parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransactionOptions.ReadWrite |
Type | Description |
IOException |
parseFrom(InputStream input)
public static TransactionOptions.ReadWrite parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
TransactionOptions.ReadWrite |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransactionOptions.ReadWrite parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransactionOptions.ReadWrite |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static TransactionOptions.ReadWrite parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
TransactionOptions.ReadWrite |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransactionOptions.ReadWrite parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransactionOptions.ReadWrite |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<TransactionOptions.ReadWrite> parser()
Type | Description |
Parser<ReadWrite> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public TransactionOptions.ReadWrite getDefaultInstanceForType()
Type | Description |
TransactionOptions.ReadWrite |
getParserForType()
public Parser<TransactionOptions.ReadWrite> getParserForType()
Type | Description |
Parser<ReadWrite> |
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 |
newBuilderForType()
public TransactionOptions.ReadWrite.Builder newBuilderForType()
Type | Description |
TransactionOptions.ReadWrite.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransactionOptions.ReadWrite.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
TransactionOptions.ReadWrite.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public TransactionOptions.ReadWrite.Builder toBuilder()
Type | Description |
TransactionOptions.ReadWrite.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |