Package com.google.spanner.v1
Interface BatchWriteRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchWriteRequest,BatchWriteRequest.Builder
public interface BatchWriteRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetMutationGroups(int index) Required.intRequired.Required.getMutationGroupsOrBuilder(int index) Required.List<? extends BatchWriteRequest.MutationGroupOrBuilder>Required.Common options for this request.Common options for this request.Required.com.google.protobuf.ByteStringRequired.booleanCommon options for this request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSession
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:
- The session.
-
getSessionBytes
com.google.protobuf.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:
- The bytes for session.
-
hasRequestOptions
boolean hasRequestOptions()Common options for this request.
.google.spanner.v1.RequestOptions request_options = 3;- Returns:
- Whether the requestOptions field is set.
-
getRequestOptions
RequestOptions getRequestOptions()Common options for this request.
.google.spanner.v1.RequestOptions request_options = 3;- Returns:
- The requestOptions.
-
getRequestOptionsOrBuilder
RequestOptionsOrBuilder getRequestOptionsOrBuilder()Common options for this request.
.google.spanner.v1.RequestOptions request_options = 3; -
getMutationGroupsList
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]; -
getMutationGroups
Required. The groups of mutations to be applied.
repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
getMutationGroupsCount
int getMutationGroupsCount()Required. The groups of mutations to be applied.
repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
getMutationGroupsOrBuilderList
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]; -
getMutationGroupsOrBuilder
Required. The groups of mutations to be applied.
repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED];
-