public interface BeginTransactionRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDatabase()
public abstract String getDatabase() Required. The database name. In the format:
projects/{project_id}/databases/{database_id}.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The database. |
getDatabaseBytes()
public abstract ByteString getDatabaseBytes() Required. The database name. In the format:
projects/{project_id}/databases/{database_id}.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for database. |
getOptions()
public abstract TransactionOptions getOptions()The options for the transaction. Defaults to a read-write transaction.
.google.firestore.v1.TransactionOptions options = 2;
| Returns | |
|---|---|
| Type | Description |
TransactionOptions |
The options. |
getOptionsOrBuilder()
public abstract TransactionOptionsOrBuilder getOptionsOrBuilder()The options for the transaction. Defaults to a read-write transaction.
.google.firestore.v1.TransactionOptions options = 2;
| Returns | |
|---|---|
| Type | Description |
TransactionOptionsOrBuilder |
|
getRequestOptions()
public abstract RequestOptions getRequestOptions()Optional. Any additional options for the request.
.google.firestore.v1.RequestOptions request_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RequestOptions |
The requestOptions. |
getRequestOptionsOrBuilder()
public abstract RequestOptionsOrBuilder getRequestOptionsOrBuilder()Optional. Any additional options for the request.
.google.firestore.v1.RequestOptions request_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RequestOptionsOrBuilder |
|
hasOptions()
public abstract boolean hasOptions()The options for the transaction. Defaults to a read-write transaction.
.google.firestore.v1.TransactionOptions options = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the options field is set. |
hasRequestOptions()
public abstract boolean hasRequestOptions()Optional. Any additional options for the request.
.google.firestore.v1.RequestOptions request_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the requestOptions field is set. |