Class MutationAction.UpdateArgs.Builder (6.66.0)

public static final class MutationAction.UpdateArgs.Builder extends GeneratedMessageV3.Builder<MutationAction.UpdateArgs.Builder> implements MutationAction.UpdateArgsOrBuilder

Arguments to Update.

Protobuf type google.spanner.executor.v1.MutationAction.UpdateArgs

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllColumn(Iterable<String> values)

public MutationAction.UpdateArgs.Builder addAllColumn(Iterable<String> values)

The columns to be updated. Identical to InsertArgs.column.

repeated string column = 1;

Parameter
Name Description
values Iterable<String>

The column to add.

Returns
Type Description
MutationAction.UpdateArgs.Builder

This builder for chaining.

addAllType(Iterable<? extends Type> values)

public MutationAction.UpdateArgs.Builder addAllType(Iterable<? extends Type> values)

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Parameter
Name Description
values Iterable<? extends com.google.spanner.v1.Type>
Returns
Type Description
MutationAction.UpdateArgs.Builder

addAllValues(Iterable<? extends ValueList> values)

public MutationAction.UpdateArgs.Builder addAllValues(Iterable<? extends ValueList> values)

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Parameter
Name Description
values Iterable<? extends com.google.spanner.executor.v1.ValueList>
Returns
Type Description
MutationAction.UpdateArgs.Builder

addColumn(String value)

public MutationAction.UpdateArgs.Builder addColumn(String value)

The columns to be updated. Identical to InsertArgs.column.

repeated string column = 1;

Parameter
Name Description
value String

The column to add.

Returns
Type Description
MutationAction.UpdateArgs.Builder

This builder for chaining.

addColumnBytes(ByteString value)

public MutationAction.UpdateArgs.Builder addColumnBytes(ByteString value)

The columns to be updated. Identical to InsertArgs.column.

repeated string column = 1;

Parameter
Name Description
value ByteString

The bytes of the column to add.

Returns
Type Description
MutationAction.UpdateArgs.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MutationAction.UpdateArgs.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MutationAction.UpdateArgs.Builder
Overrides

addType(Type value)

public MutationAction.UpdateArgs.Builder addType(Type value)

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Parameter
Name Description
value Type
Returns
Type Description
MutationAction.UpdateArgs.Builder

addType(Type.Builder builderForValue)

public MutationAction.UpdateArgs.Builder addType(Type.Builder builderForValue)

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Parameter
Name Description
builderForValue Type.Builder
Returns
Type Description
MutationAction.UpdateArgs.Builder

addType(int index, Type value)

public MutationAction.UpdateArgs.Builder addType(int index, Type value)

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Parameters
Name Description
index int
value Type
Returns
Type Description
MutationAction.UpdateArgs.Builder

addType(int index, Type.Builder builderForValue)

public MutationAction.UpdateArgs.Builder addType(int index, Type.Builder builderForValue)

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Parameters
Name Description
index int
builderForValue Type.Builder
Returns
Type Description
MutationAction.UpdateArgs.Builder

addTypeBuilder()

public Type.Builder addTypeBuilder()

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Returns
Type Description
Type.Builder

addTypeBuilder(int index)

public Type.Builder addTypeBuilder(int index)

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Parameter
Name Description
index int
Returns
Type Description
Type.Builder

addValues(ValueList value)

public MutationAction.UpdateArgs.Builder addValues(ValueList value)

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Parameter
Name Description
value ValueList
Returns
Type Description
MutationAction.UpdateArgs.Builder

addValues(ValueList.Builder builderForValue)

public MutationAction.UpdateArgs.Builder addValues(ValueList.Builder builderForValue)

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Parameter
Name Description
builderForValue ValueList.Builder
Returns
Type Description
MutationAction.UpdateArgs.Builder

addValues(int index, ValueList value)

public MutationAction.UpdateArgs.Builder addValues(int index, ValueList value)

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Parameters
Name Description
index int
value ValueList
Returns
Type Description
MutationAction.UpdateArgs.Builder

addValues(int index, ValueList.Builder builderForValue)

public MutationAction.UpdateArgs.Builder addValues(int index, ValueList.Builder builderForValue)

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Parameters
Name Description
index int
builderForValue ValueList.Builder
Returns
Type Description
MutationAction.UpdateArgs.Builder

addValuesBuilder()

public ValueList.Builder addValuesBuilder()

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Returns
Type Description
ValueList.Builder

addValuesBuilder(int index)

public ValueList.Builder addValuesBuilder(int index)

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Parameter
Name Description
index int
Returns
Type Description
ValueList.Builder

build()

public MutationAction.UpdateArgs build()
Returns
Type Description
MutationAction.UpdateArgs

buildPartial()

public MutationAction.UpdateArgs buildPartial()
Returns
Type Description
MutationAction.UpdateArgs

clear()

public MutationAction.UpdateArgs.Builder clear()
Returns
Type Description
MutationAction.UpdateArgs.Builder
Overrides

clearColumn()

public MutationAction.UpdateArgs.Builder clearColumn()

The columns to be updated. Identical to InsertArgs.column.

repeated string column = 1;

Returns
Type Description
MutationAction.UpdateArgs.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MutationAction.UpdateArgs.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MutationAction.UpdateArgs.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MutationAction.UpdateArgs.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MutationAction.UpdateArgs.Builder
Overrides

clearType()

public MutationAction.UpdateArgs.Builder clearType()

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Returns
Type Description
MutationAction.UpdateArgs.Builder

clearValues()

public MutationAction.UpdateArgs.Builder clearValues()

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Returns
Type Description
MutationAction.UpdateArgs.Builder

