GRPC Core  18.0.0
checked.upb.h
Go to the documentation of this file.
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  * google/api/expr/v1alpha1/checked.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef GOOGLE_API_EXPR_V1ALPHA1_CHECKED_PROTO_UPB_H_
10 #define GOOGLE_API_EXPR_V1ALPHA1_CHECKED_PROTO_UPB_H_
11 
12 #include "upb/msg.h"
13 #include "upb/decode.h"
14 #include "upb/decode_fast.h"
15 #include "upb/encode.h"
16 
17 #include "upb/port_def.inc"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
49 extern const upb_msglayout google_api_expr_v1alpha1_CheckedExpr_msginit;
52 extern const upb_msglayout google_api_expr_v1alpha1_Type_msginit;
53 extern const upb_msglayout google_api_expr_v1alpha1_Type_ListType_msginit;
54 extern const upb_msglayout google_api_expr_v1alpha1_Type_MapType_msginit;
57 extern const upb_msglayout google_api_expr_v1alpha1_Decl_msginit;
58 extern const upb_msglayout google_api_expr_v1alpha1_Decl_IdentDecl_msginit;
61 extern const upb_msglayout google_api_expr_v1alpha1_Reference_msginit;
66 extern const upb_msglayout google_api_expr_v1alpha1_Constant_msginit;
67 extern const upb_msglayout google_api_expr_v1alpha1_Expr_msginit;
68 extern const upb_msglayout google_api_expr_v1alpha1_SourceInfo_msginit;
69 extern const upb_msglayout google_protobuf_Empty_msginit;
70 
71 typedef enum {
80 
81 typedef enum {
87 
88 
89 /* google.api.expr.v1alpha1.CheckedExpr */
90 
93 }
95  upb_arena *arena) {
97  return (ret && upb_decode(buf, size, ret, &google_api_expr_v1alpha1_CheckedExpr_msginit, arena)) ? ret : NULL;
98 }
100  upb_arena *arena, int options) {
102  return (ret && _upb_decode(buf, size, ret, &google_api_expr_v1alpha1_CheckedExpr_msginit, arena, options))
103  ? ret : NULL;
104 }
106  return upb_encode(msg, &google_api_expr_v1alpha1_CheckedExpr_msginit, arena, len);
107 }
108 
109 UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_has_reference_map(const google_api_expr_v1alpha1_CheckedExpr *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(12, 24)); }
110 UPB_INLINE size_t google_api_expr_v1alpha1_CheckedExpr_reference_map_size(const google_api_expr_v1alpha1_CheckedExpr *msg) {return _upb_msg_map_size(msg, UPB_SIZE(12, 24)); }
111 UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_reference_map_get(const google_api_expr_v1alpha1_CheckedExpr *msg, int64_t key, google_api_expr_v1alpha1_Reference* *val) { return _upb_msg_map_get(msg, UPB_SIZE(12, 24), &key, sizeof(key), val, sizeof(*val)); }
113 UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_has_type_map(const google_api_expr_v1alpha1_CheckedExpr *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(16, 32)); }
114 UPB_INLINE size_t google_api_expr_v1alpha1_CheckedExpr_type_map_size(const google_api_expr_v1alpha1_CheckedExpr *msg) {return _upb_msg_map_size(msg, UPB_SIZE(16, 32)); }
115 UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_type_map_get(const google_api_expr_v1alpha1_CheckedExpr *msg, int64_t key, google_api_expr_v1alpha1_Type* *val) { return _upb_msg_map_get(msg, UPB_SIZE(16, 32), &key, sizeof(key), val, sizeof(*val)); }
117 UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_has_expr(const google_api_expr_v1alpha1_CheckedExpr *msg) { return _upb_hasbit(msg, 1); }
118 UPB_INLINE const struct google_api_expr_v1alpha1_Expr* google_api_expr_v1alpha1_CheckedExpr_expr(const google_api_expr_v1alpha1_CheckedExpr *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), const struct google_api_expr_v1alpha1_Expr*); }
119 UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_has_source_info(const google_api_expr_v1alpha1_CheckedExpr *msg) { return _upb_hasbit(msg, 2); }
121 
122 UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_reference_map_clear(google_api_expr_v1alpha1_CheckedExpr *msg) { _upb_msg_map_clear(msg, UPB_SIZE(12, 24)); }
123 UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_reference_map_set(google_api_expr_v1alpha1_CheckedExpr *msg, int64_t key, google_api_expr_v1alpha1_Reference* val, upb_arena *a) { return _upb_msg_map_set(msg, UPB_SIZE(12, 24), &key, sizeof(key), &val, sizeof(val), a); }
124 UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_reference_map_delete(google_api_expr_v1alpha1_CheckedExpr *msg, int64_t key) { return _upb_msg_map_delete(msg, UPB_SIZE(12, 24), &key, sizeof(key)); }
126 UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_type_map_clear(google_api_expr_v1alpha1_CheckedExpr *msg) { _upb_msg_map_clear(msg, UPB_SIZE(16, 32)); }
127 UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_type_map_set(google_api_expr_v1alpha1_CheckedExpr *msg, int64_t key, google_api_expr_v1alpha1_Type* val, upb_arena *a) { return _upb_msg_map_set(msg, UPB_SIZE(16, 32), &key, sizeof(key), &val, sizeof(val), a); }
128 UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_type_map_delete(google_api_expr_v1alpha1_CheckedExpr *msg, int64_t key) { return _upb_msg_map_delete(msg, UPB_SIZE(16, 32), &key, sizeof(key)); }
131  _upb_sethas(msg, 1);
132  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), struct google_api_expr_v1alpha1_Expr*) = value;
133 }
136  if (sub == NULL) {
138  if (!sub) return NULL;
140  }
141  return sub;
142 }
144  _upb_sethas(msg, 2);
145  *UPB_PTR_AT(msg, UPB_SIZE(8, 16), struct google_api_expr_v1alpha1_SourceInfo*) = value;
146 }
149  if (sub == NULL) {
151  if (!sub) return NULL;
153  }
154  return sub;
155 }
156 
157 /* google.api.expr.v1alpha1.CheckedExpr.ReferenceMapEntry */
158 
160  int64_t ret;
161  _upb_msg_map_key(msg, &ret, sizeof(ret));
162  return ret;
163 }
164 UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_has_value(const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 16)); }
167  _upb_msg_map_value(msg, &ret, sizeof(ret));
168  return ret;
169 }
170 
172  _upb_msg_map_set_value(msg, &value, sizeof(google_api_expr_v1alpha1_Reference*));
173 }
174 
175 /* google.api.expr.v1alpha1.CheckedExpr.TypeMapEntry */
176 
178  int64_t ret;
179  _upb_msg_map_key(msg, &ret, sizeof(ret));
180  return ret;
181 }
182 UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_has_value(const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 16)); }
185  _upb_msg_map_value(msg, &ret, sizeof(ret));
186  return ret;
187 }
188 
190  _upb_msg_map_set_value(msg, &value, sizeof(google_api_expr_v1alpha1_Type*));
191 }
192 
193 /* google.api.expr.v1alpha1.Type */
194 
197 }
199  upb_arena *arena) {
201  return (ret && upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Type_msginit, arena)) ? ret : NULL;
202 }
204  upb_arena *arena, int options) {
206  return (ret && _upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Type_msginit, arena, options))
207  ? ret : NULL;
208 }
209 UPB_INLINE char *google_api_expr_v1alpha1_Type_serialize(const google_api_expr_v1alpha1_Type *msg, upb_arena *arena, size_t *len) {
210  return upb_encode(msg, &google_api_expr_v1alpha1_Type_msginit, arena, len);
211 }
212 
213 typedef enum {
230 
231 UPB_INLINE bool google_api_expr_v1alpha1_Type_has_dyn(const google_api_expr_v1alpha1_Type *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 1; }
232 UPB_INLINE const struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_dyn(const google_api_expr_v1alpha1_Type *msg) { return UPB_READ_ONEOF(msg, const struct google_protobuf_Empty*, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 1, NULL); }
233 UPB_INLINE bool google_api_expr_v1alpha1_Type_has_null(const google_api_expr_v1alpha1_Type *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 2; }
234 UPB_INLINE int32_t google_api_expr_v1alpha1_Type_null(const google_api_expr_v1alpha1_Type *msg) { return UPB_READ_ONEOF(msg, int32_t, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 2, 0); }
235 UPB_INLINE bool google_api_expr_v1alpha1_Type_has_primitive(const google_api_expr_v1alpha1_Type *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 3; }
236 UPB_INLINE int32_t google_api_expr_v1alpha1_Type_primitive(const google_api_expr_v1alpha1_Type *msg) { return UPB_READ_ONEOF(msg, int32_t, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 3, 0); }
237 UPB_INLINE bool google_api_expr_v1alpha1_Type_has_wrapper(const google_api_expr_v1alpha1_Type *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 4; }
238 UPB_INLINE int32_t google_api_expr_v1alpha1_Type_wrapper(const google_api_expr_v1alpha1_Type *msg) { return UPB_READ_ONEOF(msg, int32_t, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 4, 0); }
239 UPB_INLINE bool google_api_expr_v1alpha1_Type_has_well_known(const google_api_expr_v1alpha1_Type *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 5; }
240 UPB_INLINE int32_t google_api_expr_v1alpha1_Type_well_known(const google_api_expr_v1alpha1_Type *msg) { return UPB_READ_ONEOF(msg, int32_t, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 5, 0); }
241 UPB_INLINE bool google_api_expr_v1alpha1_Type_has_list_type(const google_api_expr_v1alpha1_Type *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 6; }
242 UPB_INLINE const google_api_expr_v1alpha1_Type_ListType* google_api_expr_v1alpha1_Type_list_type(const google_api_expr_v1alpha1_Type *msg) { return UPB_READ_ONEOF(msg, const google_api_expr_v1alpha1_Type_ListType*, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 6, NULL); }
243 UPB_INLINE bool google_api_expr_v1alpha1_Type_has_map_type(const google_api_expr_v1alpha1_Type *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 7; }
244 UPB_INLINE const google_api_expr_v1alpha1_Type_MapType* google_api_expr_v1alpha1_Type_map_type(const google_api_expr_v1alpha1_Type *msg) { return UPB_READ_ONEOF(msg, const google_api_expr_v1alpha1_Type_MapType*, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 7, NULL); }
245 UPB_INLINE bool google_api_expr_v1alpha1_Type_has_function(const google_api_expr_v1alpha1_Type *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 8; }
246 UPB_INLINE const google_api_expr_v1alpha1_Type_FunctionType* google_api_expr_v1alpha1_Type_function(const google_api_expr_v1alpha1_Type *msg) { return UPB_READ_ONEOF(msg, const google_api_expr_v1alpha1_Type_FunctionType*, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 8, NULL); }
247 UPB_INLINE bool google_api_expr_v1alpha1_Type_has_message_type(const google_api_expr_v1alpha1_Type *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 9; }
248 UPB_INLINE upb_strview google_api_expr_v1alpha1_Type_message_type(const google_api_expr_v1alpha1_Type *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 9, upb_strview_make("", strlen(""))); }
249 UPB_INLINE bool google_api_expr_v1alpha1_Type_has_type_param(const google_api_expr_v1alpha1_Type *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 10; }
250 UPB_INLINE upb_strview google_api_expr_v1alpha1_Type_type_param(const google_api_expr_v1alpha1_Type *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 10, upb_strview_make("", strlen(""))); }
251 UPB_INLINE bool google_api_expr_v1alpha1_Type_has_type(const google_api_expr_v1alpha1_Type *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 11; }
252 UPB_INLINE const google_api_expr_v1alpha1_Type* google_api_expr_v1alpha1_Type_type(const google_api_expr_v1alpha1_Type *msg) { return UPB_READ_ONEOF(msg, const google_api_expr_v1alpha1_Type*, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 11, NULL); }
253 UPB_INLINE bool google_api_expr_v1alpha1_Type_has_error(const google_api_expr_v1alpha1_Type *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 12; }
254 UPB_INLINE const struct google_protobuf_Empty* google_api_expr_v1alpha1_Type_error(const google_api_expr_v1alpha1_Type *msg) { return UPB_READ_ONEOF(msg, const struct google_protobuf_Empty*, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 12, NULL); }
255 UPB_INLINE bool google_api_expr_v1alpha1_Type_has_abstract_type(const google_api_expr_v1alpha1_Type *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 14; }
256 UPB_INLINE const google_api_expr_v1alpha1_Type_AbstractType* google_api_expr_v1alpha1_Type_abstract_type(const google_api_expr_v1alpha1_Type *msg) { return UPB_READ_ONEOF(msg, const google_api_expr_v1alpha1_Type_AbstractType*, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 14, NULL); }
257 
259  UPB_WRITE_ONEOF(msg, struct google_protobuf_Empty*, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 1);
260 }
263  if (sub == NULL) {
264  sub = (struct google_protobuf_Empty*)_upb_msg_new(&google_protobuf_Empty_msginit, arena);
265  if (!sub) return NULL;
267  }
268  return sub;
269 }
271  UPB_WRITE_ONEOF(msg, int32_t, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 2);
272 }
274  UPB_WRITE_ONEOF(msg, int32_t, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 3);
275 }
277  UPB_WRITE_ONEOF(msg, int32_t, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 4);
278 }
280  UPB_WRITE_ONEOF(msg, int32_t, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 5);
281 }
283  UPB_WRITE_ONEOF(msg, google_api_expr_v1alpha1_Type_ListType*, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 6);
284 }
287  if (sub == NULL) {
289  if (!sub) return NULL;
291  }
292  return sub;
293 }
295  UPB_WRITE_ONEOF(msg, google_api_expr_v1alpha1_Type_MapType*, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 7);
296 }
299  if (sub == NULL) {
301  if (!sub) return NULL;
303  }
304  return sub;
305 }
307  UPB_WRITE_ONEOF(msg, google_api_expr_v1alpha1_Type_FunctionType*, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 8);
308 }
311  if (sub == NULL) {
313  if (!sub) return NULL;
315  }
316  return sub;
317 }
319  UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 9);
320 }
322  UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 10);
323 }
325  UPB_WRITE_ONEOF(msg, google_api_expr_v1alpha1_Type*, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 11);
326 }
329  if (sub == NULL) {
331  if (!sub) return NULL;
333  }
334  return sub;
335 }
337  UPB_WRITE_ONEOF(msg, struct google_protobuf_Empty*, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 12);
338 }
341  if (sub == NULL) {
342  sub = (struct google_protobuf_Empty*)_upb_msg_new(&google_protobuf_Empty_msginit, arena);
343  if (!sub) return NULL;
345  }
346  return sub;
347 }
349  UPB_WRITE_ONEOF(msg, google_api_expr_v1alpha1_Type_AbstractType*, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 14);
350 }
353  if (sub == NULL) {
355  if (!sub) return NULL;
357  }
358  return sub;
359 }
360 
361 /* google.api.expr.v1alpha1.Type.ListType */
362 
365 }
367  upb_arena *arena) {
369  return (ret && upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Type_ListType_msginit, arena)) ? ret : NULL;
370 }
372  upb_arena *arena, int options) {
374  return (ret && _upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Type_ListType_msginit, arena, options))
375  ? ret : NULL;
376 }
378  return upb_encode(msg, &google_api_expr_v1alpha1_Type_ListType_msginit, arena, len);
379 }
380 
381 UPB_INLINE bool google_api_expr_v1alpha1_Type_ListType_has_elem_type(const google_api_expr_v1alpha1_Type_ListType *msg) { return _upb_hasbit(msg, 1); }
383 
385  _upb_sethas(msg, 1);
386  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), google_api_expr_v1alpha1_Type*) = value;
387 }
390  if (sub == NULL) {
392  if (!sub) return NULL;
394  }
395  return sub;
396 }
397 
398 /* google.api.expr.v1alpha1.Type.MapType */
399 
402 }
404  upb_arena *arena) {
406  return (ret && upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Type_MapType_msginit, arena)) ? ret : NULL;
407 }
409  upb_arena *arena, int options) {
411  return (ret && _upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Type_MapType_msginit, arena, options))
412  ? ret : NULL;
413 }
415  return upb_encode(msg, &google_api_expr_v1alpha1_Type_MapType_msginit, arena, len);
416 }
417 
418 UPB_INLINE bool google_api_expr_v1alpha1_Type_MapType_has_key_type(const google_api_expr_v1alpha1_Type_MapType *msg) { return _upb_hasbit(msg, 1); }
420 UPB_INLINE bool google_api_expr_v1alpha1_Type_MapType_has_value_type(const google_api_expr_v1alpha1_Type_MapType *msg) { return _upb_hasbit(msg, 2); }
422 
424  _upb_sethas(msg, 1);
425  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), google_api_expr_v1alpha1_Type*) = value;
426 }
429  if (sub == NULL) {
431  if (!sub) return NULL;
433  }
434  return sub;
435 }
437  _upb_sethas(msg, 2);
438  *UPB_PTR_AT(msg, UPB_SIZE(8, 16), google_api_expr_v1alpha1_Type*) = value;
439 }
442  if (sub == NULL) {
444  if (!sub) return NULL;
446  }
447  return sub;
448 }
449 
450 /* google.api.expr.v1alpha1.Type.FunctionType */
451 
454 }
456  upb_arena *arena) {
458  return (ret && upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Type_FunctionType_msginit, arena)) ? ret : NULL;
459 }
461  upb_arena *arena, int options) {
463  return (ret && _upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Type_FunctionType_msginit, arena, options))
464  ? ret : NULL;
465 }
467  return upb_encode(msg, &google_api_expr_v1alpha1_Type_FunctionType_msginit, arena, len);
468 }
469 
472 UPB_INLINE bool google_api_expr_v1alpha1_Type_FunctionType_has_arg_types(const google_api_expr_v1alpha1_Type_FunctionType *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 16)); }
473 UPB_INLINE const google_api_expr_v1alpha1_Type* const* google_api_expr_v1alpha1_Type_FunctionType_arg_types(const google_api_expr_v1alpha1_Type_FunctionType *msg, size_t *len) { return (const google_api_expr_v1alpha1_Type* const*)_upb_array_accessor(msg, UPB_SIZE(8, 16), len); }
474 
476  _upb_sethas(msg, 1);
477  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), google_api_expr_v1alpha1_Type*) = value;
478 }
481  if (sub == NULL) {
483  if (!sub) return NULL;
485  }
486  return sub;
487 }
489  return (google_api_expr_v1alpha1_Type**)_upb_array_mutable_accessor(msg, UPB_SIZE(8, 16), len);
490 }
492  return (google_api_expr_v1alpha1_Type**)_upb_array_resize_accessor2(msg, UPB_SIZE(8, 16), len, UPB_SIZE(2, 3), arena);
493 }
496  bool ok = _upb_array_append_accessor2(
497  msg, UPB_SIZE(8, 16), UPB_SIZE(2, 3), &sub, arena);
498  if (!ok) return NULL;
499  return sub;
500 }
501 
502 /* google.api.expr.v1alpha1.Type.AbstractType */
503 
506 }
508  upb_arena *arena) {
510  return (ret && upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Type_AbstractType_msginit, arena)) ? ret : NULL;
511 }
513  upb_arena *arena, int options) {
515  return (ret && _upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Type_AbstractType_msginit, arena, options))
516  ? ret : NULL;
517 }
519  return upb_encode(msg, &google_api_expr_v1alpha1_Type_AbstractType_msginit, arena, len);
520 }
521 
522 UPB_INLINE upb_strview google_api_expr_v1alpha1_Type_AbstractType_name(const google_api_expr_v1alpha1_Type_AbstractType *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_strview); }
523 UPB_INLINE bool google_api_expr_v1alpha1_Type_AbstractType_has_parameter_types(const google_api_expr_v1alpha1_Type_AbstractType *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 16)); }
524 UPB_INLINE const google_api_expr_v1alpha1_Type* const* google_api_expr_v1alpha1_Type_AbstractType_parameter_types(const google_api_expr_v1alpha1_Type_AbstractType *msg, size_t *len) { return (const google_api_expr_v1alpha1_Type* const*)_upb_array_accessor(msg, UPB_SIZE(8, 16), len); }
525 
527  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_strview) = value;
528 }
530  return (google_api_expr_v1alpha1_Type**)_upb_array_mutable_accessor(msg, UPB_SIZE(8, 16), len);
531 }
533  return (google_api_expr_v1alpha1_Type**)_upb_array_resize_accessor2(msg, UPB_SIZE(8, 16), len, UPB_SIZE(2, 3), arena);
534 }
537  bool ok = _upb_array_append_accessor2(
538  msg, UPB_SIZE(8, 16), UPB_SIZE(2, 3), &sub, arena);
539  if (!ok) return NULL;
540  return sub;
541 }
542 
543 /* google.api.expr.v1alpha1.Decl */
544 
547 }
549  upb_arena *arena) {
551  return (ret && upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_msginit, arena)) ? ret : NULL;
552 }
554  upb_arena *arena, int options) {
556  return (ret && _upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_msginit, arena, options))
557  ? ret : NULL;
558 }
559 UPB_INLINE char *google_api_expr_v1alpha1_Decl_serialize(const google_api_expr_v1alpha1_Decl *msg, upb_arena *arena, size_t *len) {
560  return upb_encode(msg, &google_api_expr_v1alpha1_Decl_msginit, arena, len);
561 }
562 
563 typedef enum {
569 
570 UPB_INLINE upb_strview google_api_expr_v1alpha1_Decl_name(const google_api_expr_v1alpha1_Decl *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_strview); }
571 UPB_INLINE bool google_api_expr_v1alpha1_Decl_has_ident(const google_api_expr_v1alpha1_Decl *msg) { return _upb_getoneofcase(msg, UPB_SIZE(12, 24)) == 2; }
572 UPB_INLINE const google_api_expr_v1alpha1_Decl_IdentDecl* google_api_expr_v1alpha1_Decl_ident(const google_api_expr_v1alpha1_Decl *msg) { return UPB_READ_ONEOF(msg, const google_api_expr_v1alpha1_Decl_IdentDecl*, UPB_SIZE(8, 16), UPB_SIZE(12, 24), 2, NULL); }
573 UPB_INLINE bool google_api_expr_v1alpha1_Decl_has_function(const google_api_expr_v1alpha1_Decl *msg) { return _upb_getoneofcase(msg, UPB_SIZE(12, 24)) == 3; }
574 UPB_INLINE const google_api_expr_v1alpha1_Decl_FunctionDecl* google_api_expr_v1alpha1_Decl_function(const google_api_expr_v1alpha1_Decl *msg) { return UPB_READ_ONEOF(msg, const google_api_expr_v1alpha1_Decl_FunctionDecl*, UPB_SIZE(8, 16), UPB_SIZE(12, 24), 3, NULL); }
575 
577  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_strview) = value;
578 }
580  UPB_WRITE_ONEOF(msg, google_api_expr_v1alpha1_Decl_IdentDecl*, UPB_SIZE(8, 16), value, UPB_SIZE(12, 24), 2);
581 }
584  if (sub == NULL) {
586  if (!sub) return NULL;
588  }
589  return sub;
590 }
592  UPB_WRITE_ONEOF(msg, google_api_expr_v1alpha1_Decl_FunctionDecl*, UPB_SIZE(8, 16), value, UPB_SIZE(12, 24), 3);
593 }
596  if (sub == NULL) {
598  if (!sub) return NULL;
600  }
601  return sub;
602 }
603 
604 /* google.api.expr.v1alpha1.Decl.IdentDecl */
605 
608 }
610  upb_arena *arena) {
612  return (ret && upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_IdentDecl_msginit, arena)) ? ret : NULL;
613 }
615  upb_arena *arena, int options) {
617  return (ret && _upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_IdentDecl_msginit, arena, options))
618  ? ret : NULL;
619 }
621  return upb_encode(msg, &google_api_expr_v1alpha1_Decl_IdentDecl_msginit, arena, len);
622 }
623 
624 UPB_INLINE bool google_api_expr_v1alpha1_Decl_IdentDecl_has_type(const google_api_expr_v1alpha1_Decl_IdentDecl *msg) { return _upb_hasbit(msg, 1); }
626 UPB_INLINE bool google_api_expr_v1alpha1_Decl_IdentDecl_has_value(const google_api_expr_v1alpha1_Decl_IdentDecl *msg) { return _upb_hasbit(msg, 2); }
627 UPB_INLINE const struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Decl_IdentDecl_value(const google_api_expr_v1alpha1_Decl_IdentDecl *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(16, 32), const struct google_api_expr_v1alpha1_Constant*); }
628 UPB_INLINE upb_strview google_api_expr_v1alpha1_Decl_IdentDecl_doc(const google_api_expr_v1alpha1_Decl_IdentDecl *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview); }
629 
631  _upb_sethas(msg, 1);
632  *UPB_PTR_AT(msg, UPB_SIZE(12, 24), google_api_expr_v1alpha1_Type*) = value;
633 }
636  if (sub == NULL) {
638  if (!sub) return NULL;
640  }
641  return sub;
642 }
644  _upb_sethas(msg, 2);
645  *UPB_PTR_AT(msg, UPB_SIZE(16, 32), struct google_api_expr_v1alpha1_Constant*) = value;
646 }
649  if (sub == NULL) {
651  if (!sub) return NULL;
653  }
654  return sub;
655 }
657  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview) = value;
658 }
659 
660 /* google.api.expr.v1alpha1.Decl.FunctionDecl */
661 
664 }
666  upb_arena *arena) {
668  return (ret && upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_FunctionDecl_msginit, arena)) ? ret : NULL;
669 }
671  upb_arena *arena, int options) {
673  return (ret && _upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_FunctionDecl_msginit, arena, options))
674  ? ret : NULL;
675 }
677  return upb_encode(msg, &google_api_expr_v1alpha1_Decl_FunctionDecl_msginit, arena, len);
678 }
679 
680 UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_has_overloads(const google_api_expr_v1alpha1_Decl_FunctionDecl *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(0, 0)); }
682 
684  return (google_api_expr_v1alpha1_Decl_FunctionDecl_Overload**)_upb_array_mutable_accessor(msg, UPB_SIZE(0, 0), len);
685 }
687  return (google_api_expr_v1alpha1_Decl_FunctionDecl_Overload**)_upb_array_resize_accessor2(msg, UPB_SIZE(0, 0), len, UPB_SIZE(2, 3), arena);
688 }
691  bool ok = _upb_array_append_accessor2(
692  msg, UPB_SIZE(0, 0), UPB_SIZE(2, 3), &sub, arena);
693  if (!ok) return NULL;
694  return sub;
695 }
696 
697 /* google.api.expr.v1alpha1.Decl.FunctionDecl.Overload */
698 
701 }
703  upb_arena *arena) {
705  return (ret && upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msginit, arena)) ? ret : NULL;
706 }
708  upb_arena *arena, int options) {
710  return (ret && _upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msginit, arena, options))
711  ? ret : NULL;
712 }
715 }
716 
717 UPB_INLINE upb_strview google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_overload_id(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview); }
718 UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_has_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(24, 48)); }
719 UPB_INLINE const google_api_expr_v1alpha1_Type* const* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, size_t *len) { return (const google_api_expr_v1alpha1_Type* const*)_upb_array_accessor(msg, UPB_SIZE(24, 48), len); }
720 UPB_INLINE upb_strview const* google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_type_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(28, 56), len); }
724 UPB_INLINE upb_strview google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_doc(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(12, 24), upb_strview); }
725 
727  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview) = value;
728 }
730  return (google_api_expr_v1alpha1_Type**)_upb_array_mutable_accessor(msg, UPB_SIZE(24, 48), len);
731 }
733  return (google_api_expr_v1alpha1_Type**)_upb_array_resize_accessor2(msg, UPB_SIZE(24, 48), len, UPB_SIZE(2, 3), arena);
734 }
737  bool ok = _upb_array_append_accessor2(
738  msg, UPB_SIZE(24, 48), UPB_SIZE(2, 3), &sub, arena);
739  if (!ok) return NULL;
740  return sub;
741 }
743  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(28, 56), len);
744 }
746  return (upb_strview*)_upb_array_resize_accessor2(msg, UPB_SIZE(28, 56), len, UPB_SIZE(3, 4), arena);
747 }
749  return _upb_array_append_accessor2(msg, UPB_SIZE(28, 56), UPB_SIZE(3, 4), &val,
750  arena);
751 }
753  _upb_sethas(msg, 1);
754  *UPB_PTR_AT(msg, UPB_SIZE(20, 40), google_api_expr_v1alpha1_Type*) = value;
755 }
758  if (sub == NULL) {
760  if (!sub) return NULL;
762  }
763  return sub;
764 }
766  *UPB_PTR_AT(msg, UPB_SIZE(1, 1), bool) = value;
767 }
769  *UPB_PTR_AT(msg, UPB_SIZE(12, 24), upb_strview) = value;
770 }
771 
772 /* google.api.expr.v1alpha1.Reference */
773 
776 }
778  upb_arena *arena) {
780  return (ret && upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Reference_msginit, arena)) ? ret : NULL;
781 }
783  upb_arena *arena, int options) {
785  return (ret && _upb_decode(buf, size, ret, &google_api_expr_v1alpha1_Reference_msginit, arena, options))
786  ? ret : NULL;
787 }
788 UPB_INLINE char *google_api_expr_v1alpha1_Reference_serialize(const google_api_expr_v1alpha1_Reference *msg, upb_arena *arena, size_t *len) {
789  return upb_encode(msg, &google_api_expr_v1alpha1_Reference_msginit, arena, len);
790 }
791 
792 UPB_INLINE upb_strview google_api_expr_v1alpha1_Reference_name(const google_api_expr_v1alpha1_Reference *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview); }
793 UPB_INLINE upb_strview const* google_api_expr_v1alpha1_Reference_overload_id(const google_api_expr_v1alpha1_Reference *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(16, 32), len); }
794 UPB_INLINE bool google_api_expr_v1alpha1_Reference_has_value(const google_api_expr_v1alpha1_Reference *msg) { return _upb_hasbit(msg, 1); }
795 UPB_INLINE const struct google_api_expr_v1alpha1_Constant* google_api_expr_v1alpha1_Reference_value(const google_api_expr_v1alpha1_Reference *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(12, 24), const struct google_api_expr_v1alpha1_Constant*); }
796 
798  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview) = value;
799 }
801  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(16, 32), len);
802 }
804  return (upb_strview*)_upb_array_resize_accessor2(msg, UPB_SIZE(16, 32), len, UPB_SIZE(3, 4), arena);
805 }
807  return _upb_array_append_accessor2(msg, UPB_SIZE(16, 32), UPB_SIZE(3, 4), &val,
808  arena);
809 }
811  _upb_sethas(msg, 1);
812  *UPB_PTR_AT(msg, UPB_SIZE(12, 24), struct google_api_expr_v1alpha1_Constant*) = value;
813 }
816  if (sub == NULL) {
818  if (!sub) return NULL;
820  }
821  return sub;
822 }
823 
824 #ifdef __cplusplus
825 } /* extern "C" */
826 #endif
827 
828 #include "upb/port_undef.inc"
829 
830 #endif /* GOOGLE_API_EXPR_V1ALPHA1_CHECKED_PROTO_UPB_H_ */
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_type_map_set(google_api_expr_v1alpha1_CheckedExpr *msg, int64_t key, google_api_expr_v1alpha1_Type *val, upb_arena *a)
Definition: checked.upb.h:127
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_overload_id(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, upb_strview value)
Definition: checked.upb.h:726
UPB_INLINE upb_strview * google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_mutable_type_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, size_t *len)
Definition: checked.upb.h:742
UPB_INLINE google_api_expr_v1alpha1_Type_type_kind_oneofcases google_api_expr_v1alpha1_Type_type_kind_case(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:229
const upb_msglayout google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_msginit
Definition: checked.upb.c:47
UPB_INLINE google_api_expr_v1alpha1_Reference * google_api_expr_v1alpha1_Reference_new(upb_arena *arena)
Definition: checked.upb.h:774
UPB_INLINE struct google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_mutable_type(google_api_expr_v1alpha1_Type *msg, upb_arena *arena)
Definition: checked.upb.h:327
UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_set_value_type(google_api_expr_v1alpha1_Type_MapType *msg, google_api_expr_v1alpha1_Type *value)
Definition: checked.upb.h:436
UPB_INLINE void google_api_expr_v1alpha1_Type_ListType_set_elem_type(google_api_expr_v1alpha1_Type_ListType *msg, google_api_expr_v1alpha1_Type *value)
Definition: checked.upb.h:384
UPB_INLINE size_t google_api_expr_v1alpha1_CheckedExpr_type_map_size(const google_api_expr_v1alpha1_CheckedExpr *msg)
Definition: checked.upb.h:114
UPB_INLINE struct google_api_expr_v1alpha1_Decl_IdentDecl * google_api_expr_v1alpha1_Decl_mutable_ident(google_api_expr_v1alpha1_Decl *msg, upb_arena *arena)
Definition: checked.upb.h:582
struct google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry
Definition: checked.upb.h:38
const upb_msglayout google_api_expr_v1alpha1_Reference_msginit
Definition: checked.upb.c:235
UPB_INLINE google_api_expr_v1alpha1_Type ** google_api_expr_v1alpha1_Type_FunctionType_mutable_arg_types(google_api_expr_v1alpha1_Type_FunctionType *msg, size_t *len)
Definition: checked.upb.h:488
UPB_INLINE const google_api_expr_v1alpha1_Decl_FunctionDecl * google_api_expr_v1alpha1_Decl_function(const google_api_expr_v1alpha1_Decl *msg)
Definition: checked.upb.h:574
UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType * google_api_expr_v1alpha1_Type_FunctionType_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: checked.upb.h:460
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl * google_api_expr_v1alpha1_Decl_FunctionDecl_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: checked.upb.h:670
UPB_INLINE struct google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Decl_IdentDecl_mutable_type(google_api_expr_v1alpha1_Decl_IdentDecl *msg, upb_arena *arena)
Definition: checked.upb.h:634
UPB_INLINE int32_t google_api_expr_v1alpha1_Type_primitive(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:236
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_has_type_map(const google_api_expr_v1alpha1_CheckedExpr *msg)
Definition: checked.upb.h:113
const upb_msglayout google_api_expr_v1alpha1_Type_msginit
Definition: checked.upb.c:93
google_api_expr_v1alpha1_Type_type_kind_oneofcases
Definition: checked.upb.h:213
@ google_api_expr_v1alpha1_Type_type_kind_primitive
Definition: checked.upb.h:216
@ google_api_expr_v1alpha1_Type_type_kind_list_type
Definition: checked.upb.h:219
@ google_api_expr_v1alpha1_Type_type_kind_null
Definition: checked.upb.h:215
@ google_api_expr_v1alpha1_Type_type_kind_type_param
Definition: checked.upb.h:223
@ google_api_expr_v1alpha1_Type_type_kind_message_type
Definition: checked.upb.h:222
@ google_api_expr_v1alpha1_Type_type_kind_map_type
Definition: checked.upb.h:220
@ google_api_expr_v1alpha1_Type_type_kind_abstract_type
Definition: checked.upb.h:226
@ google_api_expr_v1alpha1_Type_type_kind_dyn
Definition: checked.upb.h:214
@ google_api_expr_v1alpha1_Type_type_kind_type
Definition: checked.upb.h:224
@ google_api_expr_v1alpha1_Type_type_kind_well_known
Definition: checked.upb.h:218
@ google_api_expr_v1alpha1_Type_type_kind_NOT_SET
Definition: checked.upb.h:227
@ google_api_expr_v1alpha1_Type_type_kind_error
Definition: checked.upb.h:225
@ google_api_expr_v1alpha1_Type_type_kind_wrapper
Definition: checked.upb.h:217
@ google_api_expr_v1alpha1_Type_type_kind_function
Definition: checked.upb.h:221
UPB_INLINE google_api_expr_v1alpha1_Type ** google_api_expr_v1alpha1_Type_FunctionType_resize_arg_types(google_api_expr_v1alpha1_Type_FunctionType *msg, size_t len, upb_arena *arena)
Definition: checked.upb.h:491
UPB_INLINE struct google_api_expr_v1alpha1_Constant * google_api_expr_v1alpha1_Reference_mutable_value(google_api_expr_v1alpha1_Reference *msg, upb_arena *arena)
Definition: checked.upb.h:814
struct google_api_expr_v1alpha1_Type_ListType google_api_expr_v1alpha1_Type_ListType
Definition: checked.upb.h:40
UPB_INLINE upb_strview const * google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_type_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, size_t *len)
Definition: checked.upb.h:720
UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType * google_api_expr_v1alpha1_Type_AbstractType_parse(const char *buf, size_t size, upb_arena *arena)
Definition: checked.upb.h:507
UPB_INLINE size_t google_api_expr_v1alpha1_CheckedExpr_reference_map_size(const google_api_expr_v1alpha1_CheckedExpr *msg)
Definition: checked.upb.h:110
UPB_INLINE void google_api_expr_v1alpha1_Type_set_primitive(google_api_expr_v1alpha1_Type *msg, int32_t value)
Definition: checked.upb.h:273
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_has_reference_map(const google_api_expr_v1alpha1_CheckedExpr *msg)
Definition: checked.upb.h:109
UPB_INLINE void google_api_expr_v1alpha1_Type_set_list_type(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type_ListType *value)
Definition: checked.upb.h:282
UPB_INLINE void google_api_expr_v1alpha1_Type_set_dyn(google_api_expr_v1alpha1_Type *msg, struct google_protobuf_Empty *value)
Definition: checked.upb.h:258
UPB_INLINE google_api_expr_v1alpha1_CheckedExpr * google_api_expr_v1alpha1_CheckedExpr_new(upb_arena *arena)
Definition: checked.upb.h:91
UPB_INLINE void google_api_expr_v1alpha1_Type_set_well_known(google_api_expr_v1alpha1_Type *msg, int32_t value)
Definition: checked.upb.h:279
UPB_INLINE void google_api_expr_v1alpha1_Type_MapType_set_key_type(google_api_expr_v1alpha1_Type_MapType *msg, google_api_expr_v1alpha1_Type *value)
Definition: checked.upb.h:423
const upb_msglayout google_api_expr_v1alpha1_Decl_msginit
Definition: checked.upb.c:169
UPB_INLINE int64_t google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_key(const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry *msg)
Definition: checked.upb.h:159
UPB_INLINE bool google_api_expr_v1alpha1_Type_MapType_has_key_type(const google_api_expr_v1alpha1_Type_MapType *msg)
Definition: checked.upb.h:418
struct google_api_expr_v1alpha1_CheckedExpr google_api_expr_v1alpha1_CheckedExpr
Definition: checked.upb.h:36
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl * google_api_expr_v1alpha1_Decl_FunctionDecl_parse(const char *buf, size_t size, upb_arena *arena)
Definition: checked.upb.h:665
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload * google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_new(upb_arena *arena)
Definition: checked.upb.h:699
UPB_INLINE struct google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_MapType_mutable_value_type(google_api_expr_v1alpha1_Type_MapType *msg, upb_arena *arena)
Definition: checked.upb.h:440
UPB_INLINE bool google_api_expr_v1alpha1_Decl_IdentDecl_has_type(const google_api_expr_v1alpha1_Decl_IdentDecl *msg)
Definition: checked.upb.h:624
UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_has_overloads(const google_api_expr_v1alpha1_Decl_FunctionDecl *msg)
Definition: checked.upb.h:680
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_wrapper(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:237
const upb_msglayout google_api_expr_v1alpha1_SourceInfo_msginit
Definition: syntax.upb.c:205
UPB_INLINE upb_strview google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_doc(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg)
Definition: checked.upb.h:724
UPB_INLINE google_api_expr_v1alpha1_CheckedExpr * google_api_expr_v1alpha1_CheckedExpr_parse(const char *buf, size_t size, upb_arena *arena)
Definition: checked.upb.h:94
UPB_INLINE int32_t google_api_expr_v1alpha1_Type_well_known(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:240
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_set_source_info(google_api_expr_v1alpha1_CheckedExpr *msg, struct google_api_expr_v1alpha1_SourceInfo *value)
Definition: checked.upb.h:143
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_result_type(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, google_api_expr_v1alpha1_Type *value)
Definition: checked.upb.h:752
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_message_type(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:247
UPB_INLINE const google_api_expr_v1alpha1_Reference * google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_value(const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry *msg)
Definition: checked.upb.h:165
UPB_INLINE bool google_api_expr_v1alpha1_Type_FunctionType_has_arg_types(const google_api_expr_v1alpha1_Type_FunctionType *msg)
Definition: checked.upb.h:472
UPB_INLINE google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry * google_api_expr_v1alpha1_CheckedExpr_type_map_nextmutable(google_api_expr_v1alpha1_CheckedExpr *msg, size_t *iter)
Definition: checked.upb.h:129
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_list_type(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:241
UPB_INLINE void google_api_expr_v1alpha1_Type_set_type(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type *value)
Definition: checked.upb.h:324
UPB_INLINE char * google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_serialize(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, upb_arena *arena, size_t *len)
Definition: checked.upb.h:713
UPB_INLINE struct google_protobuf_Empty * google_api_expr_v1alpha1_Type_mutable_error(google_api_expr_v1alpha1_Type *msg, upb_arena *arena)
Definition: checked.upb.h:339
UPB_INLINE bool google_api_expr_v1alpha1_Type_MapType_has_value_type(const google_api_expr_v1alpha1_Type_MapType *msg)
Definition: checked.upb.h:420
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload * google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_parse(const char *buf, size_t size, upb_arena *arena)
Definition: checked.upb.h:702
UPB_INLINE const google_api_expr_v1alpha1_Type_ListType * google_api_expr_v1alpha1_Type_list_type(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:242
struct google_api_expr_v1alpha1_Decl_FunctionDecl google_api_expr_v1alpha1_Decl_FunctionDecl
Definition: checked.upb.h:46
UPB_INLINE int64_t google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_key(const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry *msg)
Definition: checked.upb.h:177
UPB_INLINE const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry * google_api_expr_v1alpha1_CheckedExpr_reference_map_next(const google_api_expr_v1alpha1_CheckedExpr *msg, size_t *iter)
Definition: checked.upb.h:112
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_is_instance_function(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, bool value)
Definition: checked.upb.h:765
struct google_api_expr_v1alpha1_Type_MapType google_api_expr_v1alpha1_Type_MapType
Definition: checked.upb.h:41
UPB_INLINE struct google_api_expr_v1alpha1_Type_FunctionType * google_api_expr_v1alpha1_Type_mutable_function(google_api_expr_v1alpha1_Type *msg, upb_arena *arena)
Definition: checked.upb.h:309
UPB_INLINE const google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_MapType_key_type(const google_api_expr_v1alpha1_Type_MapType *msg)
Definition: checked.upb.h:419
UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_has_result_type(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg)
Definition: checked.upb.h:721
struct google_api_expr_v1alpha1_Type_AbstractType google_api_expr_v1alpha1_Type_AbstractType
Definition: checked.upb.h:43
UPB_INLINE struct google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_ListType_mutable_elem_type(google_api_expr_v1alpha1_Type_ListType *msg, upb_arena *arena)
Definition: checked.upb.h:388
UPB_INLINE struct google_api_expr_v1alpha1_Type_MapType * google_api_expr_v1alpha1_Type_mutable_map_type(google_api_expr_v1alpha1_Type *msg, upb_arena *arena)
Definition: checked.upb.h:297
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_reference_map_clear(google_api_expr_v1alpha1_CheckedExpr *msg)
Definition: checked.upb.h:122
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_well_known(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:239
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_type_param(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:249
UPB_INLINE struct google_protobuf_Empty * google_api_expr_v1alpha1_Type_mutable_dyn(google_api_expr_v1alpha1_Type *msg, upb_arena *arena)
Definition: checked.upb.h:261
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_reference_map_delete(google_api_expr_v1alpha1_CheckedExpr *msg, int64_t key)
Definition: checked.upb.h:124
struct google_api_expr_v1alpha1_Reference google_api_expr_v1alpha1_Reference
Definition: checked.upb.h:48
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload * google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: checked.upb.h:707
UPB_INLINE void google_api_expr_v1alpha1_Type_set_wrapper(google_api_expr_v1alpha1_Type *msg, int32_t value)
Definition: checked.upb.h:276
const upb_msglayout google_api_expr_v1alpha1_Decl_IdentDecl_msginit
Definition: checked.upb.c:186
UPB_INLINE upb_strview google_api_expr_v1alpha1_Decl_name(const google_api_expr_v1alpha1_Decl *msg)
Definition: checked.upb.h:570
UPB_INLINE const google_api_expr_v1alpha1_Type_FunctionType * google_api_expr_v1alpha1_Type_function(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:246
UPB_INLINE const google_api_expr_v1alpha1_Type_MapType * google_api_expr_v1alpha1_Type_map_type(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:244
UPB_INLINE char * google_api_expr_v1alpha1_CheckedExpr_serialize(const google_api_expr_v1alpha1_CheckedExpr *msg, upb_arena *arena, size_t *len)
Definition: checked.upb.h:105
const upb_msglayout google_api_expr_v1alpha1_Constant_msginit
Definition: syntax.upb.c:186
UPB_INLINE void google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_set_doc(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, upb_strview value)
Definition: checked.upb.h:768
UPB_INLINE google_api_expr_v1alpha1_Type ** google_api_expr_v1alpha1_Type_AbstractType_mutable_parameter_types(google_api_expr_v1alpha1_Type_AbstractType *msg, size_t *len)
Definition: checked.upb.h:529
UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType * google_api_expr_v1alpha1_Type_AbstractType_new(upb_arena *arena)
Definition: checked.upb.h:504
UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_set_doc(google_api_expr_v1alpha1_Decl_IdentDecl *msg, upb_strview value)
Definition: checked.upb.h:656
UPB_INLINE void google_api_expr_v1alpha1_Type_AbstractType_set_name(google_api_expr_v1alpha1_Type_AbstractType *msg, upb_strview value)
Definition: checked.upb.h:526
UPB_INLINE struct google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_mutable_result_type(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, upb_arena *arena)
Definition: checked.upb.h:756
UPB_INLINE const google_api_expr_v1alpha1_Type *const * google_api_expr_v1alpha1_Type_AbstractType_parameter_types(const google_api_expr_v1alpha1_Type_AbstractType *msg, size_t *len)
Definition: checked.upb.h:524
UPB_INLINE const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *const * google_api_expr_v1alpha1_Decl_FunctionDecl_overloads(const google_api_expr_v1alpha1_Decl_FunctionDecl *msg, size_t *len)
Definition: checked.upb.h:681
UPB_INLINE struct google_api_expr_v1alpha1_Type_AbstractType * google_api_expr_v1alpha1_Type_mutable_abstract_type(google_api_expr_v1alpha1_Type *msg, upb_arena *arena)
Definition: checked.upb.h:351
UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_set_value(google_api_expr_v1alpha1_Decl_IdentDecl *msg, struct google_api_expr_v1alpha1_Constant *value)
Definition: checked.upb.h:643
UPB_INLINE void google_api_expr_v1alpha1_Type_FunctionType_set_result_type(google_api_expr_v1alpha1_Type_FunctionType *msg, google_api_expr_v1alpha1_Type *value)
Definition: checked.upb.h:475
UPB_INLINE const google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_FunctionType_result_type(const google_api_expr_v1alpha1_Type_FunctionType *msg)
Definition: checked.upb.h:471
UPB_INLINE upb_strview * google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_resize_type_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, size_t len, upb_arena *arena)
Definition: checked.upb.h:745
UPB_INLINE char * google_api_expr_v1alpha1_Type_serialize(const google_api_expr_v1alpha1_Type *msg, upb_arena *arena, size_t *len)
Definition: checked.upb.h:209
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_set_value(google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry *msg, google_api_expr_v1alpha1_Type *value)
Definition: checked.upb.h:189
UPB_INLINE void google_api_expr_v1alpha1_Type_set_message_type(google_api_expr_v1alpha1_Type *msg, upb_strview value)
Definition: checked.upb.h:318
UPB_INLINE upb_strview google_api_expr_v1alpha1_Type_AbstractType_name(const google_api_expr_v1alpha1_Type_AbstractType *msg)
Definition: checked.upb.h:522
UPB_INLINE google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry * google_api_expr_v1alpha1_CheckedExpr_reference_map_nextmutable(google_api_expr_v1alpha1_CheckedExpr *msg, size_t *iter)
Definition: checked.upb.h:125
UPB_INLINE bool google_api_expr_v1alpha1_Type_FunctionType_has_result_type(const google_api_expr_v1alpha1_Type_FunctionType *msg)
Definition: checked.upb.h:470
UPB_INLINE upb_strview google_api_expr_v1alpha1_Type_message_type(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:248
UPB_INLINE const google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_MapType_value_type(const google_api_expr_v1alpha1_Type_MapType *msg)
Definition: checked.upb.h:421
UPB_INLINE const struct google_protobuf_Empty * google_api_expr_v1alpha1_Type_error(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:254
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_primitive(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:235
UPB_INLINE bool google_api_expr_v1alpha1_Type_AbstractType_has_parameter_types(const google_api_expr_v1alpha1_Type_AbstractType *msg)
Definition: checked.upb.h:523
const upb_msglayout google_api_expr_v1alpha1_CheckedExpr_msginit
Definition: checked.upb.c:32
const upb_msglayout google_api_expr_v1alpha1_Decl_FunctionDecl_msginit
Definition: checked.upb.c:200
UPB_INLINE google_api_expr_v1alpha1_Type ** google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_resize_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, size_t len, upb_arena *arena)
Definition: checked.upb.h:732
UPB_INLINE google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_new(upb_arena *arena)
Definition: checked.upb.h:195
UPB_INLINE struct google_api_expr_v1alpha1_Expr * google_api_expr_v1alpha1_CheckedExpr_mutable_expr(google_api_expr_v1alpha1_CheckedExpr *msg, upb_arena *arena)
Definition: checked.upb.h:134
UPB_INLINE upb_strview * google_api_expr_v1alpha1_Reference_resize_overload_id(google_api_expr_v1alpha1_Reference *msg, size_t len, upb_arena *arena)
Definition: checked.upb.h:803
UPB_INLINE upb_strview * google_api_expr_v1alpha1_Reference_mutable_overload_id(google_api_expr_v1alpha1_Reference *msg, size_t *len)
Definition: checked.upb.h:800
UPB_INLINE const google_api_expr_v1alpha1_Decl_IdentDecl * google_api_expr_v1alpha1_Decl_ident(const google_api_expr_v1alpha1_Decl *msg)
Definition: checked.upb.h:572
UPB_INLINE const struct google_api_expr_v1alpha1_Expr * google_api_expr_v1alpha1_CheckedExpr_expr(const google_api_expr_v1alpha1_CheckedExpr *msg)
Definition: checked.upb.h:118
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_reference_map_get(const google_api_expr_v1alpha1_CheckedExpr *msg, int64_t key, google_api_expr_v1alpha1_Reference **val)
Definition: checked.upb.h:111
UPB_INLINE bool google_api_expr_v1alpha1_Reference_add_overload_id(google_api_expr_v1alpha1_Reference *msg, upb_strview val, upb_arena *arena)
Definition: checked.upb.h:806
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_function(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:245
UPB_INLINE char * google_api_expr_v1alpha1_Type_AbstractType_serialize(const google_api_expr_v1alpha1_Type_AbstractType *msg, upb_arena *arena, size_t *len)
Definition: checked.upb.h:518
UPB_INLINE struct google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_FunctionType_mutable_result_type(google_api_expr_v1alpha1_Type_FunctionType *msg, upb_arena *arena)
Definition: checked.upb.h:479
UPB_INLINE upb_strview google_api_expr_v1alpha1_Type_type_param(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:250
UPB_INLINE char * google_api_expr_v1alpha1_Decl_FunctionDecl_serialize(const google_api_expr_v1alpha1_Decl_FunctionDecl *msg, upb_arena *arena, size_t *len)
Definition: checked.upb.h:676
UPB_INLINE upb_strview google_api_expr_v1alpha1_Decl_IdentDecl_doc(const google_api_expr_v1alpha1_Decl_IdentDecl *msg)
Definition: checked.upb.h:628
UPB_INLINE char * google_api_expr_v1alpha1_Type_ListType_serialize(const google_api_expr_v1alpha1_Type_ListType *msg, upb_arena *arena, size_t *len)
Definition: checked.upb.h:377
UPB_INLINE const google_api_expr_v1alpha1_Type *const * google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, size_t *len)
Definition: checked.upb.h:719
const upb_msglayout google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msginit
Definition: checked.upb.c:219
UPB_INLINE bool google_api_expr_v1alpha1_Decl_IdentDecl_has_value(const google_api_expr_v1alpha1_Decl_IdentDecl *msg)
Definition: checked.upb.h:626
UPB_INLINE const struct google_api_expr_v1alpha1_Constant * google_api_expr_v1alpha1_Reference_value(const google_api_expr_v1alpha1_Reference *msg)
Definition: checked.upb.h:795
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl * google_api_expr_v1alpha1_Decl_FunctionDecl_new(upb_arena *arena)
Definition: checked.upb.h:662
struct google_api_expr_v1alpha1_Decl_IdentDecl google_api_expr_v1alpha1_Decl_IdentDecl
Definition: checked.upb.h:45
UPB_INLINE bool google_api_expr_v1alpha1_Decl_has_ident(const google_api_expr_v1alpha1_Decl *msg)
Definition: checked.upb.h:571
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_set_expr(google_api_expr_v1alpha1_CheckedExpr *msg, struct google_api_expr_v1alpha1_Expr *value)
Definition: checked.upb.h:130
UPB_INLINE int32_t google_api_expr_v1alpha1_Type_null(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:234
const upb_msglayout google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_msginit
Definition: checked.upb.c:62
UPB_INLINE google_api_expr_v1alpha1_Reference * google_api_expr_v1alpha1_Reference_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: checked.upb.h:782
UPB_INLINE upb_strview google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_overload_id(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg)
Definition: checked.upb.h:717
UPB_INLINE void google_api_expr_v1alpha1_Decl_IdentDecl_set_type(google_api_expr_v1alpha1_Decl_IdentDecl *msg, google_api_expr_v1alpha1_Type *value)
Definition: checked.upb.h:630
struct google_api_expr_v1alpha1_Type_FunctionType google_api_expr_v1alpha1_Type_FunctionType
Definition: checked.upb.h:42
UPB_INLINE struct google_api_expr_v1alpha1_Constant * google_api_expr_v1alpha1_Decl_IdentDecl_mutable_value(google_api_expr_v1alpha1_Decl_IdentDecl *msg, upb_arena *arena)
Definition: checked.upb.h:647
UPB_INLINE google_api_expr_v1alpha1_Type_AbstractType * google_api_expr_v1alpha1_Type_AbstractType_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: checked.upb.h:512
UPB_INLINE const struct google_protobuf_Empty * google_api_expr_v1alpha1_Type_dyn(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:232
UPB_INLINE google_api_expr_v1alpha1_Reference * google_api_expr_v1alpha1_Reference_parse(const char *buf, size_t size, upb_arena *arena)
Definition: checked.upb.h:777
UPB_INLINE google_api_expr_v1alpha1_Type_ListType * google_api_expr_v1alpha1_Type_ListType_parse(const char *buf, size_t size, upb_arena *arena)
Definition: checked.upb.h:366
UPB_INLINE const google_api_expr_v1alpha1_Type *const * google_api_expr_v1alpha1_Type_FunctionType_arg_types(const google_api_expr_v1alpha1_Type_FunctionType *msg, size_t *len)
Definition: checked.upb.h:473
UPB_INLINE char * google_api_expr_v1alpha1_Reference_serialize(const google_api_expr_v1alpha1_Reference *msg, upb_arena *arena, size_t *len)
Definition: checked.upb.h:788
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_type(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:251
UPB_INLINE google_api_expr_v1alpha1_Type ** google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_mutable_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, size_t *len)
Definition: checked.upb.h:729
UPB_INLINE char * google_api_expr_v1alpha1_Decl_serialize(const google_api_expr_v1alpha1_Decl *msg, upb_arena *arena, size_t *len)
Definition: checked.upb.h:559
google_api_expr_v1alpha1_Type_WellKnownType
Definition: checked.upb.h:81
@ google_api_expr_v1alpha1_Type_DURATION
Definition: checked.upb.h:85
@ google_api_expr_v1alpha1_Type_WELL_KNOWN_TYPE_UNSPECIFIED
Definition: checked.upb.h:82
@ google_api_expr_v1alpha1_Type_ANY
Definition: checked.upb.h:83
@ google_api_expr_v1alpha1_Type_TIMESTAMP
Definition: checked.upb.h:84
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_has_source_info(const google_api_expr_v1alpha1_CheckedExpr *msg)
Definition: checked.upb.h:119
UPB_INLINE const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry * google_api_expr_v1alpha1_CheckedExpr_type_map_next(const google_api_expr_v1alpha1_CheckedExpr *msg, size_t *iter)
Definition: checked.upb.h:116
UPB_INLINE int32_t google_api_expr_v1alpha1_Type_wrapper(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:238
const upb_msglayout google_api_expr_v1alpha1_Type_MapType_msginit
Definition: checked.upb.c:122
UPB_INLINE google_api_expr_v1alpha1_Type ** google_api_expr_v1alpha1_Type_AbstractType_resize_parameter_types(google_api_expr_v1alpha1_Type_AbstractType *msg, size_t len, upb_arena *arena)
Definition: checked.upb.h:532
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_reference_map_set(google_api_expr_v1alpha1_CheckedExpr *msg, int64_t key, google_api_expr_v1alpha1_Reference *val, upb_arena *a)
Definition: checked.upb.h:123
UPB_INLINE struct google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_AbstractType_add_parameter_types(google_api_expr_v1alpha1_Type_AbstractType *msg, upb_arena *arena)
Definition: checked.upb.h:535
UPB_INLINE const google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_value(const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry *msg)
Definition: checked.upb.h:183
UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_add_type_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, upb_strview val, upb_arena *arena)
Definition: checked.upb.h:748
UPB_INLINE google_api_expr_v1alpha1_Type_ListType * google_api_expr_v1alpha1_Type_ListType_new(upb_arena *arena)
Definition: checked.upb.h:363
UPB_INLINE const struct google_api_expr_v1alpha1_Constant * google_api_expr_v1alpha1_Decl_IdentDecl_value(const google_api_expr_v1alpha1_Decl_IdentDecl *msg)
Definition: checked.upb.h:627
UPB_INLINE const google_api_expr_v1alpha1_Type_AbstractType * google_api_expr_v1alpha1_Type_abstract_type(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:256
UPB_INLINE google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: checked.upb.h:203
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_has_value(const google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry *msg)
Definition: checked.upb.h:182
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_error(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:253
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_has_value(const google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry *msg)
Definition: checked.upb.h:164
UPB_INLINE char * google_api_expr_v1alpha1_Decl_IdentDecl_serialize(const google_api_expr_v1alpha1_Decl_IdentDecl *msg, upb_arena *arena, size_t *len)
Definition: checked.upb.h:620
UPB_INLINE void google_api_expr_v1alpha1_Reference_set_value(google_api_expr_v1alpha1_Reference *msg, struct google_api_expr_v1alpha1_Constant *value)
Definition: checked.upb.h:810
UPB_INLINE void google_api_expr_v1alpha1_Type_set_type_param(google_api_expr_v1alpha1_Type *msg, upb_strview value)
Definition: checked.upb.h:321
UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl * google_api_expr_v1alpha1_Decl_IdentDecl_parse(const char *buf, size_t size, upb_arena *arena)
Definition: checked.upb.h:609
UPB_INLINE void google_api_expr_v1alpha1_Decl_set_function(google_api_expr_v1alpha1_Decl *msg, google_api_expr_v1alpha1_Decl_FunctionDecl *value)
Definition: checked.upb.h:591
UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl * google_api_expr_v1alpha1_Decl_IdentDecl_new(upb_arena *arena)
Definition: checked.upb.h:606
UPB_INLINE void google_api_expr_v1alpha1_Type_set_map_type(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type_MapType *value)
Definition: checked.upb.h:294
UPB_INLINE google_api_expr_v1alpha1_CheckedExpr * google_api_expr_v1alpha1_CheckedExpr_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: checked.upb.h:99
UPB_INLINE struct google_api_expr_v1alpha1_Type_ListType * google_api_expr_v1alpha1_Type_mutable_list_type(google_api_expr_v1alpha1_Type *msg, upb_arena *arena)
Definition: checked.upb.h:285
UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_is_instance_function(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg)
Definition: checked.upb.h:723
UPB_INLINE struct google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_FunctionType_add_arg_types(google_api_expr_v1alpha1_Type_FunctionType *msg, upb_arena *arena)
Definition: checked.upb.h:494
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload ** google_api_expr_v1alpha1_Decl_FunctionDecl_resize_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl *msg, size_t len, upb_arena *arena)
Definition: checked.upb.h:686
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_type_map_delete(google_api_expr_v1alpha1_CheckedExpr *msg, int64_t key)
Definition: checked.upb.h:128
UPB_INLINE void google_api_expr_v1alpha1_Decl_set_ident(google_api_expr_v1alpha1_Decl *msg, google_api_expr_v1alpha1_Decl_IdentDecl *value)
Definition: checked.upb.h:579
UPB_INLINE const google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Decl_IdentDecl_type(const google_api_expr_v1alpha1_Decl_IdentDecl *msg)
Definition: checked.upb.h:625
struct google_api_expr_v1alpha1_Decl google_api_expr_v1alpha1_Decl
Definition: checked.upb.h:44
UPB_INLINE void google_api_expr_v1alpha1_Reference_set_name(google_api_expr_v1alpha1_Reference *msg, upb_strview value)
Definition: checked.upb.h:797
struct google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry
Definition: checked.upb.h:37
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_null(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:233
UPB_INLINE bool google_api_expr_v1alpha1_Reference_has_value(const google_api_expr_v1alpha1_Reference *msg)
Definition: checked.upb.h:794
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_set_value(google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry *msg, google_api_expr_v1alpha1_Reference *value)
Definition: checked.upb.h:171
const upb_msglayout google_api_expr_v1alpha1_Type_FunctionType_msginit
Definition: checked.upb.c:137
google_api_expr_v1alpha1_Type_PrimitiveType
Definition: checked.upb.h:71
@ google_api_expr_v1alpha1_Type_BOOL
Definition: checked.upb.h:73
@ google_api_expr_v1alpha1_Type_STRING
Definition: checked.upb.h:77
@ google_api_expr_v1alpha1_Type_UINT64
Definition: checked.upb.h:75
@ google_api_expr_v1alpha1_Type_BYTES
Definition: checked.upb.h:78
@ google_api_expr_v1alpha1_Type_INT64
Definition: checked.upb.h:74
@ google_api_expr_v1alpha1_Type_DOUBLE
Definition: checked.upb.h:76
@ google_api_expr_v1alpha1_Type_PRIMITIVE_TYPE_UNSPECIFIED
Definition: checked.upb.h:72
UPB_INLINE const google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_ListType_elem_type(const google_api_expr_v1alpha1_Type_ListType *msg)
Definition: checked.upb.h:382
UPB_INLINE void google_api_expr_v1alpha1_Decl_set_name(google_api_expr_v1alpha1_Decl *msg, upb_strview value)
Definition: checked.upb.h:576
UPB_INLINE google_api_expr_v1alpha1_Decl_FunctionDecl_Overload ** google_api_expr_v1alpha1_Decl_FunctionDecl_mutable_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl *msg, size_t *len)
Definition: checked.upb.h:683
UPB_INLINE bool google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_has_params(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg)
Definition: checked.upb.h:718
UPB_INLINE google_api_expr_v1alpha1_Type_MapType * google_api_expr_v1alpha1_Type_MapType_parse(const char *buf, size_t size, upb_arena *arena)
Definition: checked.upb.h:403
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_abstract_type(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:255
UPB_INLINE const google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_type(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:252
UPB_INLINE google_api_expr_v1alpha1_Decl_IdentDecl * google_api_expr_v1alpha1_Decl_IdentDecl_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: checked.upb.h:614
UPB_INLINE struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload * google_api_expr_v1alpha1_Decl_FunctionDecl_add_overloads(google_api_expr_v1alpha1_Decl_FunctionDecl *msg, upb_arena *arena)
Definition: checked.upb.h:689
UPB_INLINE google_api_expr_v1alpha1_Decl * google_api_expr_v1alpha1_Decl_new(upb_arena *arena)
Definition: checked.upb.h:545
UPB_INLINE struct google_api_expr_v1alpha1_SourceInfo * google_api_expr_v1alpha1_CheckedExpr_mutable_source_info(google_api_expr_v1alpha1_CheckedExpr *msg, upb_arena *arena)
Definition: checked.upb.h:147
UPB_INLINE char * google_api_expr_v1alpha1_Type_MapType_serialize(const google_api_expr_v1alpha1_Type_MapType *msg, upb_arena *arena, size_t *len)
Definition: checked.upb.h:414
UPB_INLINE google_api_expr_v1alpha1_Type_MapType * google_api_expr_v1alpha1_Type_MapType_new(upb_arena *arena)
Definition: checked.upb.h:400
UPB_INLINE upb_strview google_api_expr_v1alpha1_Reference_name(const google_api_expr_v1alpha1_Reference *msg)
Definition: checked.upb.h:792
UPB_INLINE bool google_api_expr_v1alpha1_Decl_has_function(const google_api_expr_v1alpha1_Decl *msg)
Definition: checked.upb.h:573
UPB_INLINE char * google_api_expr_v1alpha1_Type_FunctionType_serialize(const google_api_expr_v1alpha1_Type_FunctionType *msg, upb_arena *arena, size_t *len)
Definition: checked.upb.h:466
UPB_INLINE google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_parse(const char *buf, size_t size, upb_arena *arena)
Definition: checked.upb.h:198
UPB_INLINE struct google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Type_MapType_mutable_key_type(google_api_expr_v1alpha1_Type_MapType *msg, upb_arena *arena)
Definition: checked.upb.h:427
const upb_msglayout google_api_expr_v1alpha1_Expr_msginit
Definition: syntax.upb.c:55
UPB_INLINE const google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_result_type(const google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg)
Definition: checked.upb.h:722
UPB_INLINE void google_api_expr_v1alpha1_Type_set_null(google_api_expr_v1alpha1_Type *msg, int32_t value)
Definition: checked.upb.h:270
UPB_INLINE bool google_api_expr_v1alpha1_Type_ListType_has_elem_type(const google_api_expr_v1alpha1_Type_ListType *msg)
Definition: checked.upb.h:381
UPB_INLINE const struct google_api_expr_v1alpha1_SourceInfo * google_api_expr_v1alpha1_CheckedExpr_source_info(const google_api_expr_v1alpha1_CheckedExpr *msg)
Definition: checked.upb.h:120
google_api_expr_v1alpha1_Decl_decl_kind_oneofcases
Definition: checked.upb.h:563
@ google_api_expr_v1alpha1_Decl_decl_kind_NOT_SET
Definition: checked.upb.h:566
@ google_api_expr_v1alpha1_Decl_decl_kind_ident
Definition: checked.upb.h:564
@ google_api_expr_v1alpha1_Decl_decl_kind_function
Definition: checked.upb.h:565
const upb_msglayout google_api_expr_v1alpha1_Type_ListType_msginit
Definition: checked.upb.c:107
UPB_INLINE google_api_expr_v1alpha1_Type_MapType * google_api_expr_v1alpha1_Type_MapType_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: checked.upb.h:408
UPB_INLINE google_api_expr_v1alpha1_Type_ListType * google_api_expr_v1alpha1_Type_ListType_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: checked.upb.h:371
struct google_api_expr_v1alpha1_Decl_FunctionDecl_Overload google_api_expr_v1alpha1_Decl_FunctionDecl_Overload
Definition: checked.upb.h:47
UPB_INLINE struct google_api_expr_v1alpha1_Type * google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_add_params(google_api_expr_v1alpha1_Decl_FunctionDecl_Overload *msg, upb_arena *arena)
Definition: checked.upb.h:735
UPB_INLINE struct google_api_expr_v1alpha1_Decl_FunctionDecl * google_api_expr_v1alpha1_Decl_mutable_function(google_api_expr_v1alpha1_Decl *msg, upb_arena *arena)
Definition: checked.upb.h:594
const upb_msglayout google_protobuf_Empty_msginit
Definition: empty.upb.c:15
UPB_INLINE google_api_expr_v1alpha1_Decl * google_api_expr_v1alpha1_Decl_parse(const char *buf, size_t size, upb_arena *arena)
Definition: checked.upb.h:548
UPB_INLINE void google_api_expr_v1alpha1_CheckedExpr_type_map_clear(google_api_expr_v1alpha1_CheckedExpr *msg)
Definition: checked.upb.h:126
UPB_INLINE void google_api_expr_v1alpha1_Type_set_abstract_type(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type_AbstractType *value)
Definition: checked.upb.h:348
UPB_INLINE google_api_expr_v1alpha1_Decl * google_api_expr_v1alpha1_Decl_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: checked.upb.h:553
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_type_map_get(const google_api_expr_v1alpha1_CheckedExpr *msg, int64_t key, google_api_expr_v1alpha1_Type **val)
Definition: checked.upb.h:115
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_dyn(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:231
UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType * google_api_expr_v1alpha1_Type_FunctionType_new(upb_arena *arena)
Definition: checked.upb.h:452
UPB_INLINE void google_api_expr_v1alpha1_Type_set_function(google_api_expr_v1alpha1_Type *msg, google_api_expr_v1alpha1_Type_FunctionType *value)
Definition: checked.upb.h:306
UPB_INLINE bool google_api_expr_v1alpha1_CheckedExpr_has_expr(const google_api_expr_v1alpha1_CheckedExpr *msg)
Definition: checked.upb.h:117
UPB_INLINE google_api_expr_v1alpha1_Decl_decl_kind_oneofcases google_api_expr_v1alpha1_Decl_decl_kind_case(const google_api_expr_v1alpha1_Decl *msg)
Definition: checked.upb.h:568
UPB_INLINE upb_strview const * google_api_expr_v1alpha1_Reference_overload_id(const google_api_expr_v1alpha1_Reference *msg, size_t *len)
Definition: checked.upb.h:793
UPB_INLINE void google_api_expr_v1alpha1_Type_set_error(google_api_expr_v1alpha1_Type *msg, struct google_protobuf_Empty *value)
Definition: checked.upb.h:336
const upb_msglayout google_api_expr_v1alpha1_Type_AbstractType_msginit
Definition: checked.upb.c:152
UPB_INLINE bool google_api_expr_v1alpha1_Type_has_map_type(const google_api_expr_v1alpha1_Type *msg)
Definition: checked.upb.h:243
struct google_api_expr_v1alpha1_Type google_api_expr_v1alpha1_Type
Definition: checked.upb.h:39
UPB_INLINE google_api_expr_v1alpha1_Type_FunctionType * google_api_expr_v1alpha1_Type_FunctionType_parse(const char *buf, size_t size, upb_arena *arena)
Definition: checked.upb.h:455
struct google_protobuf_Empty google_protobuf_Empty
Definition: empty.upb.h:24
struct google_api_expr_v1alpha1_Constant google_api_expr_v1alpha1_Constant
Definition: syntax.upb.h:46
struct google_api_expr_v1alpha1_SourceInfo google_api_expr_v1alpha1_SourceInfo
Definition: syntax.upb.h:47
struct google_api_expr_v1alpha1_Expr google_api_expr_v1alpha1_Expr
Definition: syntax.upb.h:38
upb_arena * arena
Definition: xds_api.cc:909