• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     google/protobuf/struct.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef GOOGLE_PROTOBUF_STRUCT_PROTO_UPBDEFS_H_
10 #define GOOGLE_PROTOBUF_STRUCT_PROTO_UPBDEFS_H_
11 
12 #include "upb/def.h"
13 #include "upb/port_def.inc"
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #include "upb/def.h"
19 
20 #include "upb/port_def.inc"
21 
22 extern upb_def_init google_protobuf_struct_proto_upbdefinit;
23 
google_protobuf_Struct_getmsgdef(upb_symtab * s)24 UPB_INLINE const upb_msgdef *google_protobuf_Struct_getmsgdef(upb_symtab *s) {
25   _upb_symtab_loaddefinit(s, &google_protobuf_struct_proto_upbdefinit);
26   return upb_symtab_lookupmsg(s, "google.protobuf.Struct");
27 }
28 
google_protobuf_Struct_FieldsEntry_getmsgdef(upb_symtab * s)29 UPB_INLINE const upb_msgdef *google_protobuf_Struct_FieldsEntry_getmsgdef(upb_symtab *s) {
30   _upb_symtab_loaddefinit(s, &google_protobuf_struct_proto_upbdefinit);
31   return upb_symtab_lookupmsg(s, "google.protobuf.Struct.FieldsEntry");
32 }
33 
google_protobuf_Value_getmsgdef(upb_symtab * s)34 UPB_INLINE const upb_msgdef *google_protobuf_Value_getmsgdef(upb_symtab *s) {
35   _upb_symtab_loaddefinit(s, &google_protobuf_struct_proto_upbdefinit);
36   return upb_symtab_lookupmsg(s, "google.protobuf.Value");
37 }
38 
google_protobuf_ListValue_getmsgdef(upb_symtab * s)39 UPB_INLINE const upb_msgdef *google_protobuf_ListValue_getmsgdef(upb_symtab *s) {
40   _upb_symtab_loaddefinit(s, &google_protobuf_struct_proto_upbdefinit);
41   return upb_symtab_lookupmsg(s, "google.protobuf.ListValue");
42 }
43 
44 #ifdef __cplusplus
45 }  /* extern "C" */
46 #endif
47 
48 #include "upb/port_undef.inc"
49 
50 #endif  /* GOOGLE_PROTOBUF_STRUCT_PROTO_UPBDEFS_H_ */
51