Package com.google.firestore.v1
Class ExecutePipelineResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.firestore.v1.ExecutePipelineResponse
- All Implemented Interfaces:
ExecutePipelineResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ExecutePipelineResponse
extends com.google.protobuf.GeneratedMessageV3
implements ExecutePipelineResponseOrBuilder
The response for [Firestore.Execute][].Protobuf type
google.firestore.v1.ExecutePipelineResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe response for [Firestore.Execute][].Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ExecutePipelineResponsestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe time at which the results are valid.com.google.protobuf.TimestampOrBuilderThe time at which the results are valid.Query explain stats.Query explain stats.com.google.protobuf.Parser<ExecutePipelineResponse>getResults(int index) An ordered batch of results returned executing a pipeline.intAn ordered batch of results returned executing a pipeline.An ordered batch of results returned executing a pipeline.getResultsOrBuilder(int index) An ordered batch of results returned executing a pipeline.List<? extends DocumentOrBuilder>An ordered batch of results returned executing a pipeline.intcom.google.protobuf.ByteStringNewly created transaction identifier.booleanThe time at which the results are valid.booleanQuery explain stats.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ExecutePipelineResponse prototype) protected ExecutePipelineResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ExecutePipelineResponseparseDelimitedFrom(InputStream input) static ExecutePipelineResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExecutePipelineResponseparseFrom(byte[] data) static ExecutePipelineResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExecutePipelineResponseparseFrom(com.google.protobuf.ByteString data) static ExecutePipelineResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExecutePipelineResponseparseFrom(com.google.protobuf.CodedInputStream input) static ExecutePipelineResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExecutePipelineResponseparseFrom(InputStream input) static ExecutePipelineResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExecutePipelineResponseparseFrom(ByteBuffer data) static ExecutePipelineResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ExecutePipelineResponse>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TRANSACTION_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER- See Also:
-
RESULTS_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER- See Also:
-
EXECUTION_TIME_FIELD_NUMBER
public static final int EXECUTION_TIME_FIELD_NUMBER- See Also:
-
EXPLAIN_STATS_FIELD_NUMBER
public static final int EXPLAIN_STATS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getTransaction
public com.google.protobuf.ByteString getTransaction()Newly created transaction identifier. This field is only specified as part of the first response from the server, alongside the `results` field when the original request specified [ExecuteRequest.new_transaction][].
bytes transaction = 1;- Specified by:
getTransactionin interfaceExecutePipelineResponseOrBuilder- Returns:
- The transaction.
-
getResultsList
An ordered batch of results returned executing a pipeline. The batch size is variable, and can even be zero for when only a partial progress message is returned. The fields present in the returned documents are only those that were explicitly requested in the pipeline, this includes those like [`__name__`][google.firestore.v1.Document.name] and [`__update_time__`][google.firestore.v1.Document.update_time]. This is explicitly a divergence from `Firestore.RunQuery` / `Firestore.GetDocument` RPCs which always return such fields even when they are not specified in the [`mask`][google.firestore.v1.DocumentMask].
repeated .google.firestore.v1.Document results = 2;- Specified by:
getResultsListin interfaceExecutePipelineResponseOrBuilder
-
getResultsOrBuilderList
An ordered batch of results returned executing a pipeline. The batch size is variable, and can even be zero for when only a partial progress message is returned. The fields present in the returned documents are only those that were explicitly requested in the pipeline, this includes those like [`__name__`][google.firestore.v1.Document.name] and [`__update_time__`][google.firestore.v1.Document.update_time]. This is explicitly a divergence from `Firestore.RunQuery` / `Firestore.GetDocument` RPCs which always return such fields even when they are not specified in the [`mask`][google.firestore.v1.DocumentMask].
repeated .google.firestore.v1.Document results = 2;- Specified by:
getResultsOrBuilderListin interfaceExecutePipelineResponseOrBuilder
-
getResultsCount
public int getResultsCount()An ordered batch of results returned executing a pipeline. The batch size is variable, and can even be zero for when only a partial progress message is returned. The fields present in the returned documents are only those that were explicitly requested in the pipeline, this includes those like [`__name__`][google.firestore.v1.Document.name] and [`__update_time__`][google.firestore.v1.Document.update_time]. This is explicitly a divergence from `Firestore.RunQuery` / `Firestore.GetDocument` RPCs which always return such fields even when they are not specified in the [`mask`][google.firestore.v1.DocumentMask].
repeated .google.firestore.v1.Document results = 2;- Specified by:
getResultsCountin interfaceExecutePipelineResponseOrBuilder
-
getResults
An ordered batch of results returned executing a pipeline. The batch size is variable, and can even be zero for when only a partial progress message is returned. The fields present in the returned documents are only those that were explicitly requested in the pipeline, this includes those like [`__name__`][google.firestore.v1.Document.name] and [`__update_time__`][google.firestore.v1.Document.update_time]. This is explicitly a divergence from `Firestore.RunQuery` / `Firestore.GetDocument` RPCs which always return such fields even when they are not specified in the [`mask`][google.firestore.v1.DocumentMask].
repeated .google.firestore.v1.Document results = 2;- Specified by:
getResultsin interfaceExecutePipelineResponseOrBuilder
-
getResultsOrBuilder
An ordered batch of results returned executing a pipeline. The batch size is variable, and can even be zero for when only a partial progress message is returned. The fields present in the returned documents are only those that were explicitly requested in the pipeline, this includes those like [`__name__`][google.firestore.v1.Document.name] and [`__update_time__`][google.firestore.v1.Document.update_time]. This is explicitly a divergence from `Firestore.RunQuery` / `Firestore.GetDocument` RPCs which always return such fields even when they are not specified in the [`mask`][google.firestore.v1.DocumentMask].
repeated .google.firestore.v1.Document results = 2;- Specified by:
getResultsOrBuilderin interfaceExecutePipelineResponseOrBuilder
-
hasExecutionTime
public boolean hasExecutionTime()The time at which the results are valid. This is a (not strictly) monotonically increasing value across multiple responses in the same stream. The API guarantees that all previously returned results are still valid at the latest `execution_time`. This allows the API consumer to treat the query if it ran at the latest `execution_time` returned. If the query returns no results, a response with `execution_time` and no `results` will be sent, and this represents the time at which the operation was run.
.google.protobuf.Timestamp execution_time = 3;- Specified by:
hasExecutionTimein interfaceExecutePipelineResponseOrBuilder- Returns:
- Whether the executionTime field is set.
-
getExecutionTime
public com.google.protobuf.Timestamp getExecutionTime()The time at which the results are valid. This is a (not strictly) monotonically increasing value across multiple responses in the same stream. The API guarantees that all previously returned results are still valid at the latest `execution_time`. This allows the API consumer to treat the query if it ran at the latest `execution_time` returned. If the query returns no results, a response with `execution_time` and no `results` will be sent, and this represents the time at which the operation was run.
.google.protobuf.Timestamp execution_time = 3;- Specified by:
getExecutionTimein interfaceExecutePipelineResponseOrBuilder- Returns:
- The executionTime.
-
getExecutionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder()The time at which the results are valid. This is a (not strictly) monotonically increasing value across multiple responses in the same stream. The API guarantees that all previously returned results are still valid at the latest `execution_time`. This allows the API consumer to treat the query if it ran at the latest `execution_time` returned. If the query returns no results, a response with `execution_time` and no `results` will be sent, and this represents the time at which the operation was run.
.google.protobuf.Timestamp execution_time = 3;- Specified by:
getExecutionTimeOrBuilderin interfaceExecutePipelineResponseOrBuilder
-
hasExplainStats
public boolean hasExplainStats()Query explain stats. This is present on the **last** response if the request configured explain to run in 'analyze' or 'explain' mode in the pipeline options. If the query does not return any results, a response with `explain_stats` and no `results` will still be sent.
.google.firestore.v1.ExplainStats explain_stats = 4;- Specified by:
hasExplainStatsin interfaceExecutePipelineResponseOrBuilder- Returns:
- Whether the explainStats field is set.
-
getExplainStats
Query explain stats. This is present on the **last** response if the request configured explain to run in 'analyze' or 'explain' mode in the pipeline options. If the query does not return any results, a response with `explain_stats` and no `results` will still be sent.
.google.firestore.v1.ExplainStats explain_stats = 4;- Specified by:
getExplainStatsin interfaceExecutePipelineResponseOrBuilder- Returns:
- The explainStats.
-
getExplainStatsOrBuilder
Query explain stats. This is present on the **last** response if the request configured explain to run in 'analyze' or 'explain' mode in the pipeline options. If the query does not return any results, a response with `explain_stats` and no `results` will still be sent.
.google.firestore.v1.ExplainStats explain_stats = 4;- Specified by:
getExplainStatsOrBuilderin interfaceExecutePipelineResponseOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ExecutePipelineResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutePipelineResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutePipelineResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutePipelineResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutePipelineResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutePipelineResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ExecutePipelineResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ExecutePipelineResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ExecutePipelineResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ExecutePipelineResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ExecutePipelineResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-