public static final class Mutation.Delete.Builder extends GeneratedMessageV3.Builder<Mutation.Delete.Builder> implements Mutation.DeleteOrBuilder
Arguments to delete operations.
Protobuf type google.spanner.v1.Mutation.Delete
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Mutation.Delete.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Mutation.Delete build()
buildPartial()
public Mutation.Delete buildPartial()
clear()
public Mutation.Delete.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Mutation.Delete.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKeySet()
public Mutation.Delete.Builder clearKeySet()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public Mutation.Delete.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTable()
public Mutation.Delete.Builder clearTable()
Required. The table whose rows will be deleted.
string table = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public Mutation.Delete.Builder clone()
Overrides
getDefaultInstanceForType()
public Mutation.Delete getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
getKeySetBuilder()
public KeySet.Builder getKeySetBuilder()
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];
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];
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public Mutation.Delete.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Mutation.Delete.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(Mutation.Delete other)
public Mutation.Delete.Builder mergeFrom(Mutation.Delete other)
mergeKeySet(KeySet value)
public Mutation.Delete.Builder mergeKeySet(KeySet value)
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];
Parameter |
---|
Name | Description |
value | KeySet
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Mutation.Delete.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Mutation.Delete.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setKeySet(KeySet value)
public Mutation.Delete.Builder setKeySet(KeySet value)
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];
Parameter |
---|
Name | Description |
value | KeySet
|
setKeySet(KeySet.Builder builderForValue)
public Mutation.Delete.Builder setKeySet(KeySet.Builder builderForValue)
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Mutation.Delete.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTable(String value)
public Mutation.Delete.Builder setTable(String value)
Required. The table whose rows will be deleted.
string table = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The table to set.
|
setTableBytes(ByteString value)
public Mutation.Delete.Builder setTableBytes(ByteString value)
Required. The table whose rows will be deleted.
string table = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for table to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Mutation.Delete.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides