9 #ifndef UDPA_TYPE_V1_TYPED_STRUCT_PROTO_UPB_H_
10 #define UDPA_TYPE_V1_TYPED_STRUCT_PROTO_UPB_H_
13 #include "upb/decode.h"
14 #include "upb/decode_fast.h"
15 #include "upb/encode.h"
17 #include "upb/port_def.inc"
41 upb_arena *
arena,
int options) {
55 *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview) = value;
65 if (!sub)
return NULL;
75 #include "upb/port_undef.inc"
struct google_protobuf_Struct google_protobuf_Struct
Definition: struct.upb.h:27
UPB_INLINE udpa_type_v1_TypedStruct * udpa_type_v1_TypedStruct_new(upb_arena *arena)
Definition: typed_struct.upb.h:32
UPB_INLINE struct google_protobuf_Struct * udpa_type_v1_TypedStruct_mutable_value(udpa_type_v1_TypedStruct *msg, upb_arena *arena)
Definition: typed_struct.upb.h:61
UPB_INLINE char * udpa_type_v1_TypedStruct_serialize(const udpa_type_v1_TypedStruct *msg, upb_arena *arena, size_t *len)
Definition: typed_struct.upb.h:46
const upb_msglayout udpa_type_v1_TypedStruct_msginit
Definition: typed_struct.upb.c:26
UPB_INLINE const struct google_protobuf_Struct * udpa_type_v1_TypedStruct_value(const udpa_type_v1_TypedStruct *msg)
Definition: typed_struct.upb.h:52
const upb_msglayout google_protobuf_Struct_msginit
Definition: struct.upb.c:23
UPB_INLINE void udpa_type_v1_TypedStruct_set_value(udpa_type_v1_TypedStruct *msg, struct google_protobuf_Struct *value)
Definition: typed_struct.upb.h:57
UPB_INLINE void udpa_type_v1_TypedStruct_set_type_url(udpa_type_v1_TypedStruct *msg, upb_strview value)
Definition: typed_struct.upb.h:54
UPB_INLINE upb_strview udpa_type_v1_TypedStruct_type_url(const udpa_type_v1_TypedStruct *msg)
Definition: typed_struct.upb.h:50
UPB_INLINE udpa_type_v1_TypedStruct * udpa_type_v1_TypedStruct_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: typed_struct.upb.h:40
UPB_INLINE udpa_type_v1_TypedStruct * udpa_type_v1_TypedStruct_parse(const char *buf, size_t size, upb_arena *arena)
Definition: typed_struct.upb.h:35
struct udpa_type_v1_TypedStruct udpa_type_v1_TypedStruct
Definition: typed_struct.upb.h:24
UPB_INLINE bool udpa_type_v1_TypedStruct_has_value(const udpa_type_v1_TypedStruct *msg)
Definition: typed_struct.upb.h:51
upb_arena * arena
Definition: xds_api.cc:909