GRPC Core  18.0.0
rbac.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  * envoy/config/rbac/v3/rbac.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPB_H_
10 #define ENVOY_CONFIG_RBAC_V3_RBAC_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 
39 extern const upb_msglayout envoy_config_rbac_v3_RBAC_msginit;
40 extern const upb_msglayout envoy_config_rbac_v3_RBAC_PoliciesEntry_msginit;
41 extern const upb_msglayout envoy_config_rbac_v3_Policy_msginit;
42 extern const upb_msglayout envoy_config_rbac_v3_Permission_msginit;
43 extern const upb_msglayout envoy_config_rbac_v3_Permission_Set_msginit;
44 extern const upb_msglayout envoy_config_rbac_v3_Principal_msginit;
45 extern const upb_msglayout envoy_config_rbac_v3_Principal_Set_msginit;
54 extern const upb_msglayout envoy_config_core_v3_CidrRange_msginit;
55 extern const upb_msglayout envoy_config_route_v3_HeaderMatcher_msginit;
56 extern const upb_msglayout envoy_type_matcher_v3_MetadataMatcher_msginit;
57 extern const upb_msglayout envoy_type_matcher_v3_PathMatcher_msginit;
58 extern const upb_msglayout envoy_type_matcher_v3_StringMatcher_msginit;
59 extern const upb_msglayout google_api_expr_v1alpha1_CheckedExpr_msginit;
60 extern const upb_msglayout google_api_expr_v1alpha1_Expr_msginit;
61 
62 typedef enum {
67 
68 
69 /* envoy.config.rbac.v3.RBAC */
70 
73 }
74 UPB_INLINE envoy_config_rbac_v3_RBAC *envoy_config_rbac_v3_RBAC_parse(const char *buf, size_t size,
75  upb_arena *arena) {
77  return (ret && upb_decode(buf, size, ret, &envoy_config_rbac_v3_RBAC_msginit, arena)) ? ret : NULL;
78 }
79 UPB_INLINE envoy_config_rbac_v3_RBAC *envoy_config_rbac_v3_RBAC_parse_ex(const char *buf, size_t size,
80  upb_arena *arena, int options) {
82  return (ret && _upb_decode(buf, size, ret, &envoy_config_rbac_v3_RBAC_msginit, arena, options))
83  ? ret : NULL;
84 }
85 UPB_INLINE char *envoy_config_rbac_v3_RBAC_serialize(const envoy_config_rbac_v3_RBAC *msg, upb_arena *arena, size_t *len) {
86  return upb_encode(msg, &envoy_config_rbac_v3_RBAC_msginit, arena, len);
87 }
88 
89 UPB_INLINE int32_t envoy_config_rbac_v3_RBAC_action(const envoy_config_rbac_v3_RBAC *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), int32_t); }
90 UPB_INLINE bool envoy_config_rbac_v3_RBAC_has_policies(const envoy_config_rbac_v3_RBAC *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(4, 8)); }
91 UPB_INLINE size_t envoy_config_rbac_v3_RBAC_policies_size(const envoy_config_rbac_v3_RBAC *msg) {return _upb_msg_map_size(msg, UPB_SIZE(4, 8)); }
92 UPB_INLINE bool envoy_config_rbac_v3_RBAC_policies_get(const envoy_config_rbac_v3_RBAC *msg, upb_strview key, envoy_config_rbac_v3_Policy* *val) { return _upb_msg_map_get(msg, UPB_SIZE(4, 8), &key, 0, val, sizeof(*val)); }
93 UPB_INLINE const envoy_config_rbac_v3_RBAC_PoliciesEntry* envoy_config_rbac_v3_RBAC_policies_next(const envoy_config_rbac_v3_RBAC *msg, size_t* iter) { return (const envoy_config_rbac_v3_RBAC_PoliciesEntry*)_upb_msg_map_next(msg, UPB_SIZE(4, 8), iter); }
94 
96  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), int32_t) = value;
97 }
98 UPB_INLINE void envoy_config_rbac_v3_RBAC_policies_clear(envoy_config_rbac_v3_RBAC *msg) { _upb_msg_map_clear(msg, UPB_SIZE(4, 8)); }
99 UPB_INLINE bool envoy_config_rbac_v3_RBAC_policies_set(envoy_config_rbac_v3_RBAC *msg, upb_strview key, envoy_config_rbac_v3_Policy* val, upb_arena *a) { return _upb_msg_map_set(msg, UPB_SIZE(4, 8), &key, 0, &val, sizeof(val), a); }
100 UPB_INLINE bool envoy_config_rbac_v3_RBAC_policies_delete(envoy_config_rbac_v3_RBAC *msg, upb_strview key) { return _upb_msg_map_delete(msg, UPB_SIZE(4, 8), &key, 0); }
102 
103 /* envoy.config.rbac.v3.RBAC.PoliciesEntry */
104 
106  upb_strview ret;
107  _upb_msg_map_key(msg, &ret, 0);
108  return ret;
109 }
110 UPB_INLINE bool envoy_config_rbac_v3_RBAC_PoliciesEntry_has_value(const envoy_config_rbac_v3_RBAC_PoliciesEntry *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 16)); }
113  _upb_msg_map_value(msg, &ret, sizeof(ret));
114  return ret;
115 }
116 
118  _upb_msg_map_set_value(msg, &value, sizeof(envoy_config_rbac_v3_Policy*));
119 }
120 
121 /* envoy.config.rbac.v3.Policy */
122 
125 }
126 UPB_INLINE envoy_config_rbac_v3_Policy *envoy_config_rbac_v3_Policy_parse(const char *buf, size_t size,
127  upb_arena *arena) {
129  return (ret && upb_decode(buf, size, ret, &envoy_config_rbac_v3_Policy_msginit, arena)) ? ret : NULL;
130 }
131 UPB_INLINE envoy_config_rbac_v3_Policy *envoy_config_rbac_v3_Policy_parse_ex(const char *buf, size_t size,
132  upb_arena *arena, int options) {
134  return (ret && _upb_decode(buf, size, ret, &envoy_config_rbac_v3_Policy_msginit, arena, options))
135  ? ret : NULL;
136 }
137 UPB_INLINE char *envoy_config_rbac_v3_Policy_serialize(const envoy_config_rbac_v3_Policy *msg, upb_arena *arena, size_t *len) {
138  return upb_encode(msg, &envoy_config_rbac_v3_Policy_msginit, arena, len);
139 }
140 
141 UPB_INLINE bool envoy_config_rbac_v3_Policy_has_permissions(const envoy_config_rbac_v3_Policy *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(12, 24)); }
142 UPB_INLINE const envoy_config_rbac_v3_Permission* const* envoy_config_rbac_v3_Policy_permissions(const envoy_config_rbac_v3_Policy *msg, size_t *len) { return (const envoy_config_rbac_v3_Permission* const*)_upb_array_accessor(msg, UPB_SIZE(12, 24), len); }
143 UPB_INLINE bool envoy_config_rbac_v3_Policy_has_principals(const envoy_config_rbac_v3_Policy *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(16, 32)); }
144 UPB_INLINE const envoy_config_rbac_v3_Principal* const* envoy_config_rbac_v3_Policy_principals(const envoy_config_rbac_v3_Policy *msg, size_t *len) { return (const envoy_config_rbac_v3_Principal* const*)_upb_array_accessor(msg, UPB_SIZE(16, 32), len); }
145 UPB_INLINE bool envoy_config_rbac_v3_Policy_has_condition(const envoy_config_rbac_v3_Policy *msg) { return _upb_hasbit(msg, 1); }
146 UPB_INLINE const struct google_api_expr_v1alpha1_Expr* envoy_config_rbac_v3_Policy_condition(const envoy_config_rbac_v3_Policy *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), const struct google_api_expr_v1alpha1_Expr*); }
147 UPB_INLINE bool envoy_config_rbac_v3_Policy_has_checked_condition(const envoy_config_rbac_v3_Policy *msg) { return _upb_hasbit(msg, 2); }
148 UPB_INLINE const struct google_api_expr_v1alpha1_CheckedExpr* envoy_config_rbac_v3_Policy_checked_condition(const envoy_config_rbac_v3_Policy *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 16), const struct google_api_expr_v1alpha1_CheckedExpr*); }
149 
151  return (envoy_config_rbac_v3_Permission**)_upb_array_mutable_accessor(msg, UPB_SIZE(12, 24), len);
152 }
154  return (envoy_config_rbac_v3_Permission**)_upb_array_resize_accessor2(msg, UPB_SIZE(12, 24), len, UPB_SIZE(2, 3), arena);
155 }
158  bool ok = _upb_array_append_accessor2(
159  msg, UPB_SIZE(12, 24), UPB_SIZE(2, 3), &sub, arena);
160  if (!ok) return NULL;
161  return sub;
162 }
164  return (envoy_config_rbac_v3_Principal**)_upb_array_mutable_accessor(msg, UPB_SIZE(16, 32), len);
165 }
167  return (envoy_config_rbac_v3_Principal**)_upb_array_resize_accessor2(msg, UPB_SIZE(16, 32), len, UPB_SIZE(2, 3), arena);
168 }
171  bool ok = _upb_array_append_accessor2(
172  msg, UPB_SIZE(16, 32), UPB_SIZE(2, 3), &sub, arena);
173  if (!ok) return NULL;
174  return sub;
175 }
177  _upb_sethas(msg, 1);
178  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), struct google_api_expr_v1alpha1_Expr*) = value;
179 }
182  if (sub == NULL) {
184  if (!sub) return NULL;
186  }
187  return sub;
188 }
190  _upb_sethas(msg, 2);
191  *UPB_PTR_AT(msg, UPB_SIZE(8, 16), struct google_api_expr_v1alpha1_CheckedExpr*) = value;
192 }
195  if (sub == NULL) {
197  if (!sub) return NULL;
199  }
200  return sub;
201 }
202 
203 /* envoy.config.rbac.v3.Permission */
204 
207 }
209  upb_arena *arena) {
211  return (ret && upb_decode(buf, size, ret, &envoy_config_rbac_v3_Permission_msginit, arena)) ? ret : NULL;
212 }
214  upb_arena *arena, int options) {
216  return (ret && _upb_decode(buf, size, ret, &envoy_config_rbac_v3_Permission_msginit, arena, options))
217  ? ret : NULL;
218 }
219 UPB_INLINE char *envoy_config_rbac_v3_Permission_serialize(const envoy_config_rbac_v3_Permission *msg, upb_arena *arena, size_t *len) {
220  return upb_encode(msg, &envoy_config_rbac_v3_Permission_msginit, arena, len);
221 }
222 
223 typedef enum {
237 
238 UPB_INLINE bool envoy_config_rbac_v3_Permission_has_and_rules(const envoy_config_rbac_v3_Permission *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 1; }
239 UPB_INLINE const envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_and_rules(const envoy_config_rbac_v3_Permission *msg) { return UPB_READ_ONEOF(msg, const envoy_config_rbac_v3_Permission_Set*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 1, NULL); }
240 UPB_INLINE bool envoy_config_rbac_v3_Permission_has_or_rules(const envoy_config_rbac_v3_Permission *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 2; }
241 UPB_INLINE const envoy_config_rbac_v3_Permission_Set* envoy_config_rbac_v3_Permission_or_rules(const envoy_config_rbac_v3_Permission *msg) { return UPB_READ_ONEOF(msg, const envoy_config_rbac_v3_Permission_Set*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 2, NULL); }
242 UPB_INLINE bool envoy_config_rbac_v3_Permission_has_any(const envoy_config_rbac_v3_Permission *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 3; }
243 UPB_INLINE bool envoy_config_rbac_v3_Permission_any(const envoy_config_rbac_v3_Permission *msg) { return UPB_READ_ONEOF(msg, bool, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 3, false); }
244 UPB_INLINE bool envoy_config_rbac_v3_Permission_has_header(const envoy_config_rbac_v3_Permission *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 4; }
245 UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* envoy_config_rbac_v3_Permission_header(const envoy_config_rbac_v3_Permission *msg) { return UPB_READ_ONEOF(msg, const struct envoy_config_route_v3_HeaderMatcher*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 4, NULL); }
246 UPB_INLINE bool envoy_config_rbac_v3_Permission_has_destination_ip(const envoy_config_rbac_v3_Permission *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 5; }
247 UPB_INLINE const struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Permission_destination_ip(const envoy_config_rbac_v3_Permission *msg) { return UPB_READ_ONEOF(msg, const struct envoy_config_core_v3_CidrRange*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 5, NULL); }
248 UPB_INLINE bool envoy_config_rbac_v3_Permission_has_destination_port(const envoy_config_rbac_v3_Permission *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 6; }
249 UPB_INLINE uint32_t envoy_config_rbac_v3_Permission_destination_port(const envoy_config_rbac_v3_Permission *msg) { return UPB_READ_ONEOF(msg, uint32_t, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 6, 0); }
250 UPB_INLINE bool envoy_config_rbac_v3_Permission_has_metadata(const envoy_config_rbac_v3_Permission *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 7; }
251 UPB_INLINE const struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_rbac_v3_Permission_metadata(const envoy_config_rbac_v3_Permission *msg) { return UPB_READ_ONEOF(msg, const struct envoy_type_matcher_v3_MetadataMatcher*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 7, NULL); }
252 UPB_INLINE bool envoy_config_rbac_v3_Permission_has_not_rule(const envoy_config_rbac_v3_Permission *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 8; }
253 UPB_INLINE const envoy_config_rbac_v3_Permission* envoy_config_rbac_v3_Permission_not_rule(const envoy_config_rbac_v3_Permission *msg) { return UPB_READ_ONEOF(msg, const envoy_config_rbac_v3_Permission*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 8, NULL); }
254 UPB_INLINE bool envoy_config_rbac_v3_Permission_has_requested_server_name(const envoy_config_rbac_v3_Permission *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 9; }
255 UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher* envoy_config_rbac_v3_Permission_requested_server_name(const envoy_config_rbac_v3_Permission *msg) { return UPB_READ_ONEOF(msg, const struct envoy_type_matcher_v3_StringMatcher*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 9, NULL); }
256 UPB_INLINE bool envoy_config_rbac_v3_Permission_has_url_path(const envoy_config_rbac_v3_Permission *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 10; }
257 UPB_INLINE const struct envoy_type_matcher_v3_PathMatcher* envoy_config_rbac_v3_Permission_url_path(const envoy_config_rbac_v3_Permission *msg) { return UPB_READ_ONEOF(msg, const struct envoy_type_matcher_v3_PathMatcher*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 10, NULL); }
258 
260  UPB_WRITE_ONEOF(msg, envoy_config_rbac_v3_Permission_Set*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 1);
261 }
264  if (sub == NULL) {
266  if (!sub) return NULL;
268  }
269  return sub;
270 }
272  UPB_WRITE_ONEOF(msg, envoy_config_rbac_v3_Permission_Set*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 2);
273 }
276  if (sub == NULL) {
278  if (!sub) return NULL;
280  }
281  return sub;
282 }
284  UPB_WRITE_ONEOF(msg, bool, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 3);
285 }
287  UPB_WRITE_ONEOF(msg, struct envoy_config_route_v3_HeaderMatcher*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 4);
288 }
291  if (sub == NULL) {
293  if (!sub) return NULL;
295  }
296  return sub;
297 }
299  UPB_WRITE_ONEOF(msg, struct envoy_config_core_v3_CidrRange*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 5);
300 }
303  if (sub == NULL) {
305  if (!sub) return NULL;
307  }
308  return sub;
309 }
311  UPB_WRITE_ONEOF(msg, uint32_t, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 6);
312 }
314  UPB_WRITE_ONEOF(msg, struct envoy_type_matcher_v3_MetadataMatcher*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 7);
315 }
318  if (sub == NULL) {
320  if (!sub) return NULL;
322  }
323  return sub;
324 }
326  UPB_WRITE_ONEOF(msg, envoy_config_rbac_v3_Permission*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 8);
327 }
330  if (sub == NULL) {
332  if (!sub) return NULL;
334  }
335  return sub;
336 }
338  UPB_WRITE_ONEOF(msg, struct envoy_type_matcher_v3_StringMatcher*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 9);
339 }
342  if (sub == NULL) {
344  if (!sub) return NULL;
346  }
347  return sub;
348 }
350  UPB_WRITE_ONEOF(msg, struct envoy_type_matcher_v3_PathMatcher*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 10);
351 }
354  if (sub == NULL) {
356  if (!sub) return NULL;
358  }
359  return sub;
360 }
361 
362 /* envoy.config.rbac.v3.Permission.Set */
363 
366 }
368  upb_arena *arena) {
370  return (ret && upb_decode(buf, size, ret, &envoy_config_rbac_v3_Permission_Set_msginit, arena)) ? ret : NULL;
371 }
373  upb_arena *arena, int options) {
375  return (ret && _upb_decode(buf, size, ret, &envoy_config_rbac_v3_Permission_Set_msginit, arena, options))
376  ? ret : NULL;
377 }
378 UPB_INLINE char *envoy_config_rbac_v3_Permission_Set_serialize(const envoy_config_rbac_v3_Permission_Set *msg, upb_arena *arena, size_t *len) {
379  return upb_encode(msg, &envoy_config_rbac_v3_Permission_Set_msginit, arena, len);
380 }
381 
382 UPB_INLINE bool envoy_config_rbac_v3_Permission_Set_has_rules(const envoy_config_rbac_v3_Permission_Set *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(0, 0)); }
383 UPB_INLINE const envoy_config_rbac_v3_Permission* const* envoy_config_rbac_v3_Permission_Set_rules(const envoy_config_rbac_v3_Permission_Set *msg, size_t *len) { return (const envoy_config_rbac_v3_Permission* const*)_upb_array_accessor(msg, UPB_SIZE(0, 0), len); }
384 
386  return (envoy_config_rbac_v3_Permission**)_upb_array_mutable_accessor(msg, UPB_SIZE(0, 0), len);
387 }
389  return (envoy_config_rbac_v3_Permission**)_upb_array_resize_accessor2(msg, UPB_SIZE(0, 0), len, UPB_SIZE(2, 3), arena);
390 }
393  bool ok = _upb_array_append_accessor2(
394  msg, UPB_SIZE(0, 0), UPB_SIZE(2, 3), &sub, arena);
395  if (!ok) return NULL;
396  return sub;
397 }
398 
399 /* envoy.config.rbac.v3.Principal */
400 
403 }
405  upb_arena *arena) {
407  return (ret && upb_decode(buf, size, ret, &envoy_config_rbac_v3_Principal_msginit, arena)) ? ret : NULL;
408 }
410  upb_arena *arena, int options) {
412  return (ret && _upb_decode(buf, size, ret, &envoy_config_rbac_v3_Principal_msginit, arena, options))
413  ? ret : NULL;
414 }
415 UPB_INLINE char *envoy_config_rbac_v3_Principal_serialize(const envoy_config_rbac_v3_Principal *msg, upb_arena *arena, size_t *len) {
416  return upb_encode(msg, &envoy_config_rbac_v3_Principal_msginit, arena, len);
417 }
418 
419 typedef enum {
434 
435 UPB_INLINE bool envoy_config_rbac_v3_Principal_has_and_ids(const envoy_config_rbac_v3_Principal *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 1; }
436 UPB_INLINE const envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_and_ids(const envoy_config_rbac_v3_Principal *msg) { return UPB_READ_ONEOF(msg, const envoy_config_rbac_v3_Principal_Set*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 1, NULL); }
437 UPB_INLINE bool envoy_config_rbac_v3_Principal_has_or_ids(const envoy_config_rbac_v3_Principal *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 2; }
438 UPB_INLINE const envoy_config_rbac_v3_Principal_Set* envoy_config_rbac_v3_Principal_or_ids(const envoy_config_rbac_v3_Principal *msg) { return UPB_READ_ONEOF(msg, const envoy_config_rbac_v3_Principal_Set*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 2, NULL); }
439 UPB_INLINE bool envoy_config_rbac_v3_Principal_has_any(const envoy_config_rbac_v3_Principal *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 3; }
440 UPB_INLINE bool envoy_config_rbac_v3_Principal_any(const envoy_config_rbac_v3_Principal *msg) { return UPB_READ_ONEOF(msg, bool, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 3, false); }
441 UPB_INLINE bool envoy_config_rbac_v3_Principal_has_authenticated(const envoy_config_rbac_v3_Principal *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 4; }
442 UPB_INLINE const envoy_config_rbac_v3_Principal_Authenticated* envoy_config_rbac_v3_Principal_authenticated(const envoy_config_rbac_v3_Principal *msg) { return UPB_READ_ONEOF(msg, const envoy_config_rbac_v3_Principal_Authenticated*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 4, NULL); }
443 UPB_INLINE bool envoy_config_rbac_v3_Principal_has_source_ip(const envoy_config_rbac_v3_Principal *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 5; }
444 UPB_INLINE const struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_source_ip(const envoy_config_rbac_v3_Principal *msg) { return UPB_READ_ONEOF(msg, const struct envoy_config_core_v3_CidrRange*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 5, NULL); }
445 UPB_INLINE bool envoy_config_rbac_v3_Principal_has_header(const envoy_config_rbac_v3_Principal *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 6; }
446 UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher* envoy_config_rbac_v3_Principal_header(const envoy_config_rbac_v3_Principal *msg) { return UPB_READ_ONEOF(msg, const struct envoy_config_route_v3_HeaderMatcher*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 6, NULL); }
447 UPB_INLINE bool envoy_config_rbac_v3_Principal_has_metadata(const envoy_config_rbac_v3_Principal *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 7; }
448 UPB_INLINE const struct envoy_type_matcher_v3_MetadataMatcher* envoy_config_rbac_v3_Principal_metadata(const envoy_config_rbac_v3_Principal *msg) { return UPB_READ_ONEOF(msg, const struct envoy_type_matcher_v3_MetadataMatcher*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 7, NULL); }
449 UPB_INLINE bool envoy_config_rbac_v3_Principal_has_not_id(const envoy_config_rbac_v3_Principal *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 8; }
450 UPB_INLINE const envoy_config_rbac_v3_Principal* envoy_config_rbac_v3_Principal_not_id(const envoy_config_rbac_v3_Principal *msg) { return UPB_READ_ONEOF(msg, const envoy_config_rbac_v3_Principal*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 8, NULL); }
451 UPB_INLINE bool envoy_config_rbac_v3_Principal_has_url_path(const envoy_config_rbac_v3_Principal *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 9; }
452 UPB_INLINE const struct envoy_type_matcher_v3_PathMatcher* envoy_config_rbac_v3_Principal_url_path(const envoy_config_rbac_v3_Principal *msg) { return UPB_READ_ONEOF(msg, const struct envoy_type_matcher_v3_PathMatcher*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 9, NULL); }
453 UPB_INLINE bool envoy_config_rbac_v3_Principal_has_direct_remote_ip(const envoy_config_rbac_v3_Principal *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 10; }
454 UPB_INLINE const struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_direct_remote_ip(const envoy_config_rbac_v3_Principal *msg) { return UPB_READ_ONEOF(msg, const struct envoy_config_core_v3_CidrRange*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 10, NULL); }
455 UPB_INLINE bool envoy_config_rbac_v3_Principal_has_remote_ip(const envoy_config_rbac_v3_Principal *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 11; }
456 UPB_INLINE const struct envoy_config_core_v3_CidrRange* envoy_config_rbac_v3_Principal_remote_ip(const envoy_config_rbac_v3_Principal *msg) { return UPB_READ_ONEOF(msg, const struct envoy_config_core_v3_CidrRange*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 11, NULL); }
457 
459  UPB_WRITE_ONEOF(msg, envoy_config_rbac_v3_Principal_Set*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 1);
460 }
463  if (sub == NULL) {
465  if (!sub) return NULL;
467  }
468  return sub;
469 }
471  UPB_WRITE_ONEOF(msg, envoy_config_rbac_v3_Principal_Set*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 2);
472 }
475  if (sub == NULL) {
477  if (!sub) return NULL;
479  }
480  return sub;
481 }
483  UPB_WRITE_ONEOF(msg, bool, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 3);
484 }
486  UPB_WRITE_ONEOF(msg, envoy_config_rbac_v3_Principal_Authenticated*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 4);
487 }
490  if (sub == NULL) {
492  if (!sub) return NULL;
494  }
495  return sub;
496 }
498  UPB_WRITE_ONEOF(msg, struct envoy_config_core_v3_CidrRange*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 5);
499 }
502  if (sub == NULL) {
504  if (!sub) return NULL;
506  }
507  return sub;
508 }
510  UPB_WRITE_ONEOF(msg, struct envoy_config_route_v3_HeaderMatcher*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 6);
511 }
514  if (sub == NULL) {
516  if (!sub) return NULL;
518  }
519  return sub;
520 }
522  UPB_WRITE_ONEOF(msg, struct envoy_type_matcher_v3_MetadataMatcher*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 7);
523 }
526  if (sub == NULL) {
528  if (!sub) return NULL;
530  }
531  return sub;
532 }
534  UPB_WRITE_ONEOF(msg, envoy_config_rbac_v3_Principal*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 8);
535 }
538  if (sub == NULL) {
540  if (!sub) return NULL;
542  }
543  return sub;
544 }
546  UPB_WRITE_ONEOF(msg, struct envoy_type_matcher_v3_PathMatcher*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 9);
547 }
550  if (sub == NULL) {
552  if (!sub) return NULL;
554  }
555  return sub;
556 }
558  UPB_WRITE_ONEOF(msg, struct envoy_config_core_v3_CidrRange*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 10);
559 }
562  if (sub == NULL) {
564  if (!sub) return NULL;
566  }
567  return sub;
568 }
570  UPB_WRITE_ONEOF(msg, struct envoy_config_core_v3_CidrRange*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 11);
571 }
574  if (sub == NULL) {
576  if (!sub) return NULL;
578  }
579  return sub;
580 }
581 
582 /* envoy.config.rbac.v3.Principal.Set */
583 
586 }
588  upb_arena *arena) {
590  return (ret && upb_decode(buf, size, ret, &envoy_config_rbac_v3_Principal_Set_msginit, arena)) ? ret : NULL;
591 }
593  upb_arena *arena, int options) {
595  return (ret && _upb_decode(buf, size, ret, &envoy_config_rbac_v3_Principal_Set_msginit, arena, options))
596  ? ret : NULL;
597 }
598 UPB_INLINE char *envoy_config_rbac_v3_Principal_Set_serialize(const envoy_config_rbac_v3_Principal_Set *msg, upb_arena *arena, size_t *len) {
599  return upb_encode(msg, &envoy_config_rbac_v3_Principal_Set_msginit, arena, len);
600 }
601 
602 UPB_INLINE bool envoy_config_rbac_v3_Principal_Set_has_ids(const envoy_config_rbac_v3_Principal_Set *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(0, 0)); }
603 UPB_INLINE const envoy_config_rbac_v3_Principal* const* envoy_config_rbac_v3_Principal_Set_ids(const envoy_config_rbac_v3_Principal_Set *msg, size_t *len) { return (const envoy_config_rbac_v3_Principal* const*)_upb_array_accessor(msg, UPB_SIZE(0, 0), len); }
604 
606  return (envoy_config_rbac_v3_Principal**)_upb_array_mutable_accessor(msg, UPB_SIZE(0, 0), len);
607 }
609  return (envoy_config_rbac_v3_Principal**)_upb_array_resize_accessor2(msg, UPB_SIZE(0, 0), len, UPB_SIZE(2, 3), arena);
610 }
613  bool ok = _upb_array_append_accessor2(
614  msg, UPB_SIZE(0, 0), UPB_SIZE(2, 3), &sub, arena);
615  if (!ok) return NULL;
616  return sub;
617 }
618 
619 /* envoy.config.rbac.v3.Principal.Authenticated */
620 
623 }
625  upb_arena *arena) {
627  return (ret && upb_decode(buf, size, ret, &envoy_config_rbac_v3_Principal_Authenticated_msginit, arena)) ? ret : NULL;
628 }
630  upb_arena *arena, int options) {
632  return (ret && _upb_decode(buf, size, ret, &envoy_config_rbac_v3_Principal_Authenticated_msginit, arena, options))
633  ? ret : NULL;
634 }
636  return upb_encode(msg, &envoy_config_rbac_v3_Principal_Authenticated_msginit, arena, len);
637 }
638 
641 
643  _upb_sethas(msg, 1);
644  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), struct envoy_type_matcher_v3_StringMatcher*) = value;
645 }
648  if (sub == NULL) {
650  if (!sub) return NULL;
652  }
653  return sub;
654 }
655 
656 #ifdef __cplusplus
657 } /* extern "C" */
658 #endif
659 
660 #include "upb/port_undef.inc"
661 
662 #endif /* ENVOY_CONFIG_RBAC_V3_RBAC_PROTO_UPB_H_ */
struct envoy_config_core_v3_CidrRange envoy_config_core_v3_CidrRange
Definition: address.upb.h:36
struct google_api_expr_v1alpha1_CheckedExpr google_api_expr_v1alpha1_CheckedExpr
Definition: checked.upb.h:36
struct envoy_type_matcher_v3_MetadataMatcher envoy_type_matcher_v3_MetadataMatcher
Definition: metadata.upb.h:25
struct envoy_type_matcher_v3_PathMatcher envoy_type_matcher_v3_PathMatcher
Definition: path.upb.h:24
UPB_INLINE void envoy_config_rbac_v3_RBAC_PoliciesEntry_set_value(envoy_config_rbac_v3_RBAC_PoliciesEntry *msg, envoy_config_rbac_v3_Policy *value)
Definition: rbac.upb.h:117
UPB_INLINE struct envoy_type_matcher_v3_StringMatcher * envoy_config_rbac_v3_Principal_Authenticated_mutable_principal_name(envoy_config_rbac_v3_Principal_Authenticated *msg, upb_arena *arena)
Definition: rbac.upb.h:646
UPB_INLINE envoy_config_rbac_v3_Permission ** envoy_config_rbac_v3_Policy_mutable_permissions(envoy_config_rbac_v3_Policy *msg, size_t *len)
Definition: rbac.upb.h:150
UPB_INLINE const envoy_config_rbac_v3_Policy * envoy_config_rbac_v3_RBAC_PoliciesEntry_value(const envoy_config_rbac_v3_RBAC_PoliciesEntry *msg)
Definition: rbac.upb.h:111
UPB_INLINE bool envoy_config_rbac_v3_Permission_Set_has_rules(const envoy_config_rbac_v3_Permission_Set *msg)
Definition: rbac.upb.h:382
UPB_INLINE void envoy_config_rbac_v3_Permission_set_destination_port(envoy_config_rbac_v3_Permission *msg, uint32_t value)
Definition: rbac.upb.h:310
UPB_INLINE envoy_config_rbac_v3_Permission_rule_oneofcases envoy_config_rbac_v3_Permission_rule_case(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:236
UPB_INLINE envoy_config_rbac_v3_Principal ** envoy_config_rbac_v3_Principal_Set_resize_ids(envoy_config_rbac_v3_Principal_Set *msg, size_t len, upb_arena *arena)
Definition: rbac.upb.h:608
UPB_INLINE const struct google_api_expr_v1alpha1_CheckedExpr * envoy_config_rbac_v3_Policy_checked_condition(const envoy_config_rbac_v3_Policy *msg)
Definition: rbac.upb.h:148
UPB_INLINE envoy_config_rbac_v3_Principal_Set * envoy_config_rbac_v3_Principal_Set_parse(const char *buf, size_t size, upb_arena *arena)
Definition: rbac.upb.h:587
UPB_INLINE envoy_config_rbac_v3_Policy * envoy_config_rbac_v3_Policy_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: rbac.upb.h:131
UPB_INLINE struct envoy_config_rbac_v3_Permission * envoy_config_rbac_v3_Policy_add_permissions(envoy_config_rbac_v3_Policy *msg, upb_arena *arena)
Definition: rbac.upb.h:156
struct envoy_config_rbac_v3_Permission envoy_config_rbac_v3_Permission
Definition: rbac.upb.h:34
const upb_msglayout envoy_type_matcher_v3_PathMatcher_msginit
Definition: path.upb.c:27
UPB_INLINE bool envoy_config_rbac_v3_Permission_has_header(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:244
UPB_INLINE struct envoy_config_core_v3_CidrRange * envoy_config_rbac_v3_Principal_mutable_source_ip(envoy_config_rbac_v3_Principal *msg, upb_arena *arena)
Definition: rbac.upb.h:500
UPB_INLINE envoy_config_rbac_v3_Principal_Set * envoy_config_rbac_v3_Principal_Set_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: rbac.upb.h:592
struct envoy_config_rbac_v3_Principal_Set envoy_config_rbac_v3_Principal_Set
Definition: rbac.upb.h:37
UPB_INLINE const struct envoy_config_core_v3_CidrRange * envoy_config_rbac_v3_Principal_remote_ip(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:456
UPB_INLINE bool envoy_config_rbac_v3_Permission_has_destination_port(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:248
UPB_INLINE size_t envoy_config_rbac_v3_RBAC_policies_size(const envoy_config_rbac_v3_RBAC *msg)
Definition: rbac.upb.h:91
UPB_INLINE const envoy_config_rbac_v3_Principal_Set * envoy_config_rbac_v3_Principal_or_ids(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:438
UPB_INLINE struct envoy_type_matcher_v3_StringMatcher * envoy_config_rbac_v3_Permission_mutable_requested_server_name(envoy_config_rbac_v3_Permission *msg, upb_arena *arena)
Definition: rbac.upb.h:340
UPB_INLINE const envoy_config_rbac_v3_Permission * envoy_config_rbac_v3_Permission_not_rule(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:253
UPB_INLINE void envoy_config_rbac_v3_Principal_set_header(envoy_config_rbac_v3_Principal *msg, struct envoy_config_route_v3_HeaderMatcher *value)
Definition: rbac.upb.h:509
UPB_INLINE struct envoy_config_core_v3_CidrRange * envoy_config_rbac_v3_Permission_mutable_destination_ip(envoy_config_rbac_v3_Permission *msg, upb_arena *arena)
Definition: rbac.upb.h:301
UPB_INLINE envoy_config_rbac_v3_Policy * envoy_config_rbac_v3_Policy_parse(const char *buf, size_t size, upb_arena *arena)
Definition: rbac.upb.h:126
UPB_INLINE envoy_config_rbac_v3_RBAC * envoy_config_rbac_v3_RBAC_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: rbac.upb.h:79
UPB_INLINE int32_t envoy_config_rbac_v3_RBAC_action(const envoy_config_rbac_v3_RBAC *msg)
Definition: rbac.upb.h:89
UPB_INLINE struct envoy_config_rbac_v3_Permission * envoy_config_rbac_v3_Permission_mutable_not_rule(envoy_config_rbac_v3_Permission *msg, upb_arena *arena)
Definition: rbac.upb.h:328
UPB_INLINE const envoy_config_rbac_v3_Principal *const * envoy_config_rbac_v3_Policy_principals(const envoy_config_rbac_v3_Policy *msg, size_t *len)
Definition: rbac.upb.h:144
UPB_INLINE const envoy_config_rbac_v3_Principal * envoy_config_rbac_v3_Principal_not_id(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:450
envoy_config_rbac_v3_RBAC_Action
Definition: rbac.upb.h:62
@ envoy_config_rbac_v3_RBAC_ALLOW
Definition: rbac.upb.h:63
@ envoy_config_rbac_v3_RBAC_LOG
Definition: rbac.upb.h:65
@ envoy_config_rbac_v3_RBAC_DENY
Definition: rbac.upb.h:64
UPB_INLINE bool envoy_config_rbac_v3_Permission_has_not_rule(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:252
UPB_INLINE bool envoy_config_rbac_v3_RBAC_policies_set(envoy_config_rbac_v3_RBAC *msg, upb_strview key, envoy_config_rbac_v3_Policy *val, upb_arena *a)
Definition: rbac.upb.h:99
UPB_INLINE void envoy_config_rbac_v3_Permission_set_and_rules(envoy_config_rbac_v3_Permission *msg, envoy_config_rbac_v3_Permission_Set *value)
Definition: rbac.upb.h:259
UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher * envoy_config_rbac_v3_Permission_header(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:245
const upb_msglayout envoy_type_matcher_v3_StringMatcher_msginit
Definition: string.upb.c:32
UPB_INLINE bool envoy_config_rbac_v3_Permission_has_any(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:242
const upb_msglayout envoy_config_core_v3_CidrRange_msginit
Definition: address.upb.c:117
UPB_INLINE bool envoy_config_rbac_v3_RBAC_has_policies(const envoy_config_rbac_v3_RBAC *msg)
Definition: rbac.upb.h:90
UPB_INLINE upb_strview envoy_config_rbac_v3_RBAC_PoliciesEntry_key(const envoy_config_rbac_v3_RBAC_PoliciesEntry *msg)
Definition: rbac.upb.h:105
UPB_INLINE char * envoy_config_rbac_v3_Permission_Set_serialize(const envoy_config_rbac_v3_Permission_Set *msg, upb_arena *arena, size_t *len)
Definition: rbac.upb.h:378
UPB_INLINE void envoy_config_rbac_v3_Permission_set_requested_server_name(envoy_config_rbac_v3_Permission *msg, struct envoy_type_matcher_v3_StringMatcher *value)
Definition: rbac.upb.h:337
UPB_INLINE bool envoy_config_rbac_v3_Policy_has_condition(const envoy_config_rbac_v3_Policy *msg)
Definition: rbac.upb.h:145
const upb_msglayout envoy_type_matcher_v3_MetadataMatcher_msginit
Definition: metadata.upb.c:30
const upb_msglayout envoy_config_rbac_v3_Principal_msginit
Definition: rbac.upb.c:143
UPB_INLINE void envoy_config_rbac_v3_Permission_set_not_rule(envoy_config_rbac_v3_Permission *msg, envoy_config_rbac_v3_Permission *value)
Definition: rbac.upb.h:325
UPB_INLINE envoy_config_rbac_v3_Permission ** envoy_config_rbac_v3_Policy_resize_permissions(envoy_config_rbac_v3_Policy *msg, size_t len, upb_arena *arena)
Definition: rbac.upb.h:153
UPB_INLINE bool envoy_config_rbac_v3_Principal_has_authenticated(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:441
struct envoy_config_rbac_v3_RBAC_PoliciesEntry envoy_config_rbac_v3_RBAC_PoliciesEntry
Definition: rbac.upb.h:32
UPB_INLINE void envoy_config_rbac_v3_Permission_set_destination_ip(envoy_config_rbac_v3_Permission *msg, struct envoy_config_core_v3_CidrRange *value)
Definition: rbac.upb.h:298
envoy_config_rbac_v3_Principal_identifier_oneofcases
Definition: rbac.upb.h:419
@ envoy_config_rbac_v3_Principal_identifier_source_ip
Definition: rbac.upb.h:424
@ envoy_config_rbac_v3_Principal_identifier_remote_ip
Definition: rbac.upb.h:426
@ envoy_config_rbac_v3_Principal_identifier_and_ids
Definition: rbac.upb.h:420
@ envoy_config_rbac_v3_Principal_identifier_authenticated
Definition: rbac.upb.h:423
@ envoy_config_rbac_v3_Principal_identifier_not_id
Definition: rbac.upb.h:430
@ envoy_config_rbac_v3_Principal_identifier_direct_remote_ip
Definition: rbac.upb.h:425
@ envoy_config_rbac_v3_Principal_identifier_NOT_SET
Definition: rbac.upb.h:431
@ envoy_config_rbac_v3_Principal_identifier_any
Definition: rbac.upb.h:422
@ envoy_config_rbac_v3_Principal_identifier_url_path
Definition: rbac.upb.h:428
@ envoy_config_rbac_v3_Principal_identifier_or_ids
Definition: rbac.upb.h:421
@ envoy_config_rbac_v3_Principal_identifier_metadata
Definition: rbac.upb.h:429
@ envoy_config_rbac_v3_Principal_identifier_header
Definition: rbac.upb.h:427
UPB_INLINE struct envoy_config_rbac_v3_Permission * envoy_config_rbac_v3_Permission_Set_add_rules(envoy_config_rbac_v3_Permission_Set *msg, upb_arena *arena)
Definition: rbac.upb.h:391
UPB_INLINE void envoy_config_rbac_v3_Principal_set_authenticated(envoy_config_rbac_v3_Principal *msg, envoy_config_rbac_v3_Principal_Authenticated *value)
Definition: rbac.upb.h:485
UPB_INLINE void envoy_config_rbac_v3_Principal_set_url_path(envoy_config_rbac_v3_Principal *msg, struct envoy_type_matcher_v3_PathMatcher *value)
Definition: rbac.upb.h:545
UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher * envoy_config_rbac_v3_Principal_mutable_metadata(envoy_config_rbac_v3_Principal *msg, upb_arena *arena)
Definition: rbac.upb.h:524
UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher * envoy_config_rbac_v3_Principal_Authenticated_principal_name(const envoy_config_rbac_v3_Principal_Authenticated *msg)
Definition: rbac.upb.h:640
UPB_INLINE const struct envoy_type_matcher_v3_StringMatcher * envoy_config_rbac_v3_Permission_requested_server_name(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:255
UPB_INLINE void envoy_config_rbac_v3_Principal_set_any(envoy_config_rbac_v3_Principal *msg, bool value)
Definition: rbac.upb.h:482
struct envoy_config_rbac_v3_Policy envoy_config_rbac_v3_Policy
Definition: rbac.upb.h:33
UPB_INLINE char * envoy_config_rbac_v3_Policy_serialize(const envoy_config_rbac_v3_Policy *msg, upb_arena *arena, size_t *len)
Definition: rbac.upb.h:137
UPB_INLINE envoy_config_rbac_v3_Principal ** envoy_config_rbac_v3_Policy_resize_principals(envoy_config_rbac_v3_Policy *msg, size_t len, upb_arena *arena)
Definition: rbac.upb.h:166
UPB_INLINE void envoy_config_rbac_v3_RBAC_policies_clear(envoy_config_rbac_v3_RBAC *msg)
Definition: rbac.upb.h:98
UPB_INLINE bool envoy_config_rbac_v3_Principal_has_direct_remote_ip(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:453
UPB_INLINE void envoy_config_rbac_v3_Permission_set_or_rules(envoy_config_rbac_v3_Permission *msg, envoy_config_rbac_v3_Permission_Set *value)
Definition: rbac.upb.h:271
UPB_INLINE struct google_api_expr_v1alpha1_Expr * envoy_config_rbac_v3_Policy_mutable_condition(envoy_config_rbac_v3_Policy *msg, upb_arena *arena)
Definition: rbac.upb.h:180
UPB_INLINE envoy_config_rbac_v3_Policy * envoy_config_rbac_v3_Policy_new(upb_arena *arena)
Definition: rbac.upb.h:123
UPB_INLINE bool envoy_config_rbac_v3_Principal_has_any(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:439
UPB_INLINE struct envoy_type_matcher_v3_PathMatcher * envoy_config_rbac_v3_Principal_mutable_url_path(envoy_config_rbac_v3_Principal *msg, upb_arena *arena)
Definition: rbac.upb.h:548
UPB_INLINE bool envoy_config_rbac_v3_RBAC_policies_delete(envoy_config_rbac_v3_RBAC *msg, upb_strview key)
Definition: rbac.upb.h:100
UPB_INLINE envoy_config_rbac_v3_Principal * envoy_config_rbac_v3_Principal_parse(const char *buf, size_t size, upb_arena *arena)
Definition: rbac.upb.h:404
UPB_INLINE bool envoy_config_rbac_v3_Policy_has_principals(const envoy_config_rbac_v3_Policy *msg)
Definition: rbac.upb.h:143
UPB_INLINE envoy_config_rbac_v3_Permission * envoy_config_rbac_v3_Permission_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: rbac.upb.h:213
UPB_INLINE envoy_config_rbac_v3_Principal_Authenticated * envoy_config_rbac_v3_Principal_Authenticated_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: rbac.upb.h:629
struct envoy_config_rbac_v3_Principal_Authenticated envoy_config_rbac_v3_Principal_Authenticated
Definition: rbac.upb.h:38
UPB_INLINE struct envoy_type_matcher_v3_MetadataMatcher * envoy_config_rbac_v3_Permission_mutable_metadata(envoy_config_rbac_v3_Permission *msg, upb_arena *arena)
Definition: rbac.upb.h:316
UPB_INLINE bool envoy_config_rbac_v3_Permission_has_destination_ip(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:246
UPB_INLINE bool envoy_config_rbac_v3_Principal_has_and_ids(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:435
UPB_INLINE bool envoy_config_rbac_v3_Principal_has_source_ip(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:443
UPB_INLINE bool envoy_config_rbac_v3_Principal_has_remote_ip(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:455
UPB_INLINE const envoy_config_rbac_v3_Permission *const * envoy_config_rbac_v3_Permission_Set_rules(const envoy_config_rbac_v3_Permission_Set *msg, size_t *len)
Definition: rbac.upb.h:383
UPB_INLINE void envoy_config_rbac_v3_Principal_set_not_id(envoy_config_rbac_v3_Principal *msg, envoy_config_rbac_v3_Principal *value)
Definition: rbac.upb.h:533
const upb_msglayout google_api_expr_v1alpha1_CheckedExpr_msginit
Definition: checked.upb.c:32
UPB_INLINE void envoy_config_rbac_v3_Principal_set_metadata(envoy_config_rbac_v3_Principal *msg, struct envoy_type_matcher_v3_MetadataMatcher *value)
Definition: rbac.upb.h:521
UPB_INLINE const struct google_api_expr_v1alpha1_Expr * envoy_config_rbac_v3_Policy_condition(const envoy_config_rbac_v3_Policy *msg)
Definition: rbac.upb.h:146
UPB_INLINE const struct envoy_type_matcher_v3_PathMatcher * envoy_config_rbac_v3_Principal_url_path(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:452
UPB_INLINE struct envoy_config_rbac_v3_Principal * envoy_config_rbac_v3_Policy_add_principals(envoy_config_rbac_v3_Policy *msg, upb_arena *arena)
Definition: rbac.upb.h:169
UPB_INLINE bool envoy_config_rbac_v3_Permission_has_url_path(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:256
UPB_INLINE envoy_config_rbac_v3_Principal * envoy_config_rbac_v3_Principal_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: rbac.upb.h:409
UPB_INLINE struct envoy_config_rbac_v3_Principal_Authenticated * envoy_config_rbac_v3_Principal_mutable_authenticated(envoy_config_rbac_v3_Principal *msg, upb_arena *arena)
Definition: rbac.upb.h:488
UPB_INLINE const envoy_config_rbac_v3_Principal_Set * envoy_config_rbac_v3_Principal_and_ids(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:436
struct envoy_config_rbac_v3_Permission_Set envoy_config_rbac_v3_Permission_Set
Definition: rbac.upb.h:35
UPB_INLINE struct google_api_expr_v1alpha1_CheckedExpr * envoy_config_rbac_v3_Policy_mutable_checked_condition(envoy_config_rbac_v3_Policy *msg, upb_arena *arena)
Definition: rbac.upb.h:193
UPB_INLINE char * envoy_config_rbac_v3_Principal_Set_serialize(const envoy_config_rbac_v3_Principal_Set *msg, upb_arena *arena, size_t *len)
Definition: rbac.upb.h:598
UPB_INLINE const envoy_config_rbac_v3_Permission_Set * envoy_config_rbac_v3_Permission_or_rules(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:241
UPB_INLINE bool envoy_config_rbac_v3_Permission_any(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:243
UPB_INLINE const struct envoy_config_core_v3_CidrRange * envoy_config_rbac_v3_Permission_destination_ip(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:247
UPB_INLINE envoy_config_rbac_v3_RBAC * envoy_config_rbac_v3_RBAC_new(upb_arena *arena)
Definition: rbac.upb.h:71
struct envoy_config_rbac_v3_Principal envoy_config_rbac_v3_Principal
Definition: rbac.upb.h:36
UPB_INLINE envoy_config_rbac_v3_Principal ** envoy_config_rbac_v3_Principal_Set_mutable_ids(envoy_config_rbac_v3_Principal_Set *msg, size_t *len)
Definition: rbac.upb.h:605
UPB_INLINE void envoy_config_rbac_v3_Permission_set_metadata(envoy_config_rbac_v3_Permission *msg, struct envoy_type_matcher_v3_MetadataMatcher *value)
Definition: rbac.upb.h:313
UPB_INLINE envoy_config_rbac_v3_Principal ** envoy_config_rbac_v3_Policy_mutable_principals(envoy_config_rbac_v3_Policy *msg, size_t *len)
Definition: rbac.upb.h:163
UPB_INLINE void envoy_config_rbac_v3_Policy_set_condition(envoy_config_rbac_v3_Policy *msg, struct google_api_expr_v1alpha1_Expr *value)
Definition: rbac.upb.h:176
UPB_INLINE void envoy_config_rbac_v3_Policy_set_checked_condition(envoy_config_rbac_v3_Policy *msg, struct google_api_expr_v1alpha1_CheckedExpr *value)
Definition: rbac.upb.h:189
UPB_INLINE envoy_config_rbac_v3_Principal_Authenticated * envoy_config_rbac_v3_Principal_Authenticated_new(upb_arena *arena)
Definition: rbac.upb.h:621
UPB_INLINE struct envoy_config_core_v3_CidrRange * envoy_config_rbac_v3_Principal_mutable_remote_ip(envoy_config_rbac_v3_Principal *msg, upb_arena *arena)
Definition: rbac.upb.h:572
UPB_INLINE bool envoy_config_rbac_v3_Permission_has_metadata(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:250
UPB_INLINE const struct envoy_type_matcher_v3_MetadataMatcher * envoy_config_rbac_v3_Permission_metadata(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:251
const upb_msglayout envoy_config_rbac_v3_Principal_Set_msginit
Definition: rbac.upb.c:157
const upb_msglayout envoy_config_rbac_v3_RBAC_msginit
Definition: rbac.upb.c:35
UPB_INLINE void envoy_config_rbac_v3_Principal_set_remote_ip(envoy_config_rbac_v3_Principal *msg, struct envoy_config_core_v3_CidrRange *value)
Definition: rbac.upb.h:569
UPB_INLINE void envoy_config_rbac_v3_Principal_Authenticated_set_principal_name(envoy_config_rbac_v3_Principal_Authenticated *msg, struct envoy_type_matcher_v3_StringMatcher *value)
Definition: rbac.upb.h:642
UPB_INLINE void envoy_config_rbac_v3_RBAC_set_action(envoy_config_rbac_v3_RBAC *msg, int32_t value)
Definition: rbac.upb.h:95
UPB_INLINE const envoy_config_rbac_v3_Principal *const * envoy_config_rbac_v3_Principal_Set_ids(const envoy_config_rbac_v3_Principal_Set *msg, size_t *len)
Definition: rbac.upb.h:603
UPB_INLINE envoy_config_rbac_v3_Principal_Authenticated * envoy_config_rbac_v3_Principal_Authenticated_parse(const char *buf, size_t size, upb_arena *arena)
Definition: rbac.upb.h:624
UPB_INLINE struct envoy_config_route_v3_HeaderMatcher * envoy_config_rbac_v3_Principal_mutable_header(envoy_config_rbac_v3_Principal *msg, upb_arena *arena)
Definition: rbac.upb.h:512
UPB_INLINE const struct envoy_config_core_v3_CidrRange * envoy_config_rbac_v3_Principal_direct_remote_ip(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:454
UPB_INLINE void envoy_config_rbac_v3_Permission_set_header(envoy_config_rbac_v3_Permission *msg, struct envoy_config_route_v3_HeaderMatcher *value)
Definition: rbac.upb.h:286
UPB_INLINE void envoy_config_rbac_v3_Permission_set_url_path(envoy_config_rbac_v3_Permission *msg, struct envoy_type_matcher_v3_PathMatcher *value)
Definition: rbac.upb.h:349
UPB_INLINE const envoy_config_rbac_v3_Permission_Set * envoy_config_rbac_v3_Permission_and_rules(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:239
UPB_INLINE void envoy_config_rbac_v3_Principal_set_source_ip(envoy_config_rbac_v3_Principal *msg, struct envoy_config_core_v3_CidrRange *value)
Definition: rbac.upb.h:497
struct envoy_config_rbac_v3_RBAC envoy_config_rbac_v3_RBAC
Definition: rbac.upb.h:31
UPB_INLINE envoy_config_rbac_v3_RBAC_PoliciesEntry * envoy_config_rbac_v3_RBAC_policies_nextmutable(envoy_config_rbac_v3_RBAC *msg, size_t *iter)
Definition: rbac.upb.h:101
UPB_INLINE const struct envoy_type_matcher_v3_MetadataMatcher * envoy_config_rbac_v3_Principal_metadata(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:448
UPB_INLINE struct envoy_config_rbac_v3_Principal_Set * envoy_config_rbac_v3_Principal_mutable_or_ids(envoy_config_rbac_v3_Principal *msg, upb_arena *arena)
Definition: rbac.upb.h:473
UPB_INLINE void envoy_config_rbac_v3_Principal_set_and_ids(envoy_config_rbac_v3_Principal *msg, envoy_config_rbac_v3_Principal_Set *value)
Definition: rbac.upb.h:458
UPB_INLINE envoy_config_rbac_v3_Permission ** envoy_config_rbac_v3_Permission_Set_resize_rules(envoy_config_rbac_v3_Permission_Set *msg, size_t len, upb_arena *arena)
Definition: rbac.upb.h:388
UPB_INLINE bool envoy_config_rbac_v3_Permission_has_or_rules(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:240
UPB_INLINE bool envoy_config_rbac_v3_Principal_has_header(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:445
UPB_INLINE envoy_config_rbac_v3_Permission ** envoy_config_rbac_v3_Permission_Set_mutable_rules(envoy_config_rbac_v3_Permission_Set *msg, size_t *len)
Definition: rbac.upb.h:385
UPB_INLINE const envoy_config_rbac_v3_Permission *const * envoy_config_rbac_v3_Policy_permissions(const envoy_config_rbac_v3_Policy *msg, size_t *len)
Definition: rbac.upb.h:142
UPB_INLINE struct envoy_config_rbac_v3_Principal * envoy_config_rbac_v3_Principal_mutable_not_id(envoy_config_rbac_v3_Principal *msg, upb_arena *arena)
Definition: rbac.upb.h:536
UPB_INLINE uint32_t envoy_config_rbac_v3_Permission_destination_port(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:249
UPB_INLINE envoy_config_rbac_v3_RBAC * envoy_config_rbac_v3_RBAC_parse(const char *buf, size_t size, upb_arena *arena)
Definition: rbac.upb.h:74
const upb_msglayout envoy_config_rbac_v3_Permission_msginit
Definition: rbac.upb.c:99
UPB_INLINE void envoy_config_rbac_v3_Principal_set_direct_remote_ip(envoy_config_rbac_v3_Principal *msg, struct envoy_config_core_v3_CidrRange *value)
Definition: rbac.upb.h:557
UPB_INLINE bool envoy_config_rbac_v3_RBAC_policies_get(const envoy_config_rbac_v3_RBAC *msg, upb_strview key, envoy_config_rbac_v3_Policy **val)
Definition: rbac.upb.h:92
UPB_INLINE void envoy_config_rbac_v3_Principal_set_or_ids(envoy_config_rbac_v3_Principal *msg, envoy_config_rbac_v3_Principal_Set *value)
Definition: rbac.upb.h:470
UPB_INLINE const struct envoy_type_matcher_v3_PathMatcher * envoy_config_rbac_v3_Permission_url_path(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:257
UPB_INLINE bool envoy_config_rbac_v3_Principal_has_not_id(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:449
UPB_INLINE bool envoy_config_rbac_v3_Principal_any(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:440
UPB_INLINE envoy_config_rbac_v3_Permission_Set * envoy_config_rbac_v3_Permission_Set_new(upb_arena *arena)
Definition: rbac.upb.h:364
const upb_msglayout envoy_config_route_v3_HeaderMatcher_msginit
Definition: route_components.upb.c:885
const upb_msglayout envoy_config_rbac_v3_Policy_msginit
Definition: rbac.upb.c:70
UPB_INLINE envoy_config_rbac_v3_Permission_Set * envoy_config_rbac_v3_Permission_Set_parse(const char *buf, size_t size, upb_arena *arena)
Definition: rbac.upb.h:367
UPB_INLINE bool envoy_config_rbac_v3_Permission_has_requested_server_name(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:254
UPB_INLINE const envoy_config_rbac_v3_RBAC_PoliciesEntry * envoy_config_rbac_v3_RBAC_policies_next(const envoy_config_rbac_v3_RBAC *msg, size_t *iter)
Definition: rbac.upb.h:93
UPB_INLINE char * envoy_config_rbac_v3_Permission_serialize(const envoy_config_rbac_v3_Permission *msg, upb_arena *arena, size_t *len)
Definition: rbac.upb.h:219
UPB_INLINE bool envoy_config_rbac_v3_Principal_Set_has_ids(const envoy_config_rbac_v3_Principal_Set *msg)
Definition: rbac.upb.h:602
UPB_INLINE const envoy_config_rbac_v3_Principal_Authenticated * envoy_config_rbac_v3_Principal_authenticated(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:442
UPB_INLINE void envoy_config_rbac_v3_Permission_set_any(envoy_config_rbac_v3_Permission *msg, bool value)
Definition: rbac.upb.h:283
UPB_INLINE struct envoy_config_rbac_v3_Permission_Set * envoy_config_rbac_v3_Permission_mutable_or_rules(envoy_config_rbac_v3_Permission *msg, upb_arena *arena)
Definition: rbac.upb.h:274
UPB_INLINE char * envoy_config_rbac_v3_Principal_serialize(const envoy_config_rbac_v3_Principal *msg, upb_arena *arena, size_t *len)
Definition: rbac.upb.h:415
UPB_INLINE struct envoy_config_route_v3_HeaderMatcher * envoy_config_rbac_v3_Permission_mutable_header(envoy_config_rbac_v3_Permission *msg, upb_arena *arena)
Definition: rbac.upb.h:289
UPB_INLINE envoy_config_rbac_v3_Principal * envoy_config_rbac_v3_Principal_new(upb_arena *arena)
Definition: rbac.upb.h:401
UPB_INLINE struct envoy_config_rbac_v3_Permission_Set * envoy_config_rbac_v3_Permission_mutable_and_rules(envoy_config_rbac_v3_Permission *msg, upb_arena *arena)
Definition: rbac.upb.h:262
UPB_INLINE bool envoy_config_rbac_v3_RBAC_PoliciesEntry_has_value(const envoy_config_rbac_v3_RBAC_PoliciesEntry *msg)
Definition: rbac.upb.h:110
const upb_msglayout google_api_expr_v1alpha1_Expr_msginit
Definition: syntax.upb.c:55
UPB_INLINE struct envoy_type_matcher_v3_PathMatcher * envoy_config_rbac_v3_Permission_mutable_url_path(envoy_config_rbac_v3_Permission *msg, upb_arena *arena)
Definition: rbac.upb.h:352
UPB_INLINE char * envoy_config_rbac_v3_RBAC_serialize(const envoy_config_rbac_v3_RBAC *msg, upb_arena *arena, size_t *len)
Definition: rbac.upb.h:85
UPB_INLINE envoy_config_rbac_v3_Permission * envoy_config_rbac_v3_Permission_new(upb_arena *arena)
Definition: rbac.upb.h:205
UPB_INLINE bool envoy_config_rbac_v3_Policy_has_permissions(const envoy_config_rbac_v3_Policy *msg)
Definition: rbac.upb.h:141
UPB_INLINE struct envoy_config_rbac_v3_Principal_Set * envoy_config_rbac_v3_Principal_mutable_and_ids(envoy_config_rbac_v3_Principal *msg, upb_arena *arena)
Definition: rbac.upb.h:461
UPB_INLINE bool envoy_config_rbac_v3_Principal_has_metadata(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:447
UPB_INLINE envoy_config_rbac_v3_Principal_Set * envoy_config_rbac_v3_Principal_Set_new(upb_arena *arena)
Definition: rbac.upb.h:584
envoy_config_rbac_v3_Permission_rule_oneofcases
Definition: rbac.upb.h:223
@ envoy_config_rbac_v3_Permission_rule_requested_server_name
Definition: rbac.upb.h:233
@ envoy_config_rbac_v3_Permission_rule_destination_ip
Definition: rbac.upb.h:229
@ envoy_config_rbac_v3_Permission_rule_destination_port
Definition: rbac.upb.h:230
@ envoy_config_rbac_v3_Permission_rule_metadata
Definition: rbac.upb.h:231
@ envoy_config_rbac_v3_Permission_rule_and_rules
Definition: rbac.upb.h:224
@ envoy_config_rbac_v3_Permission_rule_NOT_SET
Definition: rbac.upb.h:234
@ envoy_config_rbac_v3_Permission_rule_not_rule
Definition: rbac.upb.h:232
@ envoy_config_rbac_v3_Permission_rule_header
Definition: rbac.upb.h:227
@ envoy_config_rbac_v3_Permission_rule_any
Definition: rbac.upb.h:226
@ envoy_config_rbac_v3_Permission_rule_url_path
Definition: rbac.upb.h:228
@ envoy_config_rbac_v3_Permission_rule_or_rules
Definition: rbac.upb.h:225
UPB_INLINE bool envoy_config_rbac_v3_Principal_has_url_path(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:451
const upb_msglayout envoy_config_rbac_v3_Principal_Authenticated_msginit
Definition: rbac.upb.c:171
UPB_INLINE struct envoy_config_core_v3_CidrRange * envoy_config_rbac_v3_Principal_mutable_direct_remote_ip(envoy_config_rbac_v3_Principal *msg, upb_arena *arena)
Definition: rbac.upb.h:560
UPB_INLINE char * envoy_config_rbac_v3_Principal_Authenticated_serialize(const envoy_config_rbac_v3_Principal_Authenticated *msg, upb_arena *arena, size_t *len)
Definition: rbac.upb.h:635
UPB_INLINE const struct envoy_config_route_v3_HeaderMatcher * envoy_config_rbac_v3_Principal_header(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:446
UPB_INLINE bool envoy_config_rbac_v3_Principal_Authenticated_has_principal_name(const envoy_config_rbac_v3_Principal_Authenticated *msg)
Definition: rbac.upb.h:639
const upb_msglayout envoy_config_rbac_v3_Permission_Set_msginit
Definition: rbac.upb.c:113
UPB_INLINE const struct envoy_config_core_v3_CidrRange * envoy_config_rbac_v3_Principal_source_ip(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:444
UPB_INLINE bool envoy_config_rbac_v3_Principal_has_or_ids(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:437
UPB_INLINE envoy_config_rbac_v3_Permission_Set * envoy_config_rbac_v3_Permission_Set_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: rbac.upb.h:372
UPB_INLINE envoy_config_rbac_v3_Permission * envoy_config_rbac_v3_Permission_parse(const char *buf, size_t size, upb_arena *arena)
Definition: rbac.upb.h:208
UPB_INLINE bool envoy_config_rbac_v3_Permission_has_and_rules(const envoy_config_rbac_v3_Permission *msg)
Definition: rbac.upb.h:238
const upb_msglayout envoy_config_rbac_v3_RBAC_PoliciesEntry_msginit
Definition: rbac.upb.c:50
UPB_INLINE bool envoy_config_rbac_v3_Policy_has_checked_condition(const envoy_config_rbac_v3_Policy *msg)
Definition: rbac.upb.h:147
UPB_INLINE struct envoy_config_rbac_v3_Principal * envoy_config_rbac_v3_Principal_Set_add_ids(envoy_config_rbac_v3_Principal_Set *msg, upb_arena *arena)
Definition: rbac.upb.h:611
UPB_INLINE envoy_config_rbac_v3_Principal_identifier_oneofcases envoy_config_rbac_v3_Principal_identifier_case(const envoy_config_rbac_v3_Principal *msg)
Definition: rbac.upb.h:433
struct envoy_config_route_v3_HeaderMatcher envoy_config_route_v3_HeaderMatcher
Definition: route_components.upb.h:123
struct envoy_type_matcher_v3_StringMatcher envoy_type_matcher_v3_StringMatcher
Definition: string.upb.h:25
struct google_api_expr_v1alpha1_Expr google_api_expr_v1alpha1_Expr
Definition: syntax.upb.h:38
upb_arena * arena
Definition: xds_api.cc:909