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