Interface BeginTransactionRequestOrBuilder (2.20.1)

public interface BeginTransactionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabaseId()

public abstract 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
Type Description
String

The databaseId.

getDatabaseIdBytes()

public abstract 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
Type Description
ByteString

The bytes for databaseId.

getProjectId()

public abstract String getProjectId()

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()

public abstract ByteString getProjectIdBytes()

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()

public abstract TransactionOptions getTransactionOptions()

Options for a new transaction.

.google.datastore.v1.TransactionOptions transaction_options = 10;

Returns
Type Description
TransactionOptions

The transactionOptions.

getTransactionOptionsOrBuilder()

public abstract TransactionOptionsOrBuilder getTransactionOptionsOrBuilder()

Options for a new transaction.

.google.datastore.v1.TransactionOptions transaction_options = 10;

Returns
Type Description
TransactionOptionsOrBuilder

hasTransactionOptions()

public abstract boolean hasTransactionOptions()

Options for a new transaction.

.google.datastore.v1.TransactionOptions transaction_options = 10;

Returns
Type Description
boolean

Whether the transactionOptions field is set.