Class MutationAction.InsertArgs (6.62.0)

public static final class MutationAction.InsertArgs extends GeneratedMessageV3 implements MutationAction.InsertArgsOrBuilder

Arguments to Insert, InsertOrUpdate, and Replace operations.

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

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.InsertArgs getDefaultInstance()
Returns
TypeDescription
MutationAction.InsertArgs

getDescriptor()

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

newBuilder()

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

newBuilder(MutationAction.InsertArgs prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 names of the columns to be written.

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 names of the columns to be written.

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 names of the columns to be written.

repeated string column = 1;

Returns
TypeDescription
int

The count of column.

getColumnList()

public ProtocolStringList getColumnList()

The names of the columns to be written.

repeated string column = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the column.

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType(int index)

public Type getType(int index)

Type information for the "values" entries below.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Type

getTypeCount()

public int getTypeCount()

Type information for the "values" entries below.

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

Returns
TypeDescription
int

getTypeList()

public List<Type> getTypeList()

Type information for the "values" entries below.

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

Returns
TypeDescription
List<Type>

getTypeOrBuilder(int index)

public TypeOrBuilder getTypeOrBuilder(int index)

Type information for the "values" entries below.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TypeOrBuilder

getTypeOrBuilderList()

public List<? extends TypeOrBuilder> getTypeOrBuilderList()

Type information for the "values" entries below.

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 written.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ValueList

getValuesCount()

public int getValuesCount()

The values to be written.

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

Returns
TypeDescription
int

getValuesList()

public List<ValueList> getValuesList()

The values to be written.

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

Returns
TypeDescription
List<ValueList>

getValuesOrBuilder(int index)

public ValueListOrBuilder getValuesOrBuilder(int index)

The values to be written.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ValueListOrBuilder

getValuesOrBuilderList()

public List<? extends ValueListOrBuilder> getValuesOrBuilderList()

The values to be written.

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.InsertArgs.Builder newBuilderForType()
Returns
TypeDescription
MutationAction.InsertArgs.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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