Class PartitionedUpdateAction.Builder (6.58.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PartitionedUpdateAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PartitionedUpdateAction.Builder
Overrides

build()

public PartitionedUpdateAction build()
Returns
TypeDescription
PartitionedUpdateAction

buildPartial()

public PartitionedUpdateAction buildPartial()
Returns
TypeDescription
PartitionedUpdateAction

clear()

public PartitionedUpdateAction.Builder clear()
Returns
TypeDescription
PartitionedUpdateAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PartitionedUpdateAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PartitionedUpdateAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PartitionedUpdateAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PartitionedUpdateAction.Builder
Overrides

clearOptions()

public PartitionedUpdateAction.Builder clearOptions()

Options for partitioned update.

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

Returns
TypeDescription
PartitionedUpdateAction.Builder

clearUpdate()

public PartitionedUpdateAction.Builder clearUpdate()

Partitioned dml query.

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

Returns
TypeDescription
PartitionedUpdateAction.Builder

clone()

public PartitionedUpdateAction.Builder clone()
Returns
TypeDescription
PartitionedUpdateAction.Builder
Overrides

getDefaultInstanceForType()

public PartitionedUpdateAction getDefaultInstanceForType()
Returns
TypeDescription
PartitionedUpdateAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOptions()

public PartitionedUpdateAction.ExecutePartitionedUpdateOptions getOptions()

Options for partitioned update.

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

Returns
TypeDescription
PartitionedUpdateAction.ExecutePartitionedUpdateOptions

The options.

getOptionsBuilder()

public PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder getOptionsBuilder()

Options for partitioned update.

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

Returns
TypeDescription
PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder

getOptionsOrBuilder()

public PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder getOptionsOrBuilder()

Options for partitioned update.

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

Returns
TypeDescription
PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder

getUpdate()

public QueryAction getUpdate()

Partitioned dml query.

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

Returns
TypeDescription
QueryAction

The update.

getUpdateBuilder()

public QueryAction.Builder getUpdateBuilder()

Partitioned dml query.

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

Returns
TypeDescription
QueryAction.Builder

getUpdateOrBuilder()

public QueryActionOrBuilder getUpdateOrBuilder()

Partitioned dml query.

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

Returns
TypeDescription
QueryActionOrBuilder

hasOptions()

public boolean hasOptions()

Options for partitioned update.

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

Returns
TypeDescription
boolean

Whether the options field is set.

hasUpdate()

public boolean hasUpdate()

Partitioned dml query.

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

Returns
TypeDescription
boolean

Whether the update field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PartitionedUpdateAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PartitionedUpdateAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PartitionedUpdateAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PartitionedUpdateAction.Builder
Overrides

mergeFrom(PartitionedUpdateAction other)

public PartitionedUpdateAction.Builder mergeFrom(PartitionedUpdateAction other)
Parameter
NameDescription
otherPartitionedUpdateAction
Returns
TypeDescription
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
NameDescription
valuePartitionedUpdateAction.ExecutePartitionedUpdateOptions
Returns
TypeDescription
PartitionedUpdateAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PartitionedUpdateAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PartitionedUpdateAction.Builder
Overrides

mergeUpdate(QueryAction value)

public PartitionedUpdateAction.Builder mergeUpdate(QueryAction value)

Partitioned dml query.

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

Parameter
NameDescription
valueQueryAction
Returns
TypeDescription
PartitionedUpdateAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PartitionedUpdateAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuePartitionedUpdateAction.ExecutePartitionedUpdateOptions
Returns
TypeDescription
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
NameDescription
builderForValuePartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder
Returns
TypeDescription
PartitionedUpdateAction.Builder

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

public PartitionedUpdateAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PartitionedUpdateAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PartitionedUpdateAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PartitionedUpdateAction.Builder
Overrides

setUpdate(QueryAction value)

public PartitionedUpdateAction.Builder setUpdate(QueryAction value)

Partitioned dml query.

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

Parameter
NameDescription
valueQueryAction
Returns
TypeDescription
PartitionedUpdateAction.Builder

setUpdate(QueryAction.Builder builderForValue)

public PartitionedUpdateAction.Builder setUpdate(QueryAction.Builder builderForValue)

Partitioned dml query.

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

Parameter
NameDescription
builderForValueQueryAction.Builder
Returns
TypeDescription
PartitionedUpdateAction.Builder