Class SpannerActionOutcome.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
com.google.spanner.executor.v1.SpannerActionOutcome.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SpannerActionOutcomeOrBuilder, Cloneable
Enclosing class:
SpannerActionOutcome

public static final class SpannerActionOutcome.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder> implements SpannerActionOutcomeOrBuilder
 SpannerActionOutcome defines a result of execution of a single SpannerAction.
 
Protobuf type google.spanner.executor.v1.SpannerActionOutcome
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
    • getDefaultInstanceForType

      public SpannerActionOutcome getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SpannerActionOutcome build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SpannerActionOutcome buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
    • setField

      public SpannerActionOutcome.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
    • clearField

      public SpannerActionOutcome.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
    • clearOneof

      public SpannerActionOutcome.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
    • setRepeatedField

      public SpannerActionOutcome.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
    • addRepeatedField

      public SpannerActionOutcome.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
    • mergeFrom

      public SpannerActionOutcome.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpannerActionOutcome.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
    • mergeFrom

      public SpannerActionOutcome.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpannerActionOutcome.Builder>
      Throws:
      IOException
    • hasStatus

      public boolean hasStatus()
       If an outcome is split into multiple parts, status will be set only in the
       last part.
       
      optional .google.rpc.Status status = 1;
      Specified by:
      hasStatus in interface SpannerActionOutcomeOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public com.google.rpc.Status getStatus()
       If an outcome is split into multiple parts, status will be set only in the
       last part.
       
      optional .google.rpc.Status status = 1;
      Specified by:
      getStatus in interface SpannerActionOutcomeOrBuilder
      Returns:
      The status.
    • setStatus

      public SpannerActionOutcome.Builder setStatus(com.google.rpc.Status value)
       If an outcome is split into multiple parts, status will be set only in the
       last part.
       
      optional .google.rpc.Status status = 1;
    • setStatus

      public SpannerActionOutcome.Builder setStatus(com.google.rpc.Status.Builder builderForValue)
       If an outcome is split into multiple parts, status will be set only in the
       last part.
       
      optional .google.rpc.Status status = 1;
    • mergeStatus

      public SpannerActionOutcome.Builder mergeStatus(com.google.rpc.Status value)
       If an outcome is split into multiple parts, status will be set only in the
       last part.
       
      optional .google.rpc.Status status = 1;
    • clearStatus

      public SpannerActionOutcome.Builder clearStatus()
       If an outcome is split into multiple parts, status will be set only in the
       last part.
       
      optional .google.rpc.Status status = 1;
    • getStatusBuilder

      public com.google.rpc.Status.Builder getStatusBuilder()
       If an outcome is split into multiple parts, status will be set only in the
       last part.
       
      optional .google.rpc.Status status = 1;
    • getStatusOrBuilder

      public com.google.rpc.StatusOrBuilder getStatusOrBuilder()
       If an outcome is split into multiple parts, status will be set only in the
       last part.
       
      optional .google.rpc.Status status = 1;
      Specified by:
      getStatusOrBuilder in interface SpannerActionOutcomeOrBuilder
    • hasCommitTime

      public boolean hasCommitTime()
       Transaction timestamp. It must be set for successful committed actions.
       
      optional .google.protobuf.Timestamp commit_time = 2;
      Specified by:
      hasCommitTime in interface SpannerActionOutcomeOrBuilder
      Returns:
      Whether the commitTime field is set.
    • getCommitTime

      public com.google.protobuf.Timestamp getCommitTime()
       Transaction timestamp. It must be set for successful committed actions.
       
      optional .google.protobuf.Timestamp commit_time = 2;
      Specified by:
      getCommitTime in interface SpannerActionOutcomeOrBuilder
      Returns:
      The commitTime.
    • setCommitTime

      public SpannerActionOutcome.Builder setCommitTime(com.google.protobuf.Timestamp value)
       Transaction timestamp. It must be set for successful committed actions.
       
      optional .google.protobuf.Timestamp commit_time = 2;
    • setCommitTime

      public SpannerActionOutcome.Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Transaction timestamp. It must be set for successful committed actions.
       
      optional .google.protobuf.Timestamp commit_time = 2;
    • mergeCommitTime

      public SpannerActionOutcome.Builder mergeCommitTime(com.google.protobuf.Timestamp value)
       Transaction timestamp. It must be set for successful committed actions.
       
      optional .google.protobuf.Timestamp commit_time = 2;
    • clearCommitTime

      public SpannerActionOutcome.Builder clearCommitTime()
       Transaction timestamp. It must be set for successful committed actions.
       
      optional .google.protobuf.Timestamp commit_time = 2;
    • getCommitTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder()
       Transaction timestamp. It must be set for successful committed actions.
       
      optional .google.protobuf.Timestamp commit_time = 2;
    • getCommitTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder()
       Transaction timestamp. It must be set for successful committed actions.
       
      optional .google.protobuf.Timestamp commit_time = 2;
      Specified by:
      getCommitTimeOrBuilder in interface SpannerActionOutcomeOrBuilder
    • hasReadResult

      public boolean hasReadResult()
       Result of a ReadAction. This field must be set for ReadActions even if
       no rows were read.
       
      optional .google.spanner.executor.v1.ReadResult read_result = 3;
      Specified by:
      hasReadResult in interface SpannerActionOutcomeOrBuilder
      Returns:
      Whether the readResult field is set.
    • getReadResult

      public ReadResult getReadResult()
       Result of a ReadAction. This field must be set for ReadActions even if
       no rows were read.
       
      optional .google.spanner.executor.v1.ReadResult read_result = 3;
      Specified by:
      getReadResult in interface SpannerActionOutcomeOrBuilder
      Returns:
      The readResult.
    • setReadResult

      public SpannerActionOutcome.Builder setReadResult(ReadResult value)
       Result of a ReadAction. This field must be set for ReadActions even if
       no rows were read.
       
      optional .google.spanner.executor.v1.ReadResult read_result = 3;
    • setReadResult

      public SpannerActionOutcome.Builder setReadResult(ReadResult.Builder builderForValue)
       Result of a ReadAction. This field must be set for ReadActions even if
       no rows were read.
       
      optional .google.spanner.executor.v1.ReadResult read_result = 3;
    • mergeReadResult

      public SpannerActionOutcome.Builder mergeReadResult(ReadResult value)
       Result of a ReadAction. This field must be set for ReadActions even if
       no rows were read.
       
      optional .google.spanner.executor.v1.ReadResult read_result = 3;
    • clearReadResult

      public SpannerActionOutcome.Builder clearReadResult()
       Result of a ReadAction. This field must be set for ReadActions even if
       no rows were read.
       
      optional .google.spanner.executor.v1.ReadResult read_result = 3;
    • getReadResultBuilder

      public ReadResult.Builder getReadResultBuilder()
       Result of a ReadAction. This field must be set for ReadActions even if
       no rows were read.
       
      optional .google.spanner.executor.v1.ReadResult read_result = 3;
    • getReadResultOrBuilder

      public ReadResultOrBuilder getReadResultOrBuilder()
       Result of a ReadAction. This field must be set for ReadActions even if
       no rows were read.
       
      optional .google.spanner.executor.v1.ReadResult read_result = 3;
      Specified by:
      getReadResultOrBuilder in interface SpannerActionOutcomeOrBuilder
    • hasQueryResult

      public boolean hasQueryResult()
       Result of a Query. This field must be set for Queries even if no rows were
       read.
       
      optional .google.spanner.executor.v1.QueryResult query_result = 4;
      Specified by:
      hasQueryResult in interface SpannerActionOutcomeOrBuilder
      Returns:
      Whether the queryResult field is set.
    • getQueryResult

      public QueryResult getQueryResult()
       Result of a Query. This field must be set for Queries even if no rows were
       read.
       
      optional .google.spanner.executor.v1.QueryResult query_result = 4;
      Specified by:
      getQueryResult in interface SpannerActionOutcomeOrBuilder
      Returns:
      The queryResult.
    • setQueryResult

      public SpannerActionOutcome.Builder setQueryResult(QueryResult value)
       Result of a Query. This field must be set for Queries even if no rows were
       read.
       
      optional .google.spanner.executor.v1.QueryResult query_result = 4;
    • setQueryResult

      public SpannerActionOutcome.Builder setQueryResult(QueryResult.Builder builderForValue)
       Result of a Query. This field must be set for Queries even if no rows were
       read.
       
      optional .google.spanner.executor.v1.QueryResult query_result = 4;
    • mergeQueryResult

      public SpannerActionOutcome.Builder mergeQueryResult(QueryResult value)
       Result of a Query. This field must be set for Queries even if no rows were
       read.
       
      optional .google.spanner.executor.v1.QueryResult query_result = 4;
    • clearQueryResult

      public SpannerActionOutcome.Builder clearQueryResult()
       Result of a Query. This field must be set for Queries even if no rows were
       read.
       
      optional .google.spanner.executor.v1.QueryResult query_result = 4;
    • getQueryResultBuilder

      public QueryResult.Builder getQueryResultBuilder()
       Result of a Query. This field must be set for Queries even if no rows were
       read.
       
      optional .google.spanner.executor.v1.QueryResult query_result = 4;
    • getQueryResultOrBuilder

      public QueryResultOrBuilder getQueryResultOrBuilder()
       Result of a Query. This field must be set for Queries even if no rows were
       read.
       
      optional .google.spanner.executor.v1.QueryResult query_result = 4;
      Specified by:
      getQueryResultOrBuilder in interface SpannerActionOutcomeOrBuilder
    • hasTransactionRestarted

      public boolean hasTransactionRestarted()
       This bit indicates that Spanner has restarted the current transaction. It
       means that the client should replay all the reads and writes.
       Setting it to true is only valid in the context of a read-write
       transaction, as an outcome of a committing FinishTransactionAction.
       
      optional bool transaction_restarted = 5;
      Specified by:
      hasTransactionRestarted in interface SpannerActionOutcomeOrBuilder
      Returns:
      Whether the transactionRestarted field is set.
    • getTransactionRestarted

      public boolean getTransactionRestarted()
       This bit indicates that Spanner has restarted the current transaction. It
       means that the client should replay all the reads and writes.
       Setting it to true is only valid in the context of a read-write
       transaction, as an outcome of a committing FinishTransactionAction.
       
      optional bool transaction_restarted = 5;
      Specified by:
      getTransactionRestarted in interface SpannerActionOutcomeOrBuilder
      Returns:
      The transactionRestarted.
    • setTransactionRestarted

      public SpannerActionOutcome.Builder setTransactionRestarted(boolean value)
       This bit indicates that Spanner has restarted the current transaction. It
       means that the client should replay all the reads and writes.
       Setting it to true is only valid in the context of a read-write
       transaction, as an outcome of a committing FinishTransactionAction.
       
      optional bool transaction_restarted = 5;
      Parameters:
      value - The transactionRestarted to set.
      Returns:
      This builder for chaining.
    • clearTransactionRestarted

      public SpannerActionOutcome.Builder clearTransactionRestarted()
       This bit indicates that Spanner has restarted the current transaction. It
       means that the client should replay all the reads and writes.
       Setting it to true is only valid in the context of a read-write
       transaction, as an outcome of a committing FinishTransactionAction.
       
      optional bool transaction_restarted = 5;
      Returns:
      This builder for chaining.
    • hasBatchTxnId

      public boolean hasBatchTxnId()
       In successful StartBatchTransactionAction outcomes, this contains the ID of
       the transaction.
       
      optional bytes batch_txn_id = 6;
      Specified by:
      hasBatchTxnId in interface SpannerActionOutcomeOrBuilder
      Returns:
      Whether the batchTxnId field is set.
    • getBatchTxnId

      public com.google.protobuf.ByteString getBatchTxnId()
       In successful StartBatchTransactionAction outcomes, this contains the ID of
       the transaction.
       
      optional bytes batch_txn_id = 6;
      Specified by:
      getBatchTxnId in interface SpannerActionOutcomeOrBuilder
      Returns:
      The batchTxnId.
    • setBatchTxnId

      public SpannerActionOutcome.Builder setBatchTxnId(com.google.protobuf.ByteString value)
       In successful StartBatchTransactionAction outcomes, this contains the ID of
       the transaction.
       
      optional bytes batch_txn_id = 6;
      Parameters:
      value - The batchTxnId to set.
      Returns:
      This builder for chaining.
    • clearBatchTxnId

      public SpannerActionOutcome.Builder clearBatchTxnId()
       In successful StartBatchTransactionAction outcomes, this contains the ID of
       the transaction.
       
      optional bytes batch_txn_id = 6;
      Returns:
      This builder for chaining.
    • getDbPartitionList

      public List<BatchPartition> getDbPartitionList()
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
      Specified by:
      getDbPartitionList in interface SpannerActionOutcomeOrBuilder
    • getDbPartitionCount

      public int getDbPartitionCount()
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
      Specified by:
      getDbPartitionCount in interface SpannerActionOutcomeOrBuilder
    • getDbPartition

      public BatchPartition getDbPartition(int index)
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
      Specified by:
      getDbPartition in interface SpannerActionOutcomeOrBuilder
    • setDbPartition

      public SpannerActionOutcome.Builder setDbPartition(int index, BatchPartition value)
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    • setDbPartition

      public SpannerActionOutcome.Builder setDbPartition(int index, BatchPartition.Builder builderForValue)
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    • addDbPartition

      public SpannerActionOutcome.Builder addDbPartition(BatchPartition value)
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    • addDbPartition

      public SpannerActionOutcome.Builder addDbPartition(int index, BatchPartition value)
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    • addDbPartition

      public SpannerActionOutcome.Builder addDbPartition(BatchPartition.Builder builderForValue)
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    • addDbPartition

      public SpannerActionOutcome.Builder addDbPartition(int index, BatchPartition.Builder builderForValue)
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    • addAllDbPartition

      public SpannerActionOutcome.Builder addAllDbPartition(Iterable<? extends BatchPartition> values)
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    • clearDbPartition

      public SpannerActionOutcome.Builder clearDbPartition()
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    • removeDbPartition

      public SpannerActionOutcome.Builder removeDbPartition(int index)
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    • getDbPartitionBuilder

      public BatchPartition.Builder getDbPartitionBuilder(int index)
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    • getDbPartitionOrBuilder

      public BatchPartitionOrBuilder getDbPartitionOrBuilder(int index)
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
      Specified by:
      getDbPartitionOrBuilder in interface SpannerActionOutcomeOrBuilder
    • getDbPartitionOrBuilderList

      public List<? extends BatchPartitionOrBuilder> getDbPartitionOrBuilderList()
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
      Specified by:
      getDbPartitionOrBuilderList in interface SpannerActionOutcomeOrBuilder
    • addDbPartitionBuilder

      public BatchPartition.Builder addDbPartitionBuilder()
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    • addDbPartitionBuilder

      public BatchPartition.Builder addDbPartitionBuilder(int index)
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    • getDbPartitionBuilderList

      public List<BatchPartition.Builder> getDbPartitionBuilderList()
       Generated database partitions (result of a
       GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
       
      repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    • hasAdminResult

      public boolean hasAdminResult()
       Result of admin related actions.
       
      optional .google.spanner.executor.v1.AdminResult admin_result = 8;
      Specified by:
      hasAdminResult in interface SpannerActionOutcomeOrBuilder
      Returns:
      Whether the adminResult field is set.
    • getAdminResult

      public AdminResult getAdminResult()
       Result of admin related actions.
       
      optional .google.spanner.executor.v1.AdminResult admin_result = 8;
      Specified by:
      getAdminResult in interface SpannerActionOutcomeOrBuilder
      Returns:
      The adminResult.
    • setAdminResult

      public SpannerActionOutcome.Builder setAdminResult(AdminResult value)
       Result of admin related actions.
       
      optional .google.spanner.executor.v1.AdminResult admin_result = 8;
    • setAdminResult

      public SpannerActionOutcome.Builder setAdminResult(AdminResult.Builder builderForValue)
       Result of admin related actions.
       
      optional .google.spanner.executor.v1.AdminResult admin_result = 8;
    • mergeAdminResult

      public SpannerActionOutcome.Builder mergeAdminResult(AdminResult value)
       Result of admin related actions.
       
      optional .google.spanner.executor.v1.AdminResult admin_result = 8;
    • clearAdminResult

      public SpannerActionOutcome.Builder clearAdminResult()
       Result of admin related actions.
       
      optional .google.spanner.executor.v1.AdminResult admin_result = 8;
    • getAdminResultBuilder

      public AdminResult.Builder getAdminResultBuilder()
       Result of admin related actions.
       
      optional .google.spanner.executor.v1.AdminResult admin_result = 8;
    • getAdminResultOrBuilder

      public AdminResultOrBuilder getAdminResultOrBuilder()
       Result of admin related actions.
       
      optional .google.spanner.executor.v1.AdminResult admin_result = 8;
      Specified by:
      getAdminResultOrBuilder in interface SpannerActionOutcomeOrBuilder
    • getDmlRowsModifiedList

      public List<Long> getDmlRowsModifiedList()
       Stores rows modified by query in single DML or batch DML action.
       In case of batch DML action, stores 0 as row count of errored DML query.
       
      repeated int64 dml_rows_modified = 9;
      Specified by:
      getDmlRowsModifiedList in interface SpannerActionOutcomeOrBuilder
      Returns:
      A list containing the dmlRowsModified.
    • getDmlRowsModifiedCount

      public int getDmlRowsModifiedCount()
       Stores rows modified by query in single DML or batch DML action.
       In case of batch DML action, stores 0 as row count of errored DML query.
       
      repeated int64 dml_rows_modified = 9;
      Specified by:
      getDmlRowsModifiedCount in interface SpannerActionOutcomeOrBuilder
      Returns:
      The count of dmlRowsModified.
    • getDmlRowsModified

      public long getDmlRowsModified(int index)
       Stores rows modified by query in single DML or batch DML action.
       In case of batch DML action, stores 0 as row count of errored DML query.
       
      repeated int64 dml_rows_modified = 9;
      Specified by:
      getDmlRowsModified in interface SpannerActionOutcomeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The dmlRowsModified at the given index.
    • setDmlRowsModified

      public SpannerActionOutcome.Builder setDmlRowsModified(int index, long value)
       Stores rows modified by query in single DML or batch DML action.
       In case of batch DML action, stores 0 as row count of errored DML query.
       
      repeated int64 dml_rows_modified = 9;
      Parameters:
      index - The index to set the value at.
      value - The dmlRowsModified to set.
      Returns:
      This builder for chaining.
    • addDmlRowsModified

      public SpannerActionOutcome.Builder addDmlRowsModified(long value)
       Stores rows modified by query in single DML or batch DML action.
       In case of batch DML action, stores 0 as row count of errored DML query.
       
      repeated int64 dml_rows_modified = 9;
      Parameters:
      value - The dmlRowsModified to add.
      Returns:
      This builder for chaining.
    • addAllDmlRowsModified

      public SpannerActionOutcome.Builder addAllDmlRowsModified(Iterable<? extends Long> values)
       Stores rows modified by query in single DML or batch DML action.
       In case of batch DML action, stores 0 as row count of errored DML query.
       
      repeated int64 dml_rows_modified = 9;
      Parameters:
      values - The dmlRowsModified to add.
      Returns:
      This builder for chaining.
    • clearDmlRowsModified

      public SpannerActionOutcome.Builder clearDmlRowsModified()
       Stores rows modified by query in single DML or batch DML action.
       In case of batch DML action, stores 0 as row count of errored DML query.
       
      repeated int64 dml_rows_modified = 9;
      Returns:
      This builder for chaining.
    • getChangeStreamRecordsList

      public List<ChangeStreamRecord> getChangeStreamRecordsList()
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
      Specified by:
      getChangeStreamRecordsList in interface SpannerActionOutcomeOrBuilder
    • getChangeStreamRecordsCount

      public int getChangeStreamRecordsCount()
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
      Specified by:
      getChangeStreamRecordsCount in interface SpannerActionOutcomeOrBuilder
    • getChangeStreamRecords

      public ChangeStreamRecord getChangeStreamRecords(int index)
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
      Specified by:
      getChangeStreamRecords in interface SpannerActionOutcomeOrBuilder
    • setChangeStreamRecords

      public SpannerActionOutcome.Builder setChangeStreamRecords(int index, ChangeStreamRecord value)
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
    • setChangeStreamRecords

      public SpannerActionOutcome.Builder setChangeStreamRecords(int index, ChangeStreamRecord.Builder builderForValue)
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
    • addChangeStreamRecords

      public SpannerActionOutcome.Builder addChangeStreamRecords(ChangeStreamRecord value)
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
    • addChangeStreamRecords

      public SpannerActionOutcome.Builder addChangeStreamRecords(int index, ChangeStreamRecord value)
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
    • addChangeStreamRecords

      public SpannerActionOutcome.Builder addChangeStreamRecords(ChangeStreamRecord.Builder builderForValue)
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
    • addChangeStreamRecords

      public SpannerActionOutcome.Builder addChangeStreamRecords(int index, ChangeStreamRecord.Builder builderForValue)
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
    • addAllChangeStreamRecords

      public SpannerActionOutcome.Builder addAllChangeStreamRecords(Iterable<? extends ChangeStreamRecord> values)
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
    • clearChangeStreamRecords

      public SpannerActionOutcome.Builder clearChangeStreamRecords()
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
    • removeChangeStreamRecords

      public SpannerActionOutcome.Builder removeChangeStreamRecords(int index)
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
    • getChangeStreamRecordsBuilder

      public ChangeStreamRecord.Builder getChangeStreamRecordsBuilder(int index)
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
    • getChangeStreamRecordsOrBuilder

      public ChangeStreamRecordOrBuilder getChangeStreamRecordsOrBuilder(int index)
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
      Specified by:
      getChangeStreamRecordsOrBuilder in interface SpannerActionOutcomeOrBuilder
    • getChangeStreamRecordsOrBuilderList

      public List<? extends ChangeStreamRecordOrBuilder> getChangeStreamRecordsOrBuilderList()
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
      Specified by:
      getChangeStreamRecordsOrBuilderList in interface SpannerActionOutcomeOrBuilder
    • addChangeStreamRecordsBuilder

      public ChangeStreamRecord.Builder addChangeStreamRecordsBuilder()
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
    • addChangeStreamRecordsBuilder

      public ChangeStreamRecord.Builder addChangeStreamRecordsBuilder(int index)
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
    • getChangeStreamRecordsBuilderList

      public List<ChangeStreamRecord.Builder> getChangeStreamRecordsBuilderList()
       Change stream records returned by a change stream query.
       
      repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;
    • setUnknownFields

      public final SpannerActionOutcome.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
    • mergeUnknownFields

      public final SpannerActionOutcome.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>