public interface BatchWriteRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getExcludeTxnFromChangeStreams()
public abstract boolean getExcludeTxnFromChangeStreams() Optional. If you don't set the exclude_txn_from_change_streams option or
if it's set to false, then any change streams monitoring columns modified
by transactions will capture the updates made within that transaction.
bool exclude_txn_from_change_streams = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The excludeTxnFromChangeStreams. |
getMutationGroups(int index)
public abstract BatchWriteRequest.MutationGroup getMutationGroups(int index)Required. The groups of mutations to be applied.
repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BatchWriteRequest.MutationGroup |
|
getMutationGroupsCount()
public abstract int getMutationGroupsCount()Required. The groups of mutations to be applied.
repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getMutationGroupsList()
public abstract List<BatchWriteRequest.MutationGroup> getMutationGroupsList()Required. The groups of mutations to be applied.
repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<MutationGroup> |
|
getMutationGroupsOrBuilder(int index)
public abstract BatchWriteRequest.MutationGroupOrBuilder getMutationGroupsOrBuilder(int index)Required. The groups of mutations to be applied.
repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BatchWriteRequest.MutationGroupOrBuilder |
|
getMutationGroupsOrBuilderList()
public abstract List<? extends BatchWriteRequest.MutationGroupOrBuilder> getMutationGroupsOrBuilderList()Required. The groups of mutations to be applied.
repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder> |
|
getRequestOptions()
public abstract RequestOptions getRequestOptions()Common options for this request.
.google.spanner.v1.RequestOptions request_options = 3;
| Returns | |
|---|---|
| Type | Description |
RequestOptions |
The requestOptions. |
getRequestOptionsOrBuilder()
public abstract RequestOptionsOrBuilder getRequestOptionsOrBuilder()Common options for this request.
.google.spanner.v1.RequestOptions request_options = 3;
| Returns | |
|---|---|
| Type | Description |
RequestOptionsOrBuilder |
|
getSession()
public abstract String getSession()Required. The session in which the batch request is to be run.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The session. |
getSessionBytes()
public abstract ByteString getSessionBytes()Required. The session in which the batch request is to be run.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for session. |
hasRequestOptions()
public abstract boolean hasRequestOptions()Common options for this request.
.google.spanner.v1.RequestOptions request_options = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the requestOptions field is set. |