Class MutationAction.UpdateArgs.Builder (6.62.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
TypeDescription
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
NameDescription
valuesIterable<String>

The column to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.spanner.v1.Type>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.spanner.executor.v1.ValueList>
Returns
TypeDescription
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
NameDescription
valueString

The column to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the column to add.

Returns
TypeDescription
MutationAction.UpdateArgs.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MutationAction.UpdateArgs.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueType
Returns
TypeDescription
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
NameDescription
builderForValueType.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueType.Builder
Returns
TypeDescription
MutationAction.UpdateArgs.Builder

addTypeBuilder()

public Type.Builder addTypeBuilder()

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

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueValueList
Returns
TypeDescription
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
NameDescription
builderForValueValueList.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueValueList
Returns
TypeDescription
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
NameDescription
indexint
builderForValueValueList.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ValueList.Builder

build()

public MutationAction.UpdateArgs build()
Returns
TypeDescription
MutationAction.UpdateArgs

buildPartial()

public MutationAction.UpdateArgs buildPartial()
Returns
TypeDescription
MutationAction.UpdateArgs

clear()

public MutationAction.UpdateArgs.Builder clear()
Returns
TypeDescription
MutationAction.UpdateArgs.Builder
Overrides

clearColumn()

public MutationAction.UpdateArgs.Builder clearColumn()

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

repeated string column = 1;

Returns
TypeDescription
MutationAction.UpdateArgs.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MutationAction.UpdateArgs.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MutationAction.UpdateArgs.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MutationAction.UpdateArgs.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
MutationAction.UpdateArgs.Builder

clone()

public MutationAction.UpdateArgs.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of column.

getColumnList()

public ProtocolStringList getColumnList()

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

repeated string column = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the column.

getDefaultInstanceForType()

public MutationAction.UpdateArgs getDefaultInstanceForType()
Returns
TypeDescription
MutationAction.UpdateArgs

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Type.Builder

getTypeBuilderList()

public List<Type.Builder> getTypeBuilderList()

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

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

Returns
TypeDescription
List<Builder>

getTypeCount()

public int getTypeCount()

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

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

Returns
TypeDescription
int

getTypeList()

public List<Type> getTypeList()

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

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TypeOrBuilder

getTypeOrBuilderList()

public List<? extends TypeOrBuilder> getTypeOrBuilderList()

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

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getValuesCount()

public int getValuesCount()

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

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

Returns
TypeDescription
int

getValuesList()

public List<ValueList> getValuesList()

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

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.spanner.executor.v1.ValueListOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MutationAction.UpdateArgs.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationAction.UpdateArgs.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MutationAction.UpdateArgs.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MutationAction.UpdateArgs.Builder
Overrides

mergeFrom(MutationAction.UpdateArgs other)

public MutationAction.UpdateArgs.Builder mergeFrom(MutationAction.UpdateArgs other)
Parameter
NameDescription
otherMutationAction.UpdateArgs
Returns
TypeDescription
MutationAction.UpdateArgs.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MutationAction.UpdateArgs.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The column to set.

Returns
TypeDescription
MutationAction.UpdateArgs.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MutationAction.UpdateArgs.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueType.Builder
Returns
TypeDescription
MutationAction.UpdateArgs.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final MutationAction.UpdateArgs.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueValueList
Returns
TypeDescription
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
NameDescription
indexint
builderForValueValueList.Builder
Returns
TypeDescription
MutationAction.UpdateArgs.Builder