public static interface StructuredAggregationQuery.AggregationOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Optional.
|
com.google.protobuf.ByteString |
getAliasBytes()
Optional.
|
StructuredAggregationQuery.Aggregation.Count |
getCount()
Count aggregator.
|
StructuredAggregationQuery.Aggregation.CountOrBuilder |
getCountOrBuilder()
Count aggregator.
|
StructuredAggregationQuery.Aggregation.OperatorCase |
getOperatorCase() |
boolean |
hasCount()
Count aggregator.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasCount()
Count aggregator.
.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1;
StructuredAggregationQuery.Aggregation.Count getCount()
Count aggregator.
.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1;
StructuredAggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder()
Count aggregator.
.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1;
String getAlias()
Optional. Optional name of the field to store the result of the aggregation into. If not provided, Firestore will pick a default name following the format `field_<incremental_id++>`. For example: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2), COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) OVER ( ... ); ``` becomes: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2) AS field_1, COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) AS field_2 OVER ( ... ); ``` Requires: * Must be unique across all aggregation aliases. * Conform to [document field name][google.firestore.v1.Document.fields] limitations.
string alias = 7 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.ByteString getAliasBytes()
Optional. Optional name of the field to store the result of the aggregation into. If not provided, Firestore will pick a default name following the format `field_<incremental_id++>`. For example: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2), COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) OVER ( ... ); ``` becomes: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2) AS field_1, COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) AS field_2 OVER ( ... ); ``` Requires: * Must be unique across all aggregation aliases. * Conform to [document field name][google.firestore.v1.Document.fields] limitations.
string alias = 7 [(.google.api.field_behavior) = OPTIONAL];
StructuredAggregationQuery.Aggregation.OperatorCase getOperatorCase()
Copyright © 2023 Google LLC. All rights reserved.