public static final class Mutation.Delete extends GeneratedMessageV3 implements Mutation.DeleteOrBuilder
Arguments to delete operations.
Protobuf type google.spanner.v1.Mutation.Delete
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Mutation.DeleteImplements
Mutation.DeleteOrBuilderFields
KEY_SET_FIELD_NUMBER
public static final int KEY_SET_FIELD_NUMBER
Type | Description |
int |
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static Mutation.Delete getDefaultInstance()
Type | Description |
Mutation.Delete |
getDefaultInstanceForType()
public Mutation.Delete getDefaultInstanceForType()
Type | Description |
Mutation.Delete |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
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;
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;
Type | Description |
KeySetOrBuilder |
getParserForType()
public Parser<Mutation.Delete> getParserForType()
Type | Description |
Parser<Delete> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getTable()
public String getTable()
Required. The table whose rows will be deleted.
string table = 1;
Type | Description |
String | The table. |
getTableBytes()
public ByteString getTableBytes()
Required. The table whose rows will be deleted.
string table = 1;
Type | Description |
ByteString | The bytes for table. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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;
Type | Description |
boolean | Whether the keySet field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static Mutation.Delete.Builder newBuilder()
Type | Description |
Mutation.Delete.Builder |
newBuilder(Mutation.Delete prototype)
public static Mutation.Delete.Builder newBuilder(Mutation.Delete prototype)
Name | Description |
prototype | Mutation.Delete |
Type | Description |
Mutation.Delete.Builder |
newBuilderForType()
public Mutation.Delete.Builder newBuilderForType()
Type | Description |
Mutation.Delete.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Mutation.Delete.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Mutation.Delete.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static Mutation.Delete parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Mutation.Delete |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Mutation.Delete parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Mutation.Delete |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Mutation.Delete parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Mutation.Delete |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Mutation.Delete parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Mutation.Delete |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Mutation.Delete parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Mutation.Delete |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Mutation.Delete parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Mutation.Delete |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Mutation.Delete parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Mutation.Delete |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Mutation.Delete parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Mutation.Delete |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Mutation.Delete parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Mutation.Delete |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Mutation.Delete parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Mutation.Delete |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Mutation.Delete parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Mutation.Delete |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Mutation.Delete parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Mutation.Delete |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Mutation.Delete> parser()
Type | Description |
Parser<Delete> |
toBuilder()
public Mutation.Delete.Builder toBuilder()
Type | Description |
Mutation.Delete.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |