Package com.google.firestore.v1
Interface RunAggregationQueryResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RunAggregationQueryResponse,RunAggregationQueryResponse.Builder
public interface RunAggregationQueryResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe time at which the aggregate result was computed.com.google.protobuf.TimestampOrBuilderThe time at which the aggregate result was computed.A single aggregation result.A single aggregation result.getStats()Query plan and execution statistics.Query plan and execution statistics.com.google.protobuf.ByteStringThe transaction that was started as part of this request.booleanThe time at which the aggregate result was computed.booleanA single aggregation result.booleanhasStats()Query plan and execution statistics.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasResult
boolean hasResult()A single aggregation result. Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;- Returns:
- Whether the result field is set.
-
getResult
AggregationResult getResult()A single aggregation result. Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1;- Returns:
- The result.
-
getResultOrBuilder
AggregationResultOrBuilder getResultOrBuilder()A single aggregation result. Not present when reporting partial progress.
.google.firestore.v1.AggregationResult result = 1; -
getTransaction
com.google.protobuf.ByteString getTransaction()The transaction that was started as part of this request. Only present on the first response when the request requested to start a new transaction.
bytes transaction = 2;- Returns:
- The transaction.
-
hasReadTime
boolean hasReadTime()The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `result` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;- Returns:
- Whether the readTime field is set.
-
getReadTime
com.google.protobuf.Timestamp getReadTime()The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `result` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;- Returns:
- The readTime.
-
getReadTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `result` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3; -
hasStats
boolean hasStats()Query plan and execution statistics. Note that the returned stats are subject to change as Firestore evolves. This is only present when the request specifies a mode other than `NORMAL` and is sent only once with the last response in the stream.
.google.firestore.v1.ResultSetStats stats = 6;- Returns:
- Whether the stats field is set.
-
getStats
ResultSetStats getStats()Query plan and execution statistics. Note that the returned stats are subject to change as Firestore evolves. This is only present when the request specifies a mode other than `NORMAL` and is sent only once with the last response in the stream.
.google.firestore.v1.ResultSetStats stats = 6;- Returns:
- The stats.
-
getStatsOrBuilder
ResultSetStatsOrBuilder getStatsOrBuilder()Query plan and execution statistics. Note that the returned stats are subject to change as Firestore evolves. This is only present when the request specifies a mode other than `NORMAL` and is sent only once with the last response in the stream.
.google.firestore.v1.ResultSetStats stats = 6;
-