Send feedback
Class Mutation.Delete (6.80.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.80.1 keyboard_arrow_down
public static final class Mutation . Delete extends GeneratedMessageV3 implements Mutation . DeleteOrBuilder
Arguments to delete operations.
Protobuf type google.spanner.v1.Mutation.Delete
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Mutation . Delete . Builder newBuilder ()
newBuilder(Mutation.Delete prototype)
public static Mutation . Delete . Builder newBuilder ( Mutation . Delete prototype )
public static Mutation . Delete parseDelimitedFrom ( InputStream input )
public static Mutation . Delete parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Mutation . Delete parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Mutation . Delete parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Mutation . Delete parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Mutation . Delete parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Mutation . Delete parseFrom ( CodedInputStream input )
public static Mutation . Delete parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Mutation . Delete parseFrom ( InputStream input )
public static Mutation . Delete parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Mutation . Delete parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Mutation . Delete parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Mutation . Delete > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public Mutation . Delete getDefaultInstanceForType ()
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];
getParserForType()
public Parser<Mutation . Delete > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Mutation . Delete . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Mutation . Delete . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Mutation . Delete . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]