Class Mutation.Delete (6.66.0)

public static final class Mutation.Delete extends GeneratedMessageV3 implements Mutation.DeleteOrBuilder

Arguments to delete operations.

Protobuf type google.spanner.v1.Mutation.Delete

Static Fields

KEY_SET_FIELD_NUMBER

public static final int KEY_SET_FIELD_NUMBER
Field Value
Type Description
int

TABLE_FIELD_NUMBER

public static final int TABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Mutation.Delete getDefaultInstance()
Returns
Type Description
Mutation.Delete

getDescriptor()

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

newBuilder()

public static Mutation.Delete.Builder newBuilder()
Returns
Type Description
Mutation.Delete.Builder

newBuilder(Mutation.Delete prototype)

public static Mutation.Delete.Builder newBuilder(Mutation.Delete prototype)
Parameter
Name Description
prototype Mutation.Delete
Returns
Type Description
Mutation.Delete.Builder

parseDelimitedFrom(InputStream input)

public static Mutation.Delete parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Mutation.Delete
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Mutation.Delete parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Mutation.Delete
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Mutation.Delete parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Mutation.Delete
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Mutation.Delete parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Mutation.Delete
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Mutation.Delete parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Mutation.Delete
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Mutation.Delete> parser()
Returns
Type Description
Parser<Delete>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Mutation.Delete getDefaultInstanceForType()
Returns
Type Description
Mutation.Delete

getKeySet()

public KeySet getKeySet()

Required. The primary keys of the rows within table to delete. The primary keys must be specified in the order in which they appear in the PRIMARY KEY() clause of the table's equivalent DDL statement (the DDL statement used to create the table). Delete is idempotent. The transaction will succeed even if some or all rows do not exist.

.google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
KeySet

The keySet.

getKeySetOrBuilder()

public KeySetOrBuilder getKeySetOrBuilder()

Required. The primary keys of the rows within table to delete. The primary keys must be specified in the order in which they appear in the PRIMARY KEY() clause of the table's equivalent DDL statement (the DDL statement used to create the table). Delete is idempotent. The transaction will succeed even if some or all rows do not exist.

.google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
KeySetOrBuilder

getParserForType()

public Parser<Mutation.Delete> getParserForType()
Returns
Type Description
Parser<Delete>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTable()

public String getTable()

Required. The table whose rows will be deleted.

string table = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The table.

getTableBytes()

public ByteString getTableBytes()

Required. The table whose rows will be deleted.

string table = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for table.

hasKeySet()

public boolean hasKeySet()

Required. The primary keys of the rows within table to delete. The primary keys must be specified in the order in which they appear in the PRIMARY KEY() clause of the table's equivalent DDL statement (the DDL statement used to create the table). Delete is idempotent. The transaction will succeed even if some or all rows do not exist.

.google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the keySet field is set.

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 Mutation.Delete.Builder newBuilderForType()
Returns
Type Description
Mutation.Delete.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Mutation.Delete.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Mutation.Delete.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Mutation.Delete.Builder toBuilder()
Returns
Type Description
Mutation.Delete.Builder

writeTo(CodedOutputStream output)

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