Interface BeginTransactionRequestOrBuilder (2.25.2)

publicinterface BeginTransactionRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

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.

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年11月19日 UTC.