Class Mutation.Delete.Builder (6.74.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Mutation.Delete.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Mutation.Delete.Builder
Overrides

build()

public Mutation.Delete build()
Returns
Type Description
Mutation.Delete

buildPartial()

public Mutation.Delete buildPartial()
Returns
Type Description
Mutation.Delete

clear()

public Mutation.Delete.Builder clear()
Returns
Type Description
Mutation.Delete.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Mutation.Delete.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Mutation.Delete.Builder
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];

Returns
Type Description
Mutation.Delete.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Mutation.Delete.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Mutation.Delete.Builder
Overrides

clearTable()

public Mutation.Delete.Builder clearTable()

Required. The table whose rows will be deleted.

string table = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Mutation.Delete.Builder

This builder for chaining.

clone()

public Mutation.Delete.Builder clone()
Returns
Type Description
Mutation.Delete.Builder
Overrides

getDefaultInstanceForType()

public Mutation.Delete getDefaultInstanceForType()
Returns
Type Description
Mutation.Delete

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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];

Returns
Type Description
KeySet.Builder

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
Type Description
KeySetOrBuilder