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/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_descriptor_proto_upbdefinit;
23
google_protobuf_FileDescriptorSet_getmsgdef(upb_symtab * s)24 UPB_INLINE const upb_msgdef *google_protobuf_FileDescriptorSet_getmsgdef(upb_symtab *s) {
25 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
26 return upb_symtab_lookupmsg(s, "google.protobuf.FileDescriptorSet");
27 }
28
google_protobuf_FileDescriptorProto_getmsgdef(upb_symtab * s)29 UPB_INLINE const upb_msgdef *google_protobuf_FileDescriptorProto_getmsgdef(upb_symtab *s) {
30 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
31 return upb_symtab_lookupmsg(s, "google.protobuf.FileDescriptorProto");
32 }
33
google_protobuf_DescriptorProto_getmsgdef(upb_symtab * s)34 UPB_INLINE const upb_msgdef *google_protobuf_DescriptorProto_getmsgdef(upb_symtab *s) {
35 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
36 return upb_symtab_lookupmsg(s, "google.protobuf.DescriptorProto");
37 }
38
google_protobuf_DescriptorProto_ExtensionRange_getmsgdef(upb_symtab * s)39 UPB_INLINE const upb_msgdef *google_protobuf_DescriptorProto_ExtensionRange_getmsgdef(upb_symtab *s) {
40 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
41 return upb_symtab_lookupmsg(s, "google.protobuf.DescriptorProto.ExtensionRange");
42 }
43
google_protobuf_DescriptorProto_ReservedRange_getmsgdef(upb_symtab * s)44 UPB_INLINE const upb_msgdef *google_protobuf_DescriptorProto_ReservedRange_getmsgdef(upb_symtab *s) {
45 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
46 return upb_symtab_lookupmsg(s, "google.protobuf.DescriptorProto.ReservedRange");
47 }
48
google_protobuf_ExtensionRangeOptions_getmsgdef(upb_symtab * s)49 UPB_INLINE const upb_msgdef *google_protobuf_ExtensionRangeOptions_getmsgdef(upb_symtab *s) {
50 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
51 return upb_symtab_lookupmsg(s, "google.protobuf.ExtensionRangeOptions");
52 }
53
google_protobuf_FieldDescriptorProto_getmsgdef(upb_symtab * s)54 UPB_INLINE const upb_msgdef *google_protobuf_FieldDescriptorProto_getmsgdef(upb_symtab *s) {
55 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
56 return upb_symtab_lookupmsg(s, "google.protobuf.FieldDescriptorProto");
57 }
58
google_protobuf_OneofDescriptorProto_getmsgdef(upb_symtab * s)59 UPB_INLINE const upb_msgdef *google_protobuf_OneofDescriptorProto_getmsgdef(upb_symtab *s) {
60 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
61 return upb_symtab_lookupmsg(s, "google.protobuf.OneofDescriptorProto");
62 }
63
google_protobuf_EnumDescriptorProto_getmsgdef(upb_symtab * s)64 UPB_INLINE const upb_msgdef *google_protobuf_EnumDescriptorProto_getmsgdef(upb_symtab *s) {
65 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
66 return upb_symtab_lookupmsg(s, "google.protobuf.EnumDescriptorProto");
67 }
68
google_protobuf_EnumDescriptorProto_EnumReservedRange_getmsgdef(upb_symtab * s)69 UPB_INLINE const upb_msgdef *google_protobuf_EnumDescriptorProto_EnumReservedRange_getmsgdef(upb_symtab *s) {
70 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
71 return upb_symtab_lookupmsg(s, "google.protobuf.EnumDescriptorProto.EnumReservedRange");
72 }
73
google_protobuf_EnumValueDescriptorProto_getmsgdef(upb_symtab * s)74 UPB_INLINE const upb_msgdef *google_protobuf_EnumValueDescriptorProto_getmsgdef(upb_symtab *s) {
75 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
76 return upb_symtab_lookupmsg(s, "google.protobuf.EnumValueDescriptorProto");
77 }
78
google_protobuf_ServiceDescriptorProto_getmsgdef(upb_symtab * s)79 UPB_INLINE const upb_msgdef *google_protobuf_ServiceDescriptorProto_getmsgdef(upb_symtab *s) {
80 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
81 return upb_symtab_lookupmsg(s, "google.protobuf.ServiceDescriptorProto");
82 }
83
google_protobuf_MethodDescriptorProto_getmsgdef(upb_symtab * s)84 UPB_INLINE const upb_msgdef *google_protobuf_MethodDescriptorProto_getmsgdef(upb_symtab *s) {
85 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
86 return upb_symtab_lookupmsg(s, "google.protobuf.MethodDescriptorProto");
87 }
88
google_protobuf_FileOptions_getmsgdef(upb_symtab * s)89 UPB_INLINE const upb_msgdef *google_protobuf_FileOptions_getmsgdef(upb_symtab *s) {
90 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
91 return upb_symtab_lookupmsg(s, "google.protobuf.FileOptions");
92 }
93
google_protobuf_MessageOptions_getmsgdef(upb_symtab * s)94 UPB_INLINE const upb_msgdef *google_protobuf_MessageOptions_getmsgdef(upb_symtab *s) {
95 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
96 return upb_symtab_lookupmsg(s, "google.protobuf.MessageOptions");
97 }
98
google_protobuf_FieldOptions_getmsgdef(upb_symtab * s)99 UPB_INLINE const upb_msgdef *google_protobuf_FieldOptions_getmsgdef(upb_symtab *s) {
100 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
101 return upb_symtab_lookupmsg(s, "google.protobuf.FieldOptions");
102 }
103
google_protobuf_OneofOptions_getmsgdef(upb_symtab * s)104 UPB_INLINE const upb_msgdef *google_protobuf_OneofOptions_getmsgdef(upb_symtab *s) {
105 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
106 return upb_symtab_lookupmsg(s, "google.protobuf.OneofOptions");
107 }
108
google_protobuf_EnumOptions_getmsgdef(upb_symtab * s)109 UPB_INLINE const upb_msgdef *google_protobuf_EnumOptions_getmsgdef(upb_symtab *s) {
110 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
111 return upb_symtab_lookupmsg(s, "google.protobuf.EnumOptions");
112 }
113
google_protobuf_EnumValueOptions_getmsgdef(upb_symtab * s)114 UPB_INLINE const upb_msgdef *google_protobuf_EnumValueOptions_getmsgdef(upb_symtab *s) {
115 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
116 return upb_symtab_lookupmsg(s, "google.protobuf.EnumValueOptions");
117 }
118
google_protobuf_ServiceOptions_getmsgdef(upb_symtab * s)119 UPB_INLINE const upb_msgdef *google_protobuf_ServiceOptions_getmsgdef(upb_symtab *s) {
120 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
121 return upb_symtab_lookupmsg(s, "google.protobuf.ServiceOptions");
122 }
123
google_protobuf_MethodOptions_getmsgdef(upb_symtab * s)124 UPB_INLINE const upb_msgdef *google_protobuf_MethodOptions_getmsgdef(upb_symtab *s) {
125 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
126 return upb_symtab_lookupmsg(s, "google.protobuf.MethodOptions");
127 }
128
google_protobuf_UninterpretedOption_getmsgdef(upb_symtab * s)129 UPB_INLINE const upb_msgdef *google_protobuf_UninterpretedOption_getmsgdef(upb_symtab *s) {
130 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
131 return upb_symtab_lookupmsg(s, "google.protobuf.UninterpretedOption");
132 }
133
google_protobuf_UninterpretedOption_NamePart_getmsgdef(upb_symtab * s)134 UPB_INLINE const upb_msgdef *google_protobuf_UninterpretedOption_NamePart_getmsgdef(upb_symtab *s) {
135 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
136 return upb_symtab_lookupmsg(s, "google.protobuf.UninterpretedOption.NamePart");
137 }
138
google_protobuf_SourceCodeInfo_getmsgdef(upb_symtab * s)139 UPB_INLINE const upb_msgdef *google_protobuf_SourceCodeInfo_getmsgdef(upb_symtab *s) {
140 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
141 return upb_symtab_lookupmsg(s, "google.protobuf.SourceCodeInfo");
142 }
143
google_protobuf_SourceCodeInfo_Location_getmsgdef(upb_symtab * s)144 UPB_INLINE const upb_msgdef *google_protobuf_SourceCodeInfo_Location_getmsgdef(upb_symtab *s) {
145 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
146 return upb_symtab_lookupmsg(s, "google.protobuf.SourceCodeInfo.Location");
147 }
148
google_protobuf_GeneratedCodeInfo_getmsgdef(upb_symtab * s)149 UPB_INLINE const upb_msgdef *google_protobuf_GeneratedCodeInfo_getmsgdef(upb_symtab *s) {
150 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
151 return upb_symtab_lookupmsg(s, "google.protobuf.GeneratedCodeInfo");
152 }
153
google_protobuf_GeneratedCodeInfo_Annotation_getmsgdef(upb_symtab * s)154 UPB_INLINE const upb_msgdef *google_protobuf_GeneratedCodeInfo_Annotation_getmsgdef(upb_symtab *s) {
155 _upb_symtab_loaddefinit(s, &google_protobuf_descriptor_proto_upbdefinit);
156 return upb_symtab_lookupmsg(s, "google.protobuf.GeneratedCodeInfo.Annotation");
157 }
158
159 #ifdef __cplusplus
160 } /* extern "C" */
161 #endif
162
163 #include "upb/port_undef.inc"
164
165 #endif /* GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPBDEFS_H_ */
166