Package com.google.spanner.executor.v1
Interface StartBatchTransactionActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StartBatchTransactionAction,StartBatchTransactionAction.Builder
public interface StartBatchTransactionActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe exact timestamp to start the batch transaction.com.google.protobuf.TimestampOrBuilderThe exact timestamp to start the batch transaction.Database role to assume while performing this action.com.google.protobuf.ByteStringDatabase role to assume while performing this action.com.google.protobuf.ByteStringgetTid()ID of a batch read-only transaction.booleanThe exact timestamp to start the batch transaction.booleanhasTid()ID of a batch read-only transaction.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasBatchTxnTime
boolean hasBatchTxnTime()The exact timestamp to start the batch transaction.
.google.protobuf.Timestamp batch_txn_time = 1;- Returns:
- Whether the batchTxnTime field is set.
-
getBatchTxnTime
com.google.protobuf.Timestamp getBatchTxnTime()The exact timestamp to start the batch transaction.
.google.protobuf.Timestamp batch_txn_time = 1;- Returns:
- The batchTxnTime.
-
getBatchTxnTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getBatchTxnTimeOrBuilder()The exact timestamp to start the batch transaction.
.google.protobuf.Timestamp batch_txn_time = 1; -
hasTid
boolean hasTid()ID of a batch read-only transaction. It can be used to start the same batch transaction on multiple executors and parallelize partition processing.
bytes tid = 2;- Returns:
- Whether the tid field is set.
-
getTid
com.google.protobuf.ByteString getTid()ID of a batch read-only transaction. It can be used to start the same batch transaction on multiple executors and parallelize partition processing.
bytes tid = 2;- Returns:
- The tid.
-
getCloudDatabaseRole
String getCloudDatabaseRole()Database role to assume while performing this action. Setting the database_role will enforce additional role-based access checks on this action.
string cloud_database_role = 3;- Returns:
- The cloudDatabaseRole.
-
getCloudDatabaseRoleBytes
com.google.protobuf.ByteString getCloudDatabaseRoleBytes()Database role to assume while performing this action. Setting the database_role will enforce additional role-based access checks on this action.
string cloud_database_role = 3;- Returns:
- The bytes for cloudDatabaseRole.
-
getParamCase
StartBatchTransactionAction.ParamCase getParamCase()
-