Class MutationAction.UpdateArgs (6.56.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
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MutationAction.UpdateArgs getDefaultInstance()
Returns
TypeDescription
MutationAction.UpdateArgs

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MutationAction.UpdateArgs.Builder newBuilder()
Returns
TypeDescription
MutationAction.UpdateArgs.Builder

newBuilder(MutationAction.UpdateArgs prototype)

public static MutationAction.UpdateArgs.Builder newBuilder(MutationAction.UpdateArgs prototype)
Parameter
NameDescription
prototypeMutationAction.UpdateArgs
Returns
TypeDescription
MutationAction.UpdateArgs.Builder

parseDelimitedFrom(InputStream input)

public static MutationAction.UpdateArgs parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MutationAction.UpdateArgs
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MutationAction.UpdateArgs parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationAction.UpdateArgs
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MutationAction.UpdateArgs parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MutationAction.UpdateArgs
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MutationAction.UpdateArgs parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationAction.UpdateArgs
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MutationAction.UpdateArgs parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MutationAction.UpdateArgs
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MutationAction.UpdateArgs parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationAction.UpdateArgs
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MutationAction.UpdateArgs parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MutationAction.UpdateArgs
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MutationAction.UpdateArgs parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationAction.UpdateArgs
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MutationAction.UpdateArgs parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MutationAction.UpdateArgs
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MutationAction.UpdateArgs parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationAction.UpdateArgs
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MutationAction.UpdateArgs parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MutationAction.UpdateArgs
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MutationAction.UpdateArgs parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationAction.UpdateArgs
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Type

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

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>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MutationAction.UpdateArgs.Builder newBuilderForType()
Returns
TypeDescription
MutationAction.UpdateArgs.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MutationAction.UpdateArgs.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MutationAction.UpdateArgs.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MutationAction.UpdateArgs.Builder toBuilder()
Returns
TypeDescription
MutationAction.UpdateArgs.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException