- 6.102.1 (latest)
- 6.102.0
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public final class SpannerAction extends GeneratedMessageV3 implements SpannerActionOrBuilderSpannerAction 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SpannerActionImplements
SpannerActionOrBuilderStatic Fields
ADMIN_FIELD_NUMBER
public static final int ADMIN_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
BATCH_DML_FIELD_NUMBER
public static final int BATCH_DML_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
CLOSE_BATCH_TXN_FIELD_NUMBER
public static final int CLOSE_BATCH_TXN_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
DATABASE_PATH_FIELD_NUMBER
public static final int DATABASE_PATH_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
DML_FIELD_NUMBER
public static final int DML_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
EXECUTE_CHANGE_STREAM_QUERY_FIELD_NUMBER
public static final int EXECUTE_CHANGE_STREAM_QUERY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
EXECUTE_PARTITION_FIELD_NUMBER
public static final int EXECUTE_PARTITION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
FINISH_FIELD_NUMBER
public static final int FINISH_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
GENERATE_DB_PARTITIONS_QUERY_FIELD_NUMBER
public static final int GENERATE_DB_PARTITIONS_QUERY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
GENERATE_DB_PARTITIONS_READ_FIELD_NUMBER
public static final int GENERATE_DB_PARTITIONS_READ_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
MUTATION_FIELD_NUMBER
public static final int MUTATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
PARTITIONED_UPDATE_FIELD_NUMBER
public static final int PARTITIONED_UPDATE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
QUERY_CANCELLATION_FIELD_NUMBER
public static final int QUERY_CANCELLATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
READ_FIELD_NUMBER
public static final int READ_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
SPANNER_OPTIONS_FIELD_NUMBER
public static final int SPANNER_OPTIONS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
START_BATCH_TXN_FIELD_NUMBER
public static final int START_BATCH_TXN_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
WRITE_FIELD_NUMBER
public static final int WRITE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description | 
| int | |
Static Methods
getDefaultInstance()
public static SpannerAction getDefaultInstance()| Returns | |
|---|---|
| Type | Description | 
| SpannerAction | |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
newBuilder()
public static SpannerAction.Builder newBuilder()| Returns | |
|---|---|
| Type | Description | 
| SpannerAction.Builder | |
newBuilder(SpannerAction prototype)
public static SpannerAction.Builder newBuilder(SpannerAction prototype)| Parameter | |
|---|---|
| Name | Description | 
| prototype | SpannerAction | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction.Builder | |
parseDelimitedFrom(InputStream input)
public static SpannerAction parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description | 
| input | InputStream | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SpannerAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | InputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
parseFrom(byte[] data)
public static SpannerAction parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description | 
| data | byte[] | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction | |
| Exceptions | |
|---|---|
| Type | Description | 
| InvalidProtocolBufferException | |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SpannerAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| data | byte[] | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction | |
| Exceptions | |
|---|---|
| Type | Description | 
| InvalidProtocolBufferException | |
parseFrom(ByteString data)
public static SpannerAction parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description | 
| data | ByteString | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction | |
| Exceptions | |
|---|---|
| Type | Description | 
| InvalidProtocolBufferException | |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SpannerAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| data | ByteString | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction | |
| Exceptions | |
|---|---|
| Type | Description | 
| InvalidProtocolBufferException | |
parseFrom(CodedInputStream input)
public static SpannerAction parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SpannerAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
parseFrom(InputStream input)
public static SpannerAction parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description | 
| input | InputStream | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SpannerAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | InputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
parseFrom(ByteBuffer data)
public static SpannerAction parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description | 
| data | ByteBuffer | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction | |
| Exceptions | |
|---|---|
| Type | Description | 
| InvalidProtocolBufferException | |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SpannerAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| data | ByteBuffer | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction | |
| Exceptions | |
|---|---|
| Type | Description | 
| InvalidProtocolBufferException | |
parser()
public static Parser<SpannerAction> parser()| Returns | |
|---|---|
| Type | Description | 
| Parser<SpannerAction> | |
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description | 
| obj | Object | 
| Returns | |
|---|---|
| Type | Description | 
| boolean | |
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. | 
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. | 
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. | 
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 | |
getDml()
public DmlAction getDml()Action to a DML.
 .google.spanner.executor.v1.DmlAction dml = 23;
| Returns | |
|---|---|
| Type | Description | 
| DmlAction | The dml. | 
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. | 
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. | 
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. | 
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. | 
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. | 
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. | 
getMutationOrBuilder()
public MutationActionOrBuilder getMutationOrBuilder()Action to buffer a mutation.
 .google.spanner.executor.v1.MutationAction mutation = 22;
| Returns | |
|---|---|
| Type | Description | 
| MutationActionOrBuilder | |
getParserForType()
public Parser<SpannerAction> getParserForType()| Returns | |
|---|---|
| Type | Description | 
| Parser<SpannerAction> | |
getPartitionedUpdate()
public PartitionedUpdateAction getPartitionedUpdate()Action to a partitioned update.
 .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27;
| Returns | |
|---|---|
| Type | Description | 
| PartitionedUpdateAction | The partitionedUpdate. | 
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. | 
getQueryCancellation()
public QueryCancellationAction getQueryCancellation()Query cancellation action for testing the cancellation of a query.
 .google.spanner.executor.v1.QueryCancellationAction query_cancellation = 51;
| Returns | |
|---|---|
| Type | Description | 
| QueryCancellationAction | The queryCancellation. | 
getQueryCancellationOrBuilder()
public QueryCancellationActionOrBuilder getQueryCancellationOrBuilder()Query cancellation action for testing the cancellation of a query.
 .google.spanner.executor.v1.QueryCancellationAction query_cancellation = 51;
| Returns | |
|---|---|
| Type | Description | 
| QueryCancellationActionOrBuilder | |
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. | 
getReadOrBuilder()
public ReadActionOrBuilder getReadOrBuilder()Action to do a normal read.
 .google.spanner.executor.v1.ReadAction read = 20;
| Returns | |
|---|---|
| Type | Description | 
| ReadActionOrBuilder | |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description | 
| int | |
getSpannerOptions()
public SpannerOptions getSpannerOptions()Configuration options for Spanner backend
 .google.spanner.executor.v1.SpannerOptions spanner_options = 2;
| Returns | |
|---|---|
| Type | Description | 
| SpannerOptions | The spannerOptions. | 
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. | 
getStartBatchTxnOrBuilder()
public StartBatchTransactionActionOrBuilder getStartBatchTxnOrBuilder()Action to start a batch transaction.
 .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40;
| Returns | |
|---|---|
| Type | Description | 
| StartBatchTransactionActionOrBuilder | |
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. | 
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. | 
hasQueryCancellation()
public boolean hasQueryCancellation()Query cancellation action for testing the cancellation of a query.
 .google.spanner.executor.v1.QueryCancellationAction query_cancellation = 51;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the queryCancellation 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. | 
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description | 
| int | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
newBuilderForType()
public SpannerAction.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description | 
| SpannerAction.Builder | |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SpannerAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description | 
| parent | BuilderParent | 
| Returns | |
|---|---|
| Type | Description | 
| SpannerAction.Builder | |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)| Parameter | |
|---|---|
| Name | Description | 
| unused | UnusedPrivateParameter | 
| Returns | |
|---|---|
| Type | Description | 
| Object | |
toBuilder()
public SpannerAction.Builder toBuilder()| Returns | |
|---|---|
| Type | Description | 
| SpannerAction.Builder | |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description | 
| output | CodedOutputStream | 
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |