Package com.google.datastore.v1
Interface BeginTransactionRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BeginTransactionRequest,BeginTransactionRequest.Builder
public interface BeginTransactionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDatabaseId()The ID of the database against which to make the request.com.google.protobuf.ByteStringgetDatabaseIdBytes()The ID of the database against which to make the request.StringgetProjectId()Required.com.google.protobuf.ByteStringgetProjectIdBytes()Required.TransactionOptionsgetTransactionOptions()Options for a new transaction.TransactionOptionsOrBuildergetTransactionOptionsOrBuilder()Options for a new transaction.booleanhasTransactionOptions()Options for a new transaction.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getProjectId
String getProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for projectId.
-
getDatabaseId
String getDatabaseId()
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;- Returns:
- The databaseId.
-
getDatabaseIdBytes
com.google.protobuf.ByteString getDatabaseIdBytes()
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;- Returns:
- The bytes for databaseId.
-
hasTransactionOptions
boolean hasTransactionOptions()
Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;- Returns:
- Whether the transactionOptions field is set.
-
getTransactionOptions
TransactionOptions getTransactionOptions()
Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;- Returns:
- The transactionOptions.
-
getTransactionOptionsOrBuilder
TransactionOptionsOrBuilder getTransactionOptionsOrBuilder()
Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;
-
-