1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/service/endpoint/v3/eds.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_SERVICE_ENDPOINT_V3_EDS_PROTO_UPB_H_
10 #define ENVOY_SERVICE_ENDPOINT_V3_EDS_PROTO_UPB_H_
11 
12 #include "upb/msg_internal.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 
23 struct envoy_service_endpoint_v3_EdsDummy;
24 typedef struct envoy_service_endpoint_v3_EdsDummy envoy_service_endpoint_v3_EdsDummy;
25 extern const upb_msglayout envoy_service_endpoint_v3_EdsDummy_msginit;
26 
27 
28 /* envoy.service.endpoint.v3.EdsDummy */
29 
envoy_service_endpoint_v3_EdsDummy_new(upb_arena * arena)30 UPB_INLINE envoy_service_endpoint_v3_EdsDummy *envoy_service_endpoint_v3_EdsDummy_new(upb_arena *arena) {
31   return (envoy_service_endpoint_v3_EdsDummy *)_upb_msg_new(&envoy_service_endpoint_v3_EdsDummy_msginit, arena);
32 }
envoy_service_endpoint_v3_EdsDummy_parse(const char * buf,size_t size,upb_arena * arena)33 UPB_INLINE envoy_service_endpoint_v3_EdsDummy *envoy_service_endpoint_v3_EdsDummy_parse(const char *buf, size_t size,
34                         upb_arena *arena) {
35   envoy_service_endpoint_v3_EdsDummy *ret = envoy_service_endpoint_v3_EdsDummy_new(arena);
36   if (!ret) return NULL;
37   if (!upb_decode(buf, size, ret, &envoy_service_endpoint_v3_EdsDummy_msginit, arena)) return NULL;
38   return ret;
39 }
envoy_service_endpoint_v3_EdsDummy_parse_ex(const char * buf,size_t size,const upb_extreg * extreg,int options,upb_arena * arena)40 UPB_INLINE envoy_service_endpoint_v3_EdsDummy *envoy_service_endpoint_v3_EdsDummy_parse_ex(const char *buf, size_t size,
41                            const upb_extreg *extreg, int options,
42                            upb_arena *arena) {
43   envoy_service_endpoint_v3_EdsDummy *ret = envoy_service_endpoint_v3_EdsDummy_new(arena);
44   if (!ret) return NULL;
45   if (!_upb_decode(buf, size, ret, &envoy_service_endpoint_v3_EdsDummy_msginit, extreg, options, arena)) {
46     return NULL;
47   }
48   return ret;
49 }
envoy_service_endpoint_v3_EdsDummy_serialize(const envoy_service_endpoint_v3_EdsDummy * msg,upb_arena * arena,size_t * len)50 UPB_INLINE char *envoy_service_endpoint_v3_EdsDummy_serialize(const envoy_service_endpoint_v3_EdsDummy *msg, upb_arena *arena, size_t *len) {
51   return upb_encode(msg, &envoy_service_endpoint_v3_EdsDummy_msginit, arena, len);
52 }
53 
54 
55 
56 #ifdef __cplusplus
57 }  /* extern "C" */
58 #endif
59 
60 #include "upb/port_undef.inc"
61 
62 #endif  /* ENVOY_SERVICE_ENDPOINT_V3_EDS_PROTO_UPB_H_ */
63