Class Mutation.Delete (6.23.4)

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

TABLE_FIELD_NUMBER

public static final int TABLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Mutation.Delete getDefaultInstance()
Returns
TypeDescription
Mutation.Delete

getDescriptor()

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

newBuilder()

public static Mutation.Delete.Builder newBuilder()
Returns
TypeDescription
Mutation.Delete.Builder

newBuilder(Mutation.Delete prototype)

public static Mutation.Delete.Builder newBuilder(Mutation.Delete prototype)
Parameter
NameDescription
prototypeMutation.Delete
Returns
TypeDescription
Mutation.Delete.Builder

parseDelimitedFrom(InputStream input)

public static Mutation.Delete parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Mutation.Delete
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Mutation.Delete parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Mutation.Delete
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Mutation.Delete parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Mutation.Delete
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Mutation.Delete parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Mutation.Delete
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Mutation.Delete parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Mutation.Delete
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Mutation.Delete getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
KeySetOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTable()

public String getTable()

Required. The table whose rows will be deleted.

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

Returns
TypeDescription
String

The table.

getTableBytes()

public ByteString getTableBytes()

Required. The table whose rows will be deleted.

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

Returns
TypeDescription
ByteString

The bytes for table.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
boolean

Whether the keySet field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Mutation.Delete.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Mutation.Delete.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Mutation.Delete.Builder toBuilder()
Returns
TypeDescription
Mutation.Delete.Builder

writeTo(CodedOutputStream output)

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