1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     google/protobuf/descriptor.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPBDEFS_H_
10 #define GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPBDEFS_H_
11 
12 #include "upb/reflection/def.h"
13 #include "upb/reflection/def_pool_internal.h"
14 #include "upb/port/def.inc"
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 #include "upb/reflection/def.h"
20 
21 #include "upb/port/def.inc"
22 
23 extern _upb_DefPool_Init google_protobuf_descriptor_proto_upbdefinit;
24 
google_protobuf_FileDescriptorSet_getmsgdef(upb_DefPool * s)25 UPB_INLINE const upb_MessageDef *google_protobuf_FileDescriptorSet_getmsgdef(upb_DefPool *s) {
26   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
27   return upb_DefPool_FindMessageByName(s, "google.protobuf.FileDescriptorSet");
28 }
29 
google_protobuf_FileDescriptorProto_getmsgdef(upb_DefPool * s)30 UPB_INLINE const upb_MessageDef *google_protobuf_FileDescriptorProto_getmsgdef(upb_DefPool *s) {
31   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
32   return upb_DefPool_FindMessageByName(s, "google.protobuf.FileDescriptorProto");
33 }
34 
google_protobuf_DescriptorProto_getmsgdef(upb_DefPool * s)35 UPB_INLINE const upb_MessageDef *google_protobuf_DescriptorProto_getmsgdef(upb_DefPool *s) {
36   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
37   return upb_DefPool_FindMessageByName(s, "google.protobuf.DescriptorProto");
38 }
39 
google_protobuf_DescriptorProto_ExtensionRange_getmsgdef(upb_DefPool * s)40 UPB_INLINE const upb_MessageDef *google_protobuf_DescriptorProto_ExtensionRange_getmsgdef(upb_DefPool *s) {
41   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
42   return upb_DefPool_FindMessageByName(s, "google.protobuf.DescriptorProto.ExtensionRange");
43 }
44 
google_protobuf_DescriptorProto_ReservedRange_getmsgdef(upb_DefPool * s)45 UPB_INLINE const upb_MessageDef *google_protobuf_DescriptorProto_ReservedRange_getmsgdef(upb_DefPool *s) {
46   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
47   return upb_DefPool_FindMessageByName(s, "google.protobuf.DescriptorProto.ReservedRange");
48 }
49 
google_protobuf_ExtensionRangeOptions_getmsgdef(upb_DefPool * s)50 UPB_INLINE const upb_MessageDef *google_protobuf_ExtensionRangeOptions_getmsgdef(upb_DefPool *s) {
51   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
52   return upb_DefPool_FindMessageByName(s, "google.protobuf.ExtensionRangeOptions");
53 }
54 
google_protobuf_ExtensionRangeOptions_Declaration_getmsgdef(upb_DefPool * s)55 UPB_INLINE const upb_MessageDef *google_protobuf_ExtensionRangeOptions_Declaration_getmsgdef(upb_DefPool *s) {
56   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
57   return upb_DefPool_FindMessageByName(s, "google.protobuf.ExtensionRangeOptions.Declaration");
58 }
59 
google_protobuf_FieldDescriptorProto_getmsgdef(upb_DefPool * s)60 UPB_INLINE const upb_MessageDef *google_protobuf_FieldDescriptorProto_getmsgdef(upb_DefPool *s) {
61   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
62   return upb_DefPool_FindMessageByName(s, "google.protobuf.FieldDescriptorProto");
63 }
64 
google_protobuf_OneofDescriptorProto_getmsgdef(upb_DefPool * s)65 UPB_INLINE const upb_MessageDef *google_protobuf_OneofDescriptorProto_getmsgdef(upb_DefPool *s) {
66   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
67   return upb_DefPool_FindMessageByName(s, "google.protobuf.OneofDescriptorProto");
68 }
69 
google_protobuf_EnumDescriptorProto_getmsgdef(upb_DefPool * s)70 UPB_INLINE const upb_MessageDef *google_protobuf_EnumDescriptorProto_getmsgdef(upb_DefPool *s) {
71   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
72   return upb_DefPool_FindMessageByName(s, "google.protobuf.EnumDescriptorProto");
73 }
74 
google_protobuf_EnumDescriptorProto_EnumReservedRange_getmsgdef(upb_DefPool * s)75 UPB_INLINE const upb_MessageDef *google_protobuf_EnumDescriptorProto_EnumReservedRange_getmsgdef(upb_DefPool *s) {
76   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
77   return upb_DefPool_FindMessageByName(s, "google.protobuf.EnumDescriptorProto.EnumReservedRange");
78 }
79 
google_protobuf_EnumValueDescriptorProto_getmsgdef(upb_DefPool * s)80 UPB_INLINE const upb_MessageDef *google_protobuf_EnumValueDescriptorProto_getmsgdef(upb_DefPool *s) {
81   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
82   return upb_DefPool_FindMessageByName(s, "google.protobuf.EnumValueDescriptorProto");
83 }
84 
google_protobuf_ServiceDescriptorProto_getmsgdef(upb_DefPool * s)85 UPB_INLINE const upb_MessageDef *google_protobuf_ServiceDescriptorProto_getmsgdef(upb_DefPool *s) {
86   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
87   return upb_DefPool_FindMessageByName(s, "google.protobuf.ServiceDescriptorProto");
88 }
89 
google_protobuf_MethodDescriptorProto_getmsgdef(upb_DefPool * s)90 UPB_INLINE const upb_MessageDef *google_protobuf_MethodDescriptorProto_getmsgdef(upb_DefPool *s) {
91   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
92   return upb_DefPool_FindMessageByName(s, "google.protobuf.MethodDescriptorProto");
93 }
94 
google_protobuf_FileOptions_getmsgdef(upb_DefPool * s)95 UPB_INLINE const upb_MessageDef *google_protobuf_FileOptions_getmsgdef(upb_DefPool *s) {
96   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
97   return upb_DefPool_FindMessageByName(s, "google.protobuf.FileOptions");
98 }
99 
google_protobuf_MessageOptions_getmsgdef(upb_DefPool * s)100 UPB_INLINE const upb_MessageDef *google_protobuf_MessageOptions_getmsgdef(upb_DefPool *s) {
101   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
102   return upb_DefPool_FindMessageByName(s, "google.protobuf.MessageOptions");
103 }
104 
google_protobuf_FieldOptions_getmsgdef(upb_DefPool * s)105 UPB_INLINE const upb_MessageDef *google_protobuf_FieldOptions_getmsgdef(upb_DefPool *s) {
106   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
107   return upb_DefPool_FindMessageByName(s, "google.protobuf.FieldOptions");
108 }
109 
google_protobuf_OneofOptions_getmsgdef(upb_DefPool * s)110 UPB_INLINE const upb_MessageDef *google_protobuf_OneofOptions_getmsgdef(upb_DefPool *s) {
111   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
112   return upb_DefPool_FindMessageByName(s, "google.protobuf.OneofOptions");
113 }
114 
google_protobuf_EnumOptions_getmsgdef(upb_DefPool * s)115 UPB_INLINE const upb_MessageDef *google_protobuf_EnumOptions_getmsgdef(upb_DefPool *s) {
116   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
117   return upb_DefPool_FindMessageByName(s, "google.protobuf.EnumOptions");
118 }
119 
google_protobuf_EnumValueOptions_getmsgdef(upb_DefPool * s)120 UPB_INLINE const upb_MessageDef *google_protobuf_EnumValueOptions_getmsgdef(upb_DefPool *s) {
121   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
122   return upb_DefPool_FindMessageByName(s, "google.protobuf.EnumValueOptions");
123 }
124 
google_protobuf_ServiceOptions_getmsgdef(upb_DefPool * s)125 UPB_INLINE const upb_MessageDef *google_protobuf_ServiceOptions_getmsgdef(upb_DefPool *s) {
126   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
127   return upb_DefPool_FindMessageByName(s, "google.protobuf.ServiceOptions");
128 }
129 
google_protobuf_MethodOptions_getmsgdef(upb_DefPool * s)130 UPB_INLINE const upb_MessageDef *google_protobuf_MethodOptions_getmsgdef(upb_DefPool *s) {
131   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
132   return upb_DefPool_FindMessageByName(s, "google.protobuf.MethodOptions");
133 }
134 
google_protobuf_UninterpretedOption_getmsgdef(upb_DefPool * s)135 UPB_INLINE const upb_MessageDef *google_protobuf_UninterpretedOption_getmsgdef(upb_DefPool *s) {
136   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
137   return upb_DefPool_FindMessageByName(s, "google.protobuf.UninterpretedOption");
138 }
139 
google_protobuf_UninterpretedOption_NamePart_getmsgdef(upb_DefPool * s)140 UPB_INLINE const upb_MessageDef *google_protobuf_UninterpretedOption_NamePart_getmsgdef(upb_DefPool *s) {
141   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
142   return upb_DefPool_FindMessageByName(s, "google.protobuf.UninterpretedOption.NamePart");
143 }
144 
google_protobuf_SourceCodeInfo_getmsgdef(upb_DefPool * s)145 UPB_INLINE const upb_MessageDef *google_protobuf_SourceCodeInfo_getmsgdef(upb_DefPool *s) {
146   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
147   return upb_DefPool_FindMessageByName(s, "google.protobuf.SourceCodeInfo");
148 }
149 
google_protobuf_SourceCodeInfo_Location_getmsgdef(upb_DefPool * s)150 UPB_INLINE const upb_MessageDef *google_protobuf_SourceCodeInfo_Location_getmsgdef(upb_DefPool *s) {
151   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
152   return upb_DefPool_FindMessageByName(s, "google.protobuf.SourceCodeInfo.Location");
153 }
154 
google_protobuf_GeneratedCodeInfo_getmsgdef(upb_DefPool * s)155 UPB_INLINE const upb_MessageDef *google_protobuf_GeneratedCodeInfo_getmsgdef(upb_DefPool *s) {
156   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
157   return upb_DefPool_FindMessageByName(s, "google.protobuf.GeneratedCodeInfo");
158 }
159 
google_protobuf_GeneratedCodeInfo_Annotation_getmsgdef(upb_DefPool * s)160 UPB_INLINE const upb_MessageDef *google_protobuf_GeneratedCodeInfo_Annotation_getmsgdef(upb_DefPool *s) {
161   _upb_DefPool_LoadDefInit(s, &google_protobuf_descriptor_proto_upbdefinit);
162   return upb_DefPool_FindMessageByName(s, "google.protobuf.GeneratedCodeInfo.Annotation");
163 }
164 
165 #ifdef __cplusplus
166 }  /* extern "C" */
167 #endif
168 
169 #include "upb/port/undef.inc"
170 
171 #endif  /* GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPBDEFS_H_ */
172