1 /* This file was generated by upbc (the upb compiler) from the input
2 * file:
3 *
4 * envoy/api/v2/eds.proto
5 *
6 * Do not edit -- your changes will be discarded when the file is
7 * regenerated. */
8
9 #ifndef ENVOY_API_V2_EDS_PROTO_UPB_H_
10 #define ENVOY_API_V2_EDS_PROTO_UPB_H_
11
12 #include "upb/msg.h"
13 #include "upb/decode.h"
14 #include "upb/encode.h"
15
16 /* Public Imports. */
17 #include "envoy/api/v2/endpoint.upb.h"
18
19 #include "upb/port_def.inc"
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 struct envoy_api_v2_EdsDummy;
26 typedef struct envoy_api_v2_EdsDummy envoy_api_v2_EdsDummy;
27 extern const upb_msglayout envoy_api_v2_EdsDummy_msginit;
28
29
30 /* envoy.api.v2.EdsDummy */
31
envoy_api_v2_EdsDummy_new(upb_arena * arena)32 UPB_INLINE envoy_api_v2_EdsDummy *envoy_api_v2_EdsDummy_new(upb_arena *arena) {
33 return (envoy_api_v2_EdsDummy *)_upb_msg_new(&envoy_api_v2_EdsDummy_msginit, arena);
34 }
envoy_api_v2_EdsDummy_parse(const char * buf,size_t size,upb_arena * arena)35 UPB_INLINE envoy_api_v2_EdsDummy *envoy_api_v2_EdsDummy_parse(const char *buf, size_t size,
36 upb_arena *arena) {
37 envoy_api_v2_EdsDummy *ret = envoy_api_v2_EdsDummy_new(arena);
38 return (ret && upb_decode(buf, size, ret, &envoy_api_v2_EdsDummy_msginit, arena)) ? ret : NULL;
39 }
envoy_api_v2_EdsDummy_serialize(const envoy_api_v2_EdsDummy * msg,upb_arena * arena,size_t * len)40 UPB_INLINE char *envoy_api_v2_EdsDummy_serialize(const envoy_api_v2_EdsDummy *msg, upb_arena *arena, size_t *len) {
41 return upb_encode(msg, &envoy_api_v2_EdsDummy_msginit, arena, len);
42 }
43
44
45
46 #ifdef __cplusplus
47 } /* extern "C" */
48 #endif
49
50 #include "upb/port_undef.inc"
51
52 #endif /* ENVOY_API_V2_EDS_PROTO_UPB_H_ */
53