public interface BeginTransactionRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
TransactionOptions |
getOptions()
Required.
|
TransactionOptionsOrBuilder |
getOptionsOrBuilder()
Required.
|
RequestOptions |
getRequestOptions()
Common options for this request.
|
RequestOptionsOrBuilder |
getRequestOptionsOrBuilder()
Common options for this request.
|
String |
getSession()
Required.
|
ByteString |
getSessionBytes()
Required.
|
boolean |
hasOptions()
Required.
|
boolean |
hasRequestOptions()
Common options for this request.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getSession()
Required. The session in which the transaction runs.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ByteString getSessionBytes()
Required. The session in which the transaction runs.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasOptions()
Required. Options for the new transaction.
.google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED];
TransactionOptions getOptions()
Required. Options for the new transaction.
.google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED];
TransactionOptionsOrBuilder getOptionsOrBuilder()
Required. Options for the new transaction.
.google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED];
boolean hasRequestOptions()
Common options for this request. Priority is ignored for this request. Setting the priority in this request_options struct will not do anything. To set the priority for a transaction, set it on the reads and writes that are part of this transaction instead.
.google.spanner.v1.RequestOptions request_options = 3;
RequestOptions getRequestOptions()
Common options for this request. Priority is ignored for this request. Setting the priority in this request_options struct will not do anything. To set the priority for a transaction, set it on the reads and writes that are part of this transaction instead.
.google.spanner.v1.RequestOptions request_options = 3;
RequestOptionsOrBuilder getRequestOptionsOrBuilder()
Common options for this request. Priority is ignored for this request. Setting the priority in this request_options struct will not do anything. To set the priority for a transaction, set it on the reads and writes that are part of this transaction instead.
.google.spanner.v1.RequestOptions request_options = 3;
Copyright © 2022 Google LLC. All rights reserved.