Package com.google.spanner.executor.v1
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 Summary
Modifier and TypeMethodDescriptionaddAllChangeStreamRecords(Iterable<? extends ChangeStreamRecord> values) Change stream records returned by a change stream query.addAllDbPartition(Iterable<? extends BatchPartition> values) Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).addAllDmlRowsModified(Iterable<? extends Long> values) Stores rows modified by query in single DML or batch DML action.addChangeStreamRecords(int index, ChangeStreamRecord value) Change stream records returned by a change stream query.addChangeStreamRecords(int index, ChangeStreamRecord.Builder builderForValue) Change stream records returned by a change stream query.Change stream records returned by a change stream query.addChangeStreamRecords(ChangeStreamRecord.Builder builderForValue) Change stream records returned by a change stream query.Change stream records returned by a change stream query.addChangeStreamRecordsBuilder(int index) Change stream records returned by a change stream query.addDbPartition(int index, BatchPartition value) Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).addDbPartition(int index, BatchPartition.Builder builderForValue) Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).addDbPartition(BatchPartition value) Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).addDbPartition(BatchPartition.Builder builderForValue) Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).addDbPartitionBuilder(int index) Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).addDmlRowsModified(long value) Stores rows modified by query in single DML or batch DML action.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Result of admin related actions.In successful StartBatchTransactionAction outcomes, this contains the ID of the transaction.Change stream records returned by a change stream query.Transaction timestamp.Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).Stores rows modified by query in single DML or batch DML action.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Result of a Query.Result of a ReadAction.If an outcome is split into multiple parts, status will be set only in the last part.This bit indicates that Spanner has restarted the current transaction.clone()Result of admin related actions.Result of admin related actions.Result of admin related actions.com.google.protobuf.ByteStringIn successful StartBatchTransactionAction outcomes, this contains the ID of the transaction.getChangeStreamRecords(int index) Change stream records returned by a change stream query.getChangeStreamRecordsBuilder(int index) Change stream records returned by a change stream query.Change stream records returned by a change stream query.intChange stream records returned by a change stream query.Change stream records returned by a change stream query.getChangeStreamRecordsOrBuilder(int index) Change stream records returned by a change stream query.List<? extends ChangeStreamRecordOrBuilder>Change stream records returned by a change stream query.com.google.protobuf.TimestampTransaction timestamp.com.google.protobuf.Timestamp.BuilderTransaction timestamp.com.google.protobuf.TimestampOrBuilderTransaction timestamp.getDbPartition(int index) Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).getDbPartitionBuilder(int index) Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).intGenerated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).getDbPartitionOrBuilder(int index) Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).List<? extends BatchPartitionOrBuilder>Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlonggetDmlRowsModified(int index) Stores rows modified by query in single DML or batch DML action.intStores rows modified by query in single DML or batch DML action.Stores rows modified by query in single DML or batch DML action.Result of a Query.Result of a Query.Result of a Query.Result of a ReadAction.Result of a ReadAction.Result of a ReadAction.com.google.rpc.StatusIf an outcome is split into multiple parts, status will be set only in the last part.com.google.rpc.Status.BuilderIf an outcome is split into multiple parts, status will be set only in the last part.com.google.rpc.StatusOrBuilderIf an outcome is split into multiple parts, status will be set only in the last part.booleanThis bit indicates that Spanner has restarted the current transaction.booleanResult of admin related actions.booleanIn successful StartBatchTransactionAction outcomes, this contains the ID of the transaction.booleanTransaction timestamp.booleanResult of a Query.booleanResult of a ReadAction.booleanIf an outcome is split into multiple parts, status will be set only in the last part.booleanThis bit indicates that Spanner has restarted the current transaction.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAdminResult(AdminResult value) Result of admin related actions.mergeCommitTime(com.google.protobuf.Timestamp value) Transaction timestamp.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SpannerActionOutcome other) mergeQueryResult(QueryResult value) Result of a Query.mergeReadResult(ReadResult value) Result of a ReadAction.mergeStatus(com.google.rpc.Status value) If an outcome is split into multiple parts, status will be set only in the last part.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeChangeStreamRecords(int index) Change stream records returned by a change stream query.removeDbPartition(int index) Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).setAdminResult(AdminResult value) Result of admin related actions.setAdminResult(AdminResult.Builder builderForValue) Result of admin related actions.setBatchTxnId(com.google.protobuf.ByteString value) In successful StartBatchTransactionAction outcomes, this contains the ID of the transaction.setChangeStreamRecords(int index, ChangeStreamRecord value) Change stream records returned by a change stream query.setChangeStreamRecords(int index, ChangeStreamRecord.Builder builderForValue) Change stream records returned by a change stream query.setCommitTime(com.google.protobuf.Timestamp value) Transaction timestamp.setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) Transaction timestamp.setDbPartition(int index, BatchPartition value) Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).setDbPartition(int index, BatchPartition.Builder builderForValue) Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).setDmlRowsModified(int index, long value) Stores rows modified by query in single DML or batch DML action.setQueryResult(QueryResult value) Result of a Query.setQueryResult(QueryResult.Builder builderForValue) Result of a Query.setReadResult(ReadResult value) Result of a ReadAction.setReadResult(ReadResult.Builder builderForValue) Result of a ReadAction.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStatus(com.google.rpc.Status value) If an outcome is split into multiple parts, status will be set only in the last part.setStatus(com.google.rpc.Status.Builder builderForValue) If an outcome is split into multiple parts, status will be set only in the last part.setTransactionRestarted(boolean value) This bit indicates that Spanner has restarted the current transaction.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
-
setField
public SpannerActionOutcome.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
-
clearField
public SpannerActionOutcome.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
-
clearOneof
public SpannerActionOutcome.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
-
setRepeatedField
public SpannerActionOutcome.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
-
addRepeatedField
public SpannerActionOutcome.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SpannerActionOutcome.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasStatusin interfaceSpannerActionOutcomeOrBuilder- 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:
getStatusin interfaceSpannerActionOutcomeOrBuilder- Returns:
- The status.
-
setStatus
If an outcome is split into multiple parts, status will be set only in the last part.
optional .google.rpc.Status status = 1; -
setStatus
If an outcome is split into multiple parts, status will be set only in the last part.
optional .google.rpc.Status status = 1; -
mergeStatus
If an outcome is split into multiple parts, status will be set only in the last part.
optional .google.rpc.Status status = 1; -
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:
getStatusOrBuilderin interfaceSpannerActionOutcomeOrBuilder
-
hasCommitTime
public boolean hasCommitTime()Transaction timestamp. It must be set for successful committed actions.
optional .google.protobuf.Timestamp commit_time = 2;- Specified by:
hasCommitTimein interfaceSpannerActionOutcomeOrBuilder- 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:
getCommitTimein interfaceSpannerActionOutcomeOrBuilder- Returns:
- The commitTime.
-
setCommitTime
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
Transaction timestamp. It must be set for successful committed actions.
optional .google.protobuf.Timestamp commit_time = 2; -
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:
getCommitTimeOrBuilderin interfaceSpannerActionOutcomeOrBuilder
-
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:
hasReadResultin interfaceSpannerActionOutcomeOrBuilder- Returns:
- Whether the readResult field is set.
-
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:
getReadResultin interfaceSpannerActionOutcomeOrBuilder- Returns:
- The readResult.
-
setReadResult
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
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
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
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
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
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:
getReadResultOrBuilderin interfaceSpannerActionOutcomeOrBuilder
-
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:
hasQueryResultin interfaceSpannerActionOutcomeOrBuilder- Returns:
- Whether the queryResult field is set.
-
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:
getQueryResultin interfaceSpannerActionOutcomeOrBuilder- Returns:
- The queryResult.
-
setQueryResult
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
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
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
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
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
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:
getQueryResultOrBuilderin interfaceSpannerActionOutcomeOrBuilder
-
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:
hasTransactionRestartedin interfaceSpannerActionOutcomeOrBuilder- 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:
getTransactionRestartedin interfaceSpannerActionOutcomeOrBuilder- Returns:
- The transactionRestarted.
-
setTransactionRestarted
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
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:
hasBatchTxnIdin interfaceSpannerActionOutcomeOrBuilder- 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:
getBatchTxnIdin interfaceSpannerActionOutcomeOrBuilder- Returns:
- The batchTxnId.
-
setBatchTxnId
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
In successful StartBatchTransactionAction outcomes, this contains the ID of the transaction.
optional bytes batch_txn_id = 6;- Returns:
- This builder for chaining.
-
getDbPartitionList
Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;- Specified by:
getDbPartitionListin interfaceSpannerActionOutcomeOrBuilder
-
getDbPartitionCount
public int getDbPartitionCount()Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;- Specified by:
getDbPartitionCountin interfaceSpannerActionOutcomeOrBuilder
-
getDbPartition
Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;- Specified by:
getDbPartitionin interfaceSpannerActionOutcomeOrBuilder
-
setDbPartition
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
Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
repeated .google.spanner.executor.v1.BatchPartition db_partition = 7; -
addDbPartition
Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
repeated .google.spanner.executor.v1.BatchPartition db_partition = 7; -
addDbPartition
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
Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
repeated .google.spanner.executor.v1.BatchPartition db_partition = 7; -
clearDbPartition
Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
repeated .google.spanner.executor.v1.BatchPartition db_partition = 7; -
removeDbPartition
Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
repeated .google.spanner.executor.v1.BatchPartition db_partition = 7; -
getDbPartitionBuilder
Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
repeated .google.spanner.executor.v1.BatchPartition db_partition = 7; -
getDbPartitionOrBuilder
Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;- Specified by:
getDbPartitionOrBuilderin interfaceSpannerActionOutcomeOrBuilder
-
getDbPartitionOrBuilderList
Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;- Specified by:
getDbPartitionOrBuilderListin interfaceSpannerActionOutcomeOrBuilder
-
addDbPartitionBuilder
Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
repeated .google.spanner.executor.v1.BatchPartition db_partition = 7; -
addDbPartitionBuilder
Generated database partitions (result of a GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
repeated .google.spanner.executor.v1.BatchPartition db_partition = 7; -
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:
hasAdminResultin interfaceSpannerActionOutcomeOrBuilder- Returns:
- Whether the adminResult field is set.
-
getAdminResult
Result of admin related actions.
optional .google.spanner.executor.v1.AdminResult admin_result = 8;- Specified by:
getAdminResultin interfaceSpannerActionOutcomeOrBuilder- Returns:
- The adminResult.
-
setAdminResult
Result of admin related actions.
optional .google.spanner.executor.v1.AdminResult admin_result = 8; -
setAdminResult
Result of admin related actions.
optional .google.spanner.executor.v1.AdminResult admin_result = 8; -
mergeAdminResult
Result of admin related actions.
optional .google.spanner.executor.v1.AdminResult admin_result = 8; -
clearAdminResult
Result of admin related actions.
optional .google.spanner.executor.v1.AdminResult admin_result = 8; -
getAdminResultBuilder
Result of admin related actions.
optional .google.spanner.executor.v1.AdminResult admin_result = 8; -
getAdminResultOrBuilder
Result of admin related actions.
optional .google.spanner.executor.v1.AdminResult admin_result = 8;- Specified by:
getAdminResultOrBuilderin interfaceSpannerActionOutcomeOrBuilder
-
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:
getDmlRowsModifiedListin interfaceSpannerActionOutcomeOrBuilder- 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:
getDmlRowsModifiedCountin interfaceSpannerActionOutcomeOrBuilder- 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:
getDmlRowsModifiedin interfaceSpannerActionOutcomeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dmlRowsModified at the given index.
-
setDmlRowsModified
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
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
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
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
Change stream records returned by a change stream query.
repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;- Specified by:
getChangeStreamRecordsListin interfaceSpannerActionOutcomeOrBuilder
-
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:
getChangeStreamRecordsCountin interfaceSpannerActionOutcomeOrBuilder
-
getChangeStreamRecords
Change stream records returned by a change stream query.
repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;- Specified by:
getChangeStreamRecordsin interfaceSpannerActionOutcomeOrBuilder
-
setChangeStreamRecords
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
Change stream records returned by a change stream query.
repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; -
addChangeStreamRecords
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
Change stream records returned by a change stream query.
repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; -
removeChangeStreamRecords
Change stream records returned by a change stream query.
repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; -
getChangeStreamRecordsBuilder
Change stream records returned by a change stream query.
repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; -
getChangeStreamRecordsOrBuilder
Change stream records returned by a change stream query.
repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;- Specified by:
getChangeStreamRecordsOrBuilderin interfaceSpannerActionOutcomeOrBuilder
-
getChangeStreamRecordsOrBuilderList
Change stream records returned by a change stream query.
repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10;- Specified by:
getChangeStreamRecordsOrBuilderListin interfaceSpannerActionOutcomeOrBuilder
-
addChangeStreamRecordsBuilder
Change stream records returned by a change stream query.
repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; -
addChangeStreamRecordsBuilder
Change stream records returned by a change stream query.
repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; -
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
-
mergeUnknownFields
public final SpannerActionOutcome.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SpannerActionOutcome.Builder>
-