Class SpannerAction.Builder (6.65.1)

public static final class SpannerAction.Builder extends GeneratedMessageV3.Builder<SpannerAction.Builder> implements SpannerActionOrBuilder

SpannerAction defines a primitive action that can be performed against Spanner, such as begin or commit a transaction, or perform a read or mutation.

Protobuf type google.spanner.executor.v1.SpannerAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SpannerAction build()
Returns
Type Description
SpannerAction

buildPartial()

public SpannerAction buildPartial()
Returns
Type Description
SpannerAction

clear()

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

clearAction()

public SpannerAction.Builder clearAction()
Returns
Type Description
SpannerAction.Builder

clearAdmin()

public SpannerAction.Builder clearAdmin()

Action that contains any administrative operation, like database, instance manipulation.

.google.spanner.executor.v1.AdminAction admin = 30;

Returns
Type Description
SpannerAction.Builder

clearBatchDml()

public SpannerAction.Builder clearBatchDml()

Action to a batch DML.

.google.spanner.executor.v1.BatchDmlAction batch_dml = 24;

Returns
Type Description
SpannerAction.Builder

clearCloseBatchTxn()

public SpannerAction.Builder clearCloseBatchTxn()

Action to close a batch transaction.

.google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41;

Returns
Type Description
SpannerAction.Builder

clearDatabasePath()

public SpannerAction.Builder clearDatabasePath()

Database against which to perform action. In a context where a series of actions take place, an action may omit database path if it applies to the same database as the previous action.

string database_path = 1;

Returns
Type Description
SpannerAction.Builder

This builder for chaining.

clearDml()

public SpannerAction.Builder clearDml()

Action to a DML.

.google.spanner.executor.v1.DmlAction dml = 23;

Returns
Type Description
SpannerAction.Builder

clearExecuteChangeStreamQuery()

public SpannerAction.Builder clearExecuteChangeStreamQuery()

Action to execute change stream query.

.google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50;

Returns
Type Description
SpannerAction.Builder

clearExecutePartition()

public SpannerAction.Builder clearExecutePartition()

Action to execute batch actions on generated partitions.

.google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44;

Returns
Type Description
SpannerAction.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFinish()

public SpannerAction.Builder clearFinish()

Action to finish a transaction.

.google.spanner.executor.v1.FinishTransactionAction finish = 11;

Returns
Type Description
SpannerAction.Builder

clearGenerateDbPartitionsQuery()

public SpannerAction.Builder clearGenerateDbPartitionsQuery()

Action to generate database partitions for batch query.

.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43;

Returns
Type Description
SpannerAction.Builder

clearGenerateDbPartitionsRead()

public SpannerAction.Builder clearGenerateDbPartitionsRead()

Action to generate database partitions for batch read.

.google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42;

Returns
Type Description
SpannerAction.Builder

clearMutation()

public SpannerAction.Builder clearMutation()

Action to buffer a mutation.

.google.spanner.executor.v1.MutationAction mutation = 22;

Returns
Type Description
SpannerAction.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPartitionedUpdate()

public SpannerAction.Builder clearPartitionedUpdate()

Action to a partitioned update.

.google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27;

Returns
Type Description
SpannerAction.Builder

clearQuery()

public SpannerAction.Builder clearQuery()

Action to do a query.

.google.spanner.executor.v1.QueryAction query = 21;

Returns
Type Description
SpannerAction.Builder

clearRead()

public SpannerAction.Builder clearRead()

Action to do a normal read.

.google.spanner.executor.v1.ReadAction read = 20;

Returns
Type Description
SpannerAction.Builder

clearSpannerOptions()

public SpannerAction.Builder clearSpannerOptions()

Configuration options for Spanner backend

.google.spanner.executor.v1.SpannerOptions spanner_options = 2;

Returns
Type Description
SpannerAction.Builder

clearStart()

public SpannerAction.Builder clearStart()

Action to start a transaction.

.google.spanner.executor.v1.StartTransactionAction start = 10;

Returns
Type Description
SpannerAction.Builder

clearStartBatchTxn()

public SpannerAction.Builder clearStartBatchTxn()

Action to start a batch transaction.

.google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40;

Returns
Type Description
SpannerAction.Builder

clearWrite()

public SpannerAction.Builder clearWrite()

Action to write a mutation.

.google.spanner.executor.v1.WriteMutationsAction write = 25;

Returns
Type Description
SpannerAction.Builder

clone()

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

getActionCase()

public SpannerAction.ActionCase getActionCase()
Returns
Type Description
SpannerAction.ActionCase

getAdmin()

public AdminAction getAdmin()

Action that contains any administrative operation, like database, instance manipulation.

.google.spanner.executor.v1.AdminAction admin = 30;

Returns
Type Description
AdminAction

The admin.

getAdminBuilder()

