GRPC Core  18.0.0
rds.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/service/route/v3/rds.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_SERVICE_ROUTE_V3_RDS_PROTO_UPB_H_
10 #define ENVOY_SERVICE_ROUTE_V3_RDS_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 
25 extern const upb_msglayout envoy_service_route_v3_RdsDummy_msginit;
26 
27 
28 /* envoy.service.route.v3.RdsDummy */
29 
32 }
34  upb_arena *arena) {
36  return (ret && upb_decode(buf, size, ret, &envoy_service_route_v3_RdsDummy_msginit, arena)) ? ret : NULL;
37 }
39  upb_arena *arena, int options) {
41  return (ret && _upb_decode(buf, size, ret, &envoy_service_route_v3_RdsDummy_msginit, arena, options))
42  ? ret : NULL;
43 }
44 UPB_INLINE char *envoy_service_route_v3_RdsDummy_serialize(const envoy_service_route_v3_RdsDummy *msg, upb_arena *arena, size_t *len) {
45  return upb_encode(msg, &envoy_service_route_v3_RdsDummy_msginit, arena, len);
46 }
47 
48 
49 
50 #ifdef __cplusplus
51 } /* extern "C" */
52 #endif
53 
54 #include "upb/port_undef.inc"
55 
56 #endif /* ENVOY_SERVICE_ROUTE_V3_RDS_PROTO_UPB_H_ */
UPB_INLINE envoy_service_route_v3_RdsDummy * envoy_service_route_v3_RdsDummy_new(upb_arena *arena)
Definition: rds.upb.h:30
UPB_INLINE char * envoy_service_route_v3_RdsDummy_serialize(const envoy_service_route_v3_RdsDummy *msg, upb_arena *arena, size_t *len)
Definition: rds.upb.h:44
const upb_msglayout envoy_service_route_v3_RdsDummy_msginit
Definition: rds.upb.c:20
struct envoy_service_route_v3_RdsDummy envoy_service_route_v3_RdsDummy
Definition: rds.upb.h:24
UPB_INLINE envoy_service_route_v3_RdsDummy * envoy_service_route_v3_RdsDummy_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: rds.upb.h:38
UPB_INLINE envoy_service_route_v3_RdsDummy * envoy_service_route_v3_RdsDummy_parse(const char *buf, size_t size, upb_arena *arena)
Definition: rds.upb.h:33
upb_arena * arena
Definition: xds_api.cc:909