1 /* This file was generated by upb_generator from the input file: 2 * 3 * google/protobuf/struct.proto 4 * 5 * Do not edit -- your changes will be discarded when the file is 6 * regenerated. */ 7 8 #ifndef GOOGLE_PROTOBUF_STRUCT_PROTO_UPBDEFS_H_ 9 #define GOOGLE_PROTOBUF_STRUCT_PROTO_UPBDEFS_H_ 10 11 #include "upb/reflection/def.h" 12 #include "upb/reflection/internal/def_pool.h" 13 14 #include "upb/port/def.inc" // Must be last. 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit; 20 google_protobuf_Struct_getmsgdef(upb_DefPool * s)21UPB_INLINE const upb_MessageDef *google_protobuf_Struct_getmsgdef(upb_DefPool *s) { 22 _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit); 23 return upb_DefPool_FindMessageByName(s, "google.protobuf.Struct"); 24 } 25 google_protobuf_Struct_FieldsEntry_getmsgdef(upb_DefPool * s)26UPB_INLINE const upb_MessageDef *google_protobuf_Struct_FieldsEntry_getmsgdef(upb_DefPool *s) { 27 _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit); 28 return upb_DefPool_FindMessageByName(s, "google.protobuf.Struct.FieldsEntry"); 29 } 30 google_protobuf_Value_getmsgdef(upb_DefPool * s)31UPB_INLINE const upb_MessageDef *google_protobuf_Value_getmsgdef(upb_DefPool *s) { 32 _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit); 33 return upb_DefPool_FindMessageByName(s, "google.protobuf.Value"); 34 } 35 google_protobuf_ListValue_getmsgdef(upb_DefPool * s)36UPB_INLINE const upb_MessageDef *google_protobuf_ListValue_getmsgdef(upb_DefPool *s) { 37 _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit); 38 return upb_DefPool_FindMessageByName(s, "google.protobuf.ListValue"); 39 } 40 41 #ifdef __cplusplus 42 } /* extern "C" */ 43 #endif 44 45 #include "upb/port/undef.inc" 46 47 #endif /* GOOGLE_PROTOBUF_STRUCT_PROTO_UPBDEFS_H_ */ 48