Package com.google.firestore.v1
Class ExecutePipelineRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ExecutePipelineRequest.Builder>
com.google.firestore.v1.ExecutePipelineRequest.Builder
- All Implemented Interfaces:
ExecutePipelineRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExecutePipelineRequest
public static final class ExecutePipelineRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ExecutePipelineRequest.Builder>
implements ExecutePipelineRequestOrBuilder
The request for [Firestore.ExecutePipeline][google.firestore.v1.Firestore.ExecutePipeline].Protobuf type
google.firestore.v1.ExecutePipelineRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Required.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Execute the pipeline in a new transaction.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Execute the pipeline in a snapshot transaction at the given time.A pipelined operation.Run the query within an already active transaction.clone()Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorExecute the pipeline in a new transaction.Execute the pipeline in a new transaction.Execute the pipeline in a new transaction.com.google.protobuf.TimestampExecute the pipeline in a snapshot transaction at the given time.com.google.protobuf.Timestamp.BuilderExecute the pipeline in a snapshot transaction at the given time.com.google.protobuf.TimestampOrBuilderExecute the pipeline in a snapshot transaction at the given time.A pipelined operation.A pipelined operation.A pipelined operation.com.google.protobuf.ByteStringRun the query within an already active transaction.booleanExecute the pipeline in a new transaction.booleanExecute the pipeline in a snapshot transaction at the given time.booleanA pipelined operation.booleanRun the query within an already active transaction.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(ExecutePipelineRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Execute the pipeline in a new transaction.mergeReadTime(com.google.protobuf.Timestamp value) Execute the pipeline in a snapshot transaction at the given time.A pipelined operation.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDatabase(String value) Required.setDatabaseBytes(com.google.protobuf.ByteString value) Required.Execute the pipeline in a new transaction.setNewTransaction(TransactionOptions.Builder builderForValue) Execute the pipeline in a new transaction.setReadTime(com.google.protobuf.Timestamp value) Execute the pipeline in a snapshot transaction at the given time.setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) Execute the pipeline in a snapshot transaction at the given time.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) A pipelined operation.setStructuredPipeline(StructuredPipeline.Builder builderForValue) A pipelined operation.setTransaction(com.google.protobuf.ByteString value) Run the query within an already active 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<ExecutePipelineRequest.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<ExecutePipelineRequest.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<ExecutePipelineRequest.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<ExecutePipelineRequest.Builder>
-
setField
public ExecutePipelineRequest.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<ExecutePipelineRequest.Builder>
-
clearField
public ExecutePipelineRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutePipelineRequest.Builder>
-
clearOneof
public ExecutePipelineRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutePipelineRequest.Builder>
-
setRepeatedField
public ExecutePipelineRequest.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<ExecutePipelineRequest.Builder>
-
addRepeatedField
public ExecutePipelineRequest.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<ExecutePipelineRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExecutePipelineRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutePipelineRequest.Builder>
-
mergeFrom
public ExecutePipelineRequest.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<ExecutePipelineRequest.Builder>- Throws:
IOException
-
getPipelineTypeCase
- Specified by:
getPipelineTypeCasein interfaceExecutePipelineRequestOrBuilder
-
clearPipelineType
-
getConsistencySelectorCase
- Specified by:
getConsistencySelectorCasein interfaceExecutePipelineRequestOrBuilder
-
clearConsistencySelector
-
getDatabase
Required. Database identifier, in the form `projects/{project}/databases/{database}`.string database = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDatabasein interfaceExecutePipelineRequestOrBuilder- Returns:
- The database.
-
getDatabaseBytes
public com.google.protobuf.ByteString getDatabaseBytes()Required. Database identifier, in the form `projects/{project}/databases/{database}`.string database = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDatabaseBytesin interfaceExecutePipelineRequestOrBuilder- Returns:
- The bytes for database.
-
setDatabase
Required. Database identifier, in the form `projects/{project}/databases/{database}`.string database = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The database to set.- Returns:
- This builder for chaining.
-
clearDatabase
Required. Database identifier, in the form `projects/{project}/databases/{database}`.string database = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDatabaseBytes
Required. Database identifier, in the form `projects/{project}/databases/{database}`.string database = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for database to set.- Returns:
- This builder for chaining.
-
hasStructuredPipeline
public boolean hasStructuredPipeline()A pipelined operation.
.google.firestore.v1.StructuredPipeline structured_pipeline = 2;- Specified by:
hasStructuredPipelinein interfaceExecutePipelineRequestOrBuilder- Returns:
- Whether the structuredPipeline field is set.
-
getStructuredPipeline
A pipelined operation.
.google.firestore.v1.StructuredPipeline structured_pipeline = 2;- Specified by:
getStructuredPipelinein interfaceExecutePipelineRequestOrBuilder- Returns:
- The structuredPipeline.
-
setStructuredPipeline
A pipelined operation.
.google.firestore.v1.StructuredPipeline structured_pipeline = 2; -
setStructuredPipeline
public ExecutePipelineRequest.Builder setStructuredPipeline(StructuredPipeline.Builder builderForValue) A pipelined operation.
.google.firestore.v1.StructuredPipeline structured_pipeline = 2; -
mergeStructuredPipeline
A pipelined operation.
.google.firestore.v1.StructuredPipeline structured_pipeline = 2; -
clearStructuredPipeline
A pipelined operation.
.google.firestore.v1.StructuredPipeline structured_pipeline = 2; -
getStructuredPipelineBuilder
A pipelined operation.
.google.firestore.v1.StructuredPipeline structured_pipeline = 2; -
getStructuredPipelineOrBuilder
A pipelined operation.
.google.firestore.v1.StructuredPipeline structured_pipeline = 2;- Specified by:
getStructuredPipelineOrBuilderin interfaceExecutePipelineRequestOrBuilder
-
hasTransaction
public boolean hasTransaction()Run the query within an already active transaction. The value here is the opaque transaction ID to execute the query in.
bytes transaction = 5;- Specified by:
hasTransactionin interfaceExecutePipelineRequestOrBuilder- Returns:
- Whether the transaction field is set.
-
getTransaction
public com.google.protobuf.ByteString getTransaction()Run the query within an already active transaction. The value here is the opaque transaction ID to execute the query in.
bytes transaction = 5;- Specified by:
getTransactionin interfaceExecutePipelineRequestOrBuilder- Returns:
- The transaction.
-
setTransaction
Run the query within an already active transaction. The value here is the opaque transaction ID to execute the query in.
bytes transaction = 5;- Parameters:
value- The transaction to set.- Returns:
- This builder for chaining.
-
clearTransaction
Run the query within an already active transaction. The value here is the opaque transaction ID to execute the query in.
bytes transaction = 5;- Returns:
- This builder for chaining.
-
hasNewTransaction
public boolean hasNewTransaction()Execute the pipeline in a new transaction. The identifier of the newly created transaction will be returned in the first response on the stream. This defaults to a read-only transaction.
.google.firestore.v1.TransactionOptions new_transaction = 6;- Specified by:
hasNewTransactionin interfaceExecutePipelineRequestOrBuilder- Returns:
- Whether the newTransaction field is set.
-
getNewTransaction
Execute the pipeline in a new transaction. The identifier of the newly created transaction will be returned in the first response on the stream. This defaults to a read-only transaction.
.google.firestore.v1.TransactionOptions new_transaction = 6;- Specified by:
getNewTransactionin interfaceExecutePipelineRequestOrBuilder- Returns:
- The newTransaction.
-
setNewTransaction
Execute the pipeline in a new transaction. The identifier of the newly created transaction will be returned in the first response on the stream. This defaults to a read-only transaction.
.google.firestore.v1.TransactionOptions new_transaction = 6; -
setNewTransaction
Execute the pipeline in a new transaction. The identifier of the newly created transaction will be returned in the first response on the stream. This defaults to a read-only transaction.
.google.firestore.v1.TransactionOptions new_transaction = 6; -
mergeNewTransaction
Execute the pipeline in a new transaction. The identifier of the newly created transaction will be returned in the first response on the stream. This defaults to a read-only transaction.
.google.firestore.v1.TransactionOptions new_transaction = 6; -
clearNewTransaction
Execute the pipeline in a new transaction. The identifier of the newly created transaction will be returned in the first response on the stream. This defaults to a read-only transaction.
.google.firestore.v1.TransactionOptions new_transaction = 6; -
getNewTransactionBuilder
Execute the pipeline in a new transaction. The identifier of the newly created transaction will be returned in the first response on the stream. This defaults to a read-only transaction.
.google.firestore.v1.TransactionOptions new_transaction = 6; -
getNewTransactionOrBuilder
Execute the pipeline in a new transaction. The identifier of the newly created transaction will be returned in the first response on the stream. This defaults to a read-only transaction.
.google.firestore.v1.TransactionOptions new_transaction = 6;- Specified by:
getNewTransactionOrBuilderin interfaceExecutePipelineRequestOrBuilder
-
hasReadTime
public boolean hasReadTime()Execute the pipeline in a snapshot transaction at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 7;- Specified by:
hasReadTimein interfaceExecutePipelineRequestOrBuilder- Returns:
- Whether the readTime field is set.
-
getReadTime
public com.google.protobuf.Timestamp getReadTime()Execute the pipeline in a snapshot transaction at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 7;- Specified by:
getReadTimein interfaceExecutePipelineRequestOrBuilder- Returns:
- The readTime.
-
setReadTime
Execute the pipeline in a snapshot transaction at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 7; -
setReadTime
public ExecutePipelineRequest.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) Execute the pipeline in a snapshot transaction at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 7; -
mergeReadTime
Execute the pipeline in a snapshot transaction at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 7; -
clearReadTime
Execute the pipeline in a snapshot transaction at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 7; -
getReadTimeBuilder
public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()Execute the pipeline in a snapshot transaction at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 7; -
getReadTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()Execute the pipeline in a snapshot transaction at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 7;- Specified by:
getReadTimeOrBuilderin interfaceExecutePipelineRequestOrBuilder
-
setUnknownFields
public final ExecutePipelineRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutePipelineRequest.Builder>
-
mergeUnknownFields
public final ExecutePipelineRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutePipelineRequest.Builder>
-