GRPC C++  1.39.1
address.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/core/v3/address.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_CONFIG_CORE_V3_ADDRESS_PROTO_UPB_H_
10 #define ENVOY_CONFIG_CORE_V3_ADDRESS_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 
37 extern const upb_msglayout envoy_config_core_v3_Pipe_msginit;
38 extern const upb_msglayout envoy_config_core_v3_EnvoyInternalAddress_msginit;
39 extern const upb_msglayout envoy_config_core_v3_SocketAddress_msginit;
40 extern const upb_msglayout envoy_config_core_v3_TcpKeepalive_msginit;
41 extern const upb_msglayout envoy_config_core_v3_BindConfig_msginit;
42 extern const upb_msglayout envoy_config_core_v3_Address_msginit;
43 extern const upb_msglayout envoy_config_core_v3_CidrRange_msginit;
47 extern const upb_msglayout envoy_config_core_v3_SocketOption_msginit;
48 extern const upb_msglayout google_protobuf_BoolValue_msginit;
49 extern const upb_msglayout google_protobuf_UInt32Value_msginit;
50 
51 typedef enum {
55 
56 
57 /* envoy.config.core.v3.Pipe */
58 
61 }
62 UPB_INLINE envoy_config_core_v3_Pipe *envoy_config_core_v3_Pipe_parse(const char *buf, size_t size,
63  upb_arena *arena) {
65  return (ret && upb_decode(buf, size, ret, &envoy_config_core_v3_Pipe_msginit, arena)) ? ret : NULL;
66 }
67 UPB_INLINE envoy_config_core_v3_Pipe *envoy_config_core_v3_Pipe_parse_ex(const char *buf, size_t size,
68  upb_arena *arena, int options) {
70  return (ret && _upb_decode(buf, size, ret, &envoy_config_core_v3_Pipe_msginit, arena, options))
71  ? ret : NULL;
72 }
73 UPB_INLINE char *envoy_config_core_v3_Pipe_serialize(const envoy_config_core_v3_Pipe *msg, upb_arena *arena, size_t *len) {
74  return upb_encode(msg, &envoy_config_core_v3_Pipe_msginit, arena, len);
75 }
76 
77 UPB_INLINE upb_strview envoy_config_core_v3_Pipe_path(const envoy_config_core_v3_Pipe *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview); }
78 UPB_INLINE uint32_t envoy_config_core_v3_Pipe_mode(const envoy_config_core_v3_Pipe *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), uint32_t); }
79 
80 UPB_INLINE void envoy_config_core_v3_Pipe_set_path(envoy_config_core_v3_Pipe *msg, upb_strview value) {
81  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview) = value;
82 }
83 UPB_INLINE void envoy_config_core_v3_Pipe_set_mode(envoy_config_core_v3_Pipe *msg, uint32_t value) {
84  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), uint32_t) = value;
85 }
86 
87 /* envoy.config.core.v3.EnvoyInternalAddress */
88 
91 }
93  upb_arena *arena) {
95  return (ret && upb_decode(buf, size, ret, &envoy_config_core_v3_EnvoyInternalAddress_msginit, arena)) ? ret : NULL;
96 }
98  upb_arena *arena, int options) {
100  return (ret && _upb_decode(buf, size, ret, &envoy_config_core_v3_EnvoyInternalAddress_msginit, arena, options))
101  ? ret : NULL;
102 }
104  return upb_encode(msg, &envoy_config_core_v3_EnvoyInternalAddress_msginit, arena, len);
105 }
106 
107 typedef enum {
112 
113 UPB_INLINE bool envoy_config_core_v3_EnvoyInternalAddress_has_server_listener_name(const envoy_config_core_v3_EnvoyInternalAddress *msg) { return _upb_getoneofcase(msg, UPB_SIZE(8, 16)) == 1; }
114 UPB_INLINE upb_strview envoy_config_core_v3_EnvoyInternalAddress_server_listener_name(const envoy_config_core_v3_EnvoyInternalAddress *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(0, 0), UPB_SIZE(8, 16), 1, upb_strview_make("", strlen(""))); }
115 
117  UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(0, 0), value, UPB_SIZE(8, 16), 1);
118 }
119 
120 /* envoy.config.core.v3.SocketAddress */
121 
124 }
126  upb_arena *arena) {
128  return (ret && upb_decode(buf, size, ret, &envoy_config_core_v3_SocketAddress_msginit, arena)) ? ret : NULL;
129 }
131  upb_arena *arena, int options) {
133  return (ret && _upb_decode(buf, size, ret, &envoy_config_core_v3_SocketAddress_msginit, arena, options))
134  ? ret : NULL;
135 }
136 UPB_INLINE char *envoy_config_core_v3_SocketAddress_serialize(const envoy_config_core_v3_SocketAddress *msg, upb_arena *arena, size_t *len) {
137  return upb_encode(msg, &envoy_config_core_v3_SocketAddress_msginit, arena, len);
138 }
139 
140 typedef enum {
146 
147 UPB_INLINE int32_t envoy_config_core_v3_SocketAddress_protocol(const envoy_config_core_v3_SocketAddress *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), int32_t); }
148 UPB_INLINE upb_strview envoy_config_core_v3_SocketAddress_address(const envoy_config_core_v3_SocketAddress *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), upb_strview); }
149 UPB_INLINE bool envoy_config_core_v3_SocketAddress_has_port_value(const envoy_config_core_v3_SocketAddress *msg) { return _upb_getoneofcase(msg, UPB_SIZE(32, 56)) == 3; }
150 UPB_INLINE uint32_t envoy_config_core_v3_SocketAddress_port_value(const envoy_config_core_v3_SocketAddress *msg) { return UPB_READ_ONEOF(msg, uint32_t, UPB_SIZE(24, 40), UPB_SIZE(32, 56), 3, 0); }
151 UPB_INLINE bool envoy_config_core_v3_SocketAddress_has_named_port(const envoy_config_core_v3_SocketAddress *msg) { return _upb_getoneofcase(msg, UPB_SIZE(32, 56)) == 4; }
152 UPB_INLINE upb_strview envoy_config_core_v3_SocketAddress_named_port(const envoy_config_core_v3_SocketAddress *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(24, 40), UPB_SIZE(32, 56), 4, upb_strview_make("", strlen(""))); }
153 UPB_INLINE upb_strview envoy_config_core_v3_SocketAddress_resolver_name(const envoy_config_core_v3_SocketAddress *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(16, 24), upb_strview); }
154 UPB_INLINE bool envoy_config_core_v3_SocketAddress_ipv4_compat(const envoy_config_core_v3_SocketAddress *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 4), bool); }
155 
157  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), int32_t) = value;
158 }
160  *UPB_PTR_AT(msg, UPB_SIZE(8, 8), upb_strview) = value;
161 }
163  UPB_WRITE_ONEOF(msg, uint32_t, UPB_SIZE(24, 40), value, UPB_SIZE(32, 56), 3);
164 }
166  UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(24, 40), value, UPB_SIZE(32, 56), 4);
167 }
169  *UPB_PTR_AT(msg, UPB_SIZE(16, 24), upb_strview) = value;
170 }
172  *UPB_PTR_AT(msg, UPB_SIZE(4, 4), bool) = value;
173 }
174 
175 /* envoy.config.core.v3.TcpKeepalive */
176 
179 }
181  upb_arena *arena) {
183  return (ret && upb_decode(buf, size, ret, &envoy_config_core_v3_TcpKeepalive_msginit, arena)) ? ret : NULL;
184 }
186  upb_arena *arena, int options) {
188  return (ret && _upb_decode(buf, size, ret, &envoy_config_core_v3_TcpKeepalive_msginit, arena, options))
189  ? ret : NULL;
190 }
191 UPB_INLINE char *envoy_config_core_v3_TcpKeepalive_serialize(const envoy_config_core_v3_TcpKeepalive *msg, upb_arena *arena, size_t *len) {
192  return upb_encode(msg, &envoy_config_core_v3_TcpKeepalive_msginit, arena, len);
193 }
194 
195 UPB_INLINE bool envoy_config_core_v3_TcpKeepalive_has_keepalive_probes(const envoy_config_core_v3_TcpKeepalive *msg) { return _upb_hasbit(msg, 1); }
196 UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_TcpKeepalive_keepalive_probes(const envoy_config_core_v3_TcpKeepalive *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), const struct google_protobuf_UInt32Value*); }
197 UPB_INLINE bool envoy_config_core_v3_TcpKeepalive_has_keepalive_time(const envoy_config_core_v3_TcpKeepalive *msg) { return _upb_hasbit(msg, 2); }
198 UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_TcpKeepalive_keepalive_time(const envoy_config_core_v3_TcpKeepalive *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 16), const struct google_protobuf_UInt32Value*); }
199 UPB_INLINE bool envoy_config_core_v3_TcpKeepalive_has_keepalive_interval(const envoy_config_core_v3_TcpKeepalive *msg) { return _upb_hasbit(msg, 3); }
200 UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_TcpKeepalive_keepalive_interval(const envoy_config_core_v3_TcpKeepalive *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(12, 24), const struct google_protobuf_UInt32Value*); }
201 
203  _upb_sethas(msg, 1);
204  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), struct google_protobuf_UInt32Value*) = value;
205 }
208  if (sub == NULL) {
210  if (!sub) return NULL;
212  }
213  return sub;
214 }
216  _upb_sethas(msg, 2);
217  *UPB_PTR_AT(msg, UPB_SIZE(8, 16), struct google_protobuf_UInt32Value*) = value;
218 }
221  if (sub == NULL) {
223  if (!sub) return NULL;
225  }
226  return sub;
227 }
229  _upb_sethas(msg, 3);
230  *UPB_PTR_AT(msg, UPB_SIZE(12, 24), struct google_protobuf_UInt32Value*) = value;
231 }
234  if (sub == NULL) {
236  if (!sub) return NULL;
238  }
239  return sub;
240 }
241 
242 /* envoy.config.core.v3.BindConfig */
243 
246 }
248  upb_arena *arena) {
250  return (ret && upb_decode(buf, size, ret, &envoy_config_core_v3_BindConfig_msginit, arena)) ? ret : NULL;
251 }
253  upb_arena *arena, int options) {
255  return (ret && _upb_decode(buf, size, ret, &envoy_config_core_v3_BindConfig_msginit, arena, options))
256  ? ret : NULL;
257 }
258 UPB_INLINE char *envoy_config_core_v3_BindConfig_serialize(const envoy_config_core_v3_BindConfig *msg, upb_arena *arena, size_t *len) {
259  return upb_encode(msg, &envoy_config_core_v3_BindConfig_msginit, arena, len);
260 }
261 
262 UPB_INLINE bool envoy_config_core_v3_BindConfig_has_source_address(const envoy_config_core_v3_BindConfig *msg) { return _upb_hasbit(msg, 1); }
264 UPB_INLINE bool envoy_config_core_v3_BindConfig_has_freebind(const envoy_config_core_v3_BindConfig *msg) { return _upb_hasbit(msg, 2); }
265 UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_core_v3_BindConfig_freebind(const envoy_config_core_v3_BindConfig *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 16), const struct google_protobuf_BoolValue*); }
266 UPB_INLINE bool envoy_config_core_v3_BindConfig_has_socket_options(const envoy_config_core_v3_BindConfig *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(12, 24)); }
267 UPB_INLINE const struct envoy_config_core_v3_SocketOption* const* envoy_config_core_v3_BindConfig_socket_options(const envoy_config_core_v3_BindConfig *msg, size_t *len) { return (const struct envoy_config_core_v3_SocketOption* const*)_upb_array_accessor(msg, UPB_SIZE(12, 24), len); }
268 
270  _upb_sethas(msg, 1);
271  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), envoy_config_core_v3_SocketAddress*) = value;
272 }
275  if (sub == NULL) {
277  if (!sub) return NULL;
279  }
280  return sub;
281 }
283  _upb_sethas(msg, 2);
284  *UPB_PTR_AT(msg, UPB_SIZE(8, 16), struct google_protobuf_BoolValue*) = value;
285 }
288  if (sub == NULL) {
290  if (!sub) return NULL;
292  }
293  return sub;
294 }
296  return (struct envoy_config_core_v3_SocketOption**)_upb_array_mutable_accessor(msg, UPB_SIZE(12, 24), len);
297 }
299  return (struct envoy_config_core_v3_SocketOption**)_upb_array_resize_accessor2(msg, UPB_SIZE(12, 24), len, UPB_SIZE(2, 3), arena);
300 }
303  bool ok = _upb_array_append_accessor2(
304  msg, UPB_SIZE(12, 24), UPB_SIZE(2, 3), &sub, arena);
305  if (!ok) return NULL;
306  return sub;
307 }
308 
309 /* envoy.config.core.v3.Address */
310 
313 }
314 UPB_INLINE envoy_config_core_v3_Address *envoy_config_core_v3_Address_parse(const char *buf, size_t size,
315  upb_arena *arena) {
317  return (ret && upb_decode(buf, size, ret, &envoy_config_core_v3_Address_msginit, arena)) ? ret : NULL;
318 }
320  upb_arena *arena, int options) {
322  return (ret && _upb_decode(buf, size, ret, &envoy_config_core_v3_Address_msginit, arena, options))
323  ? ret : NULL;
324 }
325 UPB_INLINE char *envoy_config_core_v3_Address_serialize(const envoy_config_core_v3_Address *msg, upb_arena *arena, size_t *len) {
326  return upb_encode(msg, &envoy_config_core_v3_Address_msginit, arena, len);
327 }
328 
329 typedef enum {
336 
337 UPB_INLINE bool envoy_config_core_v3_Address_has_socket_address(const envoy_config_core_v3_Address *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 1; }
338 UPB_INLINE const envoy_config_core_v3_SocketAddress* envoy_config_core_v3_Address_socket_address(const envoy_config_core_v3_Address *msg) { return UPB_READ_ONEOF(msg, const envoy_config_core_v3_SocketAddress*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 1, NULL); }
339 UPB_INLINE bool envoy_config_core_v3_Address_has_pipe(const envoy_config_core_v3_Address *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 2; }
340 UPB_INLINE const envoy_config_core_v3_Pipe* envoy_config_core_v3_Address_pipe(const envoy_config_core_v3_Address *msg) { return UPB_READ_ONEOF(msg, const envoy_config_core_v3_Pipe*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 2, NULL); }
341 UPB_INLINE bool envoy_config_core_v3_Address_has_envoy_internal_address(const envoy_config_core_v3_Address *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 3; }
342 UPB_INLINE const envoy_config_core_v3_EnvoyInternalAddress* envoy_config_core_v3_Address_envoy_internal_address(const envoy_config_core_v3_Address *msg) { return UPB_READ_ONEOF(msg, const envoy_config_core_v3_EnvoyInternalAddress*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 3, NULL); }
343 
345  UPB_WRITE_ONEOF(msg, envoy_config_core_v3_SocketAddress*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 1);
346 }
349  if (sub == NULL) {
351  if (!sub) return NULL;
353  }
354  return sub;
355 }
357  UPB_WRITE_ONEOF(msg, envoy_config_core_v3_Pipe*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 2);
358 }
361  if (sub == NULL) {
363  if (!sub) return NULL;
365  }
366  return sub;
367 }
369  UPB_WRITE_ONEOF(msg, envoy_config_core_v3_EnvoyInternalAddress*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 3);
370 }
373  if (sub == NULL) {
375  if (!sub) return NULL;
377  }
378  return sub;
379 }
380 
381 /* envoy.config.core.v3.CidrRange */
382 
385 }
387  upb_arena *arena) {
389  return (ret && upb_decode(buf, size, ret, &envoy_config_core_v3_CidrRange_msginit, arena)) ? ret : NULL;
390 }
392  upb_arena *arena, int options) {
394  return (ret && _upb_decode(buf, size, ret, &envoy_config_core_v3_CidrRange_msginit, arena, options))
395  ? ret : NULL;
396 }
397 UPB_INLINE char *envoy_config_core_v3_CidrRange_serialize(const envoy_config_core_v3_CidrRange *msg, upb_arena *arena, size_t *len) {
398  return upb_encode(msg, &envoy_config_core_v3_CidrRange_msginit, arena, len);
399 }
400 
401 UPB_INLINE upb_strview envoy_config_core_v3_CidrRange_address_prefix(const envoy_config_core_v3_CidrRange *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview); }
402 UPB_INLINE bool envoy_config_core_v3_CidrRange_has_prefix_len(const envoy_config_core_v3_CidrRange *msg) { return _upb_hasbit(msg, 1); }
403 UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_core_v3_CidrRange_prefix_len(const envoy_config_core_v3_CidrRange *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(12, 24), const struct google_protobuf_UInt32Value*); }
404 
406  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview) = value;
407 }
409  _upb_sethas(msg, 1);
410  *UPB_PTR_AT(msg, UPB_SIZE(12, 24), struct google_protobuf_UInt32Value*) = value;
411 }
414  if (sub == NULL) {
416  if (!sub) return NULL;
418  }
419  return sub;
420 }
421 
422 #ifdef __cplusplus
423 } /* extern "C" */
424 #endif
425 
426 #include "upb/port_undef.inc"
427 
428 #endif /* ENVOY_CONFIG_CORE_V3_ADDRESS_PROTO_UPB_H_ */
UPB_INLINE bool envoy_config_core_v3_TcpKeepalive_has_keepalive_time(const envoy_config_core_v3_TcpKeepalive *msg)
Definition: address.upb.h:197
UPB_INLINE bool envoy_config_core_v3_SocketAddress_has_named_port(const envoy_config_core_v3_SocketAddress *msg)
Definition: address.upb.h:151
UPB_INLINE envoy_config_core_v3_SocketAddress * envoy_config_core_v3_SocketAddress_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: address.upb.h:130
UPB_INLINE envoy_config_core_v3_BindConfig * envoy_config_core_v3_BindConfig_parse(const char *buf, size_t size, upb_arena *arena)
Definition: address.upb.h:247
UPB_INLINE void envoy_config_core_v3_BindConfig_set_freebind(envoy_config_core_v3_BindConfig *msg, struct google_protobuf_BoolValue *value)
Definition: address.upb.h:282
UPB_INLINE bool envoy_config_core_v3_BindConfig_has_source_address(const envoy_config_core_v3_BindConfig *msg)
Definition: address.upb.h:262
struct envoy_config_core_v3_Address envoy_config_core_v3_Address
Definition: address.upb.h:35
struct envoy_config_core_v3_EnvoyInternalAddress envoy_config_core_v3_EnvoyInternalAddress
Definition: address.upb.h:31
envoy_config_core_v3_EnvoyInternalAddress_address_name_specifier_oneofcases
Definition: address.upb.h:107
@ envoy_config_core_v3_EnvoyInternalAddress_address_name_specifier_server_listener_name
Definition: address.upb.h:108
@ envoy_config_core_v3_EnvoyInternalAddress_address_name_specifier_NOT_SET
Definition: address.upb.h:109
UPB_INLINE struct envoy_config_core_v3_SocketOption ** envoy_config_core_v3_BindConfig_resize_socket_options(envoy_config_core_v3_BindConfig *msg, size_t len, upb_arena *arena)
Definition: address.upb.h:298
UPB_INLINE uint32_t envoy_config_core_v3_SocketAddress_port_value(const envoy_config_core_v3_SocketAddress *msg)
Definition: address.upb.h:150
UPB_INLINE envoy_config_core_v3_TcpKeepalive * envoy_config_core_v3_TcpKeepalive_parse(const char *buf, size_t size, upb_arena *arena)
Definition: address.upb.h:180
UPB_INLINE envoy_config_core_v3_SocketAddress * envoy_config_core_v3_SocketAddress_parse(const char *buf, size_t size, upb_arena *arena)
Definition: address.upb.h:125
UPB_INLINE bool envoy_config_core_v3_TcpKeepalive_has_keepalive_probes(const envoy_config_core_v3_TcpKeepalive *msg)
Definition: address.upb.h:195
UPB_INLINE envoy_config_core_v3_BindConfig * envoy_config_core_v3_BindConfig_new(upb_arena *arena)
Definition: address.upb.h:244
UPB_INLINE char * envoy_config_core_v3_EnvoyInternalAddress_serialize(const envoy_config_core_v3_EnvoyInternalAddress *msg, upb_arena *arena, size_t *len)
Definition: address.upb.h:103
UPB_INLINE envoy_config_core_v3_Address * envoy_config_core_v3_Address_parse(const char *buf, size_t size, upb_arena *arena)
Definition: address.upb.h:314
envoy_config_core_v3_SocketAddress_Protocol
Definition: address.upb.h:51
@ envoy_config_core_v3_SocketAddress_TCP
Definition: address.upb.h:52
@ envoy_config_core_v3_SocketAddress_UDP
Definition: address.upb.h:53
UPB_INLINE void envoy_config_core_v3_TcpKeepalive_set_keepalive_probes(envoy_config_core_v3_TcpKeepalive *msg, struct google_protobuf_UInt32Value *value)
Definition: address.upb.h:202
UPB_INLINE void envoy_config_core_v3_EnvoyInternalAddress_set_server_listener_name(envoy_config_core_v3_EnvoyInternalAddress *msg, upb_strview value)
Definition: address.upb.h:116
UPB_INLINE struct google_protobuf_UInt32Value * envoy_config_core_v3_CidrRange_mutable_prefix_len(envoy_config_core_v3_CidrRange *msg, upb_arena *arena)
Definition: address.upb.h:412
UPB_INLINE upb_strview envoy_config_core_v3_Pipe_path(const envoy_config_core_v3_Pipe *msg)
Definition: address.upb.h:77
UPB_INLINE char * envoy_config_core_v3_TcpKeepalive_serialize(const envoy_config_core_v3_TcpKeepalive *msg, upb_arena *arena, size_t *len)
Definition: address.upb.h:191
UPB_INLINE envoy_config_core_v3_CidrRange * envoy_config_core_v3_CidrRange_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: address.upb.h:391
const upb_msglayout envoy_config_core_v3_TcpKeepalive_msginit
Definition: address.upb.c:66
UPB_INLINE envoy_config_core_v3_EnvoyInternalAddress * envoy_config_core_v3_EnvoyInternalAddress_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: address.upb.h:97
const upb_msglayout envoy_config_core_v3_EnvoyInternalAddress_msginit
Definition: address.upb.c:35
UPB_INLINE const struct google_protobuf_BoolValue * envoy_config_core_v3_BindConfig_freebind(const envoy_config_core_v3_BindConfig *msg)
Definition: address.upb.h:265
envoy_config_core_v3_SocketAddress_port_specifier_oneofcases
Definition: address.upb.h:140
@ envoy_config_core_v3_SocketAddress_port_specifier_named_port
Definition: address.upb.h:142
@ envoy_config_core_v3_SocketAddress_port_specifier_NOT_SET
Definition: address.upb.h:143
@ envoy_config_core_v3_SocketAddress_port_specifier_port_value
Definition: address.upb.h:141
UPB_INLINE void envoy_config_core_v3_SocketAddress_set_resolver_name(envoy_config_core_v3_SocketAddress *msg, upb_strview value)
Definition: address.upb.h:168
UPB_INLINE envoy_config_core_v3_Address * envoy_config_core_v3_Address_new(upb_arena *arena)
Definition: address.upb.h:311
const upb_msglayout envoy_config_core_v3_CidrRange_msginit
Definition: address.upb.c:117
UPB_INLINE envoy_config_core_v3_CidrRange * envoy_config_core_v3_CidrRange_new(upb_arena *arena)
Definition: address.upb.h:383
UPB_INLINE void envoy_config_core_v3_Address_set_pipe(envoy_config_core_v3_Address *msg, envoy_config_core_v3_Pipe *value)
Definition: address.upb.h:356
UPB_INLINE void envoy_config_core_v3_BindConfig_set_source_address(envoy_config_core_v3_BindConfig *msg, envoy_config_core_v3_SocketAddress *value)
Definition: address.upb.h:269
UPB_INLINE envoy_config_core_v3_Address * envoy_config_core_v3_Address_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: address.upb.h:319
UPB_INLINE char * envoy_config_core_v3_Pipe_serialize(const envoy_config_core_v3_Pipe *msg, upb_arena *arena, size_t *len)
Definition: address.upb.h:73
struct envoy_config_core_v3_BindConfig envoy_config_core_v3_BindConfig
Definition: address.upb.h:34
UPB_INLINE void envoy_config_core_v3_SocketAddress_set_address(envoy_config_core_v3_SocketAddress *msg, upb_strview value)
Definition: address.upb.h:159
UPB_INLINE const envoy_config_core_v3_Pipe * envoy_config_core_v3_Address_pipe(const envoy_config_core_v3_Address *msg)
Definition: address.upb.h:340
struct envoy_config_core_v3_Pipe envoy_config_core_v3_Pipe
Definition: address.upb.h:30
struct envoy_config_core_v3_CidrRange envoy_config_core_v3_CidrRange
Definition: address.upb.h:36
UPB_INLINE envoy_config_core_v3_SocketAddress * envoy_config_core_v3_SocketAddress_new(upb_arena *arena)
Definition: address.upb.h:122
UPB_INLINE envoy_config_core_v3_EnvoyInternalAddress * envoy_config_core_v3_EnvoyInternalAddress_parse(const char *buf, size_t size, upb_arena *arena)
Definition: address.upb.h:92
const upb_msglayout google_protobuf_UInt32Value_msginit
Definition: wrappers.upb.c:69
UPB_INLINE struct envoy_config_core_v3_SocketAddress * envoy_config_core_v3_BindConfig_mutable_source_address(envoy_config_core_v3_BindConfig *msg, upb_arena *arena)
Definition: address.upb.h:273
UPB_INLINE envoy_config_core_v3_TcpKeepalive * envoy_config_core_v3_TcpKeepalive_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: address.upb.h:185
UPB_INLINE struct envoy_config_core_v3_SocketOption ** envoy_config_core_v3_BindConfig_mutable_socket_options(envoy_config_core_v3_BindConfig *msg, size_t *len)
Definition: address.upb.h:295
envoy_config_core_v3_Address_address_oneofcases
Definition: address.upb.h:329
@ envoy_config_core_v3_Address_address_pipe
Definition: address.upb.h:331
@ envoy_config_core_v3_Address_address_envoy_internal_address
Definition: address.upb.h:332
@ envoy_config_core_v3_Address_address_NOT_SET
Definition: address.upb.h:333
@ envoy_config_core_v3_Address_address_socket_address
Definition: address.upb.h:330
UPB_INLINE const envoy_config_core_v3_EnvoyInternalAddress * envoy_config_core_v3_Address_envoy_internal_address(const envoy_config_core_v3_Address *msg)
Definition: address.upb.h:342
UPB_INLINE const struct envoy_config_core_v3_SocketOption *const * envoy_config_core_v3_BindConfig_socket_options(const envoy_config_core_v3_BindConfig *msg, size_t *len)
Definition: address.upb.h:267
UPB_INLINE bool envoy_config_core_v3_SocketAddress_ipv4_compat(const envoy_config_core_v3_SocketAddress *msg)
Definition: address.upb.h:154
UPB_INLINE upb_strview envoy_config_core_v3_SocketAddress_address(const envoy_config_core_v3_SocketAddress *msg)
Definition: address.upb.h:148
UPB_INLINE void envoy_config_core_v3_TcpKeepalive_set_keepalive_time(envoy_config_core_v3_TcpKeepalive *msg, struct google_protobuf_UInt32Value *value)
Definition: address.upb.h:215
UPB_INLINE bool envoy_config_core_v3_Address_has_envoy_internal_address(const envoy_config_core_v3_Address *msg)
Definition: address.upb.h:341
UPB_INLINE envoy_config_core_v3_CidrRange * envoy_config_core_v3_CidrRange_parse(const char *buf, size_t size, upb_arena *arena)
Definition: address.upb.h:386
UPB_INLINE bool envoy_config_core_v3_Address_has_pipe(const envoy_config_core_v3_Address *msg)
Definition: address.upb.h:339
UPB_INLINE struct google_protobuf_UInt32Value * envoy_config_core_v3_TcpKeepalive_mutable_keepalive_time(envoy_config_core_v3_TcpKeepalive *msg, upb_arena *arena)
Definition: address.upb.h:219
struct envoy_config_core_v3_TcpKeepalive envoy_config_core_v3_TcpKeepalive
Definition: address.upb.h:33
UPB_INLINE char * envoy_config_core_v3_CidrRange_serialize(const envoy_config_core_v3_CidrRange *msg, upb_arena *arena, size_t *len)
Definition: address.upb.h:397
struct envoy_config_core_v3_SocketAddress envoy_config_core_v3_SocketAddress
Definition: address.upb.h:32
UPB_INLINE void envoy_config_core_v3_TcpKeepalive_set_keepalive_interval(envoy_config_core_v3_TcpKeepalive *msg, struct google_protobuf_UInt32Value *value)
Definition: address.upb.h:228
UPB_INLINE envoy_config_core_v3_BindConfig * envoy_config_core_v3_BindConfig_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: address.upb.h:252
UPB_INLINE void envoy_config_core_v3_SocketAddress_set_named_port(envoy_config_core_v3_SocketAddress *msg, upb_strview value)
Definition: address.upb.h:165
UPB_INLINE envoy_config_core_v3_Pipe * envoy_config_core_v3_Pipe_new(upb_arena *arena)
Definition: address.upb.h:59
UPB_INLINE struct google_protobuf_BoolValue * envoy_config_core_v3_BindConfig_mutable_freebind(envoy_config_core_v3_BindConfig *msg, upb_arena *arena)
Definition: address.upb.h:286
UPB_INLINE envoy_config_core_v3_EnvoyInternalAddress * envoy_config_core_v3_EnvoyInternalAddress_new(upb_arena *arena)
Definition: address.upb.h:89
UPB_INLINE uint32_t envoy_config_core_v3_Pipe_mode(const envoy_config_core_v3_Pipe *msg)
Definition: address.upb.h:78
UPB_INLINE bool envoy_config_core_v3_TcpKeepalive_has_keepalive_interval(const envoy_config_core_v3_TcpKeepalive *msg)
Definition: address.upb.h:199
UPB_INLINE bool envoy_config_core_v3_BindConfig_has_socket_options(const envoy_config_core_v3_BindConfig *msg)
Definition: address.upb.h:266
UPB_INLINE void envoy_config_core_v3_Address_set_socket_address(envoy_config_core_v3_Address *msg, envoy_config_core_v3_SocketAddress *value)
Definition: address.upb.h:344
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_config_core_v3_TcpKeepalive_keepalive_interval(const envoy_config_core_v3_TcpKeepalive *msg)
Definition: address.upb.h:200
UPB_INLINE bool envoy_config_core_v3_BindConfig_has_freebind(const envoy_config_core_v3_BindConfig *msg)
Definition: address.upb.h:264
UPB_INLINE void envoy_config_core_v3_Pipe_set_mode(envoy_config_core_v3_Pipe *msg, uint32_t value)
Definition: address.upb.h:83
UPB_INLINE char * envoy_config_core_v3_Address_serialize(const envoy_config_core_v3_Address *msg, upb_arena *arena, size_t *len)
Definition: address.upb.h:325
UPB_INLINE envoy_config_core_v3_TcpKeepalive * envoy_config_core_v3_TcpKeepalive_new(upb_arena *arena)
Definition: address.upb.h:177
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_config_core_v3_TcpKeepalive_keepalive_probes(const envoy_config_core_v3_TcpKeepalive *msg)
Definition: address.upb.h:196
UPB_INLINE bool envoy_config_core_v3_EnvoyInternalAddress_has_server_listener_name(const envoy_config_core_v3_EnvoyInternalAddress *msg)
Definition: address.upb.h:113
UPB_INLINE struct envoy_config_core_v3_Pipe * envoy_config_core_v3_Address_mutable_pipe(envoy_config_core_v3_Address *msg, upb_arena *arena)
Definition: address.upb.h:359
UPB_INLINE struct envoy_config_core_v3_SocketAddress * envoy_config_core_v3_Address_mutable_socket_address(envoy_config_core_v3_Address *msg, upb_arena *arena)
Definition: address.upb.h:347
UPB_INLINE envoy_config_core_v3_Pipe * envoy_config_core_v3_Pipe_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: address.upb.h:67
UPB_INLINE bool envoy_config_core_v3_SocketAddress_has_port_value(const envoy_config_core_v3_SocketAddress *msg)
Definition: address.upb.h:149
UPB_INLINE void envoy_config_core_v3_SocketAddress_set_ipv4_compat(envoy_config_core_v3_SocketAddress *msg, bool value)
Definition: address.upb.h:171
UPB_INLINE struct google_protobuf_UInt32Value * envoy_config_core_v3_TcpKeepalive_mutable_keepalive_interval(envoy_config_core_v3_TcpKeepalive *msg, upb_arena *arena)
Definition: address.upb.h:232
UPB_INLINE void envoy_config_core_v3_SocketAddress_set_protocol(envoy_config_core_v3_SocketAddress *msg, int32_t value)
Definition: address.upb.h:156
UPB_INLINE const envoy_config_core_v3_SocketAddress * envoy_config_core_v3_BindConfig_source_address(const envoy_config_core_v3_BindConfig *msg)
Definition: address.upb.h:263
UPB_INLINE void envoy_config_core_v3_Address_set_envoy_internal_address(envoy_config_core_v3_Address *msg, envoy_config_core_v3_EnvoyInternalAddress *value)
Definition: address.upb.h:368
UPB_INLINE bool envoy_config_core_v3_CidrRange_has_prefix_len(const envoy_config_core_v3_CidrRange *msg)
Definition: address.upb.h:402
UPB_INLINE envoy_config_core_v3_EnvoyInternalAddress_address_name_specifier_oneofcases envoy_config_core_v3_EnvoyInternalAddress_address_name_specifier_case(const envoy_config_core_v3_EnvoyInternalAddress *msg)
Definition: address.upb.h:111
UPB_INLINE void envoy_config_core_v3_SocketAddress_set_port_value(envoy_config_core_v3_SocketAddress *msg, uint32_t value)
Definition: address.upb.h:162
UPB_INLINE void envoy_config_core_v3_CidrRange_set_prefix_len(envoy_config_core_v3_CidrRange *msg, struct google_protobuf_UInt32Value *value)
Definition: address.upb.h:408
UPB_INLINE int32_t envoy_config_core_v3_SocketAddress_protocol(const envoy_config_core_v3_SocketAddress *msg)
Definition: address.upb.h:147
UPB_INLINE bool envoy_config_core_v3_Address_has_socket_address(const envoy_config_core_v3_Address *msg)
Definition: address.upb.h:337
UPB_INLINE upb_strview envoy_config_core_v3_SocketAddress_resolver_name(const envoy_config_core_v3_SocketAddress *msg)
Definition: address.upb.h:153
UPB_INLINE const envoy_config_core_v3_SocketAddress * envoy_config_core_v3_Address_socket_address(const envoy_config_core_v3_Address *msg)
Definition: address.upb.h:338
const upb_msglayout google_protobuf_BoolValue_msginit
Definition: wrappers.upb.c:79
UPB_INLINE char * envoy_config_core_v3_SocketAddress_serialize(const envoy_config_core_v3_SocketAddress *msg, upb_arena *arena, size_t *len)
Definition: address.upb.h:136
UPB_INLINE upb_strview envoy_config_core_v3_CidrRange_address_prefix(const envoy_config_core_v3_CidrRange *msg)
Definition: address.upb.h:401
UPB_INLINE void envoy_config_core_v3_CidrRange_set_address_prefix(envoy_config_core_v3_CidrRange *msg, upb_strview value)
Definition: address.upb.h:405
UPB_INLINE envoy_config_core_v3_Pipe * envoy_config_core_v3_Pipe_parse(const char *buf, size_t size, upb_arena *arena)
Definition: address.upb.h:62
UPB_INLINE struct envoy_config_core_v3_SocketOption * envoy_config_core_v3_BindConfig_add_socket_options(envoy_config_core_v3_BindConfig *msg, upb_arena *arena)
Definition: address.upb.h:301
UPB_INLINE char * envoy_config_core_v3_BindConfig_serialize(const envoy_config_core_v3_BindConfig *msg, upb_arena *arena, size_t *len)
Definition: address.upb.h:258
const upb_msglayout envoy_config_core_v3_SocketOption_msginit
Definition: socket_option.upb.c:27
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_config_core_v3_TcpKeepalive_keepalive_time(const envoy_config_core_v3_TcpKeepalive *msg)
Definition: address.upb.h:198
UPB_INLINE struct google_protobuf_UInt32Value * envoy_config_core_v3_TcpKeepalive_mutable_keepalive_probes(envoy_config_core_v3_TcpKeepalive *msg, upb_arena *arena)
Definition: address.upb.h:206
const upb_msglayout envoy_config_core_v3_Address_msginit
Definition: address.upb.c:102
const upb_msglayout envoy_config_core_v3_SocketAddress_msginit
Definition: address.upb.c:50
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_config_core_v3_CidrRange_prefix_len(const envoy_config_core_v3_CidrRange *msg)
Definition: address.upb.h:403
const upb_msglayout envoy_config_core_v3_Pipe_msginit
Definition: address.upb.c:25
UPB_INLINE envoy_config_core_v3_SocketAddress_port_specifier_oneofcases envoy_config_core_v3_SocketAddress_port_specifier_case(const envoy_config_core_v3_SocketAddress *msg)
Definition: address.upb.h:145
UPB_INLINE upb_strview envoy_config_core_v3_SocketAddress_named_port(const envoy_config_core_v3_SocketAddress *msg)
Definition: address.upb.h:152
const upb_msglayout envoy_config_core_v3_BindConfig_msginit
Definition: address.upb.c:84
UPB_INLINE upb_strview envoy_config_core_v3_EnvoyInternalAddress_server_listener_name(const envoy_config_core_v3_EnvoyInternalAddress *msg)
Definition: address.upb.h:114
UPB_INLINE void envoy_config_core_v3_Pipe_set_path(envoy_config_core_v3_Pipe *msg, upb_strview value)
Definition: address.upb.h:80
UPB_INLINE struct envoy_config_core_v3_EnvoyInternalAddress * envoy_config_core_v3_Address_mutable_envoy_internal_address(envoy_config_core_v3_Address *msg, upb_arena *arena)
Definition: address.upb.h:371
UPB_INLINE envoy_config_core_v3_Address_address_oneofcases envoy_config_core_v3_Address_address_case(const envoy_config_core_v3_Address *msg)
Definition: address.upb.h:335
struct envoy_config_core_v3_SocketOption envoy_config_core_v3_SocketOption
Definition: socket_option.upb.h:24
struct google_protobuf_BoolValue google_protobuf_BoolValue
Definition: wrappers.upb.h:38
struct google_protobuf_UInt32Value google_protobuf_UInt32Value
Definition: wrappers.upb.h:37
upb_arena * arena
Definition: xds_api.cc:909