Interface SpannerActionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SpannerAction, SpannerAction.Builder

public interface SpannerActionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDatabasePath

      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:
      The databasePath.
    • getDatabasePathBytes

      com.google.protobuf.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:
      The bytes for databasePath.
    • hasStart

      boolean hasStart()
       Action to start a transaction.
       
      .google.spanner.executor.v1.StartTransactionAction start = 10;
      Returns:
      Whether the start field is set.
    • getStart

       Action to start a transaction.
       
      .google.spanner.executor.v1.StartTransactionAction start = 10;
      Returns:
      The start.
    • getStartOrBuilder

      StartTransactionActionOrBuilder getStartOrBuilder()
       Action to start a transaction.
       
      .google.spanner.executor.v1.StartTransactionAction start = 10;
    • hasFinish

      boolean hasFinish()
       Action to finish a transaction.
       
      .google.spanner.executor.v1.FinishTransactionAction finish = 11;
      Returns:
      Whether the finish field is set.
    • getFinish

       Action to finish a transaction.
       
      .google.spanner.executor.v1.FinishTransactionAction finish = 11;
      Returns:
      The finish.
    • getFinishOrBuilder

      FinishTransactionActionOrBuilder getFinishOrBuilder()
       Action to finish a transaction.
       
      .google.spanner.executor.v1.FinishTransactionAction finish = 11;
    • hasRead

      boolean hasRead()
       Action to do a normal read.
       
      .google.spanner.executor.v1.ReadAction read = 20;
      Returns:
      Whether the read field is set.
    • getRead

      ReadAction getRead()
       Action to do a normal read.
       
      .google.spanner.executor.v1.ReadAction read = 20;
      Returns:
      The read.
    • getReadOrBuilder

      ReadActionOrBuilder getReadOrBuilder()
       Action to do a normal read.
       
      .google.spanner.executor.v1.ReadAction read = 20;
    • hasQuery

      boolean hasQuery()
       Action to do a query.
       
      .google.spanner.executor.v1.QueryAction query = 21;
      Returns:
      Whether the query field is set.
    • getQuery

      QueryAction getQuery()
       Action to do a query.
       
      .google.spanner.executor.v1.QueryAction query = 21;
      Returns:
      The query.
    • getQueryOrBuilder

      QueryActionOrBuilder getQueryOrBuilder()
       Action to do a query.
       
      .google.spanner.executor.v1.QueryAction query = 21;
    • hasMutation

      boolean hasMutation()
       Action to buffer a mutation.
       
      .google.spanner.executor.v1.MutationAction mutation = 22;
      Returns:
      Whether the mutation field is set.
    • getMutation

      MutationAction getMutation()
       Action to buffer a mutation.
       
      .google.spanner.executor.v1.MutationAction mutation = 22;
      Returns:
      The mutation.
    • getMutationOrBuilder

      MutationActionOrBuilder getMutationOrBuilder()
       Action to buffer a mutation.
       
      .google.spanner.executor.v1.MutationAction mutation = 22;
    • hasDml

      boolean hasDml()
       Action to a DML.
       
      .google.spanner.executor.v1.DmlAction dml = 23;
      Returns:
      Whether the dml field is set.
    • getDml

      DmlAction getDml()
       Action to a DML.
       
      .google.spanner.executor.v1.DmlAction dml = 23;
      Returns:
      The dml.
    • getDmlOrBuilder

      DmlActionOrBuilder getDmlOrBuilder()
       Action to a DML.
       
      .google.spanner.executor.v1.DmlAction dml = 23;
    • hasBatchDml

      boolean hasBatchDml()
       Action to a batch DML.
       
      .google.spanner.executor.v1.BatchDmlAction batch_dml = 24;
      Returns:
      Whether the batchDml field is set.
    • getBatchDml

      BatchDmlAction getBatchDml()
       Action to a batch DML.
       
      .google.spanner.executor.v1.BatchDmlAction batch_dml = 24;
      Returns:
      The batchDml.
    • getBatchDmlOrBuilder

      BatchDmlActionOrBuilder getBatchDmlOrBuilder()
       Action to a batch DML.
       
      .google.spanner.executor.v1.BatchDmlAction batch_dml = 24;
    • hasWrite

      boolean hasWrite()
       Action to write a mutation.
       
      .google.spanner.executor.v1.WriteMutationsAction write = 25;
      Returns:
      Whether the write field is set.
    • getWrite

       Action to write a mutation.
       
      .google.spanner.executor.v1.WriteMutationsAction write = 25;
      Returns:
      The write.
    • getWriteOrBuilder

      WriteMutationsActionOrBuilder getWriteOrBuilder()
       Action to write a mutation.
       
      .google.spanner.executor.v1.WriteMutationsAction write = 25;
    • hasPartitionedUpdate

      boolean hasPartitionedUpdate()
       Action to a partitioned update.
       
      .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27;
      Returns:
      Whether the partitionedUpdate field is set.
    • getPartitionedUpdate

      PartitionedUpdateAction getPartitionedUpdate()
       Action to a partitioned update.
       
      .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27;
      Returns:
      The partitionedUpdate.
    • getPartitionedUpdateOrBuilder

      PartitionedUpdateActionOrBuilder getPartitionedUpdateOrBuilder()
       Action to a partitioned update.
       
      .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27;
    • hasAdmin

      boolean hasAdmin()
       Action that contains any administrative operation, like database,
       instance manipulation.
       
      .google.spanner.executor.v1.AdminAction admin = 30;
      Returns:
      Whether the admin field is set.
    • getAdmin

      AdminAction getAdmin()
       Action that contains any administrative operation, like database,
       instance manipulation.
       
      .google.spanner.executor.v1.AdminAction admin = 30;
      Returns:
      The admin.
    • getAdminOrBuilder

      AdminActionOrBuilder getAdminOrBuilder()
       Action that contains any administrative operation, like database,
       instance manipulation.
       
      .google.spanner.executor.v1.AdminAction admin = 30;
    • hasStartBatchTxn

      boolean hasStartBatchTxn()
       Action to start a batch transaction.
       
      .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40;
      Returns:
      Whether the startBatchTxn field is set.
    • getStartBatchTxn

      StartBatchTransactionAction getStartBatchTxn()
       Action to start a batch transaction.
       
      .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40;
      Returns:
      The startBatchTxn.
    • getStartBatchTxnOrBuilder

      StartBatchTransactionActionOrBuilder getStartBatchTxnOrBuilder()
       Action to start a batch transaction.
       
      .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40;
    • hasCloseBatchTxn

      boolean hasCloseBatchTxn()
       Action to close a batch transaction.
       
      .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41;
      Returns:
      Whether the closeBatchTxn field is set.
    • getCloseBatchTxn

      CloseBatchTransactionAction getCloseBatchTxn()
       Action to close a batch transaction.
       
      .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41;
      Returns:
      The closeBatchTxn.
    • getCloseBatchTxnOrBuilder

      CloseBatchTransactionActionOrBuilder getCloseBatchTxnOrBuilder()
       Action to close a batch transaction.
       
      .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41;
    • hasGenerateDbPartitionsRead

      boolean hasGenerateDbPartitionsRead()
       Action to generate database partitions for batch read.
       
      .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42;
      Returns:
      Whether the generateDbPartitionsRead field is set.
    • getGenerateDbPartitionsRead

      GenerateDbPartitionsForReadAction getGenerateDbPartitionsRead()
       Action to generate database partitions for batch read.
       
      .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42;
      Returns:
      The generateDbPartitionsRead.
    • getGenerateDbPartitionsReadOrBuilder

      GenerateDbPartitionsForReadActionOrBuilder getGenerateDbPartitionsReadOrBuilder()
       Action to generate database partitions for batch read.
       
      .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42;
    • hasGenerateDbPartitionsQuery

      boolean hasGenerateDbPartitionsQuery()
       Action to generate database partitions for batch query.
       
      .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43;
      Returns:
      Whether the generateDbPartitionsQuery field is set.
    • getGenerateDbPartitionsQuery

      GenerateDbPartitionsForQueryAction getGenerateDbPartitionsQuery()
       Action to generate database partitions for batch query.
       
      .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43;
      Returns:
      The generateDbPartitionsQuery.
    • getGenerateDbPartitionsQueryOrBuilder

      GenerateDbPartitionsForQueryActionOrBuilder getGenerateDbPartitionsQueryOrBuilder()
       Action to generate database partitions for batch query.
       
      .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43;
    • hasExecutePartition

      boolean hasExecutePartition()
       Action to execute batch actions on generated partitions.
       
      .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44;
      Returns:
      Whether the executePartition field is set.
    • getExecutePartition

      ExecutePartitionAction getExecutePartition()
       Action to execute batch actions on generated partitions.
       
      .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44;
      Returns:
      The executePartition.
    • getExecutePartitionOrBuilder

      ExecutePartitionActionOrBuilder getExecutePartitionOrBuilder()
       Action to execute batch actions on generated partitions.
       
      .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44;
    • hasExecuteChangeStreamQuery

      boolean hasExecuteChangeStreamQuery()
       Action to execute change stream query.
       
      .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50;
      Returns:
      Whether the executeChangeStreamQuery field is set.
    • getExecuteChangeStreamQuery

      ExecuteChangeStreamQuery getExecuteChangeStreamQuery()
       Action to execute change stream query.
       
      .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50;
      Returns:
      The executeChangeStreamQuery.
    • getExecuteChangeStreamQueryOrBuilder

      ExecuteChangeStreamQueryOrBuilder getExecuteChangeStreamQueryOrBuilder()
       Action to execute change stream query.
       
      .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50;
    • getActionCase

      SpannerAction.ActionCase getActionCase()