Interface BeginTransactionRequestOrBuilder (2.32.3)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface BeginTransactionRequestOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getDatabaseId()
publicabstractStringgetDatabaseId()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 | |
|---|---|
| Type | Description |
String |
The databaseId. |
getDatabaseIdBytes()
publicabstractByteStringgetDatabaseIdBytes()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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for databaseId. |
getProjectId()
publicabstractStringgetProjectId()Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The projectId. |
getProjectIdBytes()
publicabstractByteStringgetProjectIdBytes()Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for projectId. |
getTransactionOptions()
publicabstractTransactionOptionsgetTransactionOptions()Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;
| Returns | |
|---|---|
| Type | Description |
TransactionOptions |
The transactionOptions. |
getTransactionOptionsOrBuilder()
publicabstractTransactionOptionsOrBuildergetTransactionOptionsOrBuilder()Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;
| Returns | |
|---|---|
| Type | Description |
TransactionOptionsOrBuilder |
|
hasTransactionOptions()
publicabstractbooleanhasTransactionOptions()Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the transactionOptions field is set. |