public AdminAction.Builder getAdminBuilder()

Action that contains any administrative operation, like database, instance manipulation.

.google.spanner.executor.v1.AdminAction admin = 30;

Returns
Type Description
AdminAction.Builder

getAdminOrBuilder()

public AdminActionOrBuilder getAdminOrBuilder()

Action that contains any administrative operation, like database, instance manipulation.

.google.spanner.executor.v1.AdminAction admin = 30;

Returns
Type Description
AdminActionOrBuilder

getBatchDml()

public BatchDmlAction getBatchDml()

Action to a batch DML.

.google.spanner.executor.v1.BatchDmlAction batch_dml = 24;

Returns
Type Description
BatchDmlAction

The batchDml.

getBatchDmlBuilder()

public BatchDmlAction.Builder getBatchDmlBuilder()

Action to a batch DML.

.google.spanner.executor.v1.BatchDmlAction batch_dml = 24;

Returns
Type Description
BatchDmlAction.Builder

getBatchDmlOrBuilder()

public BatchDmlActionOrBuilder getBatchDmlOrBuilder()

Action to a batch DML.

.google.spanner.executor.v1.BatchDmlAction batch_dml = 24;

Returns
Type Description
BatchDmlActionOrBuilder

getCloseBatchTxn()

public CloseBatchTransactionAction getCloseBatchTxn()

Action to close a batch transaction.

.google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41;

Returns
Type Description
CloseBatchTransactionAction

The closeBatchTxn.

getCloseBatchTxnBuilder()

public CloseBatchTransactionAction.Builder getCloseBatchTxnBuilder()

Action to close a batch transaction.

.google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41;

Returns
Type Description
CloseBatchTransactionAction.Builder

getCloseBatchTxnOrBuilder()

public CloseBatchTransactionActionOrBuilder getCloseBatchTxnOrBuilder()

Action to close a batch transaction.

.google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41;

Returns
Type Description
CloseBatchTransactionActionOrBuilder

getDatabasePath()

public String getDatabasePath()

Database against which to perform action. In a context where a series of actions take place, an action may omit database path if it applies to the same database as the previous action.

string database_path = 1;

Returns
Type Description
String

The databasePath.

getDatabasePathBytes()

public ByteString getDatabasePathBytes()

Database against which to perform action. In a context where a series of actions take place, an action may omit database path if it applies to the same database as the previous action.

string database_path = 1;

Returns
Type Description
ByteString

The bytes for databasePath.

getDefaultInstanceForType()

public SpannerAction getDefaultInstanceForType()
Returns
Type Description
SpannerAction

getDescriptorForType()

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

getDml()

public DmlAction getDml()

Action to a DML.

.google.spanner.executor.v1.DmlAction dml = 23;

Returns
Type Description
DmlAction

The dml.

getDmlBuilder()

public DmlAction.Builder getDmlBuilder()

Action to a DML.

.google.spanner.executor.v1.DmlAction dml = 23;

Returns
Type Description
DmlAction.Builder

getDmlOrBuilder()

public DmlActionOrBuilder getDmlOrBuilder()

Action to a DML.

.google.spanner.executor.v1.DmlAction dml = 23;

Returns
Type Description
DmlActionOrBuilder

getExecuteChangeStreamQuery()

public ExecuteChangeStreamQuery getExecuteChangeStreamQuery()

Action to execute change stream query.

.google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50;

Returns
Type Description
ExecuteChangeStreamQuery

The executeChangeStreamQuery.

getExecuteChangeStreamQueryBuilder()

public ExecuteChangeStreamQuery.Builder getExecuteChangeStreamQueryBuilder()

Action to execute change stream query.

.google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50;

Returns
Type Description
ExecuteChangeStreamQuery.Builder

getExecuteChangeStreamQueryOrBuilder()

public ExecuteChangeStreamQueryOrBuilder getExecuteChangeStreamQueryOrBuilder()

Action to execute change stream query.

.google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50;

Returns
Type Description
ExecuteChangeStreamQueryOrBuilder

getExecutePartition()

public ExecutePartitionAction getExecutePartition()

Action to execute batch actions on generated partitions.

.google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44;

Returns
Type Description
ExecutePartitionAction

The executePartition.

getExecutePartitionBuilder()

public ExecutePartitionAction.Builder getExecutePartitionBuilder()

Action to execute batch actions on generated partitions.

.google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44;

Returns
Type Description
ExecutePartitionAction.Builder

getExecutePartitionOrBuilder()

public ExecutePartitionActionOrBuilder getExecutePartitionOrBuilder()

Action to execute batch actions on generated partitions.

.google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44;

Returns
Type Description
ExecutePartitionActionOrBuilder

getFinish()

public FinishTransactionAction getFinish()

Action to finish a transaction.

.google.spanner.executor.v1.FinishTransactionAction finish = 11;

Returns
Type Description
FinishTransactionAction

The finish.

getFinishBuilder()

public FinishTransactionAction.Builder getFinishBuilder()

Action to finish a transaction.

.google.spanner.executor.v1.FinishTransactionAction finish = 11;

Returns
Type Description
FinishTransactionAction.Builder

getFinishOrBuilder()

public FinishTransactionActionOrBuilder getFinishOrBuilder()

Action to finish a transaction.

.google.spanner.executor.v1.FinishTransactionAction finish = 11;

Returns
Type Description
FinishTransactionActionOrBuilder

getGenerateDbPartitionsQuery()

public GenerateDbPartitionsForQueryAction getGenerateDbPartitionsQuery()

Action to generate database partitions for batch query.

.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43;

Returns
Type Description
GenerateDbPartitionsForQueryAction

The generateDbPartitionsQuery.

getGenerateDbPartitionsQueryBuilder()

public GenerateDbPartitionsForQueryAction.Builder getGenerateDbPartitionsQueryBuilder()

Action to generate database partitions for batch query.

.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43;

Returns
Type Description
GenerateDbPartitionsForQueryAction.Builder

getGenerateDbPartitionsQueryOrBuilder()

public GenerateDbPartitionsForQueryActionOrBuilder getGenerateDbPartitionsQueryOrBuilder()

Action to generate database partitions for batch query.

.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43;

Returns
Type Description
GenerateDbPartitionsForQueryActionOrBuilder

getGenerateDbPartitionsRead()

public GenerateDbPartitionsForReadAction getGenerateDbPartitionsRead()

Action to generate database partitions for batch read.

.google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42;

Returns
Type Description
GenerateDbPartitionsForReadAction

The generateDbPartitionsRead.

getGenerateDbPartitionsReadBuilder()

public GenerateDbPartitionsForReadAction.Builder getGenerateDbPartitionsReadBuilder()

Action to generate database partitions for batch read.

.google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42;

Returns
Type Description
GenerateDbPartitionsForReadAction.Builder

getGenerateDbPartitionsReadOrBuilder()

public GenerateDbPartitionsForReadActionOrBuilder getGenerateDbPartitionsReadOrBuilder()

Action to generate database partitions for batch read.

.google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42;

Returns
Type Description
GenerateDbPartitionsForReadActionOrBuilder

getMutation()

public MutationAction getMutation()

Action to buffer a mutation.

.google.spanner.executor.v1.MutationAction mutation = 22;

Returns
Type Description
MutationAction

The mutation.

getMutationBuilder()

public MutationAction.Builder getMutationBuilder()

Action to buffer a mutation.

.google.spanner.executor.v1.MutationAction mutation = 22;

Returns
Type Description
MutationAction.Builder

getMutationOrBuilder()

public MutationActionOrBuilder getMutationOrBuilder()

Action to buffer a mutation.

.google.spanner.executor.v1.MutationAction mutation = 22;

Returns
Type Description
MutationActionOrBuilder

getPartitionedUpdate()

public PartitionedUpdateAction getPartitionedUpdate()

Action to a partitioned update.

.google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27;

Returns
Type Description
PartitionedUpdateAction

The partitionedUpdate.

getPartitionedUpdateBuilder()

public PartitionedUpdateAction.Builder getPartitionedUpdateBuilder()

Action to a partitioned update.

.google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27;

Returns
Type Description
PartitionedUpdateAction.Builder

getPartitionedUpdateOrBuilder()

public PartitionedUpdateActionOrBuilder getPartitionedUpdateOrBuilder()

Action to a partitioned update.

.google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27;

Returns
Type Description
PartitionedUpdateActionOrBuilder

getQuery()

public QueryAction getQuery()

Action to do a query.

.google.spanner.executor.v1.QueryAction query = 21;

Returns
Type Description
QueryAction

The query.

getQueryBuilder()

public QueryAction.Builder getQueryBuilder()

Action to do a query.

.google.spanner.executor.v1.QueryAction query = 21;

Returns
Type Description
QueryAction.Builder

getQueryOrBuilder()

public QueryActionOrBuilder getQueryOrBuilder()

Action to do a query.

.google.spanner.executor.v1.QueryAction query = 21;

Returns
Type Description
QueryActionOrBuilder

getRead()

public ReadAction getRead()

Action to do a normal read.

.google.spanner.executor.v1.ReadAction read = 20;

Returns
Type Description
ReadAction

The read.

getReadBuilder()

public ReadAction.Builder getReadBuilder()

Action to do a normal read.

.google.spanner.executor.v1.ReadAction read = 20;

Returns
Type Description
ReadAction.Builder

getReadOrBuilder()

public ReadActionOrBuilder getReadOrBuilder()

Action to do a normal read.

.google.spanner.executor.v1.ReadAction read = 20;

Returns
Type Description
ReadActionOrBuilder

getSpannerOptions()

public SpannerOptions getSpannerOptions()

Configuration options for Spanner backend

.google.spanner.executor.v1.SpannerOptions spanner_options = 2;

Returns
Type Description
SpannerOptions

The spannerOptions.

getSpannerOptionsBuilder()

public SpannerOptions.Builder getSpannerOptionsBuilder()

Configuration options for Spanner backend

.google.spanner.executor.v1.SpannerOptions spanner_options = 2;

Returns
Type Description
SpannerOptions.Builder

getSpannerOptionsOrBuilder()

public SpannerOptionsOrBuilder getSpannerOptionsOrBuilder()

Configuration options for Spanner backend

.google.spanner.executor.v1.SpannerOptions spanner_options = 2;

Returns
Type Description
SpannerOptionsOrBuilder

getStart()

public StartTransactionAction getStart()

Action to start a transaction.

.google.spanner.executor.v1.StartTransactionAction start = 10;

Returns
Type Description
StartTransactionAction

The start.

getStartBatchTxn()

public StartBatchTransactionAction getStartBatchTxn()

Action to start a batch transaction.

.google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40;

Returns
Type Description
StartBatchTransactionAction

The startBatchTxn.

getStartBatchTxnBuilder()

public StartBatchTransactionAction.Builder getStartBatchTxnBuilder()

Action to start a batch transaction.

.google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40;

Returns
Type Description
StartBatchTransactionAction.Builder

getStartBatchTxnOrBuilder()

public StartBatchTransactionActionOrBuilder getStartBatchTxnOrBuilder()

Action to start a batch transaction.

.google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40;

Returns
Type Description
StartBatchTransactionActionOrBuilder

getStartBuilder()

public StartTransactionAction.Builder getStartBuilder()

Action to start a transaction.

.google.spanner.executor.v1.StartTransactionAction start = 10;

Returns
Type Description
StartTransactionAction.Builder

getStartOrBuilder()

public StartTransactionActionOrBuilder getStartOrBuilder()

Action to start a transaction.

.google.spanner.executor.v1.StartTransactionAction start = 10;

Returns
Type Description
StartTransactionActionOrBuilder

getWrite()

public WriteMutationsAction getWrite()

Action to write a mutation.

.google.spanner.executor.v1.WriteMutationsAction write = 25;

Returns
Type Description
WriteMutationsAction

The write.

getWriteBuilder()

public WriteMutationsAction.Builder getWriteBuilder()

Action to write a mutation.

.google.spanner.executor.v1.WriteMutationsAction write = 25;

Returns
Type Description
WriteMutationsAction.Builder

getWriteOrBuilder()

public WriteMutationsActionOrBuilder getWriteOrBuilder()

Action to write a mutation.

.google.spanner.executor.v1.WriteMutationsAction write = 25;

Returns
Type Description
WriteMutationsActionOrBuilder

hasAdmin()

public boolean hasAdmin()

Action that contains any administrative operation, like database, instance manipulation.

.google.spanner.executor.v1.AdminAction admin = 30;

Returns
Type Description
boolean

Whether the admin field is set.

hasBatchDml()

public boolean hasBatchDml()

Action to a batch DML.

.google.spanner.executor.v1.BatchDmlAction batch_dml = 24;

Returns
Type Description
boolean

Whether the batchDml field is set.

hasCloseBatchTxn()

public boolean hasCloseBatchTxn()

Action to close a batch transaction.

.google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41;

Returns
Type Description
boolean

Whether the closeBatchTxn field is set.

hasDml()

public boolean hasDml()

Action to a DML.

.google.spanner.executor.v1.DmlAction dml = 23;

Returns
Type Description
boolean

Whether the dml field is set.

hasExecuteChangeStreamQuery()

public boolean hasExecuteChangeStreamQuery()

Action to execute change stream query.

.google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50;

Returns
Type Description
boolean

Whether the executeChangeStreamQuery field is set.

hasExecutePartition()

public boolean hasExecutePartition()

Action to execute batch actions on generated partitions.

.google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44;

Returns
Type Description
boolean

Whether the executePartition field is set.

hasFinish()

public boolean hasFinish()

Action to finish a transaction.

.google.spanner.executor.v1.FinishTransactionAction finish = 11;

Returns
Type Description
boolean

Whether the finish field is set.

hasGenerateDbPartitionsQuery()

public boolean hasGenerateDbPartitionsQuery()

Action to generate database partitions for batch query.

.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43;

Returns
Type Description
boolean

Whether the generateDbPartitionsQuery field is set.

hasGenerateDbPartitionsRead()

public boolean hasGenerateDbPartitionsRead()

Action to generate database partitions for batch read.

.google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42;

Returns
Type Description
boolean

Whether the generateDbPartitionsRead field is set.

hasMutation()

public boolean hasMutation()

Action to buffer a mutation.

.google.spanner.executor.v1.MutationAction mutation = 22;

Returns
Type Description
boolean

Whether the mutation field is set.

hasPartitionedUpdate()

public boolean hasPartitionedUpdate()

Action to a partitioned update.

.google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27;

Returns
Type Description
boolean

Whether the partitionedUpdate field is set.

hasQuery()

public boolean hasQuery()

Action to do a query.

.google.spanner.executor.v1.QueryAction query = 21;

Returns
Type Description
boolean

Whether the query field is set.

hasRead()

public boolean hasRead()

Action to do a normal read.

.google.spanner.executor.v1.ReadAction read = 20;

Returns
Type Description
boolean

Whether the read field is set.

hasSpannerOptions()

public boolean hasSpannerOptions()

Configuration options for Spanner backend

.google.spanner.executor.v1.SpannerOptions spanner_options = 2;

Returns
Type Description
boolean

Whether the spannerOptions field is set.

hasStart()

public boolean hasStart()

Action to start a transaction.

.google.spanner.executor.v1.StartTransactionAction start = 10;

Returns
Type Description
boolean

Whether the start field is set.

hasStartBatchTxn()

public boolean hasStartBatchTxn()

Action to start a batch transaction.

.google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40;

Returns
Type Description
boolean

Whether the startBatchTxn field is set.

hasWrite()

public boolean hasWrite()

Action to write a mutation.

.google.spanner.executor.v1.WriteMutationsAction write = 25;

Returns
Type Description
boolean

Whether the write field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAdmin(AdminAction value)

public SpannerAction.Builder mergeAdmin(AdminAction value)

Action that contains any administrative operation, like database, instance manipulation.

.google.spanner.executor.v1.AdminAction admin = 30;

Parameter
Name Description
value AdminAction
Returns
Type Description
SpannerAction.Builder

mergeBatchDml(BatchDmlAction value)

public SpannerAction.Builder mergeBatchDml(BatchDmlAction value)

Action to a batch DML.

.google.spanner.executor.v1.BatchDmlAction batch_dml = 24;

Parameter
Name Description
value BatchDmlAction
Returns
Type Description
SpannerAction.Builder

mergeCloseBatchTxn(CloseBatchTransactionAction value)

public SpannerAction.Builder mergeCloseBatchTxn(CloseBatchTransactionAction value)

Action to close a batch transaction.

.google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41;

Parameter
Name Description
value CloseBatchTransactionAction
Returns
Type Description
SpannerAction.Builder

mergeDml(DmlAction value)

public SpannerAction.Builder mergeDml(DmlAction value)

Action to a DML.

.google.spanner.executor.v1.DmlAction dml = 23;

Parameter
Name Description
value DmlAction
Returns
Type Description
SpannerAction.Builder

mergeExecuteChangeStreamQuery(ExecuteChangeStreamQuery value)

public SpannerAction.Builder mergeExecuteChangeStreamQuery(ExecuteChangeStreamQuery value)

Action to execute change stream query.

.google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50;

Parameter
Name Description
value ExecuteChangeStreamQuery
Returns
Type Description
SpannerAction.Builder

mergeExecutePartition(ExecutePartitionAction value)

public SpannerAction.Builder mergeExecutePartition(ExecutePartitionAction value)

Action to execute batch actions on generated partitions.

.google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44;

Parameter
Name Description
value ExecutePartitionAction
Returns
Type Description
SpannerAction.Builder

mergeFinish(FinishTransactionAction value)

public SpannerAction.Builder mergeFinish(FinishTransactionAction value)

Action to finish a transaction.

.google.spanner.executor.v1.FinishTransactionAction finish = 11;

Parameter
Name Description
value FinishTransactionAction
Returns
Type Description
SpannerAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(SpannerAction other)

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

mergeGenerateDbPartitionsQuery(GenerateDbPartitionsForQueryAction value)

public SpannerAction.Builder mergeGenerateDbPartitionsQuery(GenerateDbPartitionsForQueryAction value)

Action to generate database partitions for batch query.

.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43;

Parameter
Name Description
value GenerateDbPartitionsForQueryAction
Returns
Type Description
SpannerAction.Builder

mergeGenerateDbPartitionsRead(GenerateDbPartitionsForReadAction value)

public SpannerAction.Builder mergeGenerateDbPartitionsRead(GenerateDbPartitionsForReadAction value)

Action to generate database partitions for batch read.

.google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42;

Parameter
Name Description
value GenerateDbPartitionsForReadAction
Returns
Type Description
SpannerAction.Builder

mergeMutation(MutationAction value)

public SpannerAction.Builder mergeMutation(MutationAction value)

Action to buffer a mutation.

.google.spanner.executor.v1.MutationAction mutation = 22;

Parameter
Name Description
value MutationAction
Returns
Type Description
SpannerAction.Builder

mergePartitionedUpdate(PartitionedUpdateAction value)

public SpannerAction.Builder mergePartitionedUpdate(PartitionedUpdateAction value)

Action to a partitioned update.

.google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27;

Parameter
Name Description
value PartitionedUpdateAction
Returns
Type Description
SpannerAction.Builder

mergeQuery(QueryAction value)

public SpannerAction.Builder mergeQuery(QueryAction value)

Action to do a query.

.google.spanner.executor.v1.QueryAction query = 21;

Parameter
Name Description
value QueryAction
Returns
Type Description
SpannerAction.Builder

mergeRead(ReadAction value)

public SpannerAction.Builder mergeRead(ReadAction value)

Action to do a normal read.

.google.spanner.executor.v1.ReadAction read = 20;

Parameter
Name Description
value ReadAction
Returns
Type Description
SpannerAction.Builder

mergeSpannerOptions(SpannerOptions value)

public SpannerAction.Builder mergeSpannerOptions(SpannerOptions value)

Configuration options for Spanner backend

.google.spanner.executor.v1.SpannerOptions spanner_options = 2;

Parameter
Name Description
value SpannerOptions
Returns
Type Description
SpannerAction.Builder

mergeStart(StartTransactionAction value)

public SpannerAction.Builder mergeStart(StartTransactionAction value)

Action to start a transaction.

.google.spanner.executor.v1.StartTransactionAction start = 10;

Parameter
Name Description
value StartTransactionAction
Returns
Type Description
SpannerAction.Builder

mergeStartBatchTxn(StartBatchTransactionAction value)

public SpannerAction.Builder mergeStartBatchTxn(StartBatchTransactionAction value)

Action to start a batch transaction.

.google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40;

Parameter
Name Description
value StartBatchTransactionAction
Returns
Type Description
SpannerAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWrite(WriteMutationsAction value)

public SpannerAction.Builder mergeWrite(WriteMutationsAction value)

Action to write a mutation.

.google.spanner.executor.v1.WriteMutationsAction write = 25;

Parameter
Name Description
value WriteMutationsAction
Returns
Type Description
SpannerAction.Builder

setAdmin(AdminAction value)

public SpannerAction.Builder setAdmin(AdminAction value)

Action that contains any administrative operation, like database, instance manipulation.

.google.spanner.executor.v1.AdminAction admin = 30;

Parameter
Name Description
value AdminAction
Returns
Type Description
SpannerAction.Builder

setAdmin(AdminAction.Builder builderForValue)

public SpannerAction.Builder setAdmin(AdminAction.Builder builderForValue)

Action that contains any administrative operation, like database, instance manipulation.

.google.spanner.executor.v1.AdminAction admin = 30;

Parameter
Name Description
builderForValue AdminAction.Builder
Returns
Type Description
SpannerAction.Builder

setBatchDml(BatchDmlAction value)

public SpannerAction.Builder setBatchDml(BatchDmlAction value)

Action to a batch DML.

.google.spanner.executor.v1.BatchDmlAction batch_dml = 24;

Parameter
Name Description
value BatchDmlAction
Returns
Type Description
SpannerAction.Builder

setBatchDml(BatchDmlAction.Builder builderForValue)

public SpannerAction.Builder setBatchDml(BatchDmlAction.Builder builderForValue)

Action to a batch DML.

.google.spanner.executor.v1.BatchDmlAction batch_dml = 24;

Parameter
Name Description
builderForValue BatchDmlAction.Builder
Returns
Type Description
SpannerAction.Builder

setCloseBatchTxn(CloseBatchTransactionAction value)

public SpannerAction.Builder setCloseBatchTxn(CloseBatchTransactionAction value)

Action to close a batch transaction.

.google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41;

Parameter
Name Description
value CloseBatchTransactionAction
Returns
Type Description
SpannerAction.Builder

setCloseBatchTxn(CloseBatchTransactionAction.Builder builderForValue)

public SpannerAction.Builder setCloseBatchTxn(CloseBatchTransactionAction.Builder builderForValue)

Action to close a batch transaction.

.google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41;

Parameter
Name Description
builderForValue CloseBatchTransactionAction.Builder
Returns
Type Description
SpannerAction.Builder

setDatabasePath(String value)

public SpannerAction.Builder setDatabasePath(String value)

Database against which to perform action. In a context where a series of actions take place, an action may omit database path if it applies to the same database as the previous action.

string database_path = 1;

Parameter
Name Description
value String

The databasePath to set.

Returns
Type Description
SpannerAction.Builder

This builder for chaining.

setDatabasePathBytes(ByteString value)

public SpannerAction.Builder setDatabasePathBytes(ByteString value)

Database against which to perform action. In a context where a series of actions take place, an action may omit database path if it applies to the same database as the previous action.

string database_path = 1;

Parameter
Name Description
value ByteString

The bytes for databasePath to set.

Returns
Type Description
SpannerAction.Builder

This builder for chaining.

setDml(DmlAction value)

public SpannerAction.Builder setDml(DmlAction value)

Action to a DML.

.google.spanner.executor.v1.DmlAction dml = 23;

Parameter
Name Description
value DmlAction
Returns
Type Description
SpannerAction.Builder

setDml(DmlAction.Builder builderForValue)

public SpannerAction.Builder setDml(DmlAction.Builder builderForValue)

Action to a DML.

.google.spanner.executor.v1.DmlAction dml = 23;

Parameter
Name Description
builderForValue DmlAction.Builder
Returns
Type Description
SpannerAction.Builder

setExecuteChangeStreamQuery(ExecuteChangeStreamQuery value)

public SpannerAction.Builder setExecuteChangeStreamQuery(ExecuteChangeStreamQuery value)

Action to execute change stream query.

.google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50;

Parameter
Name Description
value ExecuteChangeStreamQuery
Returns
Type Description
SpannerAction.Builder

setExecuteChangeStreamQuery(ExecuteChangeStreamQuery.Builder builderForValue)

public SpannerAction.Builder setExecuteChangeStreamQuery(ExecuteChangeStreamQuery.Builder builderForValue)

Action to execute change stream query.

.google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50;

Parameter
Name Description
builderForValue ExecuteChangeStreamQuery.Builder
Returns
Type Description
SpannerAction.Builder

setExecutePartition(ExecutePartitionAction value)

public SpannerAction.Builder setExecutePartition(ExecutePartitionAction value)

Action to execute batch actions on generated partitions.

.google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44;

Parameter
Name Description
value ExecutePartitionAction
Returns
Type Description
SpannerAction.Builder

setExecutePartition(ExecutePartitionAction.Builder builderForValue)

public SpannerAction.Builder setExecutePartition(ExecutePartitionAction.Builder builderForValue)

Action to execute batch actions on generated partitions.

.google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44;

Parameter
Name Description
builderForValue ExecutePartitionAction.Builder
Returns
Type Description
SpannerAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFinish(FinishTransactionAction value)

public SpannerAction.Builder setFinish(FinishTransactionAction value)

Action to finish a transaction.

.google.spanner.executor.v1.FinishTransactionAction finish = 11;

Parameter
Name Description
value FinishTransactionAction
Returns
Type Description
SpannerAction.Builder

setFinish(FinishTransactionAction.Builder builderForValue)

public SpannerAction.Builder setFinish(FinishTransactionAction.Builder builderForValue)

Action to finish a transaction.

.google.spanner.executor.v1.FinishTransactionAction finish = 11;

Parameter
Name Description
builderForValue FinishTransactionAction.Builder
Returns
Type Description
SpannerAction.Builder

setGenerateDbPartitionsQuery(GenerateDbPartitionsForQueryAction value)

public SpannerAction.Builder setGenerateDbPartitionsQuery(GenerateDbPartitionsForQueryAction value)

Action to generate database partitions for batch query.

.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43;

Parameter
Name Description
value GenerateDbPartitionsForQueryAction
Returns
Type Description
SpannerAction.Builder

setGenerateDbPartitionsQuery(GenerateDbPartitionsForQueryAction.Builder builderForValue)

public SpannerAction.Builder setGenerateDbPartitionsQuery(GenerateDbPartitionsForQueryAction.Builder builderForValue)

Action to generate database partitions for batch query.

.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43;

Parameter
Name Description
builderForValue GenerateDbPartitionsForQueryAction.Builder
Returns
Type Description
SpannerAction.Builder

setGenerateDbPartitionsRead(GenerateDbPartitionsForReadAction value)

public SpannerAction.Builder setGenerateDbPartitionsRead(GenerateDbPartitionsForReadAction value)

Action to generate database partitions for batch read.

.google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42;

Parameter
Name Description
value GenerateDbPartitionsForReadAction
Returns
Type Description
SpannerAction.Builder

setGenerateDbPartitionsRead(GenerateDbPartitionsForReadAction.Builder builderForValue)

public SpannerAction.Builder setGenerateDbPartitionsRead(GenerateDbPartitionsForReadAction.Builder builderForValue)

Action to generate database partitions for batch read.

.google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42;

Parameter
Name Description
builderForValue GenerateDbPartitionsForReadAction.Builder
Returns
Type Description
SpannerAction.Builder

setMutation(MutationAction value)

public SpannerAction.Builder setMutation(MutationAction value)

Action to buffer a mutation.

.google.spanner.executor.v1.MutationAction mutation = 22;

Parameter
Name Description
value MutationAction
Returns
Type Description
SpannerAction.Builder

setMutation(MutationAction.Builder builderForValue)

public SpannerAction.Builder setMutation(MutationAction.Builder builderForValue)

Action to buffer a mutation.

.google.spanner.executor.v1.MutationAction mutation = 22;

Parameter
Name Description
builderForValue MutationAction.Builder
Returns
Type Description
SpannerAction.Builder

setPartitionedUpdate(PartitionedUpdateAction value)

public SpannerAction.Builder setPartitionedUpdate(PartitionedUpdateAction value)

Action to a partitioned update.

.google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27;

Parameter
Name Description
value PartitionedUpdateAction
Returns
Type Description
SpannerAction.Builder

setPartitionedUpdate(PartitionedUpdateAction.Builder builderForValue)

public SpannerAction.Builder setPartitionedUpdate(PartitionedUpdateAction.Builder builderForValue)

Action to a partitioned update.

.google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27;

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

setQuery(QueryAction value)

public SpannerAction.Builder setQuery(QueryAction value)

Action to do a query.

.google.spanner.executor.v1.QueryAction query = 21;

Parameter
Name Description
value QueryAction
Returns
Type Description
SpannerAction.Builder

setQuery(QueryAction.Builder builderForValue)

public SpannerAction.Builder setQuery(QueryAction.Builder builderForValue)

Action to do a query.

.google.spanner.executor.v1.QueryAction query = 21;

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

setRead(ReadAction value)

public SpannerAction.Builder setRead(ReadAction value)

Action to do a normal read.

.google.spanner.executor.v1.ReadAction read = 20;

Parameter
Name Description
value ReadAction
Returns
Type Description
SpannerAction.Builder

setRead(ReadAction.Builder builderForValue)

public SpannerAction.Builder setRead(ReadAction.Builder builderForValue)

Action to do a normal read.

.google.spanner.executor.v1.ReadAction read = 20;

Parameter
Name Description
builderForValue ReadAction.Builder
Returns
Type Description
SpannerAction.Builder

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

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

setSpannerOptions(SpannerOptions value)

public SpannerAction.Builder setSpannerOptions(SpannerOptions value)

Configuration options for Spanner backend

.google.spanner.executor.v1.SpannerOptions spanner_options = 2;

Parameter
Name Description
value SpannerOptions
Returns
Type Description
SpannerAction.Builder

setSpannerOptions(SpannerOptions.Builder builderForValue)

public SpannerAction.Builder setSpannerOptions(SpannerOptions.Builder builderForValue)

Configuration options for Spanner backend

.google.spanner.executor.v1.SpannerOptions spanner_options = 2;

Parameter
Name Description
builderForValue SpannerOptions.Builder
Returns
Type Description
SpannerAction.Builder

setStart(StartTransactionAction value)

public SpannerAction.Builder setStart(StartTransactionAction value)

Action to start a transaction.

.google.spanner.executor.v1.StartTransactionAction start = 10;

Parameter
Name Description
value StartTransactionAction
Returns
Type Description
SpannerAction.Builder

setStart(StartTransactionAction.Builder builderForValue)

public SpannerAction.Builder setStart(StartTransactionAction.Builder builderForValue)

Action to start a transaction.

.google.spanner.executor.v1.StartTransactionAction start = 10;

Parameter
Name Description
builderForValue StartTransactionAction.Builder
Returns
Type Description
SpannerAction.Builder

setStartBatchTxn(StartBatchTransactionAction value)

public SpannerAction.Builder setStartBatchTxn(StartBatchTransactionAction value)

Action to start a batch transaction.

.google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40;

Parameter
Name Description
value StartBatchTransactionAction
Returns
Type Description
SpannerAction.Builder

setStartBatchTxn(StartBatchTransactionAction.Builder builderForValue)

public SpannerAction.Builder setStartBatchTxn(StartBatchTransactionAction.Builder builderForValue)

Action to start a batch transaction.

.google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40;

Parameter
Name Description
builderForValue StartBatchTransactionAction.Builder
Returns
Type Description
SpannerAction.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setWrite(WriteMutationsAction value)

public SpannerAction.Builder setWrite(WriteMutationsAction value)

Action to write a mutation.

.google.spanner.executor.v1.WriteMutationsAction write = 25;

Parameter
Name Description
value WriteMutationsAction
Returns
Type Description
SpannerAction.Builder

setWrite(WriteMutationsAction.Builder builderForValue)

public SpannerAction.Builder setWrite(WriteMutationsAction.Builder builderForValue)

Action to write a mutation.

.google.spanner.executor.v1.WriteMutationsAction write = 25;

Parameter
Name Description
builderForValue WriteMutationsAction.Builder
Returns
Type Description
SpannerAction.Builder