Interface BeginTransactionRequestOrBuilder (3.3.0)

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.

getRequestOptions()

public abstract RequestOptions getRequestOptions()

Optional. The options for this request.

.google.datastore.v1.RequestOptions request_options = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RequestOptions

The requestOptions.

getRequestOptionsOrBuilder()

public abstract RequestOptionsOrBuilder getRequestOptionsOrBuilder()

Optional. The options for this request.

.google.datastore.v1.RequestOptions request_options = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RequestOptionsOrBuilder

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

hasRequestOptions()

public abstract boolean hasRequestOptions()

Optional. The options for this request.

.google.datastore.v1.RequestOptions request_options = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the requestOptions field is set.

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.