Go to the documentation of this file.
9 #ifndef GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_H_
10 #define GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_H_
17 #include "upb/port_def.inc"
49 if (!
ret)
return NULL;
59 if (!
ret)
return NULL;
127 if (!
ret)
return NULL;
137 if (!
ret)
return NULL;
237 if (!sub)
return NULL;
249 if (!sub)
return NULL;
262 if (!
ret)
return NULL;
272 if (!
ret)
return NULL;
305 if (!
ok)
return NULL;
315 #include "upb/port_undef.inc"
UPB_INLINE void _upb_msg_map_clear(upb_msg *msg, size_t ofs)
UPB_INLINE bool google_protobuf_Value_has_number_value(const google_protobuf_Value *msg)
UPB_INLINE upb_StringView google_protobuf_Value_string_value(const google_protobuf_Value *msg)
UPB_INLINE void google_protobuf_Value_clear_number_value(const google_protobuf_Value *msg)
UPB_INLINE bool google_protobuf_Struct_fields_delete(google_protobuf_Struct *msg, upb_StringView key)
const UPB_INLINE void * _upb_array_accessor(const void *msg, size_t ofs, size_t *size)
UPB_INLINE google_protobuf_Struct * google_protobuf_Struct_new(upb_Arena *arena)
@ google_protobuf_Value_kind_NOT_SET
UPB_INLINE void google_protobuf_Value_set_number_value(google_protobuf_Value *msg, double value)
UPB_INLINE struct google_protobuf_Struct * google_protobuf_Value_mutable_struct_value(google_protobuf_Value *msg, upb_Arena *arena)
UPB_INLINE void google_protobuf_Struct_fields_clear(google_protobuf_Struct *msg)
UPB_INLINE char * google_protobuf_Value_serialize(const google_protobuf_Value *msg, upb_Arena *arena, size_t *len)
UPB_INLINE char * google_protobuf_Struct_serialize(const google_protobuf_Struct *msg, upb_Arena *arena, size_t *len)
upb_DecodeStatus upb_Decode(const char *buf, size_t size, void *msg, const upb_MiniTable *l, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
UPB_INLINE google_protobuf_ListValue * google_protobuf_ListValue_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
UPB_INLINE bool google_protobuf_Value_bool_value(const google_protobuf_Value *msg)
google_protobuf_Value_kind_oneofcases
UPB_INLINE struct google_protobuf_ListValue * google_protobuf_Value_mutable_list_value(google_protobuf_Value *msg, upb_Arena *arena)
UPB_INLINE void google_protobuf_Value_clear_null_value(const google_protobuf_Value *msg)
UPB_INLINE bool google_protobuf_Value_has_null_value(const google_protobuf_Value *msg)
UPB_INLINE void google_protobuf_Struct_clear_fields(const google_protobuf_Struct *msg)
UPB_INLINE bool _upb_msg_map_set(upb_msg *msg, size_t ofs, const void *key, size_t key_size, void *val, size_t val_size, upb_arena *arena)
UPB_INLINE char * google_protobuf_Value_serialize_ex(const google_protobuf_Value *msg, int options, upb_Arena *arena, size_t *len)
UPB_INLINE double google_protobuf_Value_number_value(const google_protobuf_Value *msg)
UPB_INLINE upb_StringView google_protobuf_Struct_FieldsEntry_key(const google_protobuf_Struct_FieldsEntry *msg)
UPB_INLINE void _upb_array_detach(const void *msg, size_t ofs)
@ google_protobuf_Value_kind_bool_value
const upb_MiniTable google_protobuf_ListValue_msginit
#define UPB_PTR_AT(msg, ofs, type)
UPB_INLINE struct google_protobuf_Value * google_protobuf_ListValue_add_values(google_protobuf_ListValue *msg, upb_Arena *arena)
grpc_core::ScopedArenaPtr arena
UPB_INLINE void * _upb_msg_map_next(const upb_msg *msg, size_t ofs, size_t *iter)
const UPB_INLINE google_protobuf_ListValue * google_protobuf_Value_list_value(const google_protobuf_Value *msg)
UPB_INLINE google_protobuf_Value_kind_oneofcases google_protobuf_Value_kind_case(const google_protobuf_Value *msg)
UPB_INLINE google_protobuf_Value * google_protobuf_Value_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
upb_Message * _upb_Message_New(const upb_MiniTable *l, upb_Arena *a)
@ google_protobuf_Value_kind_string_value
UPB_INLINE void _upb_msg_map_value(const void *msg, void *val, size_t size)
UPB_INLINE void google_protobuf_Struct_FieldsEntry_set_value(google_protobuf_Struct_FieldsEntry *msg, google_protobuf_Value *value)
UPB_INLINE bool _upb_msg_map_get(const upb_msg *msg, size_t ofs, const void *key, size_t key_size, void *val, size_t val_size)
UPB_INLINE bool _upb_Array_Append_accessor2(void *msg, size_t ofs, int elem_size_lg2, const void *value, upb_Arena *arena)
#define UPB_SIZE(size32, size64)
UPB_INLINE google_protobuf_ListValue * google_protobuf_ListValue_new(upb_Arena *arena)
UPB_INLINE google_protobuf_Value * google_protobuf_Value_new(upb_Arena *arena)
UPB_INLINE google_protobuf_Struct_FieldsEntry * google_protobuf_Struct_fields_nextmutable(google_protobuf_Struct *msg, size_t *iter)
@ google_protobuf_Value_kind_struct_value
UPB_INLINE bool google_protobuf_Struct_has_fields(const google_protobuf_Struct *msg)
UPB_INLINE void google_protobuf_Value_set_string_value(google_protobuf_Value *msg, upb_StringView value)
struct google_protobuf_Struct google_protobuf_Struct
UPB_INLINE char * google_protobuf_ListValue_serialize(const google_protobuf_ListValue *msg, upb_Arena *arena, size_t *len)
UPB_INLINE bool google_protobuf_Struct_fields_set(google_protobuf_Struct *msg, upb_StringView key, google_protobuf_Value *val, upb_Arena *a)
const upb_MiniTable google_protobuf_Struct_FieldsEntry_msginit
UPB_INLINE bool google_protobuf_Struct_FieldsEntry_has_value(const google_protobuf_Struct_FieldsEntry *msg)
UPB_INLINE void google_protobuf_Value_clear_struct_value(const google_protobuf_Value *msg)
@ google_protobuf_Value_kind_list_value
UPB_INLINE google_protobuf_Value * google_protobuf_Value_parse(const char *buf, size_t size, upb_Arena *arena)
const upb_MiniTable google_protobuf_Value_msginit
UPB_INLINE bool google_protobuf_Value_has_bool_value(const google_protobuf_Value *msg)
const upb_MiniTable_File google_protobuf_struct_proto_upb_file_layout
UPB_INLINE bool google_protobuf_ListValue_has_values(const google_protobuf_ListValue *msg)
UPB_INLINE bool _upb_msg_map_delete(upb_msg *msg, size_t ofs, const void *key, size_t key_size)
UPB_INLINE void google_protobuf_Value_clear_string_value(const google_protobuf_Value *msg)
UPB_INLINE size_t _upb_msg_map_size(const upb_msg *msg, size_t ofs)
UPB_INLINE size_t google_protobuf_Struct_fields_size(const google_protobuf_Struct *msg)
UPB_INLINE uint32_t _upb_getoneofcase(const void *msg, size_t case_ofs)
UPB_INLINE bool google_protobuf_Struct_fields_get(const google_protobuf_Struct *msg, upb_StringView key, google_protobuf_Value **val)
char * upb_Encode(const void *msg, const upb_MiniTable *l, int options, upb_Arena *arena, size_t *size)
const upb_MiniTable google_protobuf_Struct_msginit
struct google_protobuf_ListValue google_protobuf_ListValue
UPB_INLINE google_protobuf_Value ** google_protobuf_ListValue_mutable_values(google_protobuf_ListValue *msg, size_t *len)
UPB_INLINE void google_protobuf_Value_set_null_value(google_protobuf_Value *msg, int32_t value)
const UPB_INLINE google_protobuf_Value * google_protobuf_Struct_FieldsEntry_value(const google_protobuf_Struct_FieldsEntry *msg)
#define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default)
@ google_protobuf_Value_kind_number_value
UPB_INLINE char * google_protobuf_ListValue_serialize_ex(const google_protobuf_ListValue *msg, int options, upb_Arena *arena, size_t *len)
const UPB_INLINE google_protobuf_Struct * google_protobuf_Value_struct_value(const google_protobuf_Value *msg)
UniquePtr< SSL_SESSION > ret
UPB_INLINE bool google_protobuf_Value_has_list_value(const google_protobuf_Value *msg)
struct google_protobuf_Value google_protobuf_Value
UPB_INLINE upb_StringView upb_StringView_FromDataAndSize(const char *data, size_t size)
#define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val)
@ google_protobuf_NULL_VALUE
UPB_INLINE void google_protobuf_Value_clear_list_value(const google_protobuf_Value *msg)
UPB_INLINE void google_protobuf_Value_set_struct_value(google_protobuf_Value *msg, google_protobuf_Struct *value)
@ google_protobuf_Value_kind_null_value
UPB_INLINE void _upb_msg_map_set_value(void *msg, const void *val, size_t size)
UPB_INLINE upb_StringView upb_StringView_FromString(const char *data)
UPB_INLINE void * _upb_Array_Resize_accessor2(void *msg, size_t ofs, size_t size, int elem_size_lg2, upb_Arena *arena)
UPB_INLINE void google_protobuf_Value_set_list_value(google_protobuf_Value *msg, google_protobuf_ListValue *value)
UPB_INLINE google_protobuf_Struct * google_protobuf_Struct_parse(const char *buf, size_t size, upb_Arena *arena)
struct google_protobuf_Struct_FieldsEntry google_protobuf_Struct_FieldsEntry
UPB_INLINE bool _upb_has_submsg_nohasbit(const upb_msg *msg, size_t ofs)
UPB_INLINE void google_protobuf_ListValue_clear_values(const google_protobuf_ListValue *msg)
UPB_INLINE bool google_protobuf_Value_has_struct_value(const google_protobuf_Value *msg)
UPB_INLINE google_protobuf_Struct * google_protobuf_Struct_parse_ex(const char *buf, size_t size, const upb_ExtensionRegistry *extreg, int options, upb_Arena *arena)
const UPB_INLINE google_protobuf_Value *const * google_protobuf_ListValue_values(const google_protobuf_ListValue *msg, size_t *len)
UPB_INLINE void google_protobuf_Value_set_bool_value(google_protobuf_Value *msg, bool value)
UPB_INLINE void _upb_msg_map_key(const void *msg, void *key, size_t size)
UPB_INLINE char * google_protobuf_Struct_serialize_ex(const google_protobuf_Struct *msg, int options, upb_Arena *arena, size_t *len)
UPB_INLINE google_protobuf_Value ** google_protobuf_ListValue_resize_values(google_protobuf_ListValue *msg, size_t len, upb_Arena *arena)
UPB_INLINE bool google_protobuf_Value_has_string_value(const google_protobuf_Value *msg)
UPB_INLINE google_protobuf_ListValue * google_protobuf_ListValue_parse(const char *buf, size_t size, upb_Arena *arena)
google_protobuf_NullValue
const UPB_INLINE google_protobuf_Struct_FieldsEntry * google_protobuf_Struct_fields_next(const google_protobuf_Struct *msg, size_t *iter)
UPB_INLINE void * _upb_array_mutable_accessor(void *msg, size_t ofs, size_t *size)
UPB_INLINE int32_t google_protobuf_Value_null_value(const google_protobuf_Value *msg)
UPB_INLINE void google_protobuf_Value_clear_bool_value(const google_protobuf_Value *msg)
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:22