• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  * NO CHECKED-IN PROTOBUF GENCODE */
8 
9 #ifndef GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_H__UPBDEFS_H_
10 #define GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_H__UPBDEFS_H_
11 
12 #include "upb/reflection/def.h"
13 #include "upb/reflection/internal/def_pool.h"
14 
15 #include "upb/port/def.inc" // Must be last.
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 extern _upb_DefPool_Init google_protobuf_struct_proto_upbdefinit;
21 
google_protobuf_Struct_getmsgdef(upb_DefPool * s)22 UPB_INLINE const upb_MessageDef *google_protobuf_Struct_getmsgdef(upb_DefPool *s) {
23   _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit);
24   return upb_DefPool_FindMessageByName(s, "google.protobuf.Struct");
25 }
26 
google_protobuf_Struct_FieldsEntry_getmsgdef(upb_DefPool * s)27 UPB_INLINE const upb_MessageDef *google_protobuf_Struct_FieldsEntry_getmsgdef(upb_DefPool *s) {
28   _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit);
29   return upb_DefPool_FindMessageByName(s, "google.protobuf.Struct.FieldsEntry");
30 }
31 
google_protobuf_Value_getmsgdef(upb_DefPool * s)32 UPB_INLINE const upb_MessageDef *google_protobuf_Value_getmsgdef(upb_DefPool *s) {
33   _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit);
34   return upb_DefPool_FindMessageByName(s, "google.protobuf.Value");
35 }
36 
google_protobuf_ListValue_getmsgdef(upb_DefPool * s)37 UPB_INLINE const upb_MessageDef *google_protobuf_ListValue_getmsgdef(upb_DefPool *s) {
38   _upb_DefPool_LoadDefInit(s, &google_protobuf_struct_proto_upbdefinit);
39   return upb_DefPool_FindMessageByName(s, "google.protobuf.ListValue");
40 }
41 
42 #ifdef __cplusplus
43 }  /* extern "C" */
44 #endif
45 
46 #include "upb/port/undef.inc"
47 
48 #endif  /* GOOGLE_PROTOBUF_STRUCT_PROTO_UPB_H__UPBDEFS_H_ */
49