Class PartitionedUpdateAction.Builder (6.72.0)

public static final class PartitionedUpdateAction.Builder extends GeneratedMessageV3.Builder<PartitionedUpdateAction.Builder> implements PartitionedUpdateActionOrBuilder

PartitionedUpdateAction defines an action to execute a partitioned DML which runs different partitions in parallel.

Protobuf type google.spanner.executor.v1.PartitionedUpdateAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PartitionedUpdateAction build()
Returns
Type Description
PartitionedUpdateAction

buildPartial()

public PartitionedUpdateAction buildPartial()
Returns
Type Description
PartitionedUpdateAction

clear()

public PartitionedUpdateAction.Builder clear()
Returns
Type Description
PartitionedUpdateAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PartitionedUpdateAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PartitionedUpdateAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOptions()

public PartitionedUpdateAction.Builder clearOptions()

Options for partitioned update.

optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1;

Returns
Type Description
PartitionedUpdateAction.Builder

clearUpdate()

public PartitionedUpdateAction.Builder clearUpdate()

Partitioned dml query.

.google.spanner.executor.v1.QueryAction update = 2;

Returns
Type Description
PartitionedUpdateAction.Builder

clone()

public PartitionedUpdateAction.Builder clone()
Returns
Type Description
PartitionedUpdateAction.Builder
Overrides

getDefaultInstanceForType()

public PartitionedUpdateAction getDefaultInstanceForType()
Returns
Type Description
PartitionedUpdateAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOptions()

public PartitionedUpdateAction.ExecutePartitionedUpdateOptions getOptions()

Options for partitioned update.

optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1;

Returns
Type Description
PartitionedUpdateAction.ExecutePartitionedUpdateOptions

The options.

getOptionsBuilder()

public PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder getOptionsBuilder()

Options for partitioned update.

optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1;

Returns
Type Description
PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder

getOptionsOrBuilder()

public PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder getOptionsOrBuilder()

Options for partitioned update.

optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1;

Returns
Type Description
PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder

getUpdate()

public QueryAction getUpdate()

Partitioned dml query.

.google.spanner.executor.v1.QueryAction update = 2;

Returns
Type Description
QueryAction

The update.

getUpdateBuilder()

public QueryAction.Builder getUpdateBuilder()

Partitioned dml query.

.google.spanner.executor.v1.QueryAction update = 2;

Returns
Type Description
QueryAction.Builder

getUpdateOrBuilder()

public QueryActionOrBuilder getUpdateOrBuilder()

Partitioned dml query.

.google.spanner.executor.v1.QueryAction update = 2;

Returns
Type Description
QueryActionOrBuilder

hasOptions()

public boolean hasOptions()

Options for partitioned update.

optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1;

Returns
Type Description
boolean

Whether the options field is set.

hasUpdate()

public boolean hasUpdate()

Partitioned dml query.

.google.spanner.executor.v1.QueryAction update = 2;

Returns
Type Description
boolean

Whether the update field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PartitionedUpdateAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartitionedUpdateAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PartitionedUpdateAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PartitionedUpdateAction.Builder
Overrides

mergeFrom(PartitionedUpdateAction other)

public PartitionedUpdateAction.Builder mergeFrom(PartitionedUpdateAction other)
Parameter
Name Description
other PartitionedUpdateAction
Returns
Type Description
PartitionedUpdateAction.Builder

mergeOptions(PartitionedUpdateAction.ExecutePartitionedUpdateOptions value)

public PartitionedUpdateAction.Builder mergeOptions(PartitionedUpdateAction.ExecutePartitionedUpdateOptions value)

Options for partitioned update.

optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1;

Parameter
Name Description
value PartitionedUpdateAction.ExecutePartitionedUpdateOptions
Returns
Type Description
PartitionedUpdateAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PartitionedUpdateAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PartitionedUpdateAction.Builder
Overrides

mergeUpdate(QueryAction value)

public PartitionedUpdateAction.Builder mergeUpdate(QueryAction value)

Partitioned dml query.

.google.spanner.executor.v1.QueryAction update = 2;

Parameter
Name Description
value QueryAction
Returns
Type Description
PartitionedUpdateAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PartitionedUpdateAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PartitionedUpdateAction.Builder
Overrides

setOptions(PartitionedUpdateAction.ExecutePartitionedUpdateOptions value)

public PartitionedUpdateAction.Builder setOptions(PartitionedUpdateAction.ExecutePartitionedUpdateOptions value)

Options for partitioned update.

optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1;

Parameter
Name Description
value PartitionedUpdateAction.ExecutePartitionedUpdateOptions
Returns
Type Description
PartitionedUpdateAction.Builder

setOptions(PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder builderForValue)

public PartitionedUpdateAction.Builder setOptions(PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder builderForValue)

Options for partitioned update.

optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1;

Parameter
Name Description
builderForValue PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder
Returns
Type Description
PartitionedUpdateAction.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PartitionedUpdateAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PartitionedUpdateAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PartitionedUpdateAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PartitionedUpdateAction.Builder
Overrides

setUpdate(QueryAction value)

public PartitionedUpdateAction.Builder setUpdate(QueryAction value)

Partitioned dml query.

.google.spanner.executor.v1.QueryAction update = 2;

Parameter
Name Description
value QueryAction
Returns
Type Description
PartitionedUpdateAction.Builder

setUpdate(QueryAction.Builder builderForValue)

public PartitionedUpdateAction.Builder setUpdate(QueryAction.Builder builderForValue)

Partitioned dml query.

.google.spanner.executor.v1.QueryAction update = 2;

Parameter
Name Description
builderForValue QueryAction.Builder
Returns
Type Description
PartitionedUpdateAction.Builder