public static final class WriteMutationsAction.Builder extends GeneratedMessageV3.Builder<WriteMutationsAction.Builder> implements WriteMutationsActionOrBuilder
WriteMutationAction defines an action of flushing the mutation so they
are visible to subsequent operations in the transaction.
Protobuf type google.spanner.executor.v1.WriteMutationsAction
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WriteMutationsAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WriteMutationsAction build()
buildPartial()
public WriteMutationsAction buildPartial()
clear()
public WriteMutationsAction.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public WriteMutationsAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMutation()
public WriteMutationsAction.Builder clearMutation()
The mutation to write.
.google.spanner.executor.v1.MutationAction mutation = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public WriteMutationsAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public WriteMutationsAction.Builder clone()
Overrides
getDefaultInstanceForType()
public WriteMutationsAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutation()
public MutationAction getMutation()
The mutation to write.
.google.spanner.executor.v1.MutationAction mutation = 1;
getMutationBuilder()
public MutationAction.Builder getMutationBuilder()
The mutation to write.
.google.spanner.executor.v1.MutationAction mutation = 1;
getMutationOrBuilder()
public MutationActionOrBuilder getMutationOrBuilder()
The mutation to write.
.google.spanner.executor.v1.MutationAction mutation = 1;
hasMutation()
public boolean hasMutation()
The mutation to write.
.google.spanner.executor.v1.MutationAction mutation = 1;
Returns |
---|
Type | Description |
boolean | Whether the mutation field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public WriteMutationsAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WriteMutationsAction.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(WriteMutationsAction other)
public WriteMutationsAction.Builder mergeFrom(WriteMutationsAction other)
mergeMutation(MutationAction value)
public WriteMutationsAction.Builder mergeMutation(MutationAction value)
The mutation to write.
.google.spanner.executor.v1.MutationAction mutation = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WriteMutationsAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WriteMutationsAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMutation(MutationAction value)
public WriteMutationsAction.Builder setMutation(MutationAction value)
The mutation to write.
.google.spanner.executor.v1.MutationAction mutation = 1;
setMutation(MutationAction.Builder builderForValue)
public WriteMutationsAction.Builder setMutation(MutationAction.Builder builderForValue)
The mutation to write.
.google.spanner.executor.v1.MutationAction mutation = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WriteMutationsAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WriteMutationsAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides