Class SpannerAction.Builder (6.62.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SpannerAction build()
Returns
TypeDescription
SpannerAction

buildPartial()

public SpannerAction buildPartial()
Returns
TypeDescription
SpannerAction

clear()

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

clearAction()

public SpannerAction.Builder clearAction()
Returns
TypeDescription
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
TypeDescription
SpannerAction.Builder

clearBatchDml()

public SpannerAction.Builder clearBatchDml()

Action to a batch DML.

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

Returns
TypeDescription
SpannerAction.Builder

clearCloseBatchTxn()

public SpannerAction.Builder clearCloseBatchTxn()

Action to close a batch transaction.

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

Returns
TypeDescription
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
TypeDescription
SpannerAction.Builder

This builder for chaining.

clearDml()

public SpannerAction.Builder clearDml()

Action to a DML.

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

Returns
TypeDescription
SpannerAction.Builder

clearExecuteChangeStreamQuery()

public SpannerAction.Builder clearExecuteChangeStreamQuery()

Action to execute change stream query.

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

Returns
TypeDescription
SpannerAction.Builder

clearExecutePartition()

public SpannerAction.Builder clearExecutePartition()

Action to execute batch actions on generated partitions.

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

Returns
TypeDescription
SpannerAction.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFinish()

public SpannerAction.Builder clearFinish()

Action to finish a transaction.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SpannerAction.Builder

clearMutation()

public SpannerAction.Builder clearMutation()

Action to buffer a mutation.

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

Returns
TypeDescription
SpannerAction.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPartitionedUpdate()

public SpannerAction.Builder clearPartitionedUpdate()

Action to a partitioned update.

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

Returns
TypeDescription
SpannerAction.Builder

clearQuery()

public SpannerAction.Builder clearQuery()

Action to do a query.

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

Returns
TypeDescription
SpannerAction.Builder

clearRead()

public SpannerAction.Builder clearRead()

Action to do a normal read.

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

Returns
TypeDescription
SpannerAction.Builder

clearStart()

public SpannerAction.Builder clearStart()

Action to start a transaction.

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

Returns
TypeDescription
SpannerAction.Builder

clearStartBatchTxn()

public SpannerAction.Builder clearStartBatchTxn()

Action to start a batch transaction.

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

Returns
TypeDescription
SpannerAction.Builder

clearWrite()

public SpannerAction.Builder clearWrite()

Action to write a mutation.

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

Returns
TypeDescription
SpannerAction.Builder

clone()

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

getActionCase()

public SpannerAction.ActionCase getActionCase()
Returns
TypeDescription
SpannerAction.ActionCase

getAdmin()

public AdminAction getAdmin()

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

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

Returns
TypeDescription
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
TypeDescription
AdminAction.Builder

getAdminOrBuilder()

public AdminActionOrBuilder getAdminOrBuilder()

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

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

Returns
TypeDescription
AdminActionOrBuilder

getBatchDml()

public BatchDmlAction getBatchDml()

Action to a batch DML.

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

Returns
TypeDescription
BatchDmlAction

The batchDml.

getBatchDmlBuilder()

public BatchDmlAction.Builder getBatchDmlBuilder()

Action to a batch DML.

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

Returns
TypeDescription
BatchDmlAction.Builder

getBatchDmlOrBuilder()

public BatchDmlActionOrBuilder getBatchDmlOrBuilder()

Action to a batch DML.

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

Returns
TypeDescription
BatchDmlActionOrBuilder

getCloseBatchTxn()

public CloseBatchTransactionAction getCloseBatchTxn()

Action to close a batch transaction.

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

Returns
TypeDescription
CloseBatchTransactionAction

The closeBatchTxn.

getCloseBatchTxnBuilder()

public CloseBatchTransactionAction.Builder getCloseBatchTxnBuilder()

Action to close a batch transaction.

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

Returns
TypeDescription
CloseBatchTransactionAction.Builder

getCloseBatchTxnOrBuilder()

public CloseBatchTransactionActionOrBuilder getCloseBatchTxnOrBuilder()

Action to close a batch transaction.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for databasePath.

getDefaultInstanceForType()

public SpannerAction getDefaultInstanceForType()
Returns
TypeDescription
SpannerAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDml()

public DmlAction getDml()

Action to a DML.

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

Returns
TypeDescription
DmlAction

The dml.

getDmlBuilder()

public DmlAction.Builder getDmlBuilder()

Action to a DML.

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

Returns
TypeDescription
DmlAction.Builder

getDmlOrBuilder()

public DmlActionOrBuilder getDmlOrBuilder()

Action to a DML.

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

Returns
TypeDescription
DmlActionOrBuilder

getExecuteChangeStreamQuery()

public ExecuteChangeStreamQuery getExecuteChangeStreamQuery()

Action to execute change stream query.

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

Returns
TypeDescription
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
TypeDescription
ExecuteChangeStreamQuery.Builder

getExecuteChangeStreamQueryOrBuilder()

public ExecuteChangeStreamQueryOrBuilder getExecuteChangeStreamQueryOrBuilder()

Action to execute change stream query.

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

Returns
TypeDescription
ExecuteChangeStreamQueryOrBuilder

getExecutePartition()

public ExecutePartitionAction getExecutePartition()

Action to execute batch actions on generated partitions.

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

Returns
TypeDescription
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
TypeDescription
ExecutePartitionAction.Builder

getExecutePartitionOrBuilder()

public ExecutePartitionActionOrBuilder getExecutePartitionOrBuilder()

Action to execute batch actions on generated partitions.

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

Returns
TypeDescription
ExecutePartitionActionOrBuilder

getFinish()

public FinishTransactionAction getFinish()

Action to finish a transaction.

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

Returns
TypeDescription
FinishTransactionAction

The finish.

getFinishBuilder()

public FinishTransactionAction.Builder getFinishBuilder()

Action to finish a transaction.

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

Returns
TypeDescription
FinishTransactionAction.Builder

getFinishOrBuilder()

public FinishTransactionActionOrBuilder getFinishOrBuilder()

Action to finish a transaction.

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

Returns
TypeDescription
FinishTransactionActionOrBuilder

getGenerateDbPartitionsQuery()

public GenerateDbPartitionsForQueryAction getGenerateDbPartitionsQuery()

Action to generate database partitions for batch query.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GenerateDbPartitionsForQueryActionOrBuilder

getGenerateDbPartitionsRead()

public GenerateDbPartitionsForReadAction getGenerateDbPartitionsRead()

Action to generate database partitions for batch read.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GenerateDbPartitionsForReadActionOrBuilder

getMutation()

public MutationAction getMutation()

Action to buffer a mutation.

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

Returns
TypeDescription
MutationAction

The mutation.

getMutationBuilder()

public MutationAction.Builder getMutationBuilder()

Action to buffer a mutation.

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

Returns
TypeDescription
MutationAction.Builder

getMutationOrBuilder()

public MutationActionOrBuilder getMutationOrBuilder()

Action to buffer a mutation.

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

Returns
TypeDescription
MutationActionOrBuilder

getPartitionedUpdate()

public PartitionedUpdateAction getPartitionedUpdate()

Action to a partitioned update.

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

Returns
TypeDescription
PartitionedUpdateAction

The partitionedUpdate.

getPartitionedUpdateBuilder()

public PartitionedUpdateAction.Builder getPartitionedUpdateBuilder()

Action to a partitioned update.

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

Returns
TypeDescription
PartitionedUpdateAction.Builder

getPartitionedUpdateOrBuilder()

public PartitionedUpdateActionOrBuilder getPartitionedUpdateOrBuilder()

Action to a partitioned update.

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

Returns
TypeDescription
PartitionedUpdateActionOrBuilder

getQuery()

public QueryAction getQuery()

Action to do a query.

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

Returns
TypeDescription
QueryAction

The query.

getQueryBuilder()

public QueryAction.Builder getQueryBuilder()

Action to do a query.

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

Returns
TypeDescription
QueryAction.Builder

getQueryOrBuilder()

public QueryActionOrBuilder getQueryOrBuilder()

Action to do a query.

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

Returns
TypeDescription
QueryActionOrBuilder

getRead()

public ReadAction getRead()

Action to do a normal read.

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

Returns
TypeDescription
ReadAction

The read.

getReadBuilder()

public ReadAction.Builder getReadBuilder()

Action to do a normal read.

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

Returns
TypeDescription
ReadAction.Builder

getReadOrBuilder()

public ReadActionOrBuilder getReadOrBuilder()

Action to do a normal read.

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

Returns
TypeDescription
ReadActionOrBuilder

getStart()

public StartTransactionAction getStart()

Action to start a transaction.

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

Returns
TypeDescription
StartTransactionAction

The start.

getStartBatchTxn()

public StartBatchTransactionAction getStartBatchTxn()

Action to start a batch transaction.

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

Returns
TypeDescription
StartBatchTransactionAction

The startBatchTxn.

getStartBatchTxnBuilder()

public StartBatchTransactionAction.Builder getStartBatchTxnBuilder()

Action to start a batch transaction.

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

Returns
TypeDescription
StartBatchTransactionAction.Builder

getStartBatchTxnOrBuilder()

public StartBatchTransactionActionOrBuilder getStartBatchTxnOrBuilder()

Action to start a batch transaction.

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

Returns
TypeDescription
StartBatchTransactionActionOrBuilder

getStartBuilder()

public StartTransactionAction.Builder getStartBuilder()

Action to start a transaction.

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

Returns
TypeDescription
StartTransactionAction.Builder

getStartOrBuilder()

public StartTransactionActionOrBuilder getStartOrBuilder()

Action to start a transaction.

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

Returns
TypeDescription
StartTransactionActionOrBuilder

getWrite()

public WriteMutationsAction getWrite()

Action to write a mutation.

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

Returns
TypeDescription
WriteMutationsAction

The write.

getWriteBuilder()

public WriteMutationsAction.Builder getWriteBuilder()

Action to write a mutation.

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

Returns
TypeDescription
WriteMutationsAction.Builder

getWriteOrBuilder()

public WriteMutationsActionOrBuilder getWriteOrBuilder()

Action to write a mutation.

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

Returns
TypeDescription
WriteMutationsActionOrBuilder

hasAdmin()

public boolean hasAdmin()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the closeBatchTxn field is set.

hasDml()

public boolean hasDml()

Action to a DML.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the executePartition field is set.

hasFinish()

public boolean hasFinish()

Action to finish a transaction.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the generateDbPartitionsRead field is set.

hasMutation()

public boolean hasMutation()

Action to buffer a mutation.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the partitionedUpdate field is set.

hasQuery()

public boolean hasQuery()

Action to do a query.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the read field is set.

hasStart()

public boolean hasStart()

Action to start a transaction.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the startBatchTxn field is set.

hasWrite()

public boolean hasWrite()

Action to write a mutation.

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

Returns
TypeDescription
boolean

Whether the write field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAdminAction
Returns
TypeDescription
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
NameDescription
valueBatchDmlAction
Returns
TypeDescription
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
NameDescription
valueCloseBatchTransactionAction
Returns
TypeDescription
SpannerAction.Builder

mergeDml(DmlAction value)

public SpannerAction.Builder mergeDml(DmlAction value)

Action to a DML.

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

Parameter
NameDescription
valueDmlAction
Returns
TypeDescription
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
NameDescription
valueExecuteChangeStreamQuery
Returns
TypeDescription
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
NameDescription
valueExecutePartitionAction
Returns
TypeDescription
SpannerAction.Builder

mergeFinish(FinishTransactionAction value)

public SpannerAction.Builder mergeFinish(FinishTransactionAction value)

Action to finish a transaction.

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

Parameter
NameDescription
valueFinishTransactionAction
Returns
TypeDescription
SpannerAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(SpannerAction other)

public SpannerAction.Builder mergeFrom(SpannerAction other)
Parameter
NameDescription
otherSpannerAction
Returns
TypeDescription
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
NameDescription
valueGenerateDbPartitionsForQueryAction
Returns
TypeDescription
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
NameDescription
valueGenerateDbPartitionsForReadAction
Returns
TypeDescription
SpannerAction.Builder

mergeMutation(MutationAction value)

public SpannerAction.Builder mergeMutation(MutationAction value)

Action to buffer a mutation.

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

Parameter
NameDescription
valueMutationAction
Returns
TypeDescription
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
NameDescription
valuePartitionedUpdateAction
Returns
TypeDescription
SpannerAction.Builder

mergeQuery(QueryAction value)

public SpannerAction.Builder mergeQuery(QueryAction value)

Action to do a query.

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

Parameter
NameDescription
valueQueryAction
Returns
TypeDescription
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
NameDescription
valueReadAction
Returns
TypeDescription
SpannerAction.Builder

mergeStart(StartTransactionAction value)

public SpannerAction.Builder mergeStart(StartTransactionAction value)

Action to start a transaction.

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

Parameter
NameDescription
valueStartTransactionAction
Returns
TypeDescription
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
NameDescription
valueStartBatchTransactionAction
Returns
TypeDescription
SpannerAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SpannerAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWriteMutationsAction
Returns
TypeDescription
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
NameDescription
valueAdminAction
Returns
TypeDescription
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
NameDescription
builderForValueAdminAction.Builder
Returns
TypeDescription
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
NameDescription
valueBatchDmlAction
Returns
TypeDescription
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
NameDescription
builderForValueBatchDmlAction.Builder
Returns
TypeDescription
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
NameDescription
valueCloseBatchTransactionAction
Returns
TypeDescription
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
NameDescription
builderForValueCloseBatchTransactionAction.Builder
Returns
TypeDescription
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
NameDescription
valueString

The databasePath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for databasePath to set.

Returns
TypeDescription
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
NameDescription
valueDmlAction
Returns
TypeDescription
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
NameDescription
builderForValueDmlAction.Builder
Returns
TypeDescription
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
NameDescription
valueExecuteChangeStreamQuery
Returns
TypeDescription
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
NameDescription
builderForValueExecuteChangeStreamQuery.Builder
Returns
TypeDescription
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
NameDescription
valueExecutePartitionAction
Returns
TypeDescription
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
NameDescription
builderForValueExecutePartitionAction.Builder
Returns
TypeDescription
SpannerAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SpannerAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueFinishTransactionAction
Returns
TypeDescription
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
NameDescription
builderForValueFinishTransactionAction.Builder
Returns
TypeDescription
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
NameDescription
valueGenerateDbPartitionsForQueryAction
Returns
TypeDescription
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
NameDescription
builderForValueGenerateDbPartitionsForQueryAction.Builder
Returns
TypeDescription
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
NameDescription
valueGenerateDbPartitionsForReadAction
Returns
TypeDescription
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
NameDescription
builderForValueGenerateDbPartitionsForReadAction.Builder
Returns
TypeDescription
SpannerAction.Builder

setMutation(MutationAction value)

public SpannerAction.Builder setMutation(MutationAction value)

Action to buffer a mutation.

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

Parameter
NameDescription
valueMutationAction
Returns
TypeDescription
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
NameDescription
builderForValueMutationAction.Builder
Returns
TypeDescription
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
NameDescription
valuePartitionedUpdateAction
Returns
TypeDescription
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
NameDescription
builderForValuePartitionedUpdateAction.Builder
Returns
TypeDescription
SpannerAction.Builder

setQuery(QueryAction value)

public SpannerAction.Builder setQuery(QueryAction value)

Action to do a query.

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

Parameter
NameDescription
valueQueryAction
Returns
TypeDescription
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
NameDescription
builderForValueQueryAction.Builder
Returns
TypeDescription
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
NameDescription
valueReadAction
Returns
TypeDescription
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
NameDescription
builderForValueReadAction.Builder
Returns
TypeDescription
SpannerAction.Builder

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

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

setStart(StartTransactionAction value)

public SpannerAction.Builder setStart(StartTransactionAction value)

Action to start a transaction.

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

Parameter
NameDescription
valueStartTransactionAction
Returns
TypeDescription
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
NameDescription
builderForValueStartTransactionAction.Builder
Returns
TypeDescription
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
NameDescription
valueStartBatchTransactionAction
Returns
TypeDescription
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
NameDescription
builderForValueStartBatchTransactionAction.Builder
Returns
TypeDescription
SpannerAction.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SpannerAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWriteMutationsAction
Returns
TypeDescription
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
NameDescription
builderForValueWriteMutationsAction.Builder
Returns
TypeDescription
SpannerAction.Builder