clone()

public MutationAction.UpdateArgs.Builder clone()
Returns
Type Description
MutationAction.UpdateArgs.Builder
Overrides

getColumn(int index)

public String getColumn(int index)

The columns to be updated. Identical to InsertArgs.column.

repeated string column = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The column at the given index.

getColumnBytes(int index)

public ByteString getColumnBytes(int index)

The columns to be updated. Identical to InsertArgs.column.

repeated string column = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the column at the given index.

getColumnCount()

public int getColumnCount()

The columns to be updated. Identical to InsertArgs.column.

repeated string column = 1;

Returns
Type Description
int

The count of column.

getColumnList()

public ProtocolStringList getColumnList()

The columns to be updated. Identical to InsertArgs.column.

repeated string column = 1;

Returns
Type Description
ProtocolStringList

A list containing the column.

getDefaultInstanceForType()

public MutationAction.UpdateArgs getDefaultInstanceForType()
Returns
Type Description
MutationAction.UpdateArgs

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getType(int index)

public Type getType(int index)

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Parameter
Name Description
index int
Returns
Type Description
Type

getTypeBuilder(int index)

public Type.Builder getTypeBuilder(int index)

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Parameter
Name Description
index int
Returns
Type Description
Type.Builder

getTypeBuilderList()

public List<Type.Builder> getTypeBuilderList()

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Returns
Type Description
List<Builder>

getTypeCount()

public int getTypeCount()

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Returns
Type Description
int

getTypeList()

public List<Type> getTypeList()

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Returns
Type Description
List<Type>

getTypeOrBuilder(int index)

public TypeOrBuilder getTypeOrBuilder(int index)

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Parameter
Name Description
index int
Returns
Type Description
TypeOrBuilder

getTypeOrBuilderList()

public List<? extends TypeOrBuilder> getTypeOrBuilderList()

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Returns
Type Description
List<? extends com.google.spanner.v1.TypeOrBuilder>

getValues(int index)

public ValueList getValues(int index)

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Parameter
Name Description
index int
Returns
Type Description
ValueList

getValuesBuilder(int index)

public ValueList.Builder getValuesBuilder(int index)

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Parameter
Name Description
index int
Returns
Type Description
ValueList.Builder

getValuesBuilderList()

public List<ValueList.Builder> getValuesBuilderList()

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Returns
Type Description
List<Builder>

getValuesCount()

public int getValuesCount()

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Returns
Type Description
int

getValuesList()

public List<ValueList> getValuesList()

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Returns
Type Description
List<ValueList>

getValuesOrBuilder(int index)

public ValueListOrBuilder getValuesOrBuilder(int index)

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Parameter
Name Description
index int
Returns
Type Description
ValueListOrBuilder

getValuesOrBuilderList()

public List<? extends ValueListOrBuilder> getValuesOrBuilderList()

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Returns
Type Description
List<? extends com.google.spanner.executor.v1.ValueListOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MutationAction.UpdateArgs.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutationAction.UpdateArgs.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MutationAction.UpdateArgs.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MutationAction.UpdateArgs.Builder
Overrides

mergeFrom(MutationAction.UpdateArgs other)

public MutationAction.UpdateArgs.Builder mergeFrom(MutationAction.UpdateArgs other)
Parameter
Name Description
other MutationAction.UpdateArgs
Returns
Type Description
MutationAction.UpdateArgs.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MutationAction.UpdateArgs.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MutationAction.UpdateArgs.Builder
Overrides

removeType(int index)

public MutationAction.UpdateArgs.Builder removeType(int index)

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Parameter
Name Description
index int
Returns
Type Description
MutationAction.UpdateArgs.Builder

removeValues(int index)

public MutationAction.UpdateArgs.Builder removeValues(int index)

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Parameter
Name Description
index int
Returns
Type Description
MutationAction.UpdateArgs.Builder

setColumn(int index, String value)

public MutationAction.UpdateArgs.Builder setColumn(int index, String value)

The columns to be updated. Identical to InsertArgs.column.

repeated string column = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The column to set.

Returns
Type Description
MutationAction.UpdateArgs.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MutationAction.UpdateArgs.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MutationAction.UpdateArgs.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MutationAction.UpdateArgs.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MutationAction.UpdateArgs.Builder
Overrides

setType(int index, Type value)

public MutationAction.UpdateArgs.Builder setType(int index, Type value)

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Parameters
Name Description
index int
value Type
Returns
Type Description
MutationAction.UpdateArgs.Builder

setType(int index, Type.Builder builderForValue)

public MutationAction.UpdateArgs.Builder setType(int index, Type.Builder builderForValue)

Type information for "values". Identical to InsertArgs.type.

repeated .google.spanner.v1.Type type = 2;

Parameters
Name Description
index int
builderForValue Type.Builder
Returns
Type Description
MutationAction.UpdateArgs.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final MutationAction.UpdateArgs.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MutationAction.UpdateArgs.Builder
Overrides

setValues(int index, ValueList value)

public MutationAction.UpdateArgs.Builder setValues(int index, ValueList value)

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Parameters
Name Description
index int
value ValueList
Returns
Type Description
MutationAction.UpdateArgs.Builder

setValues(int index, ValueList.Builder builderForValue)

public MutationAction.UpdateArgs.Builder setValues(int index, ValueList.Builder builderForValue)

The values to be updated. Identical to InsertArgs.values.

repeated .google.spanner.executor.v1.ValueList values = 3;

Parameters
Name Description
index int
builderForValue ValueList.Builder
Returns
Type Description
MutationAction.UpdateArgs.Builder