9 #ifndef GOOGLE_PROTOBUF_WRAPPERS_PROTO_UPB_H_ 10 #define GOOGLE_PROTOBUF_WRAPPERS_PROTO_UPB_H_ 12 #include "upb/generated_util.h" 14 #include "upb/decode.h" 15 #include "upb/encode.h" 17 #include "upb/port_def.inc" 69 UPB_FIELD_AT(msg,
double, UPB_SIZE(0, 0)) = value;
89 UPB_FIELD_AT(msg,
float, UPB_SIZE(0, 0)) = value;
109 UPB_FIELD_AT(msg, int64_t, UPB_SIZE(0, 0)) = value;
129 UPB_FIELD_AT(msg, uint64_t, UPB_SIZE(0, 0)) = value;
149 UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)) = value;
169 UPB_FIELD_AT(msg, uint32_t, UPB_SIZE(0, 0)) = value;
189 UPB_FIELD_AT(msg,
bool, UPB_SIZE(0, 0)) = value;
209 UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
229 UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
236 #include "upb/port_undef.inc" UPB_INLINE google_protobuf_UInt32Value * google_protobuf_UInt32Value_new(upb_arena *arena)
Definition: wrappers.upb.h:154
UPB_INLINE bool google_protobuf_BoolValue_value(const google_protobuf_BoolValue *msg)
Definition: wrappers.upb.h:186
const upb_msglayout google_protobuf_Int32Value_msginit
Definition: wrappers.upb.c:59
struct google_protobuf_UInt32Value google_protobuf_UInt32Value
Definition: wrappers.upb.h:37
UPB_INLINE void google_protobuf_BytesValue_set_value(google_protobuf_BytesValue *msg, upb_strview value)
Definition: wrappers.upb.h:228
UPB_INLINE void google_protobuf_BoolValue_set_value(google_protobuf_BoolValue *msg, bool value)
Definition: wrappers.upb.h:188
UPB_INLINE google_protobuf_Int32Value * google_protobuf_Int32Value_new(upb_arena *arena)
Definition: wrappers.upb.h:134
UPB_INLINE google_protobuf_Int32Value * google_protobuf_Int32Value_parse(const char *buf, size_t size, upb_arena *arena)
Definition: wrappers.upb.h:137
UPB_INLINE void google_protobuf_FloatValue_set_value(google_protobuf_FloatValue *msg, float value)
Definition: wrappers.upb.h:88
UPB_INLINE void google_protobuf_StringValue_set_value(google_protobuf_StringValue *msg, upb_strview value)
Definition: wrappers.upb.h:208
UPB_INLINE google_protobuf_StringValue * google_protobuf_StringValue_new(upb_arena *arena)
Definition: wrappers.upb.h:194
const upb_msglayout google_protobuf_BoolValue_msginit
Definition: wrappers.upb.c:79
const upb_msglayout google_protobuf_UInt32Value_msginit
Definition: wrappers.upb.c:69
UPB_INLINE double google_protobuf_DoubleValue_value(const google_protobuf_DoubleValue *msg)
Definition: wrappers.upb.h:66
struct google_protobuf_Int64Value google_protobuf_Int64Value
Definition: wrappers.upb.h:34
UPB_INLINE void google_protobuf_UInt64Value_set_value(google_protobuf_UInt64Value *msg, uint64_t value)
Definition: wrappers.upb.h:128
struct google_protobuf_BytesValue google_protobuf_BytesValue
Definition: wrappers.upb.h:40
UPB_INLINE google_protobuf_UInt32Value * google_protobuf_UInt32Value_parse(const char *buf, size_t size, upb_arena *arena)
Definition: wrappers.upb.h:157
UPB_INLINE google_protobuf_UInt64Value * google_protobuf_UInt64Value_new(upb_arena *arena)
Definition: wrappers.upb.h:114
struct google_protobuf_FloatValue google_protobuf_FloatValue
Definition: wrappers.upb.h:33
const upb_msglayout google_protobuf_DoubleValue_msginit
Definition: wrappers.upb.c:19
UPB_INLINE google_protobuf_DoubleValue * google_protobuf_DoubleValue_parse(const char *buf, size_t size, upb_arena *arena)
Definition: wrappers.upb.h:57
UPB_INLINE char * google_protobuf_BoolValue_serialize(const google_protobuf_BoolValue *msg, upb_arena *arena, size_t *len)
Definition: wrappers.upb.h:182
UPB_INLINE char * google_protobuf_UInt32Value_serialize(const google_protobuf_UInt32Value *msg, upb_arena *arena, size_t *len)
Definition: wrappers.upb.h:162
const upb_msglayout google_protobuf_FloatValue_msginit
Definition: wrappers.upb.c:29
UPB_INLINE google_protobuf_DoubleValue * google_protobuf_DoubleValue_new(upb_arena *arena)
Definition: wrappers.upb.h:54
UPB_INLINE google_protobuf_Int64Value * google_protobuf_Int64Value_new(upb_arena *arena)
Definition: wrappers.upb.h:94
UPB_INLINE uint64_t google_protobuf_UInt64Value_value(const google_protobuf_UInt64Value *msg)
Definition: wrappers.upb.h:126
UPB_INLINE void google_protobuf_Int32Value_set_value(google_protobuf_Int32Value *msg, int32_t value)
Definition: wrappers.upb.h:148
UPB_INLINE google_protobuf_UInt64Value * google_protobuf_UInt64Value_parse(const char *buf, size_t size, upb_arena *arena)
Definition: wrappers.upb.h:117
const upb_msglayout google_protobuf_UInt64Value_msginit
Definition: wrappers.upb.c:49
UPB_INLINE char * google_protobuf_BytesValue_serialize(const google_protobuf_BytesValue *msg, upb_arena *arena, size_t *len)
Definition: wrappers.upb.h:222
const upb_msglayout google_protobuf_BytesValue_msginit
Definition: wrappers.upb.c:99
UPB_INLINE upb_strview google_protobuf_StringValue_value(const google_protobuf_StringValue *msg)
Definition: wrappers.upb.h:206
struct google_protobuf_StringValue google_protobuf_StringValue
Definition: wrappers.upb.h:39
UPB_INLINE upb_strview google_protobuf_BytesValue_value(const google_protobuf_BytesValue *msg)
Definition: wrappers.upb.h:226
UPB_INLINE int64_t google_protobuf_Int64Value_value(const google_protobuf_Int64Value *msg)
Definition: wrappers.upb.h:106
UPB_INLINE void google_protobuf_Int64Value_set_value(google_protobuf_Int64Value *msg, int64_t value)
Definition: wrappers.upb.h:108
struct google_protobuf_UInt64Value google_protobuf_UInt64Value
Definition: wrappers.upb.h:35
UPB_INLINE float google_protobuf_FloatValue_value(const google_protobuf_FloatValue *msg)
Definition: wrappers.upb.h:86
UPB_INLINE char * google_protobuf_DoubleValue_serialize(const google_protobuf_DoubleValue *msg, upb_arena *arena, size_t *len)
Definition: wrappers.upb.h:62
const upb_msglayout google_protobuf_StringValue_msginit
Definition: wrappers.upb.c:89
const upb_msglayout google_protobuf_Int64Value_msginit
Definition: wrappers.upb.c:39
UPB_INLINE char * google_protobuf_FloatValue_serialize(const google_protobuf_FloatValue *msg, upb_arena *arena, size_t *len)
Definition: wrappers.upb.h:82
UPB_INLINE char * google_protobuf_StringValue_serialize(const google_protobuf_StringValue *msg, upb_arena *arena, size_t *len)
Definition: wrappers.upb.h:202
UPB_INLINE void google_protobuf_DoubleValue_set_value(google_protobuf_DoubleValue *msg, double value)
Definition: wrappers.upb.h:68
UPB_INLINE uint32_t google_protobuf_UInt32Value_value(const google_protobuf_UInt32Value *msg)
Definition: wrappers.upb.h:166
UPB_INLINE char * google_protobuf_Int32Value_serialize(const google_protobuf_Int32Value *msg, upb_arena *arena, size_t *len)
Definition: wrappers.upb.h:142
UPB_INLINE int32_t google_protobuf_Int32Value_value(const google_protobuf_Int32Value *msg)
Definition: wrappers.upb.h:146
struct google_protobuf_BoolValue google_protobuf_BoolValue
Definition: wrappers.upb.h:38
UPB_INLINE void google_protobuf_UInt32Value_set_value(google_protobuf_UInt32Value *msg, uint32_t value)
Definition: wrappers.upb.h:168
UPB_INLINE google_protobuf_BoolValue * google_protobuf_BoolValue_parse(const char *buf, size_t size, upb_arena *arena)
Definition: wrappers.upb.h:177
UPB_INLINE google_protobuf_FloatValue * google_protobuf_FloatValue_parse(const char *buf, size_t size, upb_arena *arena)
Definition: wrappers.upb.h:77
struct google_protobuf_DoubleValue google_protobuf_DoubleValue
Definition: wrappers.upb.h:32
UPB_INLINE google_protobuf_BytesValue * google_protobuf_BytesValue_parse(const char *buf, size_t size, upb_arena *arena)
Definition: wrappers.upb.h:217
UPB_INLINE google_protobuf_BytesValue * google_protobuf_BytesValue_new(upb_arena *arena)
Definition: wrappers.upb.h:214
UPB_INLINE google_protobuf_Int64Value * google_protobuf_Int64Value_parse(const char *buf, size_t size, upb_arena *arena)
Definition: wrappers.upb.h:97
UPB_INLINE google_protobuf_FloatValue * google_protobuf_FloatValue_new(upb_arena *arena)
Definition: wrappers.upb.h:74
struct google_protobuf_Int32Value google_protobuf_Int32Value
Definition: wrappers.upb.h:36
UPB_INLINE google_protobuf_BoolValue * google_protobuf_BoolValue_new(upb_arena *arena)
Definition: wrappers.upb.h:174
UPB_INLINE google_protobuf_StringValue * google_protobuf_StringValue_parse(const char *buf, size_t size, upb_arena *arena)
Definition: wrappers.upb.h:197
UPB_INLINE char * google_protobuf_Int64Value_serialize(const google_protobuf_Int64Value *msg, upb_arena *arena, size_t *len)
Definition: wrappers.upb.h:102
UPB_INLINE char * google_protobuf_UInt64Value_serialize(const google_protobuf_UInt64Value *msg, upb_arena *arena, size_t *len)
Definition: wrappers.upb.h:122