Send feedback
Class StartTransactionAction (6.62.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.62.0 keyboard_arrow_down
public final class StartTransactionAction extends GeneratedMessageV3 implements StartTransactionActionOrBuilder
StartTransactionAction defines an action of initializing a transaction.
Protobuf type google.spanner.executor.v1.StartTransactionAction
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
CONCURRENCY_FIELD_NUMBER
public static final int CONCURRENCY_FIELD_NUMBER
Field Value Type Description int
EXECUTION_OPTIONS_FIELD_NUMBER
public static final int EXECUTION_OPTIONS_FIELD_NUMBER
Field Value Type Description int
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
Field Value Type Description int
TRANSACTION_SEED_FIELD_NUMBER
public static final int TRANSACTION_SEED_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static StartTransactionAction getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static StartTransactionAction . Builder newBuilder ()
newBuilder(StartTransactionAction prototype)
public static StartTransactionAction . Builder newBuilder ( StartTransactionAction prototype )
public static StartTransactionAction parseDelimitedFrom ( InputStream input )
public static StartTransactionAction parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static StartTransactionAction parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StartTransactionAction parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static StartTransactionAction parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StartTransactionAction parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static StartTransactionAction parseFrom ( CodedInputStream input )
public static StartTransactionAction parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static StartTransactionAction parseFrom ( InputStream input )
public static StartTransactionAction parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static StartTransactionAction parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StartTransactionAction parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<StartTransactionAction> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getConcurrency()
public Concurrency getConcurrency ()
Concurrency is for read-only transactions and must be omitted for
read-write transactions.
optional .google.spanner.executor.v1.Concurrency concurrency = 1;
getConcurrencyOrBuilder()
public ConcurrencyOrBuilder getConcurrencyOrBuilder ()
Concurrency is for read-only transactions and must be omitted for
read-write transactions.
optional .google.spanner.executor.v1.Concurrency concurrency = 1;
getDefaultInstanceForType()
public StartTransactionAction getDefaultInstanceForType ()
getExecutionOptions()
public TransactionExecutionOptions getExecutionOptions ()
Execution options (e.g., whether transaction is opaque, optimistic).
optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4;
getExecutionOptionsOrBuilder()
public TransactionExecutionOptionsOrBuilder getExecutionOptionsOrBuilder ()
Execution options (e.g., whether transaction is opaque, optimistic).
optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4;
getParserForType()
public Parser<StartTransactionAction> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getTable(int index)
public TableMetadata getTable ( int index )
Metadata about tables and columns that will be involved in this
transaction. It is to convert values of key parts correctly.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
Parameter Name Description index
int
getTableCount()
public int getTableCount ()
Metadata about tables and columns that will be involved in this
transaction. It is to convert values of key parts correctly.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
Returns Type Description int
getTableList()
public List<TableMetadata> getTableList ()
Metadata about tables and columns that will be involved in this
transaction. It is to convert values of key parts correctly.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
getTableOrBuilder(int index)
public TableMetadataOrBuilder getTableOrBuilder ( int index )
Metadata about tables and columns that will be involved in this
transaction. It is to convert values of key parts correctly.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
Parameter Name Description index
int
getTableOrBuilderList()
public List <? extends TableMetadataOrBuilder > getTableOrBuilderList ()
Metadata about tables and columns that will be involved in this
transaction. It is to convert values of key parts correctly.
repeated .google.spanner.executor.v1.TableMetadata table = 2;
Returns Type Description List <? extends com.google.spanner.executor.v1.TableMetadataOrBuilder >
getTransactionSeed()
public String getTransactionSeed ()
Transaction_seed contains workid and op pair for this transaction, used for
testing.
string transaction_seed = 3;
Returns Type Description String
The transactionSeed.
getTransactionSeedBytes()
public ByteString getTransactionSeedBytes ()
Transaction_seed contains workid and op pair for this transaction, used for
testing.
string transaction_seed = 3;
Returns Type Description ByteString
The bytes for transactionSeed.
hasConcurrency()
public boolean hasConcurrency ()
Concurrency is for read-only transactions and must be omitted for
read-write transactions.
optional .google.spanner.executor.v1.Concurrency concurrency = 1;
Returns Type Description boolean
Whether the concurrency field is set.
hasExecutionOptions()
public boolean hasExecutionOptions ()
Execution options (e.g., whether transaction is opaque, optimistic).
optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4;
Returns Type Description boolean
Whether the executionOptions field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public StartTransactionAction . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StartTransactionAction . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public StartTransactionAction . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]