query.nanopb.h 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. /*
  2. * Copyright 2024 Google LLC
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /* Automatically generated nanopb header */
  17. /* Generated by nanopb-0.3.9.8 */
  18. #ifndef PB_GOOGLE_FIRESTORE_V1_QUERY_NANOPB_H_INCLUDED
  19. #define PB_GOOGLE_FIRESTORE_V1_QUERY_NANOPB_H_INCLUDED
  20. #include <pb.h>
  21. #include "google/firestore/v1/document.nanopb.h"
  22. #include "google/protobuf/wrappers.nanopb.h"
  23. #include <string>
  24. namespace firebase {
  25. namespace firestore {
  26. /* @@protoc_insertion_point(includes) */
  27. #if PB_PROTO_HEADER_VERSION != 30
  28. #error Regenerate this file with the current version of nanopb generator.
  29. #endif
  30. /* Enum definitions */
  31. typedef enum _google_firestore_v1_StructuredQuery_Direction {
  32. google_firestore_v1_StructuredQuery_Direction_DIRECTION_UNSPECIFIED = 0,
  33. google_firestore_v1_StructuredQuery_Direction_ASCENDING = 1,
  34. google_firestore_v1_StructuredQuery_Direction_DESCENDING = 2
  35. } google_firestore_v1_StructuredQuery_Direction;
  36. #define _google_firestore_v1_StructuredQuery_Direction_MIN google_firestore_v1_StructuredQuery_Direction_DIRECTION_UNSPECIFIED
  37. #define _google_firestore_v1_StructuredQuery_Direction_MAX google_firestore_v1_StructuredQuery_Direction_DESCENDING
  38. #define _google_firestore_v1_StructuredQuery_Direction_ARRAYSIZE ((google_firestore_v1_StructuredQuery_Direction)(google_firestore_v1_StructuredQuery_Direction_DESCENDING+1))
  39. typedef enum _google_firestore_v1_StructuredQuery_CompositeFilter_Operator {
  40. google_firestore_v1_StructuredQuery_CompositeFilter_Operator_OPERATOR_UNSPECIFIED = 0,
  41. google_firestore_v1_StructuredQuery_CompositeFilter_Operator_AND = 1,
  42. google_firestore_v1_StructuredQuery_CompositeFilter_Operator_OR = 2
  43. } google_firestore_v1_StructuredQuery_CompositeFilter_Operator;
  44. #define _google_firestore_v1_StructuredQuery_CompositeFilter_Operator_MIN google_firestore_v1_StructuredQuery_CompositeFilter_Operator_OPERATOR_UNSPECIFIED
  45. #define _google_firestore_v1_StructuredQuery_CompositeFilter_Operator_MAX google_firestore_v1_StructuredQuery_CompositeFilter_Operator_OR
  46. #define _google_firestore_v1_StructuredQuery_CompositeFilter_Operator_ARRAYSIZE ((google_firestore_v1_StructuredQuery_CompositeFilter_Operator)(google_firestore_v1_StructuredQuery_CompositeFilter_Operator_OR+1))
  47. typedef enum _google_firestore_v1_StructuredQuery_FieldFilter_Operator {
  48. google_firestore_v1_StructuredQuery_FieldFilter_Operator_OPERATOR_UNSPECIFIED = 0,
  49. google_firestore_v1_StructuredQuery_FieldFilter_Operator_LESS_THAN = 1,
  50. google_firestore_v1_StructuredQuery_FieldFilter_Operator_LESS_THAN_OR_EQUAL = 2,
  51. google_firestore_v1_StructuredQuery_FieldFilter_Operator_GREATER_THAN = 3,
  52. google_firestore_v1_StructuredQuery_FieldFilter_Operator_GREATER_THAN_OR_EQUAL = 4,
  53. google_firestore_v1_StructuredQuery_FieldFilter_Operator_EQUAL = 5,
  54. google_firestore_v1_StructuredQuery_FieldFilter_Operator_NOT_EQUAL = 6,
  55. google_firestore_v1_StructuredQuery_FieldFilter_Operator_ARRAY_CONTAINS = 7,
  56. google_firestore_v1_StructuredQuery_FieldFilter_Operator_IN = 8,
  57. google_firestore_v1_StructuredQuery_FieldFilter_Operator_ARRAY_CONTAINS_ANY = 9,
  58. google_firestore_v1_StructuredQuery_FieldFilter_Operator_NOT_IN = 10
  59. } google_firestore_v1_StructuredQuery_FieldFilter_Operator;
  60. #define _google_firestore_v1_StructuredQuery_FieldFilter_Operator_MIN google_firestore_v1_StructuredQuery_FieldFilter_Operator_OPERATOR_UNSPECIFIED
  61. #define _google_firestore_v1_StructuredQuery_FieldFilter_Operator_MAX google_firestore_v1_StructuredQuery_FieldFilter_Operator_NOT_IN
  62. #define _google_firestore_v1_StructuredQuery_FieldFilter_Operator_ARRAYSIZE ((google_firestore_v1_StructuredQuery_FieldFilter_Operator)(google_firestore_v1_StructuredQuery_FieldFilter_Operator_NOT_IN+1))
  63. typedef enum _google_firestore_v1_StructuredQuery_UnaryFilter_Operator {
  64. google_firestore_v1_StructuredQuery_UnaryFilter_Operator_OPERATOR_UNSPECIFIED = 0,
  65. google_firestore_v1_StructuredQuery_UnaryFilter_Operator_IS_NAN = 2,
  66. google_firestore_v1_StructuredQuery_UnaryFilter_Operator_IS_NULL = 3,
  67. google_firestore_v1_StructuredQuery_UnaryFilter_Operator_IS_NOT_NAN = 4,
  68. google_firestore_v1_StructuredQuery_UnaryFilter_Operator_IS_NOT_NULL = 5
  69. } google_firestore_v1_StructuredQuery_UnaryFilter_Operator;
  70. #define _google_firestore_v1_StructuredQuery_UnaryFilter_Operator_MIN google_firestore_v1_StructuredQuery_UnaryFilter_Operator_OPERATOR_UNSPECIFIED
  71. #define _google_firestore_v1_StructuredQuery_UnaryFilter_Operator_MAX google_firestore_v1_StructuredQuery_UnaryFilter_Operator_IS_NOT_NULL
  72. #define _google_firestore_v1_StructuredQuery_UnaryFilter_Operator_ARRAYSIZE ((google_firestore_v1_StructuredQuery_UnaryFilter_Operator)(google_firestore_v1_StructuredQuery_UnaryFilter_Operator_IS_NOT_NULL+1))
  73. /* Struct definitions */
  74. typedef struct _google_firestore_v1_StructuredQuery_FieldReference {
  75. pb_bytes_array_t *field_path;
  76. std::string ToString(int indent = 0) const;
  77. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredQuery_FieldReference) */
  78. } google_firestore_v1_StructuredQuery_FieldReference;
  79. typedef struct _google_firestore_v1_StructuredQuery_Projection {
  80. pb_size_t fields_count;
  81. struct _google_firestore_v1_StructuredQuery_FieldReference *fields;
  82. std::string ToString(int indent = 0) const;
  83. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredQuery_Projection) */
  84. } google_firestore_v1_StructuredQuery_Projection;
  85. typedef struct _google_firestore_v1_Cursor {
  86. pb_size_t values_count;
  87. struct _google_firestore_v1_Value *values;
  88. bool before;
  89. std::string ToString(int indent = 0) const;
  90. /* @@protoc_insertion_point(struct:google_firestore_v1_Cursor) */
  91. } google_firestore_v1_Cursor;
  92. typedef struct _google_firestore_v1_StructuredAggregationQuery_Aggregation_Avg {
  93. google_firestore_v1_StructuredQuery_FieldReference field;
  94. std::string ToString(int indent = 0) const;
  95. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredAggregationQuery_Aggregation_Avg) */
  96. } google_firestore_v1_StructuredAggregationQuery_Aggregation_Avg;
  97. typedef struct _google_firestore_v1_StructuredAggregationQuery_Aggregation_Count {
  98. google_protobuf_Int64Value up_to;
  99. std::string ToString(int indent = 0) const;
  100. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredAggregationQuery_Aggregation_Count) */
  101. } google_firestore_v1_StructuredAggregationQuery_Aggregation_Count;
  102. typedef struct _google_firestore_v1_StructuredAggregationQuery_Aggregation_Sum {
  103. google_firestore_v1_StructuredQuery_FieldReference field;
  104. std::string ToString(int indent = 0) const;
  105. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredAggregationQuery_Aggregation_Sum) */
  106. } google_firestore_v1_StructuredAggregationQuery_Aggregation_Sum;
  107. typedef struct _google_firestore_v1_StructuredQuery_CollectionSelector {
  108. pb_bytes_array_t *collection_id;
  109. bool all_descendants;
  110. std::string ToString(int indent = 0) const;
  111. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredQuery_CollectionSelector) */
  112. } google_firestore_v1_StructuredQuery_CollectionSelector;
  113. typedef struct _google_firestore_v1_StructuredQuery_CompositeFilter {
  114. google_firestore_v1_StructuredQuery_CompositeFilter_Operator op;
  115. pb_size_t filters_count;
  116. struct _google_firestore_v1_StructuredQuery_Filter *filters;
  117. std::string ToString(int indent = 0) const;
  118. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredQuery_CompositeFilter) */
  119. } google_firestore_v1_StructuredQuery_CompositeFilter;
  120. typedef struct _google_firestore_v1_StructuredQuery_FieldFilter {
  121. google_firestore_v1_StructuredQuery_FieldReference field;
  122. google_firestore_v1_StructuredQuery_FieldFilter_Operator op;
  123. google_firestore_v1_Value value;
  124. std::string ToString(int indent = 0) const;
  125. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredQuery_FieldFilter) */
  126. } google_firestore_v1_StructuredQuery_FieldFilter;
  127. typedef struct _google_firestore_v1_StructuredQuery_Order {
  128. google_firestore_v1_StructuredQuery_FieldReference field;
  129. google_firestore_v1_StructuredQuery_Direction direction;
  130. std::string ToString(int indent = 0) const;
  131. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredQuery_Order) */
  132. } google_firestore_v1_StructuredQuery_Order;
  133. typedef struct _google_firestore_v1_StructuredQuery_UnaryFilter {
  134. google_firestore_v1_StructuredQuery_UnaryFilter_Operator op;
  135. pb_size_t which_operand_type;
  136. union {
  137. google_firestore_v1_StructuredQuery_FieldReference field;
  138. };
  139. std::string ToString(int indent = 0) const;
  140. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredQuery_UnaryFilter) */
  141. } google_firestore_v1_StructuredQuery_UnaryFilter;
  142. typedef struct _google_firestore_v1_StructuredAggregationQuery_Aggregation {
  143. pb_size_t which_operator;
  144. union {
  145. google_firestore_v1_StructuredAggregationQuery_Aggregation_Count count;
  146. google_firestore_v1_StructuredAggregationQuery_Aggregation_Sum sum;
  147. google_firestore_v1_StructuredAggregationQuery_Aggregation_Avg avg;
  148. };
  149. pb_bytes_array_t *alias;
  150. std::string ToString(int indent = 0) const;
  151. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredAggregationQuery_Aggregation) */
  152. } google_firestore_v1_StructuredAggregationQuery_Aggregation;
  153. typedef struct _google_firestore_v1_StructuredQuery_Filter {
  154. pb_size_t which_filter_type;
  155. union {
  156. google_firestore_v1_StructuredQuery_CompositeFilter composite_filter;
  157. google_firestore_v1_StructuredQuery_FieldFilter field_filter;
  158. google_firestore_v1_StructuredQuery_UnaryFilter unary_filter;
  159. };
  160. std::string ToString(int indent = 0) const;
  161. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredQuery_Filter) */
  162. } google_firestore_v1_StructuredQuery_Filter;
  163. typedef struct _google_firestore_v1_StructuredQuery {
  164. google_firestore_v1_StructuredQuery_Projection select;
  165. pb_size_t from_count;
  166. struct _google_firestore_v1_StructuredQuery_CollectionSelector *from;
  167. google_firestore_v1_StructuredQuery_Filter where;
  168. pb_size_t order_by_count;
  169. struct _google_firestore_v1_StructuredQuery_Order *order_by;
  170. bool has_limit;
  171. google_protobuf_Int32Value limit;
  172. int32_t offset;
  173. google_firestore_v1_Cursor start_at;
  174. google_firestore_v1_Cursor end_at;
  175. std::string ToString(int indent = 0) const;
  176. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredQuery) */
  177. } google_firestore_v1_StructuredQuery;
  178. typedef struct _google_firestore_v1_StructuredAggregationQuery {
  179. pb_size_t which_query_type;
  180. union {
  181. google_firestore_v1_StructuredQuery structured_query;
  182. };
  183. pb_size_t aggregations_count;
  184. struct _google_firestore_v1_StructuredAggregationQuery_Aggregation *aggregations;
  185. std::string ToString(int indent = 0) const;
  186. /* @@protoc_insertion_point(struct:google_firestore_v1_StructuredAggregationQuery) */
  187. } google_firestore_v1_StructuredAggregationQuery;
  188. /* Default values for struct fields */
  189. /* Initializer values for message structs */
  190. #define google_firestore_v1_StructuredQuery_init_default {google_firestore_v1_StructuredQuery_Projection_init_default, 0, NULL, google_firestore_v1_StructuredQuery_Filter_init_default, 0, NULL, false, google_protobuf_Int32Value_init_default, 0, google_firestore_v1_Cursor_init_default, google_firestore_v1_Cursor_init_default}
  191. #define google_firestore_v1_StructuredQuery_CollectionSelector_init_default {NULL, 0}
  192. #define google_firestore_v1_StructuredQuery_Filter_init_default {0, {google_firestore_v1_StructuredQuery_CompositeFilter_init_default}}
  193. #define google_firestore_v1_StructuredQuery_CompositeFilter_init_default {_google_firestore_v1_StructuredQuery_CompositeFilter_Operator_MIN, 0, NULL}
  194. #define google_firestore_v1_StructuredQuery_FieldFilter_init_default {google_firestore_v1_StructuredQuery_FieldReference_init_default, _google_firestore_v1_StructuredQuery_FieldFilter_Operator_MIN, google_firestore_v1_Value_init_default}
  195. #define google_firestore_v1_StructuredQuery_UnaryFilter_init_default {_google_firestore_v1_StructuredQuery_UnaryFilter_Operator_MIN, 0, {google_firestore_v1_StructuredQuery_FieldReference_init_default}}
  196. #define google_firestore_v1_StructuredQuery_Order_init_default {google_firestore_v1_StructuredQuery_FieldReference_init_default, _google_firestore_v1_StructuredQuery_Direction_MIN}
  197. #define google_firestore_v1_StructuredQuery_FieldReference_init_default {NULL}
  198. #define google_firestore_v1_StructuredQuery_Projection_init_default {0, NULL}
  199. #define google_firestore_v1_StructuredAggregationQuery_init_default {0, {google_firestore_v1_StructuredQuery_init_default}, 0, NULL}
  200. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_init_default {0, {google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_init_default}, NULL}
  201. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_init_default {google_protobuf_Int64Value_init_default}
  202. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_Sum_init_default {google_firestore_v1_StructuredQuery_FieldReference_init_default}
  203. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_Avg_init_default {google_firestore_v1_StructuredQuery_FieldReference_init_default}
  204. #define google_firestore_v1_Cursor_init_default {0, NULL, 0}
  205. #define google_firestore_v1_StructuredQuery_init_zero {google_firestore_v1_StructuredQuery_Projection_init_zero, 0, NULL, google_firestore_v1_StructuredQuery_Filter_init_zero, 0, NULL, false, google_protobuf_Int32Value_init_zero, 0, google_firestore_v1_Cursor_init_zero, google_firestore_v1_Cursor_init_zero}
  206. #define google_firestore_v1_StructuredQuery_CollectionSelector_init_zero {NULL, 0}
  207. #define google_firestore_v1_StructuredQuery_Filter_init_zero {0, {google_firestore_v1_StructuredQuery_CompositeFilter_init_zero}}
  208. #define google_firestore_v1_StructuredQuery_CompositeFilter_init_zero {_google_firestore_v1_StructuredQuery_CompositeFilter_Operator_MIN, 0, NULL}
  209. #define google_firestore_v1_StructuredQuery_FieldFilter_init_zero {google_firestore_v1_StructuredQuery_FieldReference_init_zero, _google_firestore_v1_StructuredQuery_FieldFilter_Operator_MIN, google_firestore_v1_Value_init_zero}
  210. #define google_firestore_v1_StructuredQuery_UnaryFilter_init_zero {_google_firestore_v1_StructuredQuery_UnaryFilter_Operator_MIN, 0, {google_firestore_v1_StructuredQuery_FieldReference_init_zero}}
  211. #define google_firestore_v1_StructuredQuery_Order_init_zero {google_firestore_v1_StructuredQuery_FieldReference_init_zero, _google_firestore_v1_StructuredQuery_Direction_MIN}
  212. #define google_firestore_v1_StructuredQuery_FieldReference_init_zero {NULL}
  213. #define google_firestore_v1_StructuredQuery_Projection_init_zero {0, NULL}
  214. #define google_firestore_v1_StructuredAggregationQuery_init_zero {0, {google_firestore_v1_StructuredQuery_init_zero}, 0, NULL}
  215. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_init_zero {0, {google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_init_zero}, NULL}
  216. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_init_zero {google_protobuf_Int64Value_init_zero}
  217. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_Sum_init_zero {google_firestore_v1_StructuredQuery_FieldReference_init_zero}
  218. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_Avg_init_zero {google_firestore_v1_StructuredQuery_FieldReference_init_zero}
  219. #define google_firestore_v1_Cursor_init_zero {0, NULL, 0}
  220. /* Field tags (for use in manual encoding/decoding) */
  221. #define google_firestore_v1_StructuredQuery_FieldReference_field_path_tag 2
  222. #define google_firestore_v1_StructuredQuery_Projection_fields_tag 2
  223. #define google_firestore_v1_Cursor_values_tag 1
  224. #define google_firestore_v1_Cursor_before_tag 2
  225. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_Avg_field_tag 1
  226. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_up_to_tag 1
  227. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_Sum_field_tag 1
  228. #define google_firestore_v1_StructuredQuery_CollectionSelector_collection_id_tag 2
  229. #define google_firestore_v1_StructuredQuery_CollectionSelector_all_descendants_tag 3
  230. #define google_firestore_v1_StructuredQuery_CompositeFilter_op_tag 1
  231. #define google_firestore_v1_StructuredQuery_CompositeFilter_filters_tag 2
  232. #define google_firestore_v1_StructuredQuery_FieldFilter_field_tag 1
  233. #define google_firestore_v1_StructuredQuery_FieldFilter_op_tag 2
  234. #define google_firestore_v1_StructuredQuery_FieldFilter_value_tag 3
  235. #define google_firestore_v1_StructuredQuery_Order_field_tag 1
  236. #define google_firestore_v1_StructuredQuery_Order_direction_tag 2
  237. #define google_firestore_v1_StructuredQuery_UnaryFilter_field_tag 2
  238. #define google_firestore_v1_StructuredQuery_UnaryFilter_op_tag 1
  239. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_count_tag 1
  240. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_sum_tag 2
  241. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_avg_tag 3
  242. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_alias_tag 7
  243. #define google_firestore_v1_StructuredQuery_Filter_composite_filter_tag 1
  244. #define google_firestore_v1_StructuredQuery_Filter_field_filter_tag 2
  245. #define google_firestore_v1_StructuredQuery_Filter_unary_filter_tag 3
  246. #define google_firestore_v1_StructuredQuery_select_tag 1
  247. #define google_firestore_v1_StructuredQuery_from_tag 2
  248. #define google_firestore_v1_StructuredQuery_where_tag 3
  249. #define google_firestore_v1_StructuredQuery_order_by_tag 4
  250. #define google_firestore_v1_StructuredQuery_start_at_tag 7
  251. #define google_firestore_v1_StructuredQuery_end_at_tag 8
  252. #define google_firestore_v1_StructuredQuery_offset_tag 6
  253. #define google_firestore_v1_StructuredQuery_limit_tag 5
  254. #define google_firestore_v1_StructuredAggregationQuery_structured_query_tag 1
  255. #define google_firestore_v1_StructuredAggregationQuery_aggregations_tag 3
  256. /* Struct field encoding specification for nanopb */
  257. extern const pb_field_t google_firestore_v1_StructuredQuery_fields[9];
  258. extern const pb_field_t google_firestore_v1_StructuredQuery_CollectionSelector_fields[3];
  259. extern const pb_field_t google_firestore_v1_StructuredQuery_Filter_fields[4];
  260. extern const pb_field_t google_firestore_v1_StructuredQuery_CompositeFilter_fields[3];
  261. extern const pb_field_t google_firestore_v1_StructuredQuery_FieldFilter_fields[4];
  262. extern const pb_field_t google_firestore_v1_StructuredQuery_UnaryFilter_fields[3];
  263. extern const pb_field_t google_firestore_v1_StructuredQuery_Order_fields[3];
  264. extern const pb_field_t google_firestore_v1_StructuredQuery_FieldReference_fields[2];
  265. extern const pb_field_t google_firestore_v1_StructuredQuery_Projection_fields[2];
  266. extern const pb_field_t google_firestore_v1_StructuredAggregationQuery_fields[3];
  267. extern const pb_field_t google_firestore_v1_StructuredAggregationQuery_Aggregation_fields[5];
  268. extern const pb_field_t google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fields[2];
  269. extern const pb_field_t google_firestore_v1_StructuredAggregationQuery_Aggregation_Sum_fields[2];
  270. extern const pb_field_t google_firestore_v1_StructuredAggregationQuery_Aggregation_Avg_fields[2];
  271. extern const pb_field_t google_firestore_v1_Cursor_fields[3];
  272. /* Maximum encoded size of messages (where known) */
  273. /* google_firestore_v1_StructuredQuery_size depends on runtime parameters */
  274. /* google_firestore_v1_StructuredQuery_CollectionSelector_size depends on runtime parameters */
  275. /* google_firestore_v1_StructuredQuery_Filter_size depends on runtime parameters */
  276. /* google_firestore_v1_StructuredQuery_CompositeFilter_size depends on runtime parameters */
  277. /* google_firestore_v1_StructuredQuery_FieldFilter_size depends on runtime parameters */
  278. /* google_firestore_v1_StructuredQuery_UnaryFilter_size depends on runtime parameters */
  279. /* google_firestore_v1_StructuredQuery_Order_size depends on runtime parameters */
  280. /* google_firestore_v1_StructuredQuery_FieldReference_size depends on runtime parameters */
  281. /* google_firestore_v1_StructuredQuery_Projection_size depends on runtime parameters */
  282. /* google_firestore_v1_StructuredAggregationQuery_size depends on runtime parameters */
  283. /* google_firestore_v1_StructuredAggregationQuery_Aggregation_size depends on runtime parameters */
  284. #define google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_size 13
  285. /* google_firestore_v1_StructuredAggregationQuery_Aggregation_Sum_size depends on runtime parameters */
  286. /* google_firestore_v1_StructuredAggregationQuery_Aggregation_Avg_size depends on runtime parameters */
  287. /* google_firestore_v1_Cursor_size depends on runtime parameters */
  288. /* Message IDs (where set with "msgid" option) */
  289. #ifdef PB_MSGID
  290. #define QUERY_MESSAGES \
  291. #endif
  292. const char* EnumToString(google_firestore_v1_StructuredQuery_Direction value);
  293. const char* EnumToString(
  294. google_firestore_v1_StructuredQuery_CompositeFilter_Operator value);
  295. const char* EnumToString(
  296. google_firestore_v1_StructuredQuery_FieldFilter_Operator value);
  297. const char* EnumToString(
  298. google_firestore_v1_StructuredQuery_UnaryFilter_Operator value);
  299. } // namespace firestore
  300. } // namespace firebase
  301. /* @@protoc_insertion_point(eof) */
  302. #endif