Interface BeginTransactionRequestOrBuilder (2.14.7)

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for projectId.

getTransactionOptions()

public abstract TransactionOptions getTransactionOptions()

Options for a new transaction.

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

Returns
TypeDescription
TransactionOptions

The transactionOptions.

getTransactionOptionsOrBuilder()

public abstract TransactionOptionsOrBuilder getTransactionOptionsOrBuilder()

Options for a new transaction.

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

Returns
TypeDescription
TransactionOptionsOrBuilder

hasTransactionOptions()

public abstract boolean hasTransactionOptions()

Options for a new transaction.

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

Returns
TypeDescription
boolean

Whether the transactionOptions field is set.