Class MutationAction.UpdateArgs (6.66.0)

public static final class MutationAction.UpdateArgs extends GeneratedMessageV3 implements MutationAction.UpdateArgsOrBuilder

Arguments to Update.

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

Static Fields

COLUMN_FIELD_NUMBER

public static final int COLUMN_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MutationAction.UpdateArgs getDefaultInstance()
Returns
Type Description
MutationAction.UpdateArgs

getDescriptor()

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

newBuilder()

public static MutationAction.UpdateArgs.Builder newBuilder()
Returns
Type Description
MutationAction.UpdateArgs.Builder

newBuilder(MutationAction.UpdateArgs prototype)

public static MutationAction.UpdateArgs.Builder newBuilder(MutationAction.UpdateArgs prototype)
Parameter
Name Description
prototype MutationAction.UpdateArgs
Returns
Type Description
MutationAction.UpdateArgs.Builder

parseDelimitedFrom(InputStream input)

public static MutationAction.UpdateArgs parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MutationAction.UpdateArgs
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MutationAction.UpdateArgs parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutationAction.UpdateArgs
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MutationAction.UpdateArgs parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MutationAction.UpdateArgs
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MutationAction.UpdateArgs parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutationAction.UpdateArgs
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MutationAction.UpdateArgs parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MutationAction.UpdateArgs
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MutationAction.UpdateArgs parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutationAction.UpdateArgs
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MutationAction.UpdateArgs parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MutationAction.UpdateArgs
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MutationAction.UpdateArgs parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutationAction.UpdateArgs
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MutationAction.UpdateArgs parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MutationAction.UpdateArgs
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MutationAction.UpdateArgs parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutationAction.UpdateArgs
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MutationAction.UpdateArgs parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MutationAction.UpdateArgs
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MutationAction.UpdateArgs parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutationAction.UpdateArgs
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MutationAction.UpdateArgs> parser()
Returns
Type Description
Parser<UpdateArgs>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<MutationAction.UpdateArgs> getParserForType()
Returns
Type Description
Parser<UpdateArgs>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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

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

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>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MutationAction.UpdateArgs.Builder newBuilderForType()
Returns
Type Description
MutationAction.UpdateArgs.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MutationAction.UpdateArgs.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MutationAction.UpdateArgs.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MutationAction.UpdateArgs.Builder toBuilder()
Returns
Type Description
MutationAction.UpdateArgs.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException