Send feedback
Class Mutation.Delete
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.21.2 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
Static Fields
KEY_SET_FIELD_NUMBER
public static final int KEY_SET_FIELD_NUMBER
Field Value
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Mutation . Delete getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static Mutation . Delete . Builder newBuilder ()
Returns
newBuilder(Mutation.Delete prototype)
public static Mutation . Delete . Builder newBuilder ( Mutation . Delete prototype )
Parameter
Returns
public static Mutation . Delete parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Mutation . Delete parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Mutation . Delete parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Mutation . Delete parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Mutation . Delete parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Mutation . Delete parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Mutation . Delete parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static Mutation . Delete parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Mutation . Delete parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Mutation . Delete parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Mutation . Delete parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Mutation . Delete parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<Mutation . Delete > parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Mutation . Delete getDefaultInstanceForType ()
Returns
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
getParserForType()
public Parser<Mutation . Delete > getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
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
Type Description boolean Whether the keySet field is set.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public Mutation . Delete . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Mutation . Delete . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public Mutation . Delete . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
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-02-22 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-02-22 UTC."],[],[]]