1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: google/protobuf/descriptor.proto
3 
4 #include <google/protobuf/descriptor.pb.h>
5 
6 #include <algorithm>
7 
8 #include <google/protobuf/io/coded_stream.h>
9 #include <google/protobuf/extension_set.h>
10 #include <google/protobuf/wire_format_lite.h>
11 #include <google/protobuf/descriptor.h>
12 #include <google/protobuf/generated_message_reflection.h>
13 #include <google/protobuf/reflection_ops.h>
14 #include <google/protobuf/wire_format.h>
15 // @@protoc_insertion_point(includes)
16 #include <google/protobuf/port_def.inc>
17 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_DescriptorProto_google_2fprotobuf_2fdescriptor_2eproto;
18 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_DescriptorProto_ExtensionRange_google_2fprotobuf_2fdescriptor_2eproto;
19 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DescriptorProto_ReservedRange_google_2fprotobuf_2fdescriptor_2eproto;
20 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_EnumDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto;
21 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EnumDescriptorProto_EnumReservedRange_google_2fprotobuf_2fdescriptor_2eproto;
22 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EnumOptions_google_2fprotobuf_2fdescriptor_2eproto;
23 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EnumValueDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto;
24 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EnumValueOptions_google_2fprotobuf_2fdescriptor_2eproto;
25 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ExtensionRangeOptions_google_2fprotobuf_2fdescriptor_2eproto;
26 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_FieldDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto;
27 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto;
28 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto;
29 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_FileOptions_google_2fprotobuf_2fdescriptor_2eproto;
30 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GeneratedCodeInfo_Annotation_google_2fprotobuf_2fdescriptor_2eproto;
31 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_MessageOptions_google_2fprotobuf_2fdescriptor_2eproto;
32 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_MethodDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto;
33 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_MethodOptions_google_2fprotobuf_2fdescriptor_2eproto;
34 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_OneofDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto;
35 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_OneofOptions_google_2fprotobuf_2fdescriptor_2eproto;
36 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_ServiceDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto;
37 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ServiceOptions_google_2fprotobuf_2fdescriptor_2eproto;
38 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_SourceCodeInfo_google_2fprotobuf_2fdescriptor_2eproto;
39 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_SourceCodeInfo_Location_google_2fprotobuf_2fdescriptor_2eproto;
40 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto;
41 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_UninterpretedOption_NamePart_google_2fprotobuf_2fdescriptor_2eproto;
42 PROTOBUF_NAMESPACE_OPEN
43 class FileDescriptorSetDefaultTypeInternal {
44  public:
45   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<FileDescriptorSet> _instance;
46 } _FileDescriptorSet_default_instance_;
47 class FileDescriptorProtoDefaultTypeInternal {
48  public:
49   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<FileDescriptorProto> _instance;
50 } _FileDescriptorProto_default_instance_;
51 class DescriptorProto_ExtensionRangeDefaultTypeInternal {
52  public:
53   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<DescriptorProto_ExtensionRange> _instance;
54 } _DescriptorProto_ExtensionRange_default_instance_;
55 class DescriptorProto_ReservedRangeDefaultTypeInternal {
56  public:
57   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<DescriptorProto_ReservedRange> _instance;
58 } _DescriptorProto_ReservedRange_default_instance_;
59 class DescriptorProtoDefaultTypeInternal {
60  public:
61   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<DescriptorProto> _instance;
62 } _DescriptorProto_default_instance_;
63 class ExtensionRangeOptionsDefaultTypeInternal {
64  public:
65   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ExtensionRangeOptions> _instance;
66 } _ExtensionRangeOptions_default_instance_;
67 class FieldDescriptorProtoDefaultTypeInternal {
68  public:
69   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<FieldDescriptorProto> _instance;
70 } _FieldDescriptorProto_default_instance_;
71 class OneofDescriptorProtoDefaultTypeInternal {
72  public:
73   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<OneofDescriptorProto> _instance;
74 } _OneofDescriptorProto_default_instance_;
75 class EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal {
76  public:
77   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EnumDescriptorProto_EnumReservedRange> _instance;
78 } _EnumDescriptorProto_EnumReservedRange_default_instance_;
79 class EnumDescriptorProtoDefaultTypeInternal {
80  public:
81   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EnumDescriptorProto> _instance;
82 } _EnumDescriptorProto_default_instance_;
83 class EnumValueDescriptorProtoDefaultTypeInternal {
84  public:
85   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EnumValueDescriptorProto> _instance;
86 } _EnumValueDescriptorProto_default_instance_;
87 class ServiceDescriptorProtoDefaultTypeInternal {
88  public:
89   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ServiceDescriptorProto> _instance;
90 } _ServiceDescriptorProto_default_instance_;
91 class MethodDescriptorProtoDefaultTypeInternal {
92  public:
93   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<MethodDescriptorProto> _instance;
94 } _MethodDescriptorProto_default_instance_;
95 class FileOptionsDefaultTypeInternal {
96  public:
97   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<FileOptions> _instance;
98 } _FileOptions_default_instance_;
99 class MessageOptionsDefaultTypeInternal {
100  public:
101   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<MessageOptions> _instance;
102 } _MessageOptions_default_instance_;
103 class FieldOptionsDefaultTypeInternal {
104  public:
105   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<FieldOptions> _instance;
106 } _FieldOptions_default_instance_;
107 class OneofOptionsDefaultTypeInternal {
108  public:
109   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<OneofOptions> _instance;
110 } _OneofOptions_default_instance_;
111 class EnumOptionsDefaultTypeInternal {
112  public:
113   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EnumOptions> _instance;
114 } _EnumOptions_default_instance_;
115 class EnumValueOptionsDefaultTypeInternal {
116  public:
117   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EnumValueOptions> _instance;
118 } _EnumValueOptions_default_instance_;
119 class ServiceOptionsDefaultTypeInternal {
120  public:
121   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ServiceOptions> _instance;
122 } _ServiceOptions_default_instance_;
123 class MethodOptionsDefaultTypeInternal {
124  public:
125   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<MethodOptions> _instance;
126 } _MethodOptions_default_instance_;
127 class UninterpretedOption_NamePartDefaultTypeInternal {
128  public:
129   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<UninterpretedOption_NamePart> _instance;
130 } _UninterpretedOption_NamePart_default_instance_;
131 class UninterpretedOptionDefaultTypeInternal {
132  public:
133   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<UninterpretedOption> _instance;
134 } _UninterpretedOption_default_instance_;
135 class SourceCodeInfo_LocationDefaultTypeInternal {
136  public:
137   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<SourceCodeInfo_Location> _instance;
138 } _SourceCodeInfo_Location_default_instance_;
139 class SourceCodeInfoDefaultTypeInternal {
140  public:
141   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<SourceCodeInfo> _instance;
142 } _SourceCodeInfo_default_instance_;
143 class GeneratedCodeInfo_AnnotationDefaultTypeInternal {
144  public:
145   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GeneratedCodeInfo_Annotation> _instance;
146 } _GeneratedCodeInfo_Annotation_default_instance_;
147 class GeneratedCodeInfoDefaultTypeInternal {
148  public:
149   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GeneratedCodeInfo> _instance;
150 } _GeneratedCodeInfo_default_instance_;
151 PROTOBUF_NAMESPACE_CLOSE
InitDefaultsscc_info_DescriptorProto_google_2fprotobuf_2fdescriptor_2eproto()152 static void InitDefaultsscc_info_DescriptorProto_google_2fprotobuf_2fdescriptor_2eproto() {
153   GOOGLE_PROTOBUF_VERIFY_VERSION;
154 
155   {
156     void* ptr = &PROTOBUF_NAMESPACE_ID::_DescriptorProto_default_instance_;
157     new (ptr) PROTOBUF_NAMESPACE_ID::DescriptorProto();
158     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
159   }
160   PROTOBUF_NAMESPACE_ID::DescriptorProto::InitAsDefaultInstance();
161 }
162 
163 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_DescriptorProto_google_2fprotobuf_2fdescriptor_2eproto =
164     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 6, 0, InitDefaultsscc_info_DescriptorProto_google_2fprotobuf_2fdescriptor_2eproto}, {
165       &scc_info_FieldDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
166       &scc_info_EnumDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
167       &scc_info_DescriptorProto_ExtensionRange_google_2fprotobuf_2fdescriptor_2eproto.base,
168       &scc_info_OneofDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
169       &scc_info_MessageOptions_google_2fprotobuf_2fdescriptor_2eproto.base,
170       &scc_info_DescriptorProto_ReservedRange_google_2fprotobuf_2fdescriptor_2eproto.base,}};
171 
InitDefaultsscc_info_DescriptorProto_ExtensionRange_google_2fprotobuf_2fdescriptor_2eproto()172 static void InitDefaultsscc_info_DescriptorProto_ExtensionRange_google_2fprotobuf_2fdescriptor_2eproto() {
173   GOOGLE_PROTOBUF_VERIFY_VERSION;
174 
175   {
176     void* ptr = &PROTOBUF_NAMESPACE_ID::_DescriptorProto_ExtensionRange_default_instance_;
177     new (ptr) PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange();
178     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
179   }
180   PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange::InitAsDefaultInstance();
181 }
182 
183 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_DescriptorProto_ExtensionRange_google_2fprotobuf_2fdescriptor_2eproto =
184     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_DescriptorProto_ExtensionRange_google_2fprotobuf_2fdescriptor_2eproto}, {
185       &scc_info_ExtensionRangeOptions_google_2fprotobuf_2fdescriptor_2eproto.base,}};
186 
InitDefaultsscc_info_DescriptorProto_ReservedRange_google_2fprotobuf_2fdescriptor_2eproto()187 static void InitDefaultsscc_info_DescriptorProto_ReservedRange_google_2fprotobuf_2fdescriptor_2eproto() {
188   GOOGLE_PROTOBUF_VERIFY_VERSION;
189 
190   {
191     void* ptr = &PROTOBUF_NAMESPACE_ID::_DescriptorProto_ReservedRange_default_instance_;
192     new (ptr) PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange();
193     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
194   }
195   PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange::InitAsDefaultInstance();
196 }
197 
198 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DescriptorProto_ReservedRange_google_2fprotobuf_2fdescriptor_2eproto =
199     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_DescriptorProto_ReservedRange_google_2fprotobuf_2fdescriptor_2eproto}, {}};
200 
InitDefaultsscc_info_EnumDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto()201 static void InitDefaultsscc_info_EnumDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto() {
202   GOOGLE_PROTOBUF_VERIFY_VERSION;
203 
204   {
205     void* ptr = &PROTOBUF_NAMESPACE_ID::_EnumDescriptorProto_default_instance_;
206     new (ptr) PROTOBUF_NAMESPACE_ID::EnumDescriptorProto();
207     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
208   }
209   PROTOBUF_NAMESPACE_ID::EnumDescriptorProto::InitAsDefaultInstance();
210 }
211 
212 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_EnumDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto =
213     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, 0, InitDefaultsscc_info_EnumDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto}, {
214       &scc_info_EnumValueDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
215       &scc_info_EnumOptions_google_2fprotobuf_2fdescriptor_2eproto.base,
216       &scc_info_EnumDescriptorProto_EnumReservedRange_google_2fprotobuf_2fdescriptor_2eproto.base,}};
217 
InitDefaultsscc_info_EnumDescriptorProto_EnumReservedRange_google_2fprotobuf_2fdescriptor_2eproto()218 static void InitDefaultsscc_info_EnumDescriptorProto_EnumReservedRange_google_2fprotobuf_2fdescriptor_2eproto() {
219   GOOGLE_PROTOBUF_VERIFY_VERSION;
220 
221   {
222     void* ptr = &PROTOBUF_NAMESPACE_ID::_EnumDescriptorProto_EnumReservedRange_default_instance_;
223     new (ptr) PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange();
224     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
225   }
226   PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange::InitAsDefaultInstance();
227 }
228 
229 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EnumDescriptorProto_EnumReservedRange_google_2fprotobuf_2fdescriptor_2eproto =
230     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EnumDescriptorProto_EnumReservedRange_google_2fprotobuf_2fdescriptor_2eproto}, {}};
231 
InitDefaultsscc_info_EnumOptions_google_2fprotobuf_2fdescriptor_2eproto()232 static void InitDefaultsscc_info_EnumOptions_google_2fprotobuf_2fdescriptor_2eproto() {
233   GOOGLE_PROTOBUF_VERIFY_VERSION;
234 
235   {
236     void* ptr = &PROTOBUF_NAMESPACE_ID::_EnumOptions_default_instance_;
237     new (ptr) PROTOBUF_NAMESPACE_ID::EnumOptions();
238     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
239   }
240   PROTOBUF_NAMESPACE_ID::EnumOptions::InitAsDefaultInstance();
241 }
242 
243 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EnumOptions_google_2fprotobuf_2fdescriptor_2eproto =
244     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_EnumOptions_google_2fprotobuf_2fdescriptor_2eproto}, {
245       &scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto.base,}};
246 
InitDefaultsscc_info_EnumValueDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto()247 static void InitDefaultsscc_info_EnumValueDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto() {
248   GOOGLE_PROTOBUF_VERIFY_VERSION;
249 
250   {
251     void* ptr = &PROTOBUF_NAMESPACE_ID::_EnumValueDescriptorProto_default_instance_;
252     new (ptr) PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto();
253     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
254   }
255   PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto::InitAsDefaultInstance();
256 }
257 
258 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EnumValueDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto =
259     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_EnumValueDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto}, {
260       &scc_info_EnumValueOptions_google_2fprotobuf_2fdescriptor_2eproto.base,}};
261 
InitDefaultsscc_info_EnumValueOptions_google_2fprotobuf_2fdescriptor_2eproto()262 static void InitDefaultsscc_info_EnumValueOptions_google_2fprotobuf_2fdescriptor_2eproto() {
263   GOOGLE_PROTOBUF_VERIFY_VERSION;
264 
265   {
266     void* ptr = &PROTOBUF_NAMESPACE_ID::_EnumValueOptions_default_instance_;
267     new (ptr) PROTOBUF_NAMESPACE_ID::EnumValueOptions();
268     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
269   }
270   PROTOBUF_NAMESPACE_ID::EnumValueOptions::InitAsDefaultInstance();
271 }
272 
273 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EnumValueOptions_google_2fprotobuf_2fdescriptor_2eproto =
274     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_EnumValueOptions_google_2fprotobuf_2fdescriptor_2eproto}, {
275       &scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto.base,}};
276 
InitDefaultsscc_info_ExtensionRangeOptions_google_2fprotobuf_2fdescriptor_2eproto()277 static void InitDefaultsscc_info_ExtensionRangeOptions_google_2fprotobuf_2fdescriptor_2eproto() {
278   GOOGLE_PROTOBUF_VERIFY_VERSION;
279 
280   {
281     void* ptr = &PROTOBUF_NAMESPACE_ID::_ExtensionRangeOptions_default_instance_;
282     new (ptr) PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions();
283     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
284   }
285   PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions::InitAsDefaultInstance();
286 }
287 
288 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ExtensionRangeOptions_google_2fprotobuf_2fdescriptor_2eproto =
289     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_ExtensionRangeOptions_google_2fprotobuf_2fdescriptor_2eproto}, {
290       &scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto.base,}};
291 
InitDefaultsscc_info_FieldDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto()292 static void InitDefaultsscc_info_FieldDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto() {
293   GOOGLE_PROTOBUF_VERIFY_VERSION;
294 
295   {
296     void* ptr = &PROTOBUF_NAMESPACE_ID::_FieldDescriptorProto_default_instance_;
297     new (ptr) PROTOBUF_NAMESPACE_ID::FieldDescriptorProto();
298     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
299   }
300   PROTOBUF_NAMESPACE_ID::FieldDescriptorProto::InitAsDefaultInstance();
301 }
302 
303 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_FieldDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto =
304     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_FieldDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto}, {
305       &scc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto.base,}};
306 
InitDefaultsscc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto()307 static void InitDefaultsscc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto() {
308   GOOGLE_PROTOBUF_VERIFY_VERSION;
309 
310   {
311     void* ptr = &PROTOBUF_NAMESPACE_ID::_FieldOptions_default_instance_;
312     new (ptr) PROTOBUF_NAMESPACE_ID::FieldOptions();
313     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
314   }
315   PROTOBUF_NAMESPACE_ID::FieldOptions::InitAsDefaultInstance();
316 }
317 
318 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto =
319     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto}, {
320       &scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto.base,}};
321 
InitDefaultsscc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto()322 static void InitDefaultsscc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto() {
323   GOOGLE_PROTOBUF_VERIFY_VERSION;
324 
325   {
326     void* ptr = &PROTOBUF_NAMESPACE_ID::_FileDescriptorProto_default_instance_;
327     new (ptr) PROTOBUF_NAMESPACE_ID::FileDescriptorProto();
328     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
329   }
330   PROTOBUF_NAMESPACE_ID::FileDescriptorProto::InitAsDefaultInstance();
331 }
332 
333 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto =
334     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 6, 0, InitDefaultsscc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto}, {
335       &scc_info_DescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
336       &scc_info_EnumDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
337       &scc_info_ServiceDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
338       &scc_info_FieldDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
339       &scc_info_FileOptions_google_2fprotobuf_2fdescriptor_2eproto.base,
340       &scc_info_SourceCodeInfo_google_2fprotobuf_2fdescriptor_2eproto.base,}};
341 
InitDefaultsscc_info_FileDescriptorSet_google_2fprotobuf_2fdescriptor_2eproto()342 static void InitDefaultsscc_info_FileDescriptorSet_google_2fprotobuf_2fdescriptor_2eproto() {
343   GOOGLE_PROTOBUF_VERIFY_VERSION;
344 
345   {
346     void* ptr = &PROTOBUF_NAMESPACE_ID::_FileDescriptorSet_default_instance_;
347     new (ptr) PROTOBUF_NAMESPACE_ID::FileDescriptorSet();
348     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
349   }
350   PROTOBUF_NAMESPACE_ID::FileDescriptorSet::InitAsDefaultInstance();
351 }
352 
353 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_FileDescriptorSet_google_2fprotobuf_2fdescriptor_2eproto =
354     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_FileDescriptorSet_google_2fprotobuf_2fdescriptor_2eproto}, {
355       &scc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,}};
356 
InitDefaultsscc_info_FileOptions_google_2fprotobuf_2fdescriptor_2eproto()357 static void InitDefaultsscc_info_FileOptions_google_2fprotobuf_2fdescriptor_2eproto() {
358   GOOGLE_PROTOBUF_VERIFY_VERSION;
359 
360   {
361     void* ptr = &PROTOBUF_NAMESPACE_ID::_FileOptions_default_instance_;
362     new (ptr) PROTOBUF_NAMESPACE_ID::FileOptions();
363     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
364   }
365   PROTOBUF_NAMESPACE_ID::FileOptions::InitAsDefaultInstance();
366 }
367 
368 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_FileOptions_google_2fprotobuf_2fdescriptor_2eproto =
369     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_FileOptions_google_2fprotobuf_2fdescriptor_2eproto}, {
370       &scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto.base,}};
371 
InitDefaultsscc_info_GeneratedCodeInfo_google_2fprotobuf_2fdescriptor_2eproto()372 static void InitDefaultsscc_info_GeneratedCodeInfo_google_2fprotobuf_2fdescriptor_2eproto() {
373   GOOGLE_PROTOBUF_VERIFY_VERSION;
374 
375   {
376     void* ptr = &PROTOBUF_NAMESPACE_ID::_GeneratedCodeInfo_default_instance_;
377     new (ptr) PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo();
378     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
379   }
380   PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo::InitAsDefaultInstance();
381 }
382 
383 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_GeneratedCodeInfo_google_2fprotobuf_2fdescriptor_2eproto =
384     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_GeneratedCodeInfo_google_2fprotobuf_2fdescriptor_2eproto}, {
385       &scc_info_GeneratedCodeInfo_Annotation_google_2fprotobuf_2fdescriptor_2eproto.base,}};
386 
InitDefaultsscc_info_GeneratedCodeInfo_Annotation_google_2fprotobuf_2fdescriptor_2eproto()387 static void InitDefaultsscc_info_GeneratedCodeInfo_Annotation_google_2fprotobuf_2fdescriptor_2eproto() {
388   GOOGLE_PROTOBUF_VERIFY_VERSION;
389 
390   {
391     void* ptr = &PROTOBUF_NAMESPACE_ID::_GeneratedCodeInfo_Annotation_default_instance_;
392     new (ptr) PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation();
393     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
394   }
395   PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation::InitAsDefaultInstance();
396 }
397 
398 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GeneratedCodeInfo_Annotation_google_2fprotobuf_2fdescriptor_2eproto =
399     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GeneratedCodeInfo_Annotation_google_2fprotobuf_2fdescriptor_2eproto}, {}};
400 
InitDefaultsscc_info_MessageOptions_google_2fprotobuf_2fdescriptor_2eproto()401 static void InitDefaultsscc_info_MessageOptions_google_2fprotobuf_2fdescriptor_2eproto() {
402   GOOGLE_PROTOBUF_VERIFY_VERSION;
403 
404   {
405     void* ptr = &PROTOBUF_NAMESPACE_ID::_MessageOptions_default_instance_;
406     new (ptr) PROTOBUF_NAMESPACE_ID::MessageOptions();
407     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
408   }
409   PROTOBUF_NAMESPACE_ID::MessageOptions::InitAsDefaultInstance();
410 }
411 
412 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_MessageOptions_google_2fprotobuf_2fdescriptor_2eproto =
413     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_MessageOptions_google_2fprotobuf_2fdescriptor_2eproto}, {
414       &scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto.base,}};
415 
InitDefaultsscc_info_MethodDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto()416 static void InitDefaultsscc_info_MethodDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto() {
417   GOOGLE_PROTOBUF_VERIFY_VERSION;
418 
419   {
420     void* ptr = &PROTOBUF_NAMESPACE_ID::_MethodDescriptorProto_default_instance_;
421     new (ptr) PROTOBUF_NAMESPACE_ID::MethodDescriptorProto();
422     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
423   }
424   PROTOBUF_NAMESPACE_ID::MethodDescriptorProto::InitAsDefaultInstance();
425 }
426 
427 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_MethodDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto =
428     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_MethodDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto}, {
429       &scc_info_MethodOptions_google_2fprotobuf_2fdescriptor_2eproto.base,}};
430 
InitDefaultsscc_info_MethodOptions_google_2fprotobuf_2fdescriptor_2eproto()431 static void InitDefaultsscc_info_MethodOptions_google_2fprotobuf_2fdescriptor_2eproto() {
432   GOOGLE_PROTOBUF_VERIFY_VERSION;
433 
434   {
435     void* ptr = &PROTOBUF_NAMESPACE_ID::_MethodOptions_default_instance_;
436     new (ptr) PROTOBUF_NAMESPACE_ID::MethodOptions();
437     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
438   }
439   PROTOBUF_NAMESPACE_ID::MethodOptions::InitAsDefaultInstance();
440 }
441 
442 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_MethodOptions_google_2fprotobuf_2fdescriptor_2eproto =
443     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_MethodOptions_google_2fprotobuf_2fdescriptor_2eproto}, {
444       &scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto.base,}};
445 
InitDefaultsscc_info_OneofDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto()446 static void InitDefaultsscc_info_OneofDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto() {
447   GOOGLE_PROTOBUF_VERIFY_VERSION;
448 
449   {
450     void* ptr = &PROTOBUF_NAMESPACE_ID::_OneofDescriptorProto_default_instance_;
451     new (ptr) PROTOBUF_NAMESPACE_ID::OneofDescriptorProto();
452     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
453   }
454   PROTOBUF_NAMESPACE_ID::OneofDescriptorProto::InitAsDefaultInstance();
455 }
456 
457 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_OneofDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto =
458     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_OneofDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto}, {
459       &scc_info_OneofOptions_google_2fprotobuf_2fdescriptor_2eproto.base,}};
460 
InitDefaultsscc_info_OneofOptions_google_2fprotobuf_2fdescriptor_2eproto()461 static void InitDefaultsscc_info_OneofOptions_google_2fprotobuf_2fdescriptor_2eproto() {
462   GOOGLE_PROTOBUF_VERIFY_VERSION;
463 
464   {
465     void* ptr = &PROTOBUF_NAMESPACE_ID::_OneofOptions_default_instance_;
466     new (ptr) PROTOBUF_NAMESPACE_ID::OneofOptions();
467     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
468   }
469   PROTOBUF_NAMESPACE_ID::OneofOptions::InitAsDefaultInstance();
470 }
471 
472 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_OneofOptions_google_2fprotobuf_2fdescriptor_2eproto =
473     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_OneofOptions_google_2fprotobuf_2fdescriptor_2eproto}, {
474       &scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto.base,}};
475 
InitDefaultsscc_info_ServiceDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto()476 static void InitDefaultsscc_info_ServiceDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto() {
477   GOOGLE_PROTOBUF_VERIFY_VERSION;
478 
479   {
480     void* ptr = &PROTOBUF_NAMESPACE_ID::_ServiceDescriptorProto_default_instance_;
481     new (ptr) PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto();
482     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
483   }
484   PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto::InitAsDefaultInstance();
485 }
486 
487 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_ServiceDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto =
488     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_ServiceDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto}, {
489       &scc_info_MethodDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
490       &scc_info_ServiceOptions_google_2fprotobuf_2fdescriptor_2eproto.base,}};
491 
InitDefaultsscc_info_ServiceOptions_google_2fprotobuf_2fdescriptor_2eproto()492 static void InitDefaultsscc_info_ServiceOptions_google_2fprotobuf_2fdescriptor_2eproto() {
493   GOOGLE_PROTOBUF_VERIFY_VERSION;
494 
495   {
496     void* ptr = &PROTOBUF_NAMESPACE_ID::_ServiceOptions_default_instance_;
497     new (ptr) PROTOBUF_NAMESPACE_ID::ServiceOptions();
498     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
499   }
500   PROTOBUF_NAMESPACE_ID::ServiceOptions::InitAsDefaultInstance();
501 }
502 
503 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ServiceOptions_google_2fprotobuf_2fdescriptor_2eproto =
504     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_ServiceOptions_google_2fprotobuf_2fdescriptor_2eproto}, {
505       &scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto.base,}};
506 
InitDefaultsscc_info_SourceCodeInfo_google_2fprotobuf_2fdescriptor_2eproto()507 static void InitDefaultsscc_info_SourceCodeInfo_google_2fprotobuf_2fdescriptor_2eproto() {
508   GOOGLE_PROTOBUF_VERIFY_VERSION;
509 
510   {
511     void* ptr = &PROTOBUF_NAMESPACE_ID::_SourceCodeInfo_default_instance_;
512     new (ptr) PROTOBUF_NAMESPACE_ID::SourceCodeInfo();
513     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
514   }
515   PROTOBUF_NAMESPACE_ID::SourceCodeInfo::InitAsDefaultInstance();
516 }
517 
518 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_SourceCodeInfo_google_2fprotobuf_2fdescriptor_2eproto =
519     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_SourceCodeInfo_google_2fprotobuf_2fdescriptor_2eproto}, {
520       &scc_info_SourceCodeInfo_Location_google_2fprotobuf_2fdescriptor_2eproto.base,}};
521 
InitDefaultsscc_info_SourceCodeInfo_Location_google_2fprotobuf_2fdescriptor_2eproto()522 static void InitDefaultsscc_info_SourceCodeInfo_Location_google_2fprotobuf_2fdescriptor_2eproto() {
523   GOOGLE_PROTOBUF_VERIFY_VERSION;
524 
525   {
526     void* ptr = &PROTOBUF_NAMESPACE_ID::_SourceCodeInfo_Location_default_instance_;
527     new (ptr) PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location();
528     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
529   }
530   PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location::InitAsDefaultInstance();
531 }
532 
533 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_SourceCodeInfo_Location_google_2fprotobuf_2fdescriptor_2eproto =
534     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_SourceCodeInfo_Location_google_2fprotobuf_2fdescriptor_2eproto}, {}};
535 
InitDefaultsscc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto()536 static void InitDefaultsscc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto() {
537   GOOGLE_PROTOBUF_VERIFY_VERSION;
538 
539   {
540     void* ptr = &PROTOBUF_NAMESPACE_ID::_UninterpretedOption_default_instance_;
541     new (ptr) PROTOBUF_NAMESPACE_ID::UninterpretedOption();
542     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
543   }
544   PROTOBUF_NAMESPACE_ID::UninterpretedOption::InitAsDefaultInstance();
545 }
546 
547 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto =
548     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto}, {
549       &scc_info_UninterpretedOption_NamePart_google_2fprotobuf_2fdescriptor_2eproto.base,}};
550 
InitDefaultsscc_info_UninterpretedOption_NamePart_google_2fprotobuf_2fdescriptor_2eproto()551 static void InitDefaultsscc_info_UninterpretedOption_NamePart_google_2fprotobuf_2fdescriptor_2eproto() {
552   GOOGLE_PROTOBUF_VERIFY_VERSION;
553 
554   {
555     void* ptr = &PROTOBUF_NAMESPACE_ID::_UninterpretedOption_NamePart_default_instance_;
556     new (ptr) PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart();
557     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
558   }
559   PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart::InitAsDefaultInstance();
560 }
561 
562 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_UninterpretedOption_NamePart_google_2fprotobuf_2fdescriptor_2eproto =
563     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_UninterpretedOption_NamePart_google_2fprotobuf_2fdescriptor_2eproto}, {}};
564 
565 static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[27];
566 static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[6];
567 static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_google_2fprotobuf_2fdescriptor_2eproto = nullptr;
568 
569 const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fdescriptor_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
570   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorSet, _has_bits_),
571   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorSet, _internal_metadata_),
572   ~0u,  // no _extensions_
573   ~0u,  // no _oneof_case_
574   ~0u,  // no _weak_field_map_
575   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorSet, file_),
576   ~0u,
577   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _has_bits_),
578   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _internal_metadata_),
579   ~0u,  // no _extensions_
580   ~0u,  // no _oneof_case_
581   ~0u,  // no _weak_field_map_
582   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, name_),
583   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, package_),
584   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, dependency_),
585   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, public_dependency_),
586   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, weak_dependency_),
587   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, message_type_),
588   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, enum_type_),
589   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, service_),
590   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, extension_),
591   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, options_),
592   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, source_code_info_),
593   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileDescriptorProto, syntax_),
594   0,
595   1,
596   ~0u,
597   ~0u,
598   ~0u,
599   ~0u,
600   ~0u,
601   ~0u,
602   ~0u,
603   3,
604   4,
605   2,
606   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange, _has_bits_),
607   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange, _internal_metadata_),
608   ~0u,  // no _extensions_
609   ~0u,  // no _oneof_case_
610   ~0u,  // no _weak_field_map_
611   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange, start_),
612   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange, end_),
613   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange, options_),
614   1,
615   2,
616   0,
617   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange, _has_bits_),
618   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange, _internal_metadata_),
619   ~0u,  // no _extensions_
620   ~0u,  // no _oneof_case_
621   ~0u,  // no _weak_field_map_
622   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange, start_),
623   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange, end_),
624   0,
625   1,
626   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, _has_bits_),
627   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, _internal_metadata_),
628   ~0u,  // no _extensions_
629   ~0u,  // no _oneof_case_
630   ~0u,  // no _weak_field_map_
631   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, name_),
632   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, field_),
633   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, extension_),
634   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, nested_type_),
635   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, enum_type_),
636   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, extension_range_),
637   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, oneof_decl_),
638   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, options_),
639   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, reserved_range_),
640   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DescriptorProto, reserved_name_),
641   0,
642   ~0u,
643   ~0u,
644   ~0u,
645   ~0u,
646   ~0u,
647   ~0u,
648   1,
649   ~0u,
650   ~0u,
651   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions, _has_bits_),
652   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions, _internal_metadata_),
653   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions, _extensions_),
654   ~0u,  // no _oneof_case_
655   ~0u,  // no _weak_field_map_
656   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions, uninterpreted_option_),
657   ~0u,
658   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _has_bits_),
659   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _internal_metadata_),
660   ~0u,  // no _extensions_
661   ~0u,  // no _oneof_case_
662   ~0u,  // no _weak_field_map_
663   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, name_),
664   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, number_),
665   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, label_),
666   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, type_),
667   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, type_name_),
668   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, extendee_),
669   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, default_value_),
670   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, oneof_index_),
671   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, json_name_),
672   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, options_),
673   0,
674   6,
675   8,
676   9,
677   2,
678   1,
679   3,
680   7,
681   4,
682   5,
683   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::OneofDescriptorProto, _has_bits_),
684   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::OneofDescriptorProto, _internal_metadata_),
685   ~0u,  // no _extensions_
686   ~0u,  // no _oneof_case_
687   ~0u,  // no _weak_field_map_
688   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::OneofDescriptorProto, name_),
689   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::OneofDescriptorProto, options_),
690   0,
691   1,
692   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange, _has_bits_),
693   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange, _internal_metadata_),
694   ~0u,  // no _extensions_
695   ~0u,  // no _oneof_case_
696   ~0u,  // no _weak_field_map_
697   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange, start_),
698   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange, end_),
699   0,
700   1,
701   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, _has_bits_),
702   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, _internal_metadata_),
703   ~0u,  // no _extensions_
704   ~0u,  // no _oneof_case_
705   ~0u,  // no _weak_field_map_
706   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, name_),
707   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, value_),
708   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, options_),
709   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, reserved_range_),
710   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, reserved_name_),
711   0,
712   ~0u,
713   1,
714   ~0u,
715   ~0u,
716   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto, _has_bits_),
717   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto, _internal_metadata_),
718   ~0u,  // no _extensions_
719   ~0u,  // no _oneof_case_
720   ~0u,  // no _weak_field_map_
721   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto, name_),
722   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto, number_),
723   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto, options_),
724   0,
725   2,
726   1,
727   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto, _has_bits_),
728   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto, _internal_metadata_),
729   ~0u,  // no _extensions_
730   ~0u,  // no _oneof_case_
731   ~0u,  // no _weak_field_map_
732   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto, name_),
733   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto, method_),
734   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto, options_),
735   0,
736   ~0u,
737   1,
738   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, _has_bits_),
739   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, _internal_metadata_),
740   ~0u,  // no _extensions_
741   ~0u,  // no _oneof_case_
742   ~0u,  // no _weak_field_map_
743   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, name_),
744   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, input_type_),
745   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, output_type_),
746   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, options_),
747   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, client_streaming_),
748   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, server_streaming_),
749   0,
750   1,
751   2,
752   3,
753   4,
754   5,
755   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, _has_bits_),
756   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, _internal_metadata_),
757   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, _extensions_),
758   ~0u,  // no _oneof_case_
759   ~0u,  // no _weak_field_map_
760   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, java_package_),
761   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, java_outer_classname_),
762   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, java_multiple_files_),
763   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, java_generate_equals_and_hash_),
764   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, java_string_check_utf8_),
765   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, optimize_for_),
766   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, go_package_),
767   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, cc_generic_services_),
768   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, java_generic_services_),
769   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, py_generic_services_),
770   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, php_generic_services_),
771   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, deprecated_),
772   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, cc_enable_arenas_),
773   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, objc_class_prefix_),
774   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, csharp_namespace_),
775   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, swift_prefix_),
776   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, php_class_prefix_),
777   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, php_namespace_),
778   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, php_metadata_namespace_),
779   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, ruby_package_),
780   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FileOptions, uninterpreted_option_),
781   0,
782   1,
783   10,
784   11,
785   12,
786   19,
787   2,
788   13,
789   14,
790   15,
791   16,
792   17,
793   18,
794   3,
795   4,
796   5,
797   6,
798   7,
799   8,
800   9,
801   ~0u,
802   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MessageOptions, _has_bits_),
803   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MessageOptions, _internal_metadata_),
804   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MessageOptions, _extensions_),
805   ~0u,  // no _oneof_case_
806   ~0u,  // no _weak_field_map_
807   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MessageOptions, message_set_wire_format_),
808   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MessageOptions, no_standard_descriptor_accessor_),
809   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MessageOptions, deprecated_),
810   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MessageOptions, map_entry_),
811   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MessageOptions, uninterpreted_option_),
812   0,
813   1,
814   2,
815   3,
816   ~0u,
817   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, _has_bits_),
818   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, _internal_metadata_),
819   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, _extensions_),
820   ~0u,  // no _oneof_case_
821   ~0u,  // no _weak_field_map_
822   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, ctype_),
823   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, packed_),
824   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, jstype_),
825   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, lazy_),
826   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, deprecated_),
827   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, weak_),
828   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldOptions, uninterpreted_option_),
829   0,
830   1,
831   5,
832   2,
833   3,
834   4,
835   ~0u,
836   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::OneofOptions, _has_bits_),
837   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::OneofOptions, _internal_metadata_),
838   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::OneofOptions, _extensions_),
839   ~0u,  // no _oneof_case_
840   ~0u,  // no _weak_field_map_
841   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::OneofOptions, uninterpreted_option_),
842   ~0u,
843   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumOptions, _has_bits_),
844   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumOptions, _internal_metadata_),
845   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumOptions, _extensions_),
846   ~0u,  // no _oneof_case_
847   ~0u,  // no _weak_field_map_
848   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumOptions, allow_alias_),
849   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumOptions, deprecated_),
850   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumOptions, uninterpreted_option_),
851   0,
852   1,
853   ~0u,
854   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValueOptions, _has_bits_),
855   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValueOptions, _internal_metadata_),
856   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValueOptions, _extensions_),
857   ~0u,  // no _oneof_case_
858   ~0u,  // no _weak_field_map_
859   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValueOptions, deprecated_),
860   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValueOptions, uninterpreted_option_),
861   0,
862   ~0u,
863   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ServiceOptions, _has_bits_),
864   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ServiceOptions, _internal_metadata_),
865   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ServiceOptions, _extensions_),
866   ~0u,  // no _oneof_case_
867   ~0u,  // no _weak_field_map_
868   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ServiceOptions, deprecated_),
869   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ServiceOptions, uninterpreted_option_),
870   0,
871   ~0u,
872   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodOptions, _has_bits_),
873   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodOptions, _internal_metadata_),
874   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodOptions, _extensions_),
875   ~0u,  // no _oneof_case_
876   ~0u,  // no _weak_field_map_
877   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodOptions, deprecated_),
878   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodOptions, idempotency_level_),
879   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::MethodOptions, uninterpreted_option_),
880   0,
881   1,
882   ~0u,
883   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart, _has_bits_),
884   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart, _internal_metadata_),
885   ~0u,  // no _extensions_
886   ~0u,  // no _oneof_case_
887   ~0u,  // no _weak_field_map_
888   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart, name_part_),
889   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart, is_extension_),
890   0,
891   1,
892   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UninterpretedOption, _has_bits_),
893   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UninterpretedOption, _internal_metadata_),
894   ~0u,  // no _extensions_
895   ~0u,  // no _oneof_case_
896   ~0u,  // no _weak_field_map_
897   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UninterpretedOption, name_),
898   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UninterpretedOption, identifier_value_),
899   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UninterpretedOption, positive_int_value_),
900   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UninterpretedOption, negative_int_value_),
901   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UninterpretedOption, double_value_),
902   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UninterpretedOption, string_value_),
903   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UninterpretedOption, aggregate_value_),
904   ~0u,
905   0,
906   3,
907   4,
908   5,
909   1,
910   2,
911   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, _has_bits_),
912   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, _internal_metadata_),
913   ~0u,  // no _extensions_
914   ~0u,  // no _oneof_case_
915   ~0u,  // no _weak_field_map_
916   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, path_),
917   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, span_),
918   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, leading_comments_),
919   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, trailing_comments_),
920   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, leading_detached_comments_),
921   ~0u,
922   ~0u,
923   0,
924   1,
925   ~0u,
926   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceCodeInfo, _has_bits_),
927   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceCodeInfo, _internal_metadata_),
928   ~0u,  // no _extensions_
929   ~0u,  // no _oneof_case_
930   ~0u,  // no _weak_field_map_
931   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceCodeInfo, location_),
932   ~0u,
933   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation, _has_bits_),
934   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation, _internal_metadata_),
935   ~0u,  // no _extensions_
936   ~0u,  // no _oneof_case_
937   ~0u,  // no _weak_field_map_
938   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation, path_),
939   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation, source_file_),
940   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation, begin_),
941   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation, end_),
942   ~0u,
943   0,
944   1,
945   2,
946   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo, _has_bits_),
947   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo, _internal_metadata_),
948   ~0u,  // no _extensions_
949   ~0u,  // no _oneof_case_
950   ~0u,  // no _weak_field_map_
951   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo, annotation_),
952   ~0u,
953 };
954 static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
955   { 0, 6, sizeof(PROTOBUF_NAMESPACE_ID::FileDescriptorSet)},
956   { 7, 24, sizeof(PROTOBUF_NAMESPACE_ID::FileDescriptorProto)},
957   { 36, 44, sizeof(PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange)},
958   { 47, 54, sizeof(PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange)},
959   { 56, 71, sizeof(PROTOBUF_NAMESPACE_ID::DescriptorProto)},
960   { 81, 87, sizeof(PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions)},
961   { 88, 103, sizeof(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto)},
962   { 113, 120, sizeof(PROTOBUF_NAMESPACE_ID::OneofDescriptorProto)},
963   { 122, 129, sizeof(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange)},
964   { 131, 141, sizeof(PROTOBUF_NAMESPACE_ID::EnumDescriptorProto)},
965   { 146, 154, sizeof(PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto)},
966   { 157, 165, sizeof(PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto)},
967   { 168, 179, sizeof(PROTOBUF_NAMESPACE_ID::MethodDescriptorProto)},
968   { 185, 211, sizeof(PROTOBUF_NAMESPACE_ID::FileOptions)},
969   { 232, 242, sizeof(PROTOBUF_NAMESPACE_ID::MessageOptions)},
970   { 247, 259, sizeof(PROTOBUF_NAMESPACE_ID::FieldOptions)},
971   { 266, 272, sizeof(PROTOBUF_NAMESPACE_ID::OneofOptions)},
972   { 273, 281, sizeof(PROTOBUF_NAMESPACE_ID::EnumOptions)},
973   { 284, 291, sizeof(PROTOBUF_NAMESPACE_ID::EnumValueOptions)},
974   { 293, 300, sizeof(PROTOBUF_NAMESPACE_ID::ServiceOptions)},
975   { 302, 310, sizeof(PROTOBUF_NAMESPACE_ID::MethodOptions)},
976   { 313, 320, sizeof(PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart)},
977   { 322, 334, sizeof(PROTOBUF_NAMESPACE_ID::UninterpretedOption)},
978   { 341, 351, sizeof(PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location)},
979   { 356, 362, sizeof(PROTOBUF_NAMESPACE_ID::SourceCodeInfo)},
980   { 363, 372, sizeof(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation)},
981   { 376, 382, sizeof(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo)},
982 };
983 
984 static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
985   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_FileDescriptorSet_default_instance_),
986   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_FileDescriptorProto_default_instance_),
987   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_DescriptorProto_ExtensionRange_default_instance_),
988   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_DescriptorProto_ReservedRange_default_instance_),
989   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_DescriptorProto_default_instance_),
990   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_ExtensionRangeOptions_default_instance_),
991   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_FieldDescriptorProto_default_instance_),
992   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_OneofDescriptorProto_default_instance_),
993   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_EnumDescriptorProto_EnumReservedRange_default_instance_),
994   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_EnumDescriptorProto_default_instance_),
995   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_EnumValueDescriptorProto_default_instance_),
996   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_ServiceDescriptorProto_default_instance_),
997   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_MethodDescriptorProto_default_instance_),
998   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_FileOptions_default_instance_),
999   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_MessageOptions_default_instance_),
1000   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_FieldOptions_default_instance_),
1001   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_OneofOptions_default_instance_),
1002   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_EnumOptions_default_instance_),
1003   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_EnumValueOptions_default_instance_),
1004   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_ServiceOptions_default_instance_),
1005   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_MethodOptions_default_instance_),
1006   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_UninterpretedOption_NamePart_default_instance_),
1007   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_UninterpretedOption_default_instance_),
1008   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_SourceCodeInfo_Location_default_instance_),
1009   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_SourceCodeInfo_default_instance_),
1010   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_GeneratedCodeInfo_Annotation_default_instance_),
1011   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_GeneratedCodeInfo_default_instance_),
1012 };
1013 
1014 const char descriptor_table_protodef_google_2fprotobuf_2fdescriptor_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
1015   "\n google/protobuf/descriptor.proto\022\017goog"
1016   "le.protobuf\"G\n\021FileDescriptorSet\0222\n\004file"
1017   "\030\001 \003(\0132$.google.protobuf.FileDescriptorP"
1018   "roto\"\333\003\n\023FileDescriptorProto\022\014\n\004name\030\001 \001"
1019   "(\t\022\017\n\007package\030\002 \001(\t\022\022\n\ndependency\030\003 \003(\t\022"
1020   "\031\n\021public_dependency\030\n \003(\005\022\027\n\017weak_depen"
1021   "dency\030\013 \003(\005\0226\n\014message_type\030\004 \003(\0132 .goog"
1022   "le.protobuf.DescriptorProto\0227\n\tenum_type"
1023   "\030\005 \003(\0132$.google.protobuf.EnumDescriptorP"
1024   "roto\0228\n\007service\030\006 \003(\0132\'.google.protobuf."
1025   "ServiceDescriptorProto\0228\n\textension\030\007 \003("
1026   "\0132%.google.protobuf.FieldDescriptorProto"
1027   "\022-\n\007options\030\010 \001(\0132\034.google.protobuf.File"
1028   "Options\0229\n\020source_code_info\030\t \001(\0132\037.goog"
1029   "le.protobuf.SourceCodeInfo\022\016\n\006syntax\030\014 \001"
1030   "(\t\"\251\005\n\017DescriptorProto\022\014\n\004name\030\001 \001(\t\0224\n\005"
1031   "field\030\002 \003(\0132%.google.protobuf.FieldDescr"
1032   "iptorProto\0228\n\textension\030\006 \003(\0132%.google.p"
1033   "rotobuf.FieldDescriptorProto\0225\n\013nested_t"
1034   "ype\030\003 \003(\0132 .google.protobuf.DescriptorPr"
1035   "oto\0227\n\tenum_type\030\004 \003(\0132$.google.protobuf"
1036   ".EnumDescriptorProto\022H\n\017extension_range\030"
1037   "\005 \003(\0132/.google.protobuf.DescriptorProto."
1038   "ExtensionRange\0229\n\noneof_decl\030\010 \003(\0132%.goo"
1039   "gle.protobuf.OneofDescriptorProto\0220\n\007opt"
1040   "ions\030\007 \001(\0132\037.google.protobuf.MessageOpti"
1041   "ons\022F\n\016reserved_range\030\t \003(\0132..google.pro"
1042   "tobuf.DescriptorProto.ReservedRange\022\025\n\rr"
1043   "eserved_name\030\n \003(\t\032e\n\016ExtensionRange\022\r\n\005"
1044   "start\030\001 \001(\005\022\013\n\003end\030\002 \001(\005\0227\n\007options\030\003 \001("
1045   "\0132&.google.protobuf.ExtensionRangeOption"
1046   "s\032+\n\rReservedRange\022\r\n\005start\030\001 \001(\005\022\013\n\003end"
1047   "\030\002 \001(\005\"g\n\025ExtensionRangeOptions\022C\n\024unint"
1048   "erpreted_option\030\347\007 \003(\0132$.google.protobuf"
1049   ".UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"\274\005\n\024Fiel"
1050   "dDescriptorProto\022\014\n\004name\030\001 \001(\t\022\016\n\006number"
1051   "\030\003 \001(\005\022:\n\005label\030\004 \001(\0162+.google.protobuf."
1052   "FieldDescriptorProto.Label\0228\n\004type\030\005 \001(\016"
1053   "2*.google.protobuf.FieldDescriptorProto."
1054   "Type\022\021\n\ttype_name\030\006 \001(\t\022\020\n\010extendee\030\002 \001("
1055   "\t\022\025\n\rdefault_value\030\007 \001(\t\022\023\n\013oneof_index\030"
1056   "\t \001(\005\022\021\n\tjson_name\030\n \001(\t\022.\n\007options\030\010 \001("
1057   "\0132\035.google.protobuf.FieldOptions\"\266\002\n\004Typ"
1058   "e\022\017\n\013TYPE_DOUBLE\020\001\022\016\n\nTYPE_FLOAT\020\002\022\016\n\nTY"
1059   "PE_INT64\020\003\022\017\n\013TYPE_UINT64\020\004\022\016\n\nTYPE_INT3"
1060   "2\020\005\022\020\n\014TYPE_FIXED64\020\006\022\020\n\014TYPE_FIXED32\020\007\022"
1061   "\r\n\tTYPE_BOOL\020\010\022\017\n\013TYPE_STRING\020\t\022\016\n\nTYPE_"
1062   "GROUP\020\n\022\020\n\014TYPE_MESSAGE\020\013\022\016\n\nTYPE_BYTES\020"
1063   "\014\022\017\n\013TYPE_UINT32\020\r\022\r\n\tTYPE_ENUM\020\016\022\021\n\rTYP"
1064   "E_SFIXED32\020\017\022\021\n\rTYPE_SFIXED64\020\020\022\017\n\013TYPE_"
1065   "SINT32\020\021\022\017\n\013TYPE_SINT64\020\022\"C\n\005Label\022\022\n\016LA"
1066   "BEL_OPTIONAL\020\001\022\022\n\016LABEL_REQUIRED\020\002\022\022\n\016LA"
1067   "BEL_REPEATED\020\003\"T\n\024OneofDescriptorProto\022\014"
1068   "\n\004name\030\001 \001(\t\022.\n\007options\030\002 \001(\0132\035.google.p"
1069   "rotobuf.OneofOptions\"\244\002\n\023EnumDescriptorP"
1070   "roto\022\014\n\004name\030\001 \001(\t\0228\n\005value\030\002 \003(\0132).goog"
1071   "le.protobuf.EnumValueDescriptorProto\022-\n\007"
1072   "options\030\003 \001(\0132\034.google.protobuf.EnumOpti"
1073   "ons\022N\n\016reserved_range\030\004 \003(\01326.google.pro"
1074   "tobuf.EnumDescriptorProto.EnumReservedRa"
1075   "nge\022\025\n\rreserved_name\030\005 \003(\t\032/\n\021EnumReserv"
1076   "edRange\022\r\n\005start\030\001 \001(\005\022\013\n\003end\030\002 \001(\005\"l\n\030E"
1077   "numValueDescriptorProto\022\014\n\004name\030\001 \001(\t\022\016\n"
1078   "\006number\030\002 \001(\005\0222\n\007options\030\003 \001(\0132!.google."
1079   "protobuf.EnumValueOptions\"\220\001\n\026ServiceDes"
1080   "criptorProto\022\014\n\004name\030\001 \001(\t\0226\n\006method\030\002 \003"
1081   "(\0132&.google.protobuf.MethodDescriptorPro"
1082   "to\0220\n\007options\030\003 \001(\0132\037.google.protobuf.Se"
1083   "rviceOptions\"\301\001\n\025MethodDescriptorProto\022\014"
1084   "\n\004name\030\001 \001(\t\022\022\n\ninput_type\030\002 \001(\t\022\023\n\013outp"
1085   "ut_type\030\003 \001(\t\022/\n\007options\030\004 \001(\0132\036.google."
1086   "protobuf.MethodOptions\022\037\n\020client_streami"
1087   "ng\030\005 \001(\010:\005false\022\037\n\020server_streaming\030\006 \001("
1088   "\010:\005false\"\246\006\n\013FileOptions\022\024\n\014java_package"
1089   "\030\001 \001(\t\022\034\n\024java_outer_classname\030\010 \001(\t\022\"\n\023"
1090   "java_multiple_files\030\n \001(\010:\005false\022)\n\035java"
1091   "_generate_equals_and_hash\030\024 \001(\010B\002\030\001\022%\n\026j"
1092   "ava_string_check_utf8\030\033 \001(\010:\005false\022F\n\014op"
1093   "timize_for\030\t \001(\0162).google.protobuf.FileO"
1094   "ptions.OptimizeMode:\005SPEED\022\022\n\ngo_package"
1095   "\030\013 \001(\t\022\"\n\023cc_generic_services\030\020 \001(\010:\005fal"
1096   "se\022$\n\025java_generic_services\030\021 \001(\010:\005false"
1097   "\022\"\n\023py_generic_services\030\022 \001(\010:\005false\022#\n\024"
1098   "php_generic_services\030* \001(\010:\005false\022\031\n\ndep"
1099   "recated\030\027 \001(\010:\005false\022\037\n\020cc_enable_arenas"
1100   "\030\037 \001(\010:\005false\022\031\n\021objc_class_prefix\030$ \001(\t"
1101   "\022\030\n\020csharp_namespace\030% \001(\t\022\024\n\014swift_pref"
1102   "ix\030\' \001(\t\022\030\n\020php_class_prefix\030( \001(\t\022\025\n\rph"
1103   "p_namespace\030) \001(\t\022\036\n\026php_metadata_namesp"
1104   "ace\030, \001(\t\022\024\n\014ruby_package\030- \001(\t\022C\n\024unint"
1105   "erpreted_option\030\347\007 \003(\0132$.google.protobuf"
1106   ".UninterpretedOption\":\n\014OptimizeMode\022\t\n\005"
1107   "SPEED\020\001\022\r\n\tCODE_SIZE\020\002\022\020\n\014LITE_RUNTIME\020\003"
1108   "*\t\010\350\007\020\200\200\200\200\002J\004\010&\020\'\"\362\001\n\016MessageOptions\022&\n\027"
1109   "message_set_wire_format\030\001 \001(\010:\005false\022.\n\037"
1110   "no_standard_descriptor_accessor\030\002 \001(\010:\005f"
1111   "alse\022\031\n\ndeprecated\030\003 \001(\010:\005false\022\021\n\tmap_e"
1112   "ntry\030\007 \001(\010\022C\n\024uninterpreted_option\030\347\007 \003("
1113   "\0132$.google.protobuf.UninterpretedOption*"
1114   "\t\010\350\007\020\200\200\200\200\002J\004\010\010\020\tJ\004\010\t\020\n\"\236\003\n\014FieldOptions\022"
1115   ":\n\005ctype\030\001 \001(\0162#.google.protobuf.FieldOp"
1116   "tions.CType:\006STRING\022\016\n\006packed\030\002 \001(\010\022\?\n\006j"
1117   "stype\030\006 \001(\0162$.google.protobuf.FieldOptio"
1118   "ns.JSType:\tJS_NORMAL\022\023\n\004lazy\030\005 \001(\010:\005fals"
1119   "e\022\031\n\ndeprecated\030\003 \001(\010:\005false\022\023\n\004weak\030\n \001"
1120   "(\010:\005false\022C\n\024uninterpreted_option\030\347\007 \003(\013"
1121   "2$.google.protobuf.UninterpretedOption\"/"
1122   "\n\005CType\022\n\n\006STRING\020\000\022\010\n\004CORD\020\001\022\020\n\014STRING_"
1123   "PIECE\020\002\"5\n\006JSType\022\r\n\tJS_NORMAL\020\000\022\r\n\tJS_S"
1124   "TRING\020\001\022\r\n\tJS_NUMBER\020\002*\t\010\350\007\020\200\200\200\200\002J\004\010\004\020\005\""
1125   "^\n\014OneofOptions\022C\n\024uninterpreted_option\030"
1126   "\347\007 \003(\0132$.google.protobuf.UninterpretedOp"
1127   "tion*\t\010\350\007\020\200\200\200\200\002\"\223\001\n\013EnumOptions\022\023\n\013allow"
1128   "_alias\030\002 \001(\010\022\031\n\ndeprecated\030\003 \001(\010:\005false\022"
1129   "C\n\024uninterpreted_option\030\347\007 \003(\0132$.google."
1130   "protobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002J"
1131   "\004\010\005\020\006\"}\n\020EnumValueOptions\022\031\n\ndeprecated\030"
1132   "\001 \001(\010:\005false\022C\n\024uninterpreted_option\030\347\007 "
1133   "\003(\0132$.google.protobuf.UninterpretedOptio"
1134   "n*\t\010\350\007\020\200\200\200\200\002\"{\n\016ServiceOptions\022\031\n\ndeprec"
1135   "ated\030! \001(\010:\005false\022C\n\024uninterpreted_optio"
1136   "n\030\347\007 \003(\0132$.google.protobuf.Uninterpreted"
1137   "Option*\t\010\350\007\020\200\200\200\200\002\"\255\002\n\rMethodOptions\022\031\n\nd"
1138   "eprecated\030! \001(\010:\005false\022_\n\021idempotency_le"
1139   "vel\030\" \001(\0162/.google.protobuf.MethodOption"
1140   "s.IdempotencyLevel:\023IDEMPOTENCY_UNKNOWN\022"
1141   "C\n\024uninterpreted_option\030\347\007 \003(\0132$.google."
1142   "protobuf.UninterpretedOption\"P\n\020Idempote"
1143   "ncyLevel\022\027\n\023IDEMPOTENCY_UNKNOWN\020\000\022\023\n\017NO_"
1144   "SIDE_EFFECTS\020\001\022\016\n\nIDEMPOTENT\020\002*\t\010\350\007\020\200\200\200\200"
1145   "\002\"\236\002\n\023UninterpretedOption\022;\n\004name\030\002 \003(\0132"
1146   "-.google.protobuf.UninterpretedOption.Na"
1147   "mePart\022\030\n\020identifier_value\030\003 \001(\t\022\032\n\022posi"
1148   "tive_int_value\030\004 \001(\004\022\032\n\022negative_int_val"
1149   "ue\030\005 \001(\003\022\024\n\014double_value\030\006 \001(\001\022\024\n\014string"
1150   "_value\030\007 \001(\014\022\027\n\017aggregate_value\030\010 \001(\t\0323\n"
1151   "\010NamePart\022\021\n\tname_part\030\001 \002(\t\022\024\n\014is_exten"
1152   "sion\030\002 \002(\010\"\325\001\n\016SourceCodeInfo\022:\n\010locatio"
1153   "n\030\001 \003(\0132(.google.protobuf.SourceCodeInfo"
1154   ".Location\032\206\001\n\010Location\022\020\n\004path\030\001 \003(\005B\002\020\001"
1155   "\022\020\n\004span\030\002 \003(\005B\002\020\001\022\030\n\020leading_comments\030\003"
1156   " \001(\t\022\031\n\021trailing_comments\030\004 \001(\t\022!\n\031leadi"
1157   "ng_detached_comments\030\006 \003(\t\"\247\001\n\021Generated"
1158   "CodeInfo\022A\n\nannotation\030\001 \003(\0132-.google.pr"
1159   "otobuf.GeneratedCodeInfo.Annotation\032O\n\nA"
1160   "nnotation\022\020\n\004path\030\001 \003(\005B\002\020\001\022\023\n\013source_fi"
1161   "le\030\002 \001(\t\022\r\n\005begin\030\003 \001(\005\022\013\n\003end\030\004 \001(\005B\217\001\n"
1162   "\023com.google.protobufB\020DescriptorProtosH\001"
1163   "Z>github.com/golang/protobuf/protoc-gen-"
1164   "go/descriptor;descriptor\370\001\001\242\002\003GPB\252\002\032Goog"
1165   "le.Protobuf.Reflection"
1166   ;
1167 static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_deps[1] = {
1168 };
1169 static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_sccs[27] = {
1170   &scc_info_DescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
1171   &scc_info_DescriptorProto_ExtensionRange_google_2fprotobuf_2fdescriptor_2eproto.base,
1172   &scc_info_DescriptorProto_ReservedRange_google_2fprotobuf_2fdescriptor_2eproto.base,
1173   &scc_info_EnumDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
1174   &scc_info_EnumDescriptorProto_EnumReservedRange_google_2fprotobuf_2fdescriptor_2eproto.base,
1175   &scc_info_EnumOptions_google_2fprotobuf_2fdescriptor_2eproto.base,
1176   &scc_info_EnumValueDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
1177   &scc_info_EnumValueOptions_google_2fprotobuf_2fdescriptor_2eproto.base,
1178   &scc_info_ExtensionRangeOptions_google_2fprotobuf_2fdescriptor_2eproto.base,
1179   &scc_info_FieldDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
1180   &scc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto.base,
1181   &scc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
1182   &scc_info_FileDescriptorSet_google_2fprotobuf_2fdescriptor_2eproto.base,
1183   &scc_info_FileOptions_google_2fprotobuf_2fdescriptor_2eproto.base,
1184   &scc_info_GeneratedCodeInfo_google_2fprotobuf_2fdescriptor_2eproto.base,
1185   &scc_info_GeneratedCodeInfo_Annotation_google_2fprotobuf_2fdescriptor_2eproto.base,
1186   &scc_info_MessageOptions_google_2fprotobuf_2fdescriptor_2eproto.base,
1187   &scc_info_MethodDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
1188   &scc_info_MethodOptions_google_2fprotobuf_2fdescriptor_2eproto.base,
1189   &scc_info_OneofDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
1190   &scc_info_OneofOptions_google_2fprotobuf_2fdescriptor_2eproto.base,
1191   &scc_info_ServiceDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,
1192   &scc_info_ServiceOptions_google_2fprotobuf_2fdescriptor_2eproto.base,
1193   &scc_info_SourceCodeInfo_google_2fprotobuf_2fdescriptor_2eproto.base,
1194   &scc_info_SourceCodeInfo_Location_google_2fprotobuf_2fdescriptor_2eproto.base,
1195   &scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto.base,
1196   &scc_info_UninterpretedOption_NamePart_google_2fprotobuf_2fdescriptor_2eproto.base,
1197 };
1198 static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once;
1199 static bool descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_initialized = false;
1200 const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto = {
1201   &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_initialized, descriptor_table_protodef_google_2fprotobuf_2fdescriptor_2eproto, "google/protobuf/descriptor.proto", 6022,
1202   &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once, descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_sccs, descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_deps, 27, 0,
1203   schemas, file_default_instances, TableStruct_google_2fprotobuf_2fdescriptor_2eproto::offsets,
1204   file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto, 27, file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto, file_level_service_descriptors_google_2fprotobuf_2fdescriptor_2eproto,
1205 };
1206 
1207 // Force running AddDescriptors() at dynamic initialization time.
1208 static bool dynamic_init_dummy_google_2fprotobuf_2fdescriptor_2eproto = (  ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto), true);
1209 PROTOBUF_NAMESPACE_OPEN
FieldDescriptorProto_Type_descriptor()1210 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Type_descriptor() {
1211   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1212   return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[0];
1213 }
FieldDescriptorProto_Type_IsValid(int value)1214 bool FieldDescriptorProto_Type_IsValid(int value) {
1215   switch (value) {
1216     case 1:
1217     case 2:
1218     case 3:
1219     case 4:
1220     case 5:
1221     case 6:
1222     case 7:
1223     case 8:
1224     case 9:
1225     case 10:
1226     case 11:
1227     case 12:
1228     case 13:
1229     case 14:
1230     case 15:
1231     case 16:
1232     case 17:
1233     case 18:
1234       return true;
1235     default:
1236       return false;
1237   }
1238 }
1239 
1240 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
1241 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_DOUBLE;
1242 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_FLOAT;
1243 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_INT64;
1244 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_UINT64;
1245 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_INT32;
1246 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_FIXED64;
1247 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_FIXED32;
1248 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_BOOL;
1249 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_STRING;
1250 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_GROUP;
1251 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_MESSAGE;
1252 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_BYTES;
1253 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_UINT32;
1254 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_ENUM;
1255 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SFIXED32;
1256 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SFIXED64;
1257 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SINT32;
1258 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SINT64;
1259 constexpr FieldDescriptorProto_Type FieldDescriptorProto::Type_MIN;
1260 constexpr FieldDescriptorProto_Type FieldDescriptorProto::Type_MAX;
1261 constexpr int FieldDescriptorProto::Type_ARRAYSIZE;
1262 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
FieldDescriptorProto_Label_descriptor()1263 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Label_descriptor() {
1264   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1265   return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[1];
1266 }
FieldDescriptorProto_Label_IsValid(int value)1267 bool FieldDescriptorProto_Label_IsValid(int value) {
1268   switch (value) {
1269     case 1:
1270     case 2:
1271     case 3:
1272       return true;
1273     default:
1274       return false;
1275   }
1276 }
1277 
1278 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
1279 constexpr FieldDescriptorProto_Label FieldDescriptorProto::LABEL_OPTIONAL;
1280 constexpr FieldDescriptorProto_Label FieldDescriptorProto::LABEL_REQUIRED;
1281 constexpr FieldDescriptorProto_Label FieldDescriptorProto::LABEL_REPEATED;
1282 constexpr FieldDescriptorProto_Label FieldDescriptorProto::Label_MIN;
1283 constexpr FieldDescriptorProto_Label FieldDescriptorProto::Label_MAX;
1284 constexpr int FieldDescriptorProto::Label_ARRAYSIZE;
1285 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
FileOptions_OptimizeMode_descriptor()1286 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FileOptions_OptimizeMode_descriptor() {
1287   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1288   return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[2];
1289 }
FileOptions_OptimizeMode_IsValid(int value)1290 bool FileOptions_OptimizeMode_IsValid(int value) {
1291   switch (value) {
1292     case 1:
1293     case 2:
1294     case 3:
1295       return true;
1296     default:
1297       return false;
1298   }
1299 }
1300 
1301 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
1302 constexpr FileOptions_OptimizeMode FileOptions::SPEED;
1303 constexpr FileOptions_OptimizeMode FileOptions::CODE_SIZE;
1304 constexpr FileOptions_OptimizeMode FileOptions::LITE_RUNTIME;
1305 constexpr FileOptions_OptimizeMode FileOptions::OptimizeMode_MIN;
1306 constexpr FileOptions_OptimizeMode FileOptions::OptimizeMode_MAX;
1307 constexpr int FileOptions::OptimizeMode_ARRAYSIZE;
1308 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
FieldOptions_CType_descriptor()1309 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_CType_descriptor() {
1310   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1311   return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[3];
1312 }
FieldOptions_CType_IsValid(int value)1313 bool FieldOptions_CType_IsValid(int value) {
1314   switch (value) {
1315     case 0:
1316     case 1:
1317     case 2:
1318       return true;
1319     default:
1320       return false;
1321   }
1322 }
1323 
1324 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
1325 constexpr FieldOptions_CType FieldOptions::STRING;
1326 constexpr FieldOptions_CType FieldOptions::CORD;
1327 constexpr FieldOptions_CType FieldOptions::STRING_PIECE;
1328 constexpr FieldOptions_CType FieldOptions::CType_MIN;
1329 constexpr FieldOptions_CType FieldOptions::CType_MAX;
1330 constexpr int FieldOptions::CType_ARRAYSIZE;
1331 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
FieldOptions_JSType_descriptor()1332 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_JSType_descriptor() {
1333   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1334   return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[4];
1335 }
FieldOptions_JSType_IsValid(int value)1336 bool FieldOptions_JSType_IsValid(int value) {
1337   switch (value) {
1338     case 0:
1339     case 1:
1340     case 2:
1341       return true;
1342     default:
1343       return false;
1344   }
1345 }
1346 
1347 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
1348 constexpr FieldOptions_JSType FieldOptions::JS_NORMAL;
1349 constexpr FieldOptions_JSType FieldOptions::JS_STRING;
1350 constexpr FieldOptions_JSType FieldOptions::JS_NUMBER;
1351 constexpr FieldOptions_JSType FieldOptions::JSType_MIN;
1352 constexpr FieldOptions_JSType FieldOptions::JSType_MAX;
1353 constexpr int FieldOptions::JSType_ARRAYSIZE;
1354 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
MethodOptions_IdempotencyLevel_descriptor()1355 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MethodOptions_IdempotencyLevel_descriptor() {
1356   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1357   return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[5];
1358 }
MethodOptions_IdempotencyLevel_IsValid(int value)1359 bool MethodOptions_IdempotencyLevel_IsValid(int value) {
1360   switch (value) {
1361     case 0:
1362     case 1:
1363     case 2:
1364       return true;
1365     default:
1366       return false;
1367   }
1368 }
1369 
1370 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
1371 constexpr MethodOptions_IdempotencyLevel MethodOptions::IDEMPOTENCY_UNKNOWN;
1372 constexpr MethodOptions_IdempotencyLevel MethodOptions::NO_SIDE_EFFECTS;
1373 constexpr MethodOptions_IdempotencyLevel MethodOptions::IDEMPOTENT;
1374 constexpr MethodOptions_IdempotencyLevel MethodOptions::IdempotencyLevel_MIN;
1375 constexpr MethodOptions_IdempotencyLevel MethodOptions::IdempotencyLevel_MAX;
1376 constexpr int MethodOptions::IdempotencyLevel_ARRAYSIZE;
1377 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
1378 
1379 // ===================================================================
1380 
InitAsDefaultInstance()1381 void FileDescriptorSet::InitAsDefaultInstance() {
1382 }
1383 class FileDescriptorSet::_Internal {
1384  public:
1385   using HasBits = decltype(std::declval<FileDescriptorSet>()._has_bits_);
1386 };
1387 
FileDescriptorSet()1388 FileDescriptorSet::FileDescriptorSet()
1389   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
1390   SharedCtor();
1391   // @@protoc_insertion_point(constructor:google.protobuf.FileDescriptorSet)
1392 }
FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::Arena * arena)1393 FileDescriptorSet::FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::Arena* arena)
1394   : ::PROTOBUF_NAMESPACE_ID::Message(),
1395   _internal_metadata_(arena),
1396   file_(arena) {
1397   SharedCtor();
1398   RegisterArenaDtor(arena);
1399   // @@protoc_insertion_point(arena_constructor:google.protobuf.FileDescriptorSet)
1400 }
FileDescriptorSet(const FileDescriptorSet & from)1401 FileDescriptorSet::FileDescriptorSet(const FileDescriptorSet& from)
1402   : ::PROTOBUF_NAMESPACE_ID::Message(),
1403       _internal_metadata_(nullptr),
1404       _has_bits_(from._has_bits_),
1405       file_(from.file_) {
1406   _internal_metadata_.MergeFrom(from._internal_metadata_);
1407   // @@protoc_insertion_point(copy_constructor:google.protobuf.FileDescriptorSet)
1408 }
1409 
SharedCtor()1410 void FileDescriptorSet::SharedCtor() {
1411   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_FileDescriptorSet_google_2fprotobuf_2fdescriptor_2eproto.base);
1412 }
1413 
~FileDescriptorSet()1414 FileDescriptorSet::~FileDescriptorSet() {
1415   // @@protoc_insertion_point(destructor:google.protobuf.FileDescriptorSet)
1416   SharedDtor();
1417 }
1418 
SharedDtor()1419 void FileDescriptorSet::SharedDtor() {
1420   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
1421 }
1422 
ArenaDtor(void * object)1423 void FileDescriptorSet::ArenaDtor(void* object) {
1424   FileDescriptorSet* _this = reinterpret_cast< FileDescriptorSet* >(object);
1425   (void)_this;
1426 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)1427 void FileDescriptorSet::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1428 }
SetCachedSize(int size) const1429 void FileDescriptorSet::SetCachedSize(int size) const {
1430   _cached_size_.Set(size);
1431 }
default_instance()1432 const FileDescriptorSet& FileDescriptorSet::default_instance() {
1433   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_FileDescriptorSet_google_2fprotobuf_2fdescriptor_2eproto.base);
1434   return *internal_default_instance();
1435 }
1436 
1437 
Clear()1438 void FileDescriptorSet::Clear() {
1439 // @@protoc_insertion_point(message_clear_start:google.protobuf.FileDescriptorSet)
1440   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1441   // Prevent compiler warnings about cached_has_bits being unused
1442   (void) cached_has_bits;
1443 
1444   file_.Clear();
1445   _has_bits_.Clear();
1446   _internal_metadata_.Clear();
1447 }
1448 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)1449 const char* FileDescriptorSet::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1450 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1451   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
1452   while (!ctx->Done(&ptr)) {
1453     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1454     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1455     CHK_(ptr);
1456     switch (tag >> 3) {
1457       // repeated .google.protobuf.FileDescriptorProto file = 1;
1458       case 1:
1459         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
1460           ptr -= 1;
1461           do {
1462             ptr += 1;
1463             ptr = ctx->ParseMessage(_internal_add_file(), ptr);
1464             CHK_(ptr);
1465             if (!ctx->DataAvailable(ptr)) break;
1466           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
1467         } else goto handle_unusual;
1468         continue;
1469       default: {
1470       handle_unusual:
1471         if ((tag & 7) == 4 || tag == 0) {
1472           ctx->SetLastTag(tag);
1473           goto success;
1474         }
1475         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
1476         CHK_(ptr != nullptr);
1477         continue;
1478       }
1479     }  // switch
1480   }  // while
1481 success:
1482   return ptr;
1483 failure:
1484   ptr = nullptr;
1485   goto success;
1486 #undef CHK_
1487 }
1488 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1489 ::PROTOBUF_NAMESPACE_ID::uint8* FileDescriptorSet::_InternalSerialize(
1490     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1491   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileDescriptorSet)
1492   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1493   (void) cached_has_bits;
1494 
1495   // repeated .google.protobuf.FileDescriptorProto file = 1;
1496   for (unsigned int i = 0,
1497       n = static_cast<unsigned int>(this->_internal_file_size()); i < n; i++) {
1498     target = stream->EnsureSpace(target);
1499     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1500       InternalWriteMessage(1, this->_internal_file(i), target, stream);
1501   }
1502 
1503   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1504     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1505         _internal_metadata_.unknown_fields(), target, stream);
1506   }
1507   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FileDescriptorSet)
1508   return target;
1509 }
1510 
ByteSizeLong() const1511 size_t FileDescriptorSet::ByteSizeLong() const {
1512 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileDescriptorSet)
1513   size_t total_size = 0;
1514 
1515   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1516   // Prevent compiler warnings about cached_has_bits being unused
1517   (void) cached_has_bits;
1518 
1519   // repeated .google.protobuf.FileDescriptorProto file = 1;
1520   total_size += 1UL * this->_internal_file_size();
1521   for (const auto& msg : this->file_) {
1522     total_size +=
1523       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
1524   }
1525 
1526   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1527     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1528         _internal_metadata_, total_size, &_cached_size_);
1529   }
1530   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1531   SetCachedSize(cached_size);
1532   return total_size;
1533 }
1534 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)1535 void FileDescriptorSet::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1536 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FileDescriptorSet)
1537   GOOGLE_DCHECK_NE(&from, this);
1538   const FileDescriptorSet* source =
1539       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<FileDescriptorSet>(
1540           &from);
1541   if (source == nullptr) {
1542   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FileDescriptorSet)
1543     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
1544   } else {
1545   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FileDescriptorSet)
1546     MergeFrom(*source);
1547   }
1548 }
1549 
MergeFrom(const FileDescriptorSet & from)1550 void FileDescriptorSet::MergeFrom(const FileDescriptorSet& from) {
1551 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileDescriptorSet)
1552   GOOGLE_DCHECK_NE(&from, this);
1553   _internal_metadata_.MergeFrom(from._internal_metadata_);
1554   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1555   (void) cached_has_bits;
1556 
1557   file_.MergeFrom(from.file_);
1558 }
1559 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)1560 void FileDescriptorSet::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1561 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FileDescriptorSet)
1562   if (&from == this) return;
1563   Clear();
1564   MergeFrom(from);
1565 }
1566 
CopyFrom(const FileDescriptorSet & from)1567 void FileDescriptorSet::CopyFrom(const FileDescriptorSet& from) {
1568 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileDescriptorSet)
1569   if (&from == this) return;
1570   Clear();
1571   MergeFrom(from);
1572 }
1573 
IsInitialized() const1574 bool FileDescriptorSet::IsInitialized() const {
1575   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(file_)) return false;
1576   return true;
1577 }
1578 
InternalSwap(FileDescriptorSet * other)1579 void FileDescriptorSet::InternalSwap(FileDescriptorSet* other) {
1580   using std::swap;
1581   _internal_metadata_.Swap(&other->_internal_metadata_);
1582   swap(_has_bits_[0], other->_has_bits_[0]);
1583   file_.InternalSwap(&other->file_);
1584 }
1585 
GetMetadata() const1586 ::PROTOBUF_NAMESPACE_ID::Metadata FileDescriptorSet::GetMetadata() const {
1587   return GetMetadataStatic();
1588 }
1589 
1590 
1591 // ===================================================================
1592 
InitAsDefaultInstance()1593 void FileDescriptorProto::InitAsDefaultInstance() {
1594   PROTOBUF_NAMESPACE_ID::_FileDescriptorProto_default_instance_._instance.get_mutable()->options_ = const_cast< PROTOBUF_NAMESPACE_ID::FileOptions*>(
1595       PROTOBUF_NAMESPACE_ID::FileOptions::internal_default_instance());
1596   PROTOBUF_NAMESPACE_ID::_FileDescriptorProto_default_instance_._instance.get_mutable()->source_code_info_ = const_cast< PROTOBUF_NAMESPACE_ID::SourceCodeInfo*>(
1597       PROTOBUF_NAMESPACE_ID::SourceCodeInfo::internal_default_instance());
1598 }
1599 class FileDescriptorProto::_Internal {
1600  public:
1601   using HasBits = decltype(std::declval<FileDescriptorProto>()._has_bits_);
set_has_name(HasBits * has_bits)1602   static void set_has_name(HasBits* has_bits) {
1603     (*has_bits)[0] |= 1u;
1604   }
set_has_package(HasBits * has_bits)1605   static void set_has_package(HasBits* has_bits) {
1606     (*has_bits)[0] |= 2u;
1607   }
1608   static const PROTOBUF_NAMESPACE_ID::FileOptions& options(const FileDescriptorProto* msg);
set_has_options(HasBits * has_bits)1609   static void set_has_options(HasBits* has_bits) {
1610     (*has_bits)[0] |= 8u;
1611   }
1612   static const PROTOBUF_NAMESPACE_ID::SourceCodeInfo& source_code_info(const FileDescriptorProto* msg);
set_has_source_code_info(HasBits * has_bits)1613   static void set_has_source_code_info(HasBits* has_bits) {
1614     (*has_bits)[0] |= 16u;
1615   }
set_has_syntax(HasBits * has_bits)1616   static void set_has_syntax(HasBits* has_bits) {
1617     (*has_bits)[0] |= 4u;
1618   }
1619 };
1620 
1621 const PROTOBUF_NAMESPACE_ID::FileOptions&
options(const FileDescriptorProto * msg)1622 FileDescriptorProto::_Internal::options(const FileDescriptorProto* msg) {
1623   return *msg->options_;
1624 }
1625 const PROTOBUF_NAMESPACE_ID::SourceCodeInfo&
source_code_info(const FileDescriptorProto * msg)1626 FileDescriptorProto::_Internal::source_code_info(const FileDescriptorProto* msg) {
1627   return *msg->source_code_info_;
1628 }
unsafe_arena_set_allocated_options(PROTOBUF_NAMESPACE_ID::FileOptions * options)1629 void FileDescriptorProto::unsafe_arena_set_allocated_options(
1630     PROTOBUF_NAMESPACE_ID::FileOptions* options) {
1631   if (GetArenaNoVirtual() == nullptr) {
1632     delete options_;
1633   }
1634   options_ = options;
1635   if (options) {
1636     _has_bits_[0] |= 0x00000008u;
1637   } else {
1638     _has_bits_[0] &= ~0x00000008u;
1639   }
1640   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.options)
1641 }
unsafe_arena_set_allocated_source_code_info(PROTOBUF_NAMESPACE_ID::SourceCodeInfo * source_code_info)1642 void FileDescriptorProto::unsafe_arena_set_allocated_source_code_info(
1643     PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) {
1644   if (GetArenaNoVirtual() == nullptr) {
1645     delete source_code_info_;
1646   }
1647   source_code_info_ = source_code_info;
1648   if (source_code_info) {
1649     _has_bits_[0] |= 0x00000010u;
1650   } else {
1651     _has_bits_[0] &= ~0x00000010u;
1652   }
1653   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.source_code_info)
1654 }
FileDescriptorProto()1655 FileDescriptorProto::FileDescriptorProto()
1656   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
1657   SharedCtor();
1658   // @@protoc_insertion_point(constructor:google.protobuf.FileDescriptorProto)
1659 }
FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena)1660 FileDescriptorProto::FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena)
1661   : ::PROTOBUF_NAMESPACE_ID::Message(),
1662   _internal_metadata_(arena),
1663   dependency_(arena),
1664   message_type_(arena),
1665   enum_type_(arena),
1666   service_(arena),
1667   extension_(arena),
1668   public_dependency_(arena),
1669   weak_dependency_(arena) {
1670   SharedCtor();
1671   RegisterArenaDtor(arena);
1672   // @@protoc_insertion_point(arena_constructor:google.protobuf.FileDescriptorProto)
1673 }
FileDescriptorProto(const FileDescriptorProto & from)1674 FileDescriptorProto::FileDescriptorProto(const FileDescriptorProto& from)
1675   : ::PROTOBUF_NAMESPACE_ID::Message(),
1676       _internal_metadata_(nullptr),
1677       _has_bits_(from._has_bits_),
1678       dependency_(from.dependency_),
1679       message_type_(from.message_type_),
1680       enum_type_(from.enum_type_),
1681       service_(from.service_),
1682       extension_(from.extension_),
1683       public_dependency_(from.public_dependency_),
1684       weak_dependency_(from.weak_dependency_) {
1685   _internal_metadata_.MergeFrom(from._internal_metadata_);
1686   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1687   if (from._internal_has_name()) {
1688     name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
1689       GetArenaNoVirtual());
1690   }
1691   package_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1692   if (from._internal_has_package()) {
1693     package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_package(),
1694       GetArenaNoVirtual());
1695   }
1696   syntax_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1697   if (from._internal_has_syntax()) {
1698     syntax_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_syntax(),
1699       GetArenaNoVirtual());
1700   }
1701   if (from._internal_has_options()) {
1702     options_ = new PROTOBUF_NAMESPACE_ID::FileOptions(*from.options_);
1703   } else {
1704     options_ = nullptr;
1705   }
1706   if (from._internal_has_source_code_info()) {
1707     source_code_info_ = new PROTOBUF_NAMESPACE_ID::SourceCodeInfo(*from.source_code_info_);
1708   } else {
1709     source_code_info_ = nullptr;
1710   }
1711   // @@protoc_insertion_point(copy_constructor:google.protobuf.FileDescriptorProto)
1712 }
1713 
SharedCtor()1714 void FileDescriptorProto::SharedCtor() {
1715   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
1716   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1717   package_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1718   syntax_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1719   ::memset(&options_, 0, static_cast<size_t>(
1720       reinterpret_cast<char*>(&source_code_info_) -
1721       reinterpret_cast<char*>(&options_)) + sizeof(source_code_info_));
1722 }
1723 
~FileDescriptorProto()1724 FileDescriptorProto::~FileDescriptorProto() {
1725   // @@protoc_insertion_point(destructor:google.protobuf.FileDescriptorProto)
1726   SharedDtor();
1727 }
1728 
SharedDtor()1729 void FileDescriptorProto::SharedDtor() {
1730   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
1731   name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1732   package_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1733   syntax_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1734   if (this != internal_default_instance()) delete options_;
1735   if (this != internal_default_instance()) delete source_code_info_;
1736 }
1737 
ArenaDtor(void * object)1738 void FileDescriptorProto::ArenaDtor(void* object) {
1739   FileDescriptorProto* _this = reinterpret_cast< FileDescriptorProto* >(object);
1740   (void)_this;
1741 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)1742 void FileDescriptorProto::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1743 }
SetCachedSize(int size) const1744 void FileDescriptorProto::SetCachedSize(int size) const {
1745   _cached_size_.Set(size);
1746 }
default_instance()1747 const FileDescriptorProto& FileDescriptorProto::default_instance() {
1748   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
1749   return *internal_default_instance();
1750 }
1751 
1752 
Clear()1753 void FileDescriptorProto::Clear() {
1754 // @@protoc_insertion_point(message_clear_start:google.protobuf.FileDescriptorProto)
1755   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1756   // Prevent compiler warnings about cached_has_bits being unused
1757   (void) cached_has_bits;
1758 
1759   dependency_.Clear();
1760   message_type_.Clear();
1761   enum_type_.Clear();
1762   service_.Clear();
1763   extension_.Clear();
1764   public_dependency_.Clear();
1765   weak_dependency_.Clear();
1766   cached_has_bits = _has_bits_[0];
1767   if (cached_has_bits & 0x0000001fu) {
1768     if (cached_has_bits & 0x00000001u) {
1769       name_.ClearNonDefaultToEmpty();
1770     }
1771     if (cached_has_bits & 0x00000002u) {
1772       package_.ClearNonDefaultToEmpty();
1773     }
1774     if (cached_has_bits & 0x00000004u) {
1775       syntax_.ClearNonDefaultToEmpty();
1776     }
1777     if (cached_has_bits & 0x00000008u) {
1778       GOOGLE_DCHECK(options_ != nullptr);
1779       options_->Clear();
1780     }
1781     if (cached_has_bits & 0x00000010u) {
1782       GOOGLE_DCHECK(source_code_info_ != nullptr);
1783       source_code_info_->Clear();
1784     }
1785   }
1786   _has_bits_.Clear();
1787   _internal_metadata_.Clear();
1788 }
1789 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)1790 const char* FileDescriptorProto::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1791 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1792   _Internal::HasBits has_bits{};
1793   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
1794   while (!ctx->Done(&ptr)) {
1795     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1796     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1797     CHK_(ptr);
1798     switch (tag >> 3) {
1799       // optional string name = 1;
1800       case 1:
1801         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
1802           auto str = _internal_mutable_name();
1803           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
1804           #ifndef NDEBUG
1805           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileDescriptorProto.name");
1806           #endif  // !NDEBUG
1807           CHK_(ptr);
1808         } else goto handle_unusual;
1809         continue;
1810       // optional string package = 2;
1811       case 2:
1812         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
1813           auto str = _internal_mutable_package();
1814           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
1815           #ifndef NDEBUG
1816           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileDescriptorProto.package");
1817           #endif  // !NDEBUG
1818           CHK_(ptr);
1819         } else goto handle_unusual;
1820         continue;
1821       // repeated string dependency = 3;
1822       case 3:
1823         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
1824           ptr -= 1;
1825           do {
1826             ptr += 1;
1827             auto str = _internal_add_dependency();
1828             ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
1829             #ifndef NDEBUG
1830             ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileDescriptorProto.dependency");
1831             #endif  // !NDEBUG
1832             CHK_(ptr);
1833             if (!ctx->DataAvailable(ptr)) break;
1834           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
1835         } else goto handle_unusual;
1836         continue;
1837       // repeated .google.protobuf.DescriptorProto message_type = 4;
1838       case 4:
1839         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
1840           ptr -= 1;
1841           do {
1842             ptr += 1;
1843             ptr = ctx->ParseMessage(_internal_add_message_type(), ptr);
1844             CHK_(ptr);
1845             if (!ctx->DataAvailable(ptr)) break;
1846           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr));
1847         } else goto handle_unusual;
1848         continue;
1849       // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
1850       case 5:
1851         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
1852           ptr -= 1;
1853           do {
1854             ptr += 1;
1855             ptr = ctx->ParseMessage(_internal_add_enum_type(), ptr);
1856             CHK_(ptr);
1857             if (!ctx->DataAvailable(ptr)) break;
1858           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr));
1859         } else goto handle_unusual;
1860         continue;
1861       // repeated .google.protobuf.ServiceDescriptorProto service = 6;
1862       case 6:
1863         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
1864           ptr -= 1;
1865           do {
1866             ptr += 1;
1867             ptr = ctx->ParseMessage(_internal_add_service(), ptr);
1868             CHK_(ptr);
1869             if (!ctx->DataAvailable(ptr)) break;
1870           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
1871         } else goto handle_unusual;
1872         continue;
1873       // repeated .google.protobuf.FieldDescriptorProto extension = 7;
1874       case 7:
1875         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
1876           ptr -= 1;
1877           do {
1878             ptr += 1;
1879             ptr = ctx->ParseMessage(_internal_add_extension(), ptr);
1880             CHK_(ptr);
1881             if (!ctx->DataAvailable(ptr)) break;
1882           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr));
1883         } else goto handle_unusual;
1884         continue;
1885       // optional .google.protobuf.FileOptions options = 8;
1886       case 8:
1887         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
1888           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
1889           CHK_(ptr);
1890         } else goto handle_unusual;
1891         continue;
1892       // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
1893       case 9:
1894         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
1895           ptr = ctx->ParseMessage(_internal_mutable_source_code_info(), ptr);
1896           CHK_(ptr);
1897         } else goto handle_unusual;
1898         continue;
1899       // repeated int32 public_dependency = 10;
1900       case 10:
1901         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
1902           ptr -= 1;
1903           do {
1904             ptr += 1;
1905             _internal_add_public_dependency(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr));
1906             CHK_(ptr);
1907             if (!ctx->DataAvailable(ptr)) break;
1908           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<80>(ptr));
1909         } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82) {
1910           ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_public_dependency(), ptr, ctx);
1911           CHK_(ptr);
1912         } else goto handle_unusual;
1913         continue;
1914       // repeated int32 weak_dependency = 11;
1915       case 11:
1916         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
1917           ptr -= 1;
1918           do {
1919             ptr += 1;
1920             _internal_add_weak_dependency(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr));
1921             CHK_(ptr);
1922             if (!ctx->DataAvailable(ptr)) break;
1923           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<88>(ptr));
1924         } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90) {
1925           ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_weak_dependency(), ptr, ctx);
1926           CHK_(ptr);
1927         } else goto handle_unusual;
1928         continue;
1929       // optional string syntax = 12;
1930       case 12:
1931         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) {
1932           auto str = _internal_mutable_syntax();
1933           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
1934           #ifndef NDEBUG
1935           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileDescriptorProto.syntax");
1936           #endif  // !NDEBUG
1937           CHK_(ptr);
1938         } else goto handle_unusual;
1939         continue;
1940       default: {
1941       handle_unusual:
1942         if ((tag & 7) == 4 || tag == 0) {
1943           ctx->SetLastTag(tag);
1944           goto success;
1945         }
1946         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
1947         CHK_(ptr != nullptr);
1948         continue;
1949       }
1950     }  // switch
1951   }  // while
1952 success:
1953   _has_bits_.Or(has_bits);
1954   return ptr;
1955 failure:
1956   ptr = nullptr;
1957   goto success;
1958 #undef CHK_
1959 }
1960 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1961 ::PROTOBUF_NAMESPACE_ID::uint8* FileDescriptorProto::_InternalSerialize(
1962     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1963   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileDescriptorProto)
1964   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1965   (void) cached_has_bits;
1966 
1967   cached_has_bits = _has_bits_[0];
1968   // optional string name = 1;
1969   if (cached_has_bits & 0x00000001u) {
1970     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1971       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
1972       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1973       "google.protobuf.FileDescriptorProto.name");
1974     target = stream->WriteStringMaybeAliased(
1975         1, this->_internal_name(), target);
1976   }
1977 
1978   // optional string package = 2;
1979   if (cached_has_bits & 0x00000002u) {
1980     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1981       this->_internal_package().data(), static_cast<int>(this->_internal_package().length()),
1982       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1983       "google.protobuf.FileDescriptorProto.package");
1984     target = stream->WriteStringMaybeAliased(
1985         2, this->_internal_package(), target);
1986   }
1987 
1988   // repeated string dependency = 3;
1989   for (int i = 0, n = this->_internal_dependency_size(); i < n; i++) {
1990     const auto& s = this->_internal_dependency(i);
1991     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1992       s.data(), static_cast<int>(s.length()),
1993       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1994       "google.protobuf.FileDescriptorProto.dependency");
1995     target = stream->WriteString(3, s, target);
1996   }
1997 
1998   // repeated .google.protobuf.DescriptorProto message_type = 4;
1999   for (unsigned int i = 0,
2000       n = static_cast<unsigned int>(this->_internal_message_type_size()); i < n; i++) {
2001     target = stream->EnsureSpace(target);
2002     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2003       InternalWriteMessage(4, this->_internal_message_type(i), target, stream);
2004   }
2005 
2006   // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
2007   for (unsigned int i = 0,
2008       n = static_cast<unsigned int>(this->_internal_enum_type_size()); i < n; i++) {
2009     target = stream->EnsureSpace(target);
2010     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2011       InternalWriteMessage(5, this->_internal_enum_type(i), target, stream);
2012   }
2013 
2014   // repeated .google.protobuf.ServiceDescriptorProto service = 6;
2015   for (unsigned int i = 0,
2016       n = static_cast<unsigned int>(this->_internal_service_size()); i < n; i++) {
2017     target = stream->EnsureSpace(target);
2018     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2019       InternalWriteMessage(6, this->_internal_service(i), target, stream);
2020   }
2021 
2022   // repeated .google.protobuf.FieldDescriptorProto extension = 7;
2023   for (unsigned int i = 0,
2024       n = static_cast<unsigned int>(this->_internal_extension_size()); i < n; i++) {
2025     target = stream->EnsureSpace(target);
2026     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2027       InternalWriteMessage(7, this->_internal_extension(i), target, stream);
2028   }
2029 
2030   // optional .google.protobuf.FileOptions options = 8;
2031   if (cached_has_bits & 0x00000008u) {
2032     target = stream->EnsureSpace(target);
2033     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2034       InternalWriteMessage(
2035         8, _Internal::options(this), target, stream);
2036   }
2037 
2038   // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
2039   if (cached_has_bits & 0x00000010u) {
2040     target = stream->EnsureSpace(target);
2041     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2042       InternalWriteMessage(
2043         9, _Internal::source_code_info(this), target, stream);
2044   }
2045 
2046   // repeated int32 public_dependency = 10;
2047   for (int i = 0, n = this->_internal_public_dependency_size(); i < n; i++) {
2048     target = stream->EnsureSpace(target);
2049     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(10, this->_internal_public_dependency(i), target);
2050   }
2051 
2052   // repeated int32 weak_dependency = 11;
2053   for (int i = 0, n = this->_internal_weak_dependency_size(); i < n; i++) {
2054     target = stream->EnsureSpace(target);
2055     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(11, this->_internal_weak_dependency(i), target);
2056   }
2057 
2058   // optional string syntax = 12;
2059   if (cached_has_bits & 0x00000004u) {
2060     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
2061       this->_internal_syntax().data(), static_cast<int>(this->_internal_syntax().length()),
2062       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
2063       "google.protobuf.FileDescriptorProto.syntax");
2064     target = stream->WriteStringMaybeAliased(
2065         12, this->_internal_syntax(), target);
2066   }
2067 
2068   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2069     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
2070         _internal_metadata_.unknown_fields(), target, stream);
2071   }
2072   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FileDescriptorProto)
2073   return target;
2074 }
2075 
ByteSizeLong() const2076 size_t FileDescriptorProto::ByteSizeLong() const {
2077 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileDescriptorProto)
2078   size_t total_size = 0;
2079 
2080   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2081   // Prevent compiler warnings about cached_has_bits being unused
2082   (void) cached_has_bits;
2083 
2084   // repeated string dependency = 3;
2085   total_size += 1 *
2086       ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(dependency_.size());
2087   for (int i = 0, n = dependency_.size(); i < n; i++) {
2088     total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2089       dependency_.Get(i));
2090   }
2091 
2092   // repeated .google.protobuf.DescriptorProto message_type = 4;
2093   total_size += 1UL * this->_internal_message_type_size();
2094   for (const auto& msg : this->message_type_) {
2095     total_size +=
2096       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
2097   }
2098 
2099   // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
2100   total_size += 1UL * this->_internal_enum_type_size();
2101   for (const auto& msg : this->enum_type_) {
2102     total_size +=
2103       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
2104   }
2105 
2106   // repeated .google.protobuf.ServiceDescriptorProto service = 6;
2107   total_size += 1UL * this->_internal_service_size();
2108   for (const auto& msg : this->service_) {
2109     total_size +=
2110       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
2111   }
2112 
2113   // repeated .google.protobuf.FieldDescriptorProto extension = 7;
2114   total_size += 1UL * this->_internal_extension_size();
2115   for (const auto& msg : this->extension_) {
2116     total_size +=
2117       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
2118   }
2119 
2120   // repeated int32 public_dependency = 10;
2121   {
2122     size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2123       Int32Size(this->public_dependency_);
2124     total_size += 1 *
2125                   ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_public_dependency_size());
2126     total_size += data_size;
2127   }
2128 
2129   // repeated int32 weak_dependency = 11;
2130   {
2131     size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2132       Int32Size(this->weak_dependency_);
2133     total_size += 1 *
2134                   ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_weak_dependency_size());
2135     total_size += data_size;
2136   }
2137 
2138   cached_has_bits = _has_bits_[0];
2139   if (cached_has_bits & 0x0000001fu) {
2140     // optional string name = 1;
2141     if (cached_has_bits & 0x00000001u) {
2142       total_size += 1 +
2143         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2144           this->_internal_name());
2145     }
2146 
2147     // optional string package = 2;
2148     if (cached_has_bits & 0x00000002u) {
2149       total_size += 1 +
2150         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2151           this->_internal_package());
2152     }
2153 
2154     // optional string syntax = 12;
2155     if (cached_has_bits & 0x00000004u) {
2156       total_size += 1 +
2157         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2158           this->_internal_syntax());
2159     }
2160 
2161     // optional .google.protobuf.FileOptions options = 8;
2162     if (cached_has_bits & 0x00000008u) {
2163       total_size += 1 +
2164         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2165           *options_);
2166     }
2167 
2168     // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
2169     if (cached_has_bits & 0x00000010u) {
2170       total_size += 1 +
2171         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2172           *source_code_info_);
2173     }
2174 
2175   }
2176   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2177     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
2178         _internal_metadata_, total_size, &_cached_size_);
2179   }
2180   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
2181   SetCachedSize(cached_size);
2182   return total_size;
2183 }
2184 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)2185 void FileDescriptorProto::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
2186 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FileDescriptorProto)
2187   GOOGLE_DCHECK_NE(&from, this);
2188   const FileDescriptorProto* source =
2189       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<FileDescriptorProto>(
2190           &from);
2191   if (source == nullptr) {
2192   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FileDescriptorProto)
2193     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
2194   } else {
2195   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FileDescriptorProto)
2196     MergeFrom(*source);
2197   }
2198 }
2199 
MergeFrom(const FileDescriptorProto & from)2200 void FileDescriptorProto::MergeFrom(const FileDescriptorProto& from) {
2201 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileDescriptorProto)
2202   GOOGLE_DCHECK_NE(&from, this);
2203   _internal_metadata_.MergeFrom(from._internal_metadata_);
2204   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2205   (void) cached_has_bits;
2206 
2207   dependency_.MergeFrom(from.dependency_);
2208   message_type_.MergeFrom(from.message_type_);
2209   enum_type_.MergeFrom(from.enum_type_);
2210   service_.MergeFrom(from.service_);
2211   extension_.MergeFrom(from.extension_);
2212   public_dependency_.MergeFrom(from.public_dependency_);
2213   weak_dependency_.MergeFrom(from.weak_dependency_);
2214   cached_has_bits = from._has_bits_[0];
2215   if (cached_has_bits & 0x0000001fu) {
2216     if (cached_has_bits & 0x00000001u) {
2217       _internal_set_name(from._internal_name());
2218     }
2219     if (cached_has_bits & 0x00000002u) {
2220       _internal_set_package(from._internal_package());
2221     }
2222     if (cached_has_bits & 0x00000004u) {
2223       _internal_set_syntax(from._internal_syntax());
2224     }
2225     if (cached_has_bits & 0x00000008u) {
2226       _internal_mutable_options()->PROTOBUF_NAMESPACE_ID::FileOptions::MergeFrom(from._internal_options());
2227     }
2228     if (cached_has_bits & 0x00000010u) {
2229       _internal_mutable_source_code_info()->PROTOBUF_NAMESPACE_ID::SourceCodeInfo::MergeFrom(from._internal_source_code_info());
2230     }
2231   }
2232 }
2233 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)2234 void FileDescriptorProto::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
2235 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FileDescriptorProto)
2236   if (&from == this) return;
2237   Clear();
2238   MergeFrom(from);
2239 }
2240 
CopyFrom(const FileDescriptorProto & from)2241 void FileDescriptorProto::CopyFrom(const FileDescriptorProto& from) {
2242 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileDescriptorProto)
2243   if (&from == this) return;
2244   Clear();
2245   MergeFrom(from);
2246 }
2247 
IsInitialized() const2248 bool FileDescriptorProto::IsInitialized() const {
2249   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(message_type_)) return false;
2250   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(enum_type_)) return false;
2251   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(service_)) return false;
2252   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(extension_)) return false;
2253   if (_internal_has_options()) {
2254     if (!options_->IsInitialized()) return false;
2255   }
2256   return true;
2257 }
2258 
InternalSwap(FileDescriptorProto * other)2259 void FileDescriptorProto::InternalSwap(FileDescriptorProto* other) {
2260   using std::swap;
2261   _internal_metadata_.Swap(&other->_internal_metadata_);
2262   swap(_has_bits_[0], other->_has_bits_[0]);
2263   dependency_.InternalSwap(&other->dependency_);
2264   message_type_.InternalSwap(&other->message_type_);
2265   enum_type_.InternalSwap(&other->enum_type_);
2266   service_.InternalSwap(&other->service_);
2267   extension_.InternalSwap(&other->extension_);
2268   public_dependency_.InternalSwap(&other->public_dependency_);
2269   weak_dependency_.InternalSwap(&other->weak_dependency_);
2270   name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2271     GetArenaNoVirtual());
2272   package_.Swap(&other->package_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2273     GetArenaNoVirtual());
2274   syntax_.Swap(&other->syntax_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2275     GetArenaNoVirtual());
2276   swap(options_, other->options_);
2277   swap(source_code_info_, other->source_code_info_);
2278 }
2279 
GetMetadata() const2280 ::PROTOBUF_NAMESPACE_ID::Metadata FileDescriptorProto::GetMetadata() const {
2281   return GetMetadataStatic();
2282 }
2283 
2284 
2285 // ===================================================================
2286 
InitAsDefaultInstance()2287 void DescriptorProto_ExtensionRange::InitAsDefaultInstance() {
2288   PROTOBUF_NAMESPACE_ID::_DescriptorProto_ExtensionRange_default_instance_._instance.get_mutable()->options_ = const_cast< PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions*>(
2289       PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions::internal_default_instance());
2290 }
2291 class DescriptorProto_ExtensionRange::_Internal {
2292  public:
2293   using HasBits = decltype(std::declval<DescriptorProto_ExtensionRange>()._has_bits_);
set_has_start(HasBits * has_bits)2294   static void set_has_start(HasBits* has_bits) {
2295     (*has_bits)[0] |= 2u;
2296   }
set_has_end(HasBits * has_bits)2297   static void set_has_end(HasBits* has_bits) {
2298     (*has_bits)[0] |= 4u;
2299   }
2300   static const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& options(const DescriptorProto_ExtensionRange* msg);
set_has_options(HasBits * has_bits)2301   static void set_has_options(HasBits* has_bits) {
2302     (*has_bits)[0] |= 1u;
2303   }
2304 };
2305 
2306 const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions&
options(const DescriptorProto_ExtensionRange * msg)2307 DescriptorProto_ExtensionRange::_Internal::options(const DescriptorProto_ExtensionRange* msg) {
2308   return *msg->options_;
2309 }
unsafe_arena_set_allocated_options(PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions * options)2310 void DescriptorProto_ExtensionRange::unsafe_arena_set_allocated_options(
2311     PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) {
2312   if (GetArenaNoVirtual() == nullptr) {
2313     delete options_;
2314   }
2315   options_ = options;
2316   if (options) {
2317     _has_bits_[0] |= 0x00000001u;
2318   } else {
2319     _has_bits_[0] &= ~0x00000001u;
2320   }
2321   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options)
2322 }
DescriptorProto_ExtensionRange()2323 DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange()
2324   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
2325   SharedCtor();
2326   // @@protoc_insertion_point(constructor:google.protobuf.DescriptorProto.ExtensionRange)
2327 }
DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::Arena * arena)2328 DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::Arena* arena)
2329   : ::PROTOBUF_NAMESPACE_ID::Message(),
2330   _internal_metadata_(arena) {
2331   SharedCtor();
2332   RegisterArenaDtor(arena);
2333   // @@protoc_insertion_point(arena_constructor:google.protobuf.DescriptorProto.ExtensionRange)
2334 }
DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange & from)2335 DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from)
2336   : ::PROTOBUF_NAMESPACE_ID::Message(),
2337       _internal_metadata_(nullptr),
2338       _has_bits_(from._has_bits_) {
2339   _internal_metadata_.MergeFrom(from._internal_metadata_);
2340   if (from._internal_has_options()) {
2341     options_ = new PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions(*from.options_);
2342   } else {
2343     options_ = nullptr;
2344   }
2345   ::memcpy(&start_, &from.start_,
2346     static_cast<size_t>(reinterpret_cast<char*>(&end_) -
2347     reinterpret_cast<char*>(&start_)) + sizeof(end_));
2348   // @@protoc_insertion_point(copy_constructor:google.protobuf.DescriptorProto.ExtensionRange)
2349 }
2350 
SharedCtor()2351 void DescriptorProto_ExtensionRange::SharedCtor() {
2352   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_DescriptorProto_ExtensionRange_google_2fprotobuf_2fdescriptor_2eproto.base);
2353   ::memset(&options_, 0, static_cast<size_t>(
2354       reinterpret_cast<char*>(&end_) -
2355       reinterpret_cast<char*>(&options_)) + sizeof(end_));
2356 }
2357 
~DescriptorProto_ExtensionRange()2358 DescriptorProto_ExtensionRange::~DescriptorProto_ExtensionRange() {
2359   // @@protoc_insertion_point(destructor:google.protobuf.DescriptorProto.ExtensionRange)
2360   SharedDtor();
2361 }
2362 
SharedDtor()2363 void DescriptorProto_ExtensionRange::SharedDtor() {
2364   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
2365   if (this != internal_default_instance()) delete options_;
2366 }
2367 
ArenaDtor(void * object)2368 void DescriptorProto_ExtensionRange::ArenaDtor(void* object) {
2369   DescriptorProto_ExtensionRange* _this = reinterpret_cast< DescriptorProto_ExtensionRange* >(object);
2370   (void)_this;
2371 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)2372 void DescriptorProto_ExtensionRange::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
2373 }
SetCachedSize(int size) const2374 void DescriptorProto_ExtensionRange::SetCachedSize(int size) const {
2375   _cached_size_.Set(size);
2376 }
default_instance()2377 const DescriptorProto_ExtensionRange& DescriptorProto_ExtensionRange::default_instance() {
2378   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DescriptorProto_ExtensionRange_google_2fprotobuf_2fdescriptor_2eproto.base);
2379   return *internal_default_instance();
2380 }
2381 
2382 
Clear()2383 void DescriptorProto_ExtensionRange::Clear() {
2384 // @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto.ExtensionRange)
2385   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2386   // Prevent compiler warnings about cached_has_bits being unused
2387   (void) cached_has_bits;
2388 
2389   cached_has_bits = _has_bits_[0];
2390   if (cached_has_bits & 0x00000001u) {
2391     GOOGLE_DCHECK(options_ != nullptr);
2392     options_->Clear();
2393   }
2394   if (cached_has_bits & 0x00000006u) {
2395     ::memset(&start_, 0, static_cast<size_t>(
2396         reinterpret_cast<char*>(&end_) -
2397         reinterpret_cast<char*>(&start_)) + sizeof(end_));
2398   }
2399   _has_bits_.Clear();
2400   _internal_metadata_.Clear();
2401 }
2402 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)2403 const char* DescriptorProto_ExtensionRange::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
2404 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2405   _Internal::HasBits has_bits{};
2406   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
2407   while (!ctx->Done(&ptr)) {
2408     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
2409     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
2410     CHK_(ptr);
2411     switch (tag >> 3) {
2412       // optional int32 start = 1;
2413       case 1:
2414         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
2415           _Internal::set_has_start(&has_bits);
2416           start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
2417           CHK_(ptr);
2418         } else goto handle_unusual;
2419         continue;
2420       // optional int32 end = 2;
2421       case 2:
2422         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
2423           _Internal::set_has_end(&has_bits);
2424           end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
2425           CHK_(ptr);
2426         } else goto handle_unusual;
2427         continue;
2428       // optional .google.protobuf.ExtensionRangeOptions options = 3;
2429       case 3:
2430         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
2431           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
2432           CHK_(ptr);
2433         } else goto handle_unusual;
2434         continue;
2435       default: {
2436       handle_unusual:
2437         if ((tag & 7) == 4 || tag == 0) {
2438           ctx->SetLastTag(tag);
2439           goto success;
2440         }
2441         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
2442         CHK_(ptr != nullptr);
2443         continue;
2444       }
2445     }  // switch
2446   }  // while
2447 success:
2448   _has_bits_.Or(has_bits);
2449   return ptr;
2450 failure:
2451   ptr = nullptr;
2452   goto success;
2453 #undef CHK_
2454 }
2455 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2456 ::PROTOBUF_NAMESPACE_ID::uint8* DescriptorProto_ExtensionRange::_InternalSerialize(
2457     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2458   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto.ExtensionRange)
2459   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2460   (void) cached_has_bits;
2461 
2462   cached_has_bits = _has_bits_[0];
2463   // optional int32 start = 1;
2464   if (cached_has_bits & 0x00000002u) {
2465     target = stream->EnsureSpace(target);
2466     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_start(), target);
2467   }
2468 
2469   // optional int32 end = 2;
2470   if (cached_has_bits & 0x00000004u) {
2471     target = stream->EnsureSpace(target);
2472     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_end(), target);
2473   }
2474 
2475   // optional .google.protobuf.ExtensionRangeOptions options = 3;
2476   if (cached_has_bits & 0x00000001u) {
2477     target = stream->EnsureSpace(target);
2478     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2479       InternalWriteMessage(
2480         3, _Internal::options(this), target, stream);
2481   }
2482 
2483   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2484     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
2485         _internal_metadata_.unknown_fields(), target, stream);
2486   }
2487   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DescriptorProto.ExtensionRange)
2488   return target;
2489 }
2490 
ByteSizeLong() const2491 size_t DescriptorProto_ExtensionRange::ByteSizeLong() const {
2492 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto.ExtensionRange)
2493   size_t total_size = 0;
2494 
2495   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2496   // Prevent compiler warnings about cached_has_bits being unused
2497   (void) cached_has_bits;
2498 
2499   cached_has_bits = _has_bits_[0];
2500   if (cached_has_bits & 0x00000007u) {
2501     // optional .google.protobuf.ExtensionRangeOptions options = 3;
2502     if (cached_has_bits & 0x00000001u) {
2503       total_size += 1 +
2504         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2505           *options_);
2506     }
2507 
2508     // optional int32 start = 1;
2509     if (cached_has_bits & 0x00000002u) {
2510       total_size += 1 +
2511         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
2512           this->_internal_start());
2513     }
2514 
2515     // optional int32 end = 2;
2516     if (cached_has_bits & 0x00000004u) {
2517       total_size += 1 +
2518         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
2519           this->_internal_end());
2520     }
2521 
2522   }
2523   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2524     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
2525         _internal_metadata_, total_size, &_cached_size_);
2526   }
2527   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
2528   SetCachedSize(cached_size);
2529   return total_size;
2530 }
2531 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)2532 void DescriptorProto_ExtensionRange::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
2533 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.DescriptorProto.ExtensionRange)
2534   GOOGLE_DCHECK_NE(&from, this);
2535   const DescriptorProto_ExtensionRange* source =
2536       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<DescriptorProto_ExtensionRange>(
2537           &from);
2538   if (source == nullptr) {
2539   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.DescriptorProto.ExtensionRange)
2540     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
2541   } else {
2542   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.DescriptorProto.ExtensionRange)
2543     MergeFrom(*source);
2544   }
2545 }
2546 
MergeFrom(const DescriptorProto_ExtensionRange & from)2547 void DescriptorProto_ExtensionRange::MergeFrom(const DescriptorProto_ExtensionRange& from) {
2548 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto.ExtensionRange)
2549   GOOGLE_DCHECK_NE(&from, this);
2550   _internal_metadata_.MergeFrom(from._internal_metadata_);
2551   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2552   (void) cached_has_bits;
2553 
2554   cached_has_bits = from._has_bits_[0];
2555   if (cached_has_bits & 0x00000007u) {
2556     if (cached_has_bits & 0x00000001u) {
2557       _internal_mutable_options()->PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions::MergeFrom(from._internal_options());
2558     }
2559     if (cached_has_bits & 0x00000002u) {
2560       start_ = from.start_;
2561     }
2562     if (cached_has_bits & 0x00000004u) {
2563       end_ = from.end_;
2564     }
2565     _has_bits_[0] |= cached_has_bits;
2566   }
2567 }
2568 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)2569 void DescriptorProto_ExtensionRange::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
2570 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.DescriptorProto.ExtensionRange)
2571   if (&from == this) return;
2572   Clear();
2573   MergeFrom(from);
2574 }
2575 
CopyFrom(const DescriptorProto_ExtensionRange & from)2576 void DescriptorProto_ExtensionRange::CopyFrom(const DescriptorProto_ExtensionRange& from) {
2577 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto.ExtensionRange)
2578   if (&from == this) return;
2579   Clear();
2580   MergeFrom(from);
2581 }
2582 
IsInitialized() const2583 bool DescriptorProto_ExtensionRange::IsInitialized() const {
2584   if (_internal_has_options()) {
2585     if (!options_->IsInitialized()) return false;
2586   }
2587   return true;
2588 }
2589 
InternalSwap(DescriptorProto_ExtensionRange * other)2590 void DescriptorProto_ExtensionRange::InternalSwap(DescriptorProto_ExtensionRange* other) {
2591   using std::swap;
2592   _internal_metadata_.Swap(&other->_internal_metadata_);
2593   swap(_has_bits_[0], other->_has_bits_[0]);
2594   swap(options_, other->options_);
2595   swap(start_, other->start_);
2596   swap(end_, other->end_);
2597 }
2598 
GetMetadata() const2599 ::PROTOBUF_NAMESPACE_ID::Metadata DescriptorProto_ExtensionRange::GetMetadata() const {
2600   return GetMetadataStatic();
2601 }
2602 
2603 
2604 // ===================================================================
2605 
InitAsDefaultInstance()2606 void DescriptorProto_ReservedRange::InitAsDefaultInstance() {
2607 }
2608 class DescriptorProto_ReservedRange::_Internal {
2609  public:
2610   using HasBits = decltype(std::declval<DescriptorProto_ReservedRange>()._has_bits_);
set_has_start(HasBits * has_bits)2611   static void set_has_start(HasBits* has_bits) {
2612     (*has_bits)[0] |= 1u;
2613   }
set_has_end(HasBits * has_bits)2614   static void set_has_end(HasBits* has_bits) {
2615     (*has_bits)[0] |= 2u;
2616   }
2617 };
2618 
DescriptorProto_ReservedRange()2619 DescriptorProto_ReservedRange::DescriptorProto_ReservedRange()
2620   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
2621   SharedCtor();
2622   // @@protoc_insertion_point(constructor:google.protobuf.DescriptorProto.ReservedRange)
2623 }
DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::Arena * arena)2624 DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena)
2625   : ::PROTOBUF_NAMESPACE_ID::Message(),
2626   _internal_metadata_(arena) {
2627   SharedCtor();
2628   RegisterArenaDtor(arena);
2629   // @@protoc_insertion_point(arena_constructor:google.protobuf.DescriptorProto.ReservedRange)
2630 }
DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange & from)2631 DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from)
2632   : ::PROTOBUF_NAMESPACE_ID::Message(),
2633       _internal_metadata_(nullptr),
2634       _has_bits_(from._has_bits_) {
2635   _internal_metadata_.MergeFrom(from._internal_metadata_);
2636   ::memcpy(&start_, &from.start_,
2637     static_cast<size_t>(reinterpret_cast<char*>(&end_) -
2638     reinterpret_cast<char*>(&start_)) + sizeof(end_));
2639   // @@protoc_insertion_point(copy_constructor:google.protobuf.DescriptorProto.ReservedRange)
2640 }
2641 
SharedCtor()2642 void DescriptorProto_ReservedRange::SharedCtor() {
2643   ::memset(&start_, 0, static_cast<size_t>(
2644       reinterpret_cast<char*>(&end_) -
2645       reinterpret_cast<char*>(&start_)) + sizeof(end_));
2646 }
2647 
~DescriptorProto_ReservedRange()2648 DescriptorProto_ReservedRange::~DescriptorProto_ReservedRange() {
2649   // @@protoc_insertion_point(destructor:google.protobuf.DescriptorProto.ReservedRange)
2650   SharedDtor();
2651 }
2652 
SharedDtor()2653 void DescriptorProto_ReservedRange::SharedDtor() {
2654   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
2655 }
2656 
ArenaDtor(void * object)2657 void DescriptorProto_ReservedRange::ArenaDtor(void* object) {
2658   DescriptorProto_ReservedRange* _this = reinterpret_cast< DescriptorProto_ReservedRange* >(object);
2659   (void)_this;
2660 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)2661 void DescriptorProto_ReservedRange::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
2662 }
SetCachedSize(int size) const2663 void DescriptorProto_ReservedRange::SetCachedSize(int size) const {
2664   _cached_size_.Set(size);
2665 }
default_instance()2666 const DescriptorProto_ReservedRange& DescriptorProto_ReservedRange::default_instance() {
2667   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DescriptorProto_ReservedRange_google_2fprotobuf_2fdescriptor_2eproto.base);
2668   return *internal_default_instance();
2669 }
2670 
2671 
Clear()2672 void DescriptorProto_ReservedRange::Clear() {
2673 // @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto.ReservedRange)
2674   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2675   // Prevent compiler warnings about cached_has_bits being unused
2676   (void) cached_has_bits;
2677 
2678   cached_has_bits = _has_bits_[0];
2679   if (cached_has_bits & 0x00000003u) {
2680     ::memset(&start_, 0, static_cast<size_t>(
2681         reinterpret_cast<char*>(&end_) -
2682         reinterpret_cast<char*>(&start_)) + sizeof(end_));
2683   }
2684   _has_bits_.Clear();
2685   _internal_metadata_.Clear();
2686 }
2687 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)2688 const char* DescriptorProto_ReservedRange::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
2689 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2690   _Internal::HasBits has_bits{};
2691   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
2692   while (!ctx->Done(&ptr)) {
2693     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
2694     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
2695     CHK_(ptr);
2696     switch (tag >> 3) {
2697       // optional int32 start = 1;
2698       case 1:
2699         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
2700           _Internal::set_has_start(&has_bits);
2701           start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
2702           CHK_(ptr);
2703         } else goto handle_unusual;
2704         continue;
2705       // optional int32 end = 2;
2706       case 2:
2707         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
2708           _Internal::set_has_end(&has_bits);
2709           end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
2710           CHK_(ptr);
2711         } else goto handle_unusual;
2712         continue;
2713       default: {
2714       handle_unusual:
2715         if ((tag & 7) == 4 || tag == 0) {
2716           ctx->SetLastTag(tag);
2717           goto success;
2718         }
2719         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
2720         CHK_(ptr != nullptr);
2721         continue;
2722       }
2723     }  // switch
2724   }  // while
2725 success:
2726   _has_bits_.Or(has_bits);
2727   return ptr;
2728 failure:
2729   ptr = nullptr;
2730   goto success;
2731 #undef CHK_
2732 }
2733 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2734 ::PROTOBUF_NAMESPACE_ID::uint8* DescriptorProto_ReservedRange::_InternalSerialize(
2735     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2736   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto.ReservedRange)
2737   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2738   (void) cached_has_bits;
2739 
2740   cached_has_bits = _has_bits_[0];
2741   // optional int32 start = 1;
2742   if (cached_has_bits & 0x00000001u) {
2743     target = stream->EnsureSpace(target);
2744     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_start(), target);
2745   }
2746 
2747   // optional int32 end = 2;
2748   if (cached_has_bits & 0x00000002u) {
2749     target = stream->EnsureSpace(target);
2750     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_end(), target);
2751   }
2752 
2753   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2754     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
2755         _internal_metadata_.unknown_fields(), target, stream);
2756   }
2757   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DescriptorProto.ReservedRange)
2758   return target;
2759 }
2760 
ByteSizeLong() const2761 size_t DescriptorProto_ReservedRange::ByteSizeLong() const {
2762 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto.ReservedRange)
2763   size_t total_size = 0;
2764 
2765   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2766   // Prevent compiler warnings about cached_has_bits being unused
2767   (void) cached_has_bits;
2768 
2769   cached_has_bits = _has_bits_[0];
2770   if (cached_has_bits & 0x00000003u) {
2771     // optional int32 start = 1;
2772     if (cached_has_bits & 0x00000001u) {
2773       total_size += 1 +
2774         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
2775           this->_internal_start());
2776     }
2777 
2778     // optional int32 end = 2;
2779     if (cached_has_bits & 0x00000002u) {
2780       total_size += 1 +
2781         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
2782           this->_internal_end());
2783     }
2784 
2785   }
2786   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2787     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
2788         _internal_metadata_, total_size, &_cached_size_);
2789   }
2790   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
2791   SetCachedSize(cached_size);
2792   return total_size;
2793 }
2794 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)2795 void DescriptorProto_ReservedRange::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
2796 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.DescriptorProto.ReservedRange)
2797   GOOGLE_DCHECK_NE(&from, this);
2798   const DescriptorProto_ReservedRange* source =
2799       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<DescriptorProto_ReservedRange>(
2800           &from);
2801   if (source == nullptr) {
2802   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.DescriptorProto.ReservedRange)
2803     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
2804   } else {
2805   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.DescriptorProto.ReservedRange)
2806     MergeFrom(*source);
2807   }
2808 }
2809 
MergeFrom(const DescriptorProto_ReservedRange & from)2810 void DescriptorProto_ReservedRange::MergeFrom(const DescriptorProto_ReservedRange& from) {
2811 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto.ReservedRange)
2812   GOOGLE_DCHECK_NE(&from, this);
2813   _internal_metadata_.MergeFrom(from._internal_metadata_);
2814   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2815   (void) cached_has_bits;
2816 
2817   cached_has_bits = from._has_bits_[0];
2818   if (cached_has_bits & 0x00000003u) {
2819     if (cached_has_bits & 0x00000001u) {
2820       start_ = from.start_;
2821     }
2822     if (cached_has_bits & 0x00000002u) {
2823       end_ = from.end_;
2824     }
2825     _has_bits_[0] |= cached_has_bits;
2826   }
2827 }
2828 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)2829 void DescriptorProto_ReservedRange::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
2830 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.DescriptorProto.ReservedRange)
2831   if (&from == this) return;
2832   Clear();
2833   MergeFrom(from);
2834 }
2835 
CopyFrom(const DescriptorProto_ReservedRange & from)2836 void DescriptorProto_ReservedRange::CopyFrom(const DescriptorProto_ReservedRange& from) {
2837 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto.ReservedRange)
2838   if (&from == this) return;
2839   Clear();
2840   MergeFrom(from);
2841 }
2842 
IsInitialized() const2843 bool DescriptorProto_ReservedRange::IsInitialized() const {
2844   return true;
2845 }
2846 
InternalSwap(DescriptorProto_ReservedRange * other)2847 void DescriptorProto_ReservedRange::InternalSwap(DescriptorProto_ReservedRange* other) {
2848   using std::swap;
2849   _internal_metadata_.Swap(&other->_internal_metadata_);
2850   swap(_has_bits_[0], other->_has_bits_[0]);
2851   swap(start_, other->start_);
2852   swap(end_, other->end_);
2853 }
2854 
GetMetadata() const2855 ::PROTOBUF_NAMESPACE_ID::Metadata DescriptorProto_ReservedRange::GetMetadata() const {
2856   return GetMetadataStatic();
2857 }
2858 
2859 
2860 // ===================================================================
2861 
InitAsDefaultInstance()2862 void DescriptorProto::InitAsDefaultInstance() {
2863   PROTOBUF_NAMESPACE_ID::_DescriptorProto_default_instance_._instance.get_mutable()->options_ = const_cast< PROTOBUF_NAMESPACE_ID::MessageOptions*>(
2864       PROTOBUF_NAMESPACE_ID::MessageOptions::internal_default_instance());
2865 }
2866 class DescriptorProto::_Internal {
2867  public:
2868   using HasBits = decltype(std::declval<DescriptorProto>()._has_bits_);
set_has_name(HasBits * has_bits)2869   static void set_has_name(HasBits* has_bits) {
2870     (*has_bits)[0] |= 1u;
2871   }
2872   static const PROTOBUF_NAMESPACE_ID::MessageOptions& options(const DescriptorProto* msg);
set_has_options(HasBits * has_bits)2873   static void set_has_options(HasBits* has_bits) {
2874     (*has_bits)[0] |= 2u;
2875   }
2876 };
2877 
2878 const PROTOBUF_NAMESPACE_ID::MessageOptions&
options(const DescriptorProto * msg)2879 DescriptorProto::_Internal::options(const DescriptorProto* msg) {
2880   return *msg->options_;
2881 }
unsafe_arena_set_allocated_options(PROTOBUF_NAMESPACE_ID::MessageOptions * options)2882 void DescriptorProto::unsafe_arena_set_allocated_options(
2883     PROTOBUF_NAMESPACE_ID::MessageOptions* options) {
2884   if (GetArenaNoVirtual() == nullptr) {
2885     delete options_;
2886   }
2887   options_ = options;
2888   if (options) {
2889     _has_bits_[0] |= 0x00000002u;
2890   } else {
2891     _has_bits_[0] &= ~0x00000002u;
2892   }
2893   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.options)
2894 }
DescriptorProto()2895 DescriptorProto::DescriptorProto()
2896   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
2897   SharedCtor();
2898   // @@protoc_insertion_point(constructor:google.protobuf.DescriptorProto)
2899 }
DescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena)2900 DescriptorProto::DescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena)
2901   : ::PROTOBUF_NAMESPACE_ID::Message(),
2902   _internal_metadata_(arena),
2903   field_(arena),
2904   nested_type_(arena),
2905   enum_type_(arena),
2906   extension_range_(arena),
2907   extension_(arena),
2908   oneof_decl_(arena),
2909   reserved_range_(arena),
2910   reserved_name_(arena) {
2911   SharedCtor();
2912   RegisterArenaDtor(arena);
2913   // @@protoc_insertion_point(arena_constructor:google.protobuf.DescriptorProto)
2914 }
DescriptorProto(const DescriptorProto & from)2915 DescriptorProto::DescriptorProto(const DescriptorProto& from)
2916   : ::PROTOBUF_NAMESPACE_ID::Message(),
2917       _internal_metadata_(nullptr),
2918       _has_bits_(from._has_bits_),
2919       field_(from.field_),
2920       nested_type_(from.nested_type_),
2921       enum_type_(from.enum_type_),
2922       extension_range_(from.extension_range_),
2923       extension_(from.extension_),
2924       oneof_decl_(from.oneof_decl_),
2925       reserved_range_(from.reserved_range_),
2926       reserved_name_(from.reserved_name_) {
2927   _internal_metadata_.MergeFrom(from._internal_metadata_);
2928   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2929   if (from._internal_has_name()) {
2930     name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
2931       GetArenaNoVirtual());
2932   }
2933   if (from._internal_has_options()) {
2934     options_ = new PROTOBUF_NAMESPACE_ID::MessageOptions(*from.options_);
2935   } else {
2936     options_ = nullptr;
2937   }
2938   // @@protoc_insertion_point(copy_constructor:google.protobuf.DescriptorProto)
2939 }
2940 
SharedCtor()2941 void DescriptorProto::SharedCtor() {
2942   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_DescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
2943   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2944   options_ = nullptr;
2945 }
2946 
~DescriptorProto()2947 DescriptorProto::~DescriptorProto() {
2948   // @@protoc_insertion_point(destructor:google.protobuf.DescriptorProto)
2949   SharedDtor();
2950 }
2951 
SharedDtor()2952 void DescriptorProto::SharedDtor() {
2953   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
2954   name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2955   if (this != internal_default_instance()) delete options_;
2956 }
2957 
ArenaDtor(void * object)2958 void DescriptorProto::ArenaDtor(void* object) {
2959   DescriptorProto* _this = reinterpret_cast< DescriptorProto* >(object);
2960   (void)_this;
2961 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)2962 void DescriptorProto::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
2963 }
SetCachedSize(int size) const2964 void DescriptorProto::SetCachedSize(int size) const {
2965   _cached_size_.Set(size);
2966 }
default_instance()2967 const DescriptorProto& DescriptorProto::default_instance() {
2968   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
2969   return *internal_default_instance();
2970 }
2971 
2972 
Clear()2973 void DescriptorProto::Clear() {
2974 // @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto)
2975   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2976   // Prevent compiler warnings about cached_has_bits being unused
2977   (void) cached_has_bits;
2978 
2979   field_.Clear();
2980   nested_type_.Clear();
2981   enum_type_.Clear();
2982   extension_range_.Clear();
2983   extension_.Clear();
2984   oneof_decl_.Clear();
2985   reserved_range_.Clear();
2986   reserved_name_.Clear();
2987   cached_has_bits = _has_bits_[0];
2988   if (cached_has_bits & 0x00000003u) {
2989     if (cached_has_bits & 0x00000001u) {
2990       name_.ClearNonDefaultToEmpty();
2991     }
2992     if (cached_has_bits & 0x00000002u) {
2993       GOOGLE_DCHECK(options_ != nullptr);
2994       options_->Clear();
2995     }
2996   }
2997   _has_bits_.Clear();
2998   _internal_metadata_.Clear();
2999 }
3000 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)3001 const char* DescriptorProto::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
3002 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3003   _Internal::HasBits has_bits{};
3004   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
3005   while (!ctx->Done(&ptr)) {
3006     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
3007     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
3008     CHK_(ptr);
3009     switch (tag >> 3) {
3010       // optional string name = 1;
3011       case 1:
3012         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
3013           auto str = _internal_mutable_name();
3014           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
3015           #ifndef NDEBUG
3016           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.DescriptorProto.name");
3017           #endif  // !NDEBUG
3018           CHK_(ptr);
3019         } else goto handle_unusual;
3020         continue;
3021       // repeated .google.protobuf.FieldDescriptorProto field = 2;
3022       case 2:
3023         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
3024           ptr -= 1;
3025           do {
3026             ptr += 1;
3027             ptr = ctx->ParseMessage(_internal_add_field(), ptr);
3028             CHK_(ptr);
3029             if (!ctx->DataAvailable(ptr)) break;
3030           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
3031         } else goto handle_unusual;
3032         continue;
3033       // repeated .google.protobuf.DescriptorProto nested_type = 3;
3034       case 3:
3035         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
3036           ptr -= 1;
3037           do {
3038             ptr += 1;
3039             ptr = ctx->ParseMessage(_internal_add_nested_type(), ptr);
3040             CHK_(ptr);
3041             if (!ctx->DataAvailable(ptr)) break;
3042           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
3043         } else goto handle_unusual;
3044         continue;
3045       // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
3046       case 4:
3047         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
3048           ptr -= 1;
3049           do {
3050             ptr += 1;
3051             ptr = ctx->ParseMessage(_internal_add_enum_type(), ptr);
3052             CHK_(ptr);
3053             if (!ctx->DataAvailable(ptr)) break;
3054           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr));
3055         } else goto handle_unusual;
3056         continue;
3057       // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
3058       case 5:
3059         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
3060           ptr -= 1;
3061           do {
3062             ptr += 1;
3063             ptr = ctx->ParseMessage(_internal_add_extension_range(), ptr);
3064             CHK_(ptr);
3065             if (!ctx->DataAvailable(ptr)) break;
3066           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr));
3067         } else goto handle_unusual;
3068         continue;
3069       // repeated .google.protobuf.FieldDescriptorProto extension = 6;
3070       case 6:
3071         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
3072           ptr -= 1;
3073           do {
3074             ptr += 1;
3075             ptr = ctx->ParseMessage(_internal_add_extension(), ptr);
3076             CHK_(ptr);
3077             if (!ctx->DataAvailable(ptr)) break;
3078           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
3079         } else goto handle_unusual;
3080         continue;
3081       // optional .google.protobuf.MessageOptions options = 7;
3082       case 7:
3083         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
3084           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
3085           CHK_(ptr);
3086         } else goto handle_unusual;
3087         continue;
3088       // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
3089       case 8:
3090         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
3091           ptr -= 1;
3092           do {
3093             ptr += 1;
3094             ptr = ctx->ParseMessage(_internal_add_oneof_decl(), ptr);
3095             CHK_(ptr);
3096             if (!ctx->DataAvailable(ptr)) break;
3097           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr));
3098         } else goto handle_unusual;
3099         continue;
3100       // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
3101       case 9:
3102         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
3103           ptr -= 1;
3104           do {
3105             ptr += 1;
3106             ptr = ctx->ParseMessage(_internal_add_reserved_range(), ptr);
3107             CHK_(ptr);
3108             if (!ctx->DataAvailable(ptr)) break;
3109           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr));
3110         } else goto handle_unusual;
3111         continue;
3112       // repeated string reserved_name = 10;
3113       case 10:
3114         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
3115           ptr -= 1;
3116           do {
3117             ptr += 1;
3118             auto str = _internal_add_reserved_name();
3119             ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
3120             #ifndef NDEBUG
3121             ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.DescriptorProto.reserved_name");
3122             #endif  // !NDEBUG
3123             CHK_(ptr);
3124             if (!ctx->DataAvailable(ptr)) break;
3125           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr));
3126         } else goto handle_unusual;
3127         continue;
3128       default: {
3129       handle_unusual:
3130         if ((tag & 7) == 4 || tag == 0) {
3131           ctx->SetLastTag(tag);
3132           goto success;
3133         }
3134         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
3135         CHK_(ptr != nullptr);
3136         continue;
3137       }
3138     }  // switch
3139   }  // while
3140 success:
3141   _has_bits_.Or(has_bits);
3142   return ptr;
3143 failure:
3144   ptr = nullptr;
3145   goto success;
3146 #undef CHK_
3147 }
3148 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3149 ::PROTOBUF_NAMESPACE_ID::uint8* DescriptorProto::_InternalSerialize(
3150     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3151   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto)
3152   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
3153   (void) cached_has_bits;
3154 
3155   cached_has_bits = _has_bits_[0];
3156   // optional string name = 1;
3157   if (cached_has_bits & 0x00000001u) {
3158     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3159       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
3160       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3161       "google.protobuf.DescriptorProto.name");
3162     target = stream->WriteStringMaybeAliased(
3163         1, this->_internal_name(), target);
3164   }
3165 
3166   // repeated .google.protobuf.FieldDescriptorProto field = 2;
3167   for (unsigned int i = 0,
3168       n = static_cast<unsigned int>(this->_internal_field_size()); i < n; i++) {
3169     target = stream->EnsureSpace(target);
3170     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3171       InternalWriteMessage(2, this->_internal_field(i), target, stream);
3172   }
3173 
3174   // repeated .google.protobuf.DescriptorProto nested_type = 3;
3175   for (unsigned int i = 0,
3176       n = static_cast<unsigned int>(this->_internal_nested_type_size()); i < n; i++) {
3177     target = stream->EnsureSpace(target);
3178     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3179       InternalWriteMessage(3, this->_internal_nested_type(i), target, stream);
3180   }
3181 
3182   // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
3183   for (unsigned int i = 0,
3184       n = static_cast<unsigned int>(this->_internal_enum_type_size()); i < n; i++) {
3185     target = stream->EnsureSpace(target);
3186     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3187       InternalWriteMessage(4, this->_internal_enum_type(i), target, stream);
3188   }
3189 
3190   // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
3191   for (unsigned int i = 0,
3192       n = static_cast<unsigned int>(this->_internal_extension_range_size()); i < n; i++) {
3193     target = stream->EnsureSpace(target);
3194     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3195       InternalWriteMessage(5, this->_internal_extension_range(i), target, stream);
3196   }
3197 
3198   // repeated .google.protobuf.FieldDescriptorProto extension = 6;
3199   for (unsigned int i = 0,
3200       n = static_cast<unsigned int>(this->_internal_extension_size()); i < n; i++) {
3201     target = stream->EnsureSpace(target);
3202     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3203       InternalWriteMessage(6, this->_internal_extension(i), target, stream);
3204   }
3205 
3206   // optional .google.protobuf.MessageOptions options = 7;
3207   if (cached_has_bits & 0x00000002u) {
3208     target = stream->EnsureSpace(target);
3209     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3210       InternalWriteMessage(
3211         7, _Internal::options(this), target, stream);
3212   }
3213 
3214   // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
3215   for (unsigned int i = 0,
3216       n = static_cast<unsigned int>(this->_internal_oneof_decl_size()); i < n; i++) {
3217     target = stream->EnsureSpace(target);
3218     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3219       InternalWriteMessage(8, this->_internal_oneof_decl(i), target, stream);
3220   }
3221 
3222   // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
3223   for (unsigned int i = 0,
3224       n = static_cast<unsigned int>(this->_internal_reserved_range_size()); i < n; i++) {
3225     target = stream->EnsureSpace(target);
3226     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3227       InternalWriteMessage(9, this->_internal_reserved_range(i), target, stream);
3228   }
3229 
3230   // repeated string reserved_name = 10;
3231   for (int i = 0, n = this->_internal_reserved_name_size(); i < n; i++) {
3232     const auto& s = this->_internal_reserved_name(i);
3233     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3234       s.data(), static_cast<int>(s.length()),
3235       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3236       "google.protobuf.DescriptorProto.reserved_name");
3237     target = stream->WriteString(10, s, target);
3238   }
3239 
3240   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3241     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
3242         _internal_metadata_.unknown_fields(), target, stream);
3243   }
3244   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DescriptorProto)
3245   return target;
3246 }
3247 
ByteSizeLong() const3248 size_t DescriptorProto::ByteSizeLong() const {
3249 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto)
3250   size_t total_size = 0;
3251 
3252   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
3253   // Prevent compiler warnings about cached_has_bits being unused
3254   (void) cached_has_bits;
3255 
3256   // repeated .google.protobuf.FieldDescriptorProto field = 2;
3257   total_size += 1UL * this->_internal_field_size();
3258   for (const auto& msg : this->field_) {
3259     total_size +=
3260       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3261   }
3262 
3263   // repeated .google.protobuf.DescriptorProto nested_type = 3;
3264   total_size += 1UL * this->_internal_nested_type_size();
3265   for (const auto& msg : this->nested_type_) {
3266     total_size +=
3267       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3268   }
3269 
3270   // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
3271   total_size += 1UL * this->_internal_enum_type_size();
3272   for (const auto& msg : this->enum_type_) {
3273     total_size +=
3274       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3275   }
3276 
3277   // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
3278   total_size += 1UL * this->_internal_extension_range_size();
3279   for (const auto& msg : this->extension_range_) {
3280     total_size +=
3281       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3282   }
3283 
3284   // repeated .google.protobuf.FieldDescriptorProto extension = 6;
3285   total_size += 1UL * this->_internal_extension_size();
3286   for (const auto& msg : this->extension_) {
3287     total_size +=
3288       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3289   }
3290 
3291   // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
3292   total_size += 1UL * this->_internal_oneof_decl_size();
3293   for (const auto& msg : this->oneof_decl_) {
3294     total_size +=
3295       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3296   }
3297 
3298   // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
3299   total_size += 1UL * this->_internal_reserved_range_size();
3300   for (const auto& msg : this->reserved_range_) {
3301     total_size +=
3302       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3303   }
3304 
3305   // repeated string reserved_name = 10;
3306   total_size += 1 *
3307       ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(reserved_name_.size());
3308   for (int i = 0, n = reserved_name_.size(); i < n; i++) {
3309     total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3310       reserved_name_.Get(i));
3311   }
3312 
3313   cached_has_bits = _has_bits_[0];
3314   if (cached_has_bits & 0x00000003u) {
3315     // optional string name = 1;
3316     if (cached_has_bits & 0x00000001u) {
3317       total_size += 1 +
3318         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3319           this->_internal_name());
3320     }
3321 
3322     // optional .google.protobuf.MessageOptions options = 7;
3323     if (cached_has_bits & 0x00000002u) {
3324       total_size += 1 +
3325         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3326           *options_);
3327     }
3328 
3329   }
3330   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3331     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
3332         _internal_metadata_, total_size, &_cached_size_);
3333   }
3334   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
3335   SetCachedSize(cached_size);
3336   return total_size;
3337 }
3338 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)3339 void DescriptorProto::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
3340 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.DescriptorProto)
3341   GOOGLE_DCHECK_NE(&from, this);
3342   const DescriptorProto* source =
3343       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<DescriptorProto>(
3344           &from);
3345   if (source == nullptr) {
3346   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.DescriptorProto)
3347     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
3348   } else {
3349   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.DescriptorProto)
3350     MergeFrom(*source);
3351   }
3352 }
3353 
MergeFrom(const DescriptorProto & from)3354 void DescriptorProto::MergeFrom(const DescriptorProto& from) {
3355 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto)
3356   GOOGLE_DCHECK_NE(&from, this);
3357   _internal_metadata_.MergeFrom(from._internal_metadata_);
3358   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
3359   (void) cached_has_bits;
3360 
3361   field_.MergeFrom(from.field_);
3362   nested_type_.MergeFrom(from.nested_type_);
3363   enum_type_.MergeFrom(from.enum_type_);
3364   extension_range_.MergeFrom(from.extension_range_);
3365   extension_.MergeFrom(from.extension_);
3366   oneof_decl_.MergeFrom(from.oneof_decl_);
3367   reserved_range_.MergeFrom(from.reserved_range_);
3368   reserved_name_.MergeFrom(from.reserved_name_);
3369   cached_has_bits = from._has_bits_[0];
3370   if (cached_has_bits & 0x00000003u) {
3371     if (cached_has_bits & 0x00000001u) {
3372       _internal_set_name(from._internal_name());
3373     }
3374     if (cached_has_bits & 0x00000002u) {
3375       _internal_mutable_options()->PROTOBUF_NAMESPACE_ID::MessageOptions::MergeFrom(from._internal_options());
3376     }
3377   }
3378 }
3379 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)3380 void DescriptorProto::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
3381 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.DescriptorProto)
3382   if (&from == this) return;
3383   Clear();
3384   MergeFrom(from);
3385 }
3386 
CopyFrom(const DescriptorProto & from)3387 void DescriptorProto::CopyFrom(const DescriptorProto& from) {
3388 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto)
3389   if (&from == this) return;
3390   Clear();
3391   MergeFrom(from);
3392 }
3393 
IsInitialized() const3394 bool DescriptorProto::IsInitialized() const {
3395   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(field_)) return false;
3396   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(nested_type_)) return false;
3397   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(enum_type_)) return false;
3398   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(extension_range_)) return false;
3399   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(extension_)) return false;
3400   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(oneof_decl_)) return false;
3401   if (_internal_has_options()) {
3402     if (!options_->IsInitialized()) return false;
3403   }
3404   return true;
3405 }
3406 
InternalSwap(DescriptorProto * other)3407 void DescriptorProto::InternalSwap(DescriptorProto* other) {
3408   using std::swap;
3409   _internal_metadata_.Swap(&other->_internal_metadata_);
3410   swap(_has_bits_[0], other->_has_bits_[0]);
3411   field_.InternalSwap(&other->field_);
3412   nested_type_.InternalSwap(&other->nested_type_);
3413   enum_type_.InternalSwap(&other->enum_type_);
3414   extension_range_.InternalSwap(&other->extension_range_);
3415   extension_.InternalSwap(&other->extension_);
3416   oneof_decl_.InternalSwap(&other->oneof_decl_);
3417   reserved_range_.InternalSwap(&other->reserved_range_);
3418   reserved_name_.InternalSwap(&other->reserved_name_);
3419   name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
3420     GetArenaNoVirtual());
3421   swap(options_, other->options_);
3422 }
3423 
GetMetadata() const3424 ::PROTOBUF_NAMESPACE_ID::Metadata DescriptorProto::GetMetadata() const {
3425   return GetMetadataStatic();
3426 }
3427 
3428 
3429 // ===================================================================
3430 
InitAsDefaultInstance()3431 void ExtensionRangeOptions::InitAsDefaultInstance() {
3432 }
3433 class ExtensionRangeOptions::_Internal {
3434  public:
3435   using HasBits = decltype(std::declval<ExtensionRangeOptions>()._has_bits_);
3436 };
3437 
ExtensionRangeOptions()3438 ExtensionRangeOptions::ExtensionRangeOptions()
3439   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
3440   SharedCtor();
3441   // @@protoc_insertion_point(constructor:google.protobuf.ExtensionRangeOptions)
3442 }
ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena)3443 ExtensionRangeOptions::ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena)
3444   : ::PROTOBUF_NAMESPACE_ID::Message(),
3445   _extensions_(arena),
3446   _internal_metadata_(arena),
3447   uninterpreted_option_(arena) {
3448   SharedCtor();
3449   RegisterArenaDtor(arena);
3450   // @@protoc_insertion_point(arena_constructor:google.protobuf.ExtensionRangeOptions)
3451 }
ExtensionRangeOptions(const ExtensionRangeOptions & from)3452 ExtensionRangeOptions::ExtensionRangeOptions(const ExtensionRangeOptions& from)
3453   : ::PROTOBUF_NAMESPACE_ID::Message(),
3454       _internal_metadata_(nullptr),
3455       _has_bits_(from._has_bits_),
3456       uninterpreted_option_(from.uninterpreted_option_) {
3457   _internal_metadata_.MergeFrom(from._internal_metadata_);
3458   _extensions_.MergeFrom(from._extensions_);
3459   // @@protoc_insertion_point(copy_constructor:google.protobuf.ExtensionRangeOptions)
3460 }
3461 
SharedCtor()3462 void ExtensionRangeOptions::SharedCtor() {
3463   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ExtensionRangeOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
3464 }
3465 
~ExtensionRangeOptions()3466 ExtensionRangeOptions::~ExtensionRangeOptions() {
3467   // @@protoc_insertion_point(destructor:google.protobuf.ExtensionRangeOptions)
3468   SharedDtor();
3469 }
3470 
SharedDtor()3471 void ExtensionRangeOptions::SharedDtor() {
3472   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
3473 }
3474 
ArenaDtor(void * object)3475 void ExtensionRangeOptions::ArenaDtor(void* object) {
3476   ExtensionRangeOptions* _this = reinterpret_cast< ExtensionRangeOptions* >(object);
3477   (void)_this;
3478 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)3479 void ExtensionRangeOptions::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
3480 }
SetCachedSize(int size) const3481 void ExtensionRangeOptions::SetCachedSize(int size) const {
3482   _cached_size_.Set(size);
3483 }
default_instance()3484 const ExtensionRangeOptions& ExtensionRangeOptions::default_instance() {
3485   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ExtensionRangeOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
3486   return *internal_default_instance();
3487 }
3488 
3489 
Clear()3490 void ExtensionRangeOptions::Clear() {
3491 // @@protoc_insertion_point(message_clear_start:google.protobuf.ExtensionRangeOptions)
3492   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
3493   // Prevent compiler warnings about cached_has_bits being unused
3494   (void) cached_has_bits;
3495 
3496   _extensions_.Clear();
3497   uninterpreted_option_.Clear();
3498   _has_bits_.Clear();
3499   _internal_metadata_.Clear();
3500 }
3501 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)3502 const char* ExtensionRangeOptions::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
3503 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3504   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
3505   while (!ctx->Done(&ptr)) {
3506     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
3507     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
3508     CHK_(ptr);
3509     switch (tag >> 3) {
3510       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
3511       case 999:
3512         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
3513           ptr -= 2;
3514           do {
3515             ptr += 2;
3516             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
3517             CHK_(ptr);
3518             if (!ctx->DataAvailable(ptr)) break;
3519           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
3520         } else goto handle_unusual;
3521         continue;
3522       default: {
3523       handle_unusual:
3524         if ((tag & 7) == 4 || tag == 0) {
3525           ctx->SetLastTag(tag);
3526           goto success;
3527         }
3528       if ((8000u <= tag)) {
3529         ptr = _extensions_.ParseField(tag, ptr,
3530             internal_default_instance(), &_internal_metadata_, ctx);
3531         CHK_(ptr != nullptr);
3532         continue;
3533       }
3534         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
3535         CHK_(ptr != nullptr);
3536         continue;
3537       }
3538     }  // switch
3539   }  // while
3540 success:
3541   return ptr;
3542 failure:
3543   ptr = nullptr;
3544   goto success;
3545 #undef CHK_
3546 }
3547 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3548 ::PROTOBUF_NAMESPACE_ID::uint8* ExtensionRangeOptions::_InternalSerialize(
3549     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3550   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ExtensionRangeOptions)
3551   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
3552   (void) cached_has_bits;
3553 
3554   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
3555   for (unsigned int i = 0,
3556       n = static_cast<unsigned int>(this->_internal_uninterpreted_option_size()); i < n; i++) {
3557     target = stream->EnsureSpace(target);
3558     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3559       InternalWriteMessage(999, this->_internal_uninterpreted_option(i), target, stream);
3560   }
3561 
3562   // Extension range [1000, 536870912)
3563   target = _extensions_._InternalSerialize(
3564       1000, 536870912, target, stream);
3565 
3566   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3567     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
3568         _internal_metadata_.unknown_fields(), target, stream);
3569   }
3570   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ExtensionRangeOptions)
3571   return target;
3572 }
3573 
ByteSizeLong() const3574 size_t ExtensionRangeOptions::ByteSizeLong() const {
3575 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.ExtensionRangeOptions)
3576   size_t total_size = 0;
3577 
3578   total_size += _extensions_.ByteSize();
3579 
3580   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
3581   // Prevent compiler warnings about cached_has_bits being unused
3582   (void) cached_has_bits;
3583 
3584   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
3585   total_size += 2UL * this->_internal_uninterpreted_option_size();
3586   for (const auto& msg : this->uninterpreted_option_) {
3587     total_size +=
3588       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3589   }
3590 
3591   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3592     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
3593         _internal_metadata_, total_size, &_cached_size_);
3594   }
3595   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
3596   SetCachedSize(cached_size);
3597   return total_size;
3598 }
3599 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)3600 void ExtensionRangeOptions::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
3601 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.ExtensionRangeOptions)
3602   GOOGLE_DCHECK_NE(&from, this);
3603   const ExtensionRangeOptions* source =
3604       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ExtensionRangeOptions>(
3605           &from);
3606   if (source == nullptr) {
3607   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.ExtensionRangeOptions)
3608     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
3609   } else {
3610   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.ExtensionRangeOptions)
3611     MergeFrom(*source);
3612   }
3613 }
3614 
MergeFrom(const ExtensionRangeOptions & from)3615 void ExtensionRangeOptions::MergeFrom(const ExtensionRangeOptions& from) {
3616 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ExtensionRangeOptions)
3617   GOOGLE_DCHECK_NE(&from, this);
3618   _extensions_.MergeFrom(from._extensions_);
3619   _internal_metadata_.MergeFrom(from._internal_metadata_);
3620   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
3621   (void) cached_has_bits;
3622 
3623   uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
3624 }
3625 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)3626 void ExtensionRangeOptions::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
3627 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.ExtensionRangeOptions)
3628   if (&from == this) return;
3629   Clear();
3630   MergeFrom(from);
3631 }
3632 
CopyFrom(const ExtensionRangeOptions & from)3633 void ExtensionRangeOptions::CopyFrom(const ExtensionRangeOptions& from) {
3634 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ExtensionRangeOptions)
3635   if (&from == this) return;
3636   Clear();
3637   MergeFrom(from);
3638 }
3639 
IsInitialized() const3640 bool ExtensionRangeOptions::IsInitialized() const {
3641   if (!_extensions_.IsInitialized()) {
3642     return false;
3643   }
3644 
3645   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(uninterpreted_option_)) return false;
3646   return true;
3647 }
3648 
InternalSwap(ExtensionRangeOptions * other)3649 void ExtensionRangeOptions::InternalSwap(ExtensionRangeOptions* other) {
3650   using std::swap;
3651   _extensions_.Swap(&other->_extensions_);
3652   _internal_metadata_.Swap(&other->_internal_metadata_);
3653   swap(_has_bits_[0], other->_has_bits_[0]);
3654   uninterpreted_option_.InternalSwap(&other->uninterpreted_option_);
3655 }
3656 
GetMetadata() const3657 ::PROTOBUF_NAMESPACE_ID::Metadata ExtensionRangeOptions::GetMetadata() const {
3658   return GetMetadataStatic();
3659 }
3660 
3661 
3662 // ===================================================================
3663 
InitAsDefaultInstance()3664 void FieldDescriptorProto::InitAsDefaultInstance() {
3665   PROTOBUF_NAMESPACE_ID::_FieldDescriptorProto_default_instance_._instance.get_mutable()->options_ = const_cast< PROTOBUF_NAMESPACE_ID::FieldOptions*>(
3666       PROTOBUF_NAMESPACE_ID::FieldOptions::internal_default_instance());
3667 }
3668 class FieldDescriptorProto::_Internal {
3669  public:
3670   using HasBits = decltype(std::declval<FieldDescriptorProto>()._has_bits_);
set_has_name(HasBits * has_bits)3671   static void set_has_name(HasBits* has_bits) {
3672     (*has_bits)[0] |= 1u;
3673   }
set_has_number(HasBits * has_bits)3674   static void set_has_number(HasBits* has_bits) {
3675     (*has_bits)[0] |= 64u;
3676   }
set_has_label(HasBits * has_bits)3677   static void set_has_label(HasBits* has_bits) {
3678     (*has_bits)[0] |= 256u;
3679   }
set_has_type(HasBits * has_bits)3680   static void set_has_type(HasBits* has_bits) {
3681     (*has_bits)[0] |= 512u;
3682   }
set_has_type_name(HasBits * has_bits)3683   static void set_has_type_name(HasBits* has_bits) {
3684     (*has_bits)[0] |= 4u;
3685   }
set_has_extendee(HasBits * has_bits)3686   static void set_has_extendee(HasBits* has_bits) {
3687     (*has_bits)[0] |= 2u;
3688   }
set_has_default_value(HasBits * has_bits)3689   static void set_has_default_value(HasBits* has_bits) {
3690     (*has_bits)[0] |= 8u;
3691   }
set_has_oneof_index(HasBits * has_bits)3692   static void set_has_oneof_index(HasBits* has_bits) {
3693     (*has_bits)[0] |= 128u;
3694   }
set_has_json_name(HasBits * has_bits)3695   static void set_has_json_name(HasBits* has_bits) {
3696     (*has_bits)[0] |= 16u;
3697   }
3698   static const PROTOBUF_NAMESPACE_ID::FieldOptions& options(const FieldDescriptorProto* msg);
set_has_options(HasBits * has_bits)3699   static void set_has_options(HasBits* has_bits) {
3700     (*has_bits)[0] |= 32u;
3701   }
3702 };
3703 
3704 const PROTOBUF_NAMESPACE_ID::FieldOptions&
options(const FieldDescriptorProto * msg)3705 FieldDescriptorProto::_Internal::options(const FieldDescriptorProto* msg) {
3706   return *msg->options_;
3707 }
unsafe_arena_set_allocated_options(PROTOBUF_NAMESPACE_ID::FieldOptions * options)3708 void FieldDescriptorProto::unsafe_arena_set_allocated_options(
3709     PROTOBUF_NAMESPACE_ID::FieldOptions* options) {
3710   if (GetArenaNoVirtual() == nullptr) {
3711     delete options_;
3712   }
3713   options_ = options;
3714   if (options) {
3715     _has_bits_[0] |= 0x00000020u;
3716   } else {
3717     _has_bits_[0] &= ~0x00000020u;
3718   }
3719   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.options)
3720 }
FieldDescriptorProto()3721 FieldDescriptorProto::FieldDescriptorProto()
3722   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
3723   SharedCtor();
3724   // @@protoc_insertion_point(constructor:google.protobuf.FieldDescriptorProto)
3725 }
FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena)3726 FieldDescriptorProto::FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena)
3727   : ::PROTOBUF_NAMESPACE_ID::Message(),
3728   _internal_metadata_(arena) {
3729   SharedCtor();
3730   RegisterArenaDtor(arena);
3731   // @@protoc_insertion_point(arena_constructor:google.protobuf.FieldDescriptorProto)
3732 }
FieldDescriptorProto(const FieldDescriptorProto & from)3733 FieldDescriptorProto::FieldDescriptorProto(const FieldDescriptorProto& from)
3734   : ::PROTOBUF_NAMESPACE_ID::Message(),
3735       _internal_metadata_(nullptr),
3736       _has_bits_(from._has_bits_) {
3737   _internal_metadata_.MergeFrom(from._internal_metadata_);
3738   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3739   if (from._internal_has_name()) {
3740     name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
3741       GetArenaNoVirtual());
3742   }
3743   extendee_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3744   if (from._internal_has_extendee()) {
3745     extendee_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_extendee(),
3746       GetArenaNoVirtual());
3747   }
3748   type_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3749   if (from._internal_has_type_name()) {
3750     type_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_type_name(),
3751       GetArenaNoVirtual());
3752   }
3753   default_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3754   if (from._internal_has_default_value()) {
3755     default_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_default_value(),
3756       GetArenaNoVirtual());
3757   }
3758   json_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3759   if (from._internal_has_json_name()) {
3760     json_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_json_name(),
3761       GetArenaNoVirtual());
3762   }
3763   if (from._internal_has_options()) {
3764     options_ = new PROTOBUF_NAMESPACE_ID::FieldOptions(*from.options_);
3765   } else {
3766     options_ = nullptr;
3767   }
3768   ::memcpy(&number_, &from.number_,
3769     static_cast<size_t>(reinterpret_cast<char*>(&type_) -
3770     reinterpret_cast<char*>(&number_)) + sizeof(type_));
3771   // @@protoc_insertion_point(copy_constructor:google.protobuf.FieldDescriptorProto)
3772 }
3773 
SharedCtor()3774 void FieldDescriptorProto::SharedCtor() {
3775   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_FieldDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
3776   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3777   extendee_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3778   type_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3779   default_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3780   json_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3781   ::memset(&options_, 0, static_cast<size_t>(
3782       reinterpret_cast<char*>(&oneof_index_) -
3783       reinterpret_cast<char*>(&options_)) + sizeof(oneof_index_));
3784   label_ = 1;
3785   type_ = 1;
3786 }
3787 
~FieldDescriptorProto()3788 FieldDescriptorProto::~FieldDescriptorProto() {
3789   // @@protoc_insertion_point(destructor:google.protobuf.FieldDescriptorProto)
3790   SharedDtor();
3791 }
3792 
SharedDtor()3793 void FieldDescriptorProto::SharedDtor() {
3794   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
3795   name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3796   extendee_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3797   type_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3798   default_value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3799   json_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3800   if (this != internal_default_instance()) delete options_;
3801 }
3802 
ArenaDtor(void * object)3803 void FieldDescriptorProto::ArenaDtor(void* object) {
3804   FieldDescriptorProto* _this = reinterpret_cast< FieldDescriptorProto* >(object);
3805   (void)_this;
3806 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)3807 void FieldDescriptorProto::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
3808 }
SetCachedSize(int size) const3809 void FieldDescriptorProto::SetCachedSize(int size) const {
3810   _cached_size_.Set(size);
3811 }
default_instance()3812 const FieldDescriptorProto& FieldDescriptorProto::default_instance() {
3813   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_FieldDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
3814   return *internal_default_instance();
3815 }
3816 
3817 
Clear()3818 void FieldDescriptorProto::Clear() {
3819 // @@protoc_insertion_point(message_clear_start:google.protobuf.FieldDescriptorProto)
3820   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
3821   // Prevent compiler warnings about cached_has_bits being unused
3822   (void) cached_has_bits;
3823 
3824   cached_has_bits = _has_bits_[0];
3825   if (cached_has_bits & 0x0000003fu) {
3826     if (cached_has_bits & 0x00000001u) {
3827       name_.ClearNonDefaultToEmpty();
3828     }
3829     if (cached_has_bits & 0x00000002u) {
3830       extendee_.ClearNonDefaultToEmpty();
3831     }
3832     if (cached_has_bits & 0x00000004u) {
3833       type_name_.ClearNonDefaultToEmpty();
3834     }
3835     if (cached_has_bits & 0x00000008u) {
3836       default_value_.ClearNonDefaultToEmpty();
3837     }
3838     if (cached_has_bits & 0x00000010u) {
3839       json_name_.ClearNonDefaultToEmpty();
3840     }
3841     if (cached_has_bits & 0x00000020u) {
3842       GOOGLE_DCHECK(options_ != nullptr);
3843       options_->Clear();
3844     }
3845   }
3846   if (cached_has_bits & 0x000000c0u) {
3847     ::memset(&number_, 0, static_cast<size_t>(
3848         reinterpret_cast<char*>(&oneof_index_) -
3849         reinterpret_cast<char*>(&number_)) + sizeof(oneof_index_));
3850   }
3851   if (cached_has_bits & 0x00000300u) {
3852     label_ = 1;
3853     type_ = 1;
3854   }
3855   _has_bits_.Clear();
3856   _internal_metadata_.Clear();
3857 }
3858 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)3859 const char* FieldDescriptorProto::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
3860 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3861   _Internal::HasBits has_bits{};
3862   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
3863   while (!ctx->Done(&ptr)) {
3864     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
3865     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
3866     CHK_(ptr);
3867     switch (tag >> 3) {
3868       // optional string name = 1;
3869       case 1:
3870         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
3871           auto str = _internal_mutable_name();
3872           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
3873           #ifndef NDEBUG
3874           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FieldDescriptorProto.name");
3875           #endif  // !NDEBUG
3876           CHK_(ptr);
3877         } else goto handle_unusual;
3878         continue;
3879       // optional string extendee = 2;
3880       case 2:
3881         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
3882           auto str = _internal_mutable_extendee();
3883           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
3884           #ifndef NDEBUG
3885           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FieldDescriptorProto.extendee");
3886           #endif  // !NDEBUG
3887           CHK_(ptr);
3888         } else goto handle_unusual;
3889         continue;
3890       // optional int32 number = 3;
3891       case 3:
3892         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
3893           _Internal::set_has_number(&has_bits);
3894           number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
3895           CHK_(ptr);
3896         } else goto handle_unusual;
3897         continue;
3898       // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
3899       case 4:
3900         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
3901           ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
3902           CHK_(ptr);
3903           if (PROTOBUF_PREDICT_TRUE(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_IsValid(val))) {
3904             _internal_set_label(static_cast<PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label>(val));
3905           } else {
3906             ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields());
3907           }
3908         } else goto handle_unusual;
3909         continue;
3910       // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
3911       case 5:
3912         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
3913           ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
3914           CHK_(ptr);
3915           if (PROTOBUF_PREDICT_TRUE(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_IsValid(val))) {
3916             _internal_set_type(static_cast<PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type>(val));
3917           } else {
3918             ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(5, val, mutable_unknown_fields());
3919           }
3920         } else goto handle_unusual;
3921         continue;
3922       // optional string type_name = 6;
3923       case 6:
3924         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
3925           auto str = _internal_mutable_type_name();
3926           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
3927           #ifndef NDEBUG
3928           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FieldDescriptorProto.type_name");
3929           #endif  // !NDEBUG
3930           CHK_(ptr);
3931         } else goto handle_unusual;
3932         continue;
3933       // optional string default_value = 7;
3934       case 7:
3935         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
3936           auto str = _internal_mutable_default_value();
3937           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
3938           #ifndef NDEBUG
3939           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FieldDescriptorProto.default_value");
3940           #endif  // !NDEBUG
3941           CHK_(ptr);
3942         } else goto handle_unusual;
3943         continue;
3944       // optional .google.protobuf.FieldOptions options = 8;
3945       case 8:
3946         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
3947           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
3948           CHK_(ptr);
3949         } else goto handle_unusual;
3950         continue;
3951       // optional int32 oneof_index = 9;
3952       case 9:
3953         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
3954           _Internal::set_has_oneof_index(&has_bits);
3955           oneof_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
3956           CHK_(ptr);
3957         } else goto handle_unusual;
3958         continue;
3959       // optional string json_name = 10;
3960       case 10:
3961         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
3962           auto str = _internal_mutable_json_name();
3963           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
3964           #ifndef NDEBUG
3965           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FieldDescriptorProto.json_name");
3966           #endif  // !NDEBUG
3967           CHK_(ptr);
3968         } else goto handle_unusual;
3969         continue;
3970       default: {
3971       handle_unusual:
3972         if ((tag & 7) == 4 || tag == 0) {
3973           ctx->SetLastTag(tag);
3974           goto success;
3975         }
3976         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
3977         CHK_(ptr != nullptr);
3978         continue;
3979       }
3980     }  // switch
3981   }  // while
3982 success:
3983   _has_bits_.Or(has_bits);
3984   return ptr;
3985 failure:
3986   ptr = nullptr;
3987   goto success;
3988 #undef CHK_
3989 }
3990 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3991 ::PROTOBUF_NAMESPACE_ID::uint8* FieldDescriptorProto::_InternalSerialize(
3992     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3993   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldDescriptorProto)
3994   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
3995   (void) cached_has_bits;
3996 
3997   cached_has_bits = _has_bits_[0];
3998   // optional string name = 1;
3999   if (cached_has_bits & 0x00000001u) {
4000     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4001       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
4002       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4003       "google.protobuf.FieldDescriptorProto.name");
4004     target = stream->WriteStringMaybeAliased(
4005         1, this->_internal_name(), target);
4006   }
4007 
4008   // optional string extendee = 2;
4009   if (cached_has_bits & 0x00000002u) {
4010     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4011       this->_internal_extendee().data(), static_cast<int>(this->_internal_extendee().length()),
4012       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4013       "google.protobuf.FieldDescriptorProto.extendee");
4014     target = stream->WriteStringMaybeAliased(
4015         2, this->_internal_extendee(), target);
4016   }
4017 
4018   // optional int32 number = 3;
4019   if (cached_has_bits & 0x00000040u) {
4020     target = stream->EnsureSpace(target);
4021     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_number(), target);
4022   }
4023 
4024   // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
4025   if (cached_has_bits & 0x00000100u) {
4026     target = stream->EnsureSpace(target);
4027     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
4028       4, this->_internal_label(), target);
4029   }
4030 
4031   // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
4032   if (cached_has_bits & 0x00000200u) {
4033     target = stream->EnsureSpace(target);
4034     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
4035       5, this->_internal_type(), target);
4036   }
4037 
4038   // optional string type_name = 6;
4039   if (cached_has_bits & 0x00000004u) {
4040     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4041       this->_internal_type_name().data(), static_cast<int>(this->_internal_type_name().length()),
4042       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4043       "google.protobuf.FieldDescriptorProto.type_name");
4044     target = stream->WriteStringMaybeAliased(
4045         6, this->_internal_type_name(), target);
4046   }
4047 
4048   // optional string default_value = 7;
4049   if (cached_has_bits & 0x00000008u) {
4050     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4051       this->_internal_default_value().data(), static_cast<int>(this->_internal_default_value().length()),
4052       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4053       "google.protobuf.FieldDescriptorProto.default_value");
4054     target = stream->WriteStringMaybeAliased(
4055         7, this->_internal_default_value(), target);
4056   }
4057 
4058   // optional .google.protobuf.FieldOptions options = 8;
4059   if (cached_has_bits & 0x00000020u) {
4060     target = stream->EnsureSpace(target);
4061     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
4062       InternalWriteMessage(
4063         8, _Internal::options(this), target, stream);
4064   }
4065 
4066   // optional int32 oneof_index = 9;
4067   if (cached_has_bits & 0x00000080u) {
4068     target = stream->EnsureSpace(target);
4069     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(9, this->_internal_oneof_index(), target);
4070   }
4071 
4072   // optional string json_name = 10;
4073   if (cached_has_bits & 0x00000010u) {
4074     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4075       this->_internal_json_name().data(), static_cast<int>(this->_internal_json_name().length()),
4076       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4077       "google.protobuf.FieldDescriptorProto.json_name");
4078     target = stream->WriteStringMaybeAliased(
4079         10, this->_internal_json_name(), target);
4080   }
4081 
4082   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4083     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
4084         _internal_metadata_.unknown_fields(), target, stream);
4085   }
4086   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FieldDescriptorProto)
4087   return target;
4088 }
4089 
ByteSizeLong() const4090 size_t FieldDescriptorProto::ByteSizeLong() const {
4091 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldDescriptorProto)
4092   size_t total_size = 0;
4093 
4094   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
4095   // Prevent compiler warnings about cached_has_bits being unused
4096   (void) cached_has_bits;
4097 
4098   cached_has_bits = _has_bits_[0];
4099   if (cached_has_bits & 0x000000ffu) {
4100     // optional string name = 1;
4101     if (cached_has_bits & 0x00000001u) {
4102       total_size += 1 +
4103         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4104           this->_internal_name());
4105     }
4106 
4107     // optional string extendee = 2;
4108     if (cached_has_bits & 0x00000002u) {
4109       total_size += 1 +
4110         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4111           this->_internal_extendee());
4112     }
4113 
4114     // optional string type_name = 6;
4115     if (cached_has_bits & 0x00000004u) {
4116       total_size += 1 +
4117         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4118           this->_internal_type_name());
4119     }
4120 
4121     // optional string default_value = 7;
4122     if (cached_has_bits & 0x00000008u) {
4123       total_size += 1 +
4124         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4125           this->_internal_default_value());
4126     }
4127 
4128     // optional string json_name = 10;
4129     if (cached_has_bits & 0x00000010u) {
4130       total_size += 1 +
4131         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4132           this->_internal_json_name());
4133     }
4134 
4135     // optional .google.protobuf.FieldOptions options = 8;
4136     if (cached_has_bits & 0x00000020u) {
4137       total_size += 1 +
4138         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
4139           *options_);
4140     }
4141 
4142     // optional int32 number = 3;
4143     if (cached_has_bits & 0x00000040u) {
4144       total_size += 1 +
4145         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
4146           this->_internal_number());
4147     }
4148 
4149     // optional int32 oneof_index = 9;
4150     if (cached_has_bits & 0x00000080u) {
4151       total_size += 1 +
4152         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
4153           this->_internal_oneof_index());
4154     }
4155 
4156   }
4157   if (cached_has_bits & 0x00000300u) {
4158     // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
4159     if (cached_has_bits & 0x00000100u) {
4160       total_size += 1 +
4161         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_label());
4162     }
4163 
4164     // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
4165     if (cached_has_bits & 0x00000200u) {
4166       total_size += 1 +
4167         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_type());
4168     }
4169 
4170   }
4171   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4172     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
4173         _internal_metadata_, total_size, &_cached_size_);
4174   }
4175   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
4176   SetCachedSize(cached_size);
4177   return total_size;
4178 }
4179 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)4180 void FieldDescriptorProto::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
4181 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FieldDescriptorProto)
4182   GOOGLE_DCHECK_NE(&from, this);
4183   const FieldDescriptorProto* source =
4184       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<FieldDescriptorProto>(
4185           &from);
4186   if (source == nullptr) {
4187   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FieldDescriptorProto)
4188     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
4189   } else {
4190   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FieldDescriptorProto)
4191     MergeFrom(*source);
4192   }
4193 }
4194 
MergeFrom(const FieldDescriptorProto & from)4195 void FieldDescriptorProto::MergeFrom(const FieldDescriptorProto& from) {
4196 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldDescriptorProto)
4197   GOOGLE_DCHECK_NE(&from, this);
4198   _internal_metadata_.MergeFrom(from._internal_metadata_);
4199   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
4200   (void) cached_has_bits;
4201 
4202   cached_has_bits = from._has_bits_[0];
4203   if (cached_has_bits & 0x000000ffu) {
4204     if (cached_has_bits & 0x00000001u) {
4205       _internal_set_name(from._internal_name());
4206     }
4207     if (cached_has_bits & 0x00000002u) {
4208       _internal_set_extendee(from._internal_extendee());
4209     }
4210     if (cached_has_bits & 0x00000004u) {
4211       _internal_set_type_name(from._internal_type_name());
4212     }
4213     if (cached_has_bits & 0x00000008u) {
4214       _internal_set_default_value(from._internal_default_value());
4215     }
4216     if (cached_has_bits & 0x00000010u) {
4217       _internal_set_json_name(from._internal_json_name());
4218     }
4219     if (cached_has_bits & 0x00000020u) {
4220       _internal_mutable_options()->PROTOBUF_NAMESPACE_ID::FieldOptions::MergeFrom(from._internal_options());
4221     }
4222     if (cached_has_bits & 0x00000040u) {
4223       number_ = from.number_;
4224     }
4225     if (cached_has_bits & 0x00000080u) {
4226       oneof_index_ = from.oneof_index_;
4227     }
4228     _has_bits_[0] |= cached_has_bits;
4229   }
4230   if (cached_has_bits & 0x00000300u) {
4231     if (cached_has_bits & 0x00000100u) {
4232       label_ = from.label_;
4233     }
4234     if (cached_has_bits & 0x00000200u) {
4235       type_ = from.type_;
4236     }
4237     _has_bits_[0] |= cached_has_bits;
4238   }
4239 }
4240 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)4241 void FieldDescriptorProto::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
4242 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FieldDescriptorProto)
4243   if (&from == this) return;
4244   Clear();
4245   MergeFrom(from);
4246 }
4247 
CopyFrom(const FieldDescriptorProto & from)4248 void FieldDescriptorProto::CopyFrom(const FieldDescriptorProto& from) {
4249 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FieldDescriptorProto)
4250   if (&from == this) return;
4251   Clear();
4252   MergeFrom(from);
4253 }
4254 
IsInitialized() const4255 bool FieldDescriptorProto::IsInitialized() const {
4256   if (_internal_has_options()) {
4257     if (!options_->IsInitialized()) return false;
4258   }
4259   return true;
4260 }
4261 
InternalSwap(FieldDescriptorProto * other)4262 void FieldDescriptorProto::InternalSwap(FieldDescriptorProto* other) {
4263   using std::swap;
4264   _internal_metadata_.Swap(&other->_internal_metadata_);
4265   swap(_has_bits_[0], other->_has_bits_[0]);
4266   name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
4267     GetArenaNoVirtual());
4268   extendee_.Swap(&other->extendee_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
4269     GetArenaNoVirtual());
4270   type_name_.Swap(&other->type_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
4271     GetArenaNoVirtual());
4272   default_value_.Swap(&other->default_value_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
4273     GetArenaNoVirtual());
4274   json_name_.Swap(&other->json_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
4275     GetArenaNoVirtual());
4276   swap(options_, other->options_);
4277   swap(number_, other->number_);
4278   swap(oneof_index_, other->oneof_index_);
4279   swap(label_, other->label_);
4280   swap(type_, other->type_);
4281 }
4282 
GetMetadata() const4283 ::PROTOBUF_NAMESPACE_ID::Metadata FieldDescriptorProto::GetMetadata() const {
4284   return GetMetadataStatic();
4285 }
4286 
4287 
4288 // ===================================================================
4289 
InitAsDefaultInstance()4290 void OneofDescriptorProto::InitAsDefaultInstance() {
4291   PROTOBUF_NAMESPACE_ID::_OneofDescriptorProto_default_instance_._instance.get_mutable()->options_ = const_cast< PROTOBUF_NAMESPACE_ID::OneofOptions*>(
4292       PROTOBUF_NAMESPACE_ID::OneofOptions::internal_default_instance());
4293 }
4294 class OneofDescriptorProto::_Internal {
4295  public:
4296   using HasBits = decltype(std::declval<OneofDescriptorProto>()._has_bits_);
set_has_name(HasBits * has_bits)4297   static void set_has_name(HasBits* has_bits) {
4298     (*has_bits)[0] |= 1u;
4299   }
4300   static const PROTOBUF_NAMESPACE_ID::OneofOptions& options(const OneofDescriptorProto* msg);
set_has_options(HasBits * has_bits)4301   static void set_has_options(HasBits* has_bits) {
4302     (*has_bits)[0] |= 2u;
4303   }
4304 };
4305 
4306 const PROTOBUF_NAMESPACE_ID::OneofOptions&
options(const OneofDescriptorProto * msg)4307 OneofDescriptorProto::_Internal::options(const OneofDescriptorProto* msg) {
4308   return *msg->options_;
4309 }
unsafe_arena_set_allocated_options(PROTOBUF_NAMESPACE_ID::OneofOptions * options)4310 void OneofDescriptorProto::unsafe_arena_set_allocated_options(
4311     PROTOBUF_NAMESPACE_ID::OneofOptions* options) {
4312   if (GetArenaNoVirtual() == nullptr) {
4313     delete options_;
4314   }
4315   options_ = options;
4316   if (options) {
4317     _has_bits_[0] |= 0x00000002u;
4318   } else {
4319     _has_bits_[0] &= ~0x00000002u;
4320   }
4321   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.OneofDescriptorProto.options)
4322 }
OneofDescriptorProto()4323 OneofDescriptorProto::OneofDescriptorProto()
4324   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
4325   SharedCtor();
4326   // @@protoc_insertion_point(constructor:google.protobuf.OneofDescriptorProto)
4327 }
OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena)4328 OneofDescriptorProto::OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena)
4329   : ::PROTOBUF_NAMESPACE_ID::Message(),
4330   _internal_metadata_(arena) {
4331   SharedCtor();
4332   RegisterArenaDtor(arena);
4333   // @@protoc_insertion_point(arena_constructor:google.protobuf.OneofDescriptorProto)
4334 }
OneofDescriptorProto(const OneofDescriptorProto & from)4335 OneofDescriptorProto::OneofDescriptorProto(const OneofDescriptorProto& from)
4336   : ::PROTOBUF_NAMESPACE_ID::Message(),
4337       _internal_metadata_(nullptr),
4338       _has_bits_(from._has_bits_) {
4339   _internal_metadata_.MergeFrom(from._internal_metadata_);
4340   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
4341   if (from._internal_has_name()) {
4342     name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
4343       GetArenaNoVirtual());
4344   }
4345   if (from._internal_has_options()) {
4346     options_ = new PROTOBUF_NAMESPACE_ID::OneofOptions(*from.options_);
4347   } else {
4348     options_ = nullptr;
4349   }
4350   // @@protoc_insertion_point(copy_constructor:google.protobuf.OneofDescriptorProto)
4351 }
4352 
SharedCtor()4353 void OneofDescriptorProto::SharedCtor() {
4354   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_OneofDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
4355   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
4356   options_ = nullptr;
4357 }
4358 
~OneofDescriptorProto()4359 OneofDescriptorProto::~OneofDescriptorProto() {
4360   // @@protoc_insertion_point(destructor:google.protobuf.OneofDescriptorProto)
4361   SharedDtor();
4362 }
4363 
SharedDtor()4364 void OneofDescriptorProto::SharedDtor() {
4365   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
4366   name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
4367   if (this != internal_default_instance()) delete options_;
4368 }
4369 
ArenaDtor(void * object)4370 void OneofDescriptorProto::ArenaDtor(void* object) {
4371   OneofDescriptorProto* _this = reinterpret_cast< OneofDescriptorProto* >(object);
4372   (void)_this;
4373 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)4374 void OneofDescriptorProto::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
4375 }
SetCachedSize(int size) const4376 void OneofDescriptorProto::SetCachedSize(int size) const {
4377   _cached_size_.Set(size);
4378 }
default_instance()4379 const OneofDescriptorProto& OneofDescriptorProto::default_instance() {
4380   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_OneofDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
4381   return *internal_default_instance();
4382 }
4383 
4384 
Clear()4385 void OneofDescriptorProto::Clear() {
4386 // @@protoc_insertion_point(message_clear_start:google.protobuf.OneofDescriptorProto)
4387   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
4388   // Prevent compiler warnings about cached_has_bits being unused
4389   (void) cached_has_bits;
4390 
4391   cached_has_bits = _has_bits_[0];
4392   if (cached_has_bits & 0x00000003u) {
4393     if (cached_has_bits & 0x00000001u) {
4394       name_.ClearNonDefaultToEmpty();
4395     }
4396     if (cached_has_bits & 0x00000002u) {
4397       GOOGLE_DCHECK(options_ != nullptr);
4398       options_->Clear();
4399     }
4400   }
4401   _has_bits_.Clear();
4402   _internal_metadata_.Clear();
4403 }
4404 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)4405 const char* OneofDescriptorProto::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
4406 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4407   _Internal::HasBits has_bits{};
4408   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
4409   while (!ctx->Done(&ptr)) {
4410     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
4411     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
4412     CHK_(ptr);
4413     switch (tag >> 3) {
4414       // optional string name = 1;
4415       case 1:
4416         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
4417           auto str = _internal_mutable_name();
4418           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
4419           #ifndef NDEBUG
4420           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.OneofDescriptorProto.name");
4421           #endif  // !NDEBUG
4422           CHK_(ptr);
4423         } else goto handle_unusual;
4424         continue;
4425       // optional .google.protobuf.OneofOptions options = 2;
4426       case 2:
4427         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
4428           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
4429           CHK_(ptr);
4430         } else goto handle_unusual;
4431         continue;
4432       default: {
4433       handle_unusual:
4434         if ((tag & 7) == 4 || tag == 0) {
4435           ctx->SetLastTag(tag);
4436           goto success;
4437         }
4438         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
4439         CHK_(ptr != nullptr);
4440         continue;
4441       }
4442     }  // switch
4443   }  // while
4444 success:
4445   _has_bits_.Or(has_bits);
4446   return ptr;
4447 failure:
4448   ptr = nullptr;
4449   goto success;
4450 #undef CHK_
4451 }
4452 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4453 ::PROTOBUF_NAMESPACE_ID::uint8* OneofDescriptorProto::_InternalSerialize(
4454     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4455   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.OneofDescriptorProto)
4456   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
4457   (void) cached_has_bits;
4458 
4459   cached_has_bits = _has_bits_[0];
4460   // optional string name = 1;
4461   if (cached_has_bits & 0x00000001u) {
4462     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4463       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
4464       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4465       "google.protobuf.OneofDescriptorProto.name");
4466     target = stream->WriteStringMaybeAliased(
4467         1, this->_internal_name(), target);
4468   }
4469 
4470   // optional .google.protobuf.OneofOptions options = 2;
4471   if (cached_has_bits & 0x00000002u) {
4472     target = stream->EnsureSpace(target);
4473     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
4474       InternalWriteMessage(
4475         2, _Internal::options(this), target, stream);
4476   }
4477 
4478   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4479     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
4480         _internal_metadata_.unknown_fields(), target, stream);
4481   }
4482   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.OneofDescriptorProto)
4483   return target;
4484 }
4485 
ByteSizeLong() const4486 size_t OneofDescriptorProto::ByteSizeLong() const {
4487 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.OneofDescriptorProto)
4488   size_t total_size = 0;
4489 
4490   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
4491   // Prevent compiler warnings about cached_has_bits being unused
4492   (void) cached_has_bits;
4493 
4494   cached_has_bits = _has_bits_[0];
4495   if (cached_has_bits & 0x00000003u) {
4496     // optional string name = 1;
4497     if (cached_has_bits & 0x00000001u) {
4498       total_size += 1 +
4499         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4500           this->_internal_name());
4501     }
4502 
4503     // optional .google.protobuf.OneofOptions options = 2;
4504     if (cached_has_bits & 0x00000002u) {
4505       total_size += 1 +
4506         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
4507           *options_);
4508     }
4509 
4510   }
4511   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4512     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
4513         _internal_metadata_, total_size, &_cached_size_);
4514   }
4515   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
4516   SetCachedSize(cached_size);
4517   return total_size;
4518 }
4519 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)4520 void OneofDescriptorProto::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
4521 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.OneofDescriptorProto)
4522   GOOGLE_DCHECK_NE(&from, this);
4523   const OneofDescriptorProto* source =
4524       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<OneofDescriptorProto>(
4525           &from);
4526   if (source == nullptr) {
4527   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.OneofDescriptorProto)
4528     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
4529   } else {
4530   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.OneofDescriptorProto)
4531     MergeFrom(*source);
4532   }
4533 }
4534 
MergeFrom(const OneofDescriptorProto & from)4535 void OneofDescriptorProto::MergeFrom(const OneofDescriptorProto& from) {
4536 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.OneofDescriptorProto)
4537   GOOGLE_DCHECK_NE(&from, this);
4538   _internal_metadata_.MergeFrom(from._internal_metadata_);
4539   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
4540   (void) cached_has_bits;
4541 
4542   cached_has_bits = from._has_bits_[0];
4543   if (cached_has_bits & 0x00000003u) {
4544     if (cached_has_bits & 0x00000001u) {
4545       _internal_set_name(from._internal_name());
4546     }
4547     if (cached_has_bits & 0x00000002u) {
4548       _internal_mutable_options()->PROTOBUF_NAMESPACE_ID::OneofOptions::MergeFrom(from._internal_options());
4549     }
4550   }
4551 }
4552 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)4553 void OneofDescriptorProto::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
4554 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.OneofDescriptorProto)
4555   if (&from == this) return;
4556   Clear();
4557   MergeFrom(from);
4558 }
4559 
CopyFrom(const OneofDescriptorProto & from)4560 void OneofDescriptorProto::CopyFrom(const OneofDescriptorProto& from) {
4561 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.OneofDescriptorProto)
4562   if (&from == this) return;
4563   Clear();
4564   MergeFrom(from);
4565 }
4566 
IsInitialized() const4567 bool OneofDescriptorProto::IsInitialized() const {
4568   if (_internal_has_options()) {
4569     if (!options_->IsInitialized()) return false;
4570   }
4571   return true;
4572 }
4573 
InternalSwap(OneofDescriptorProto * other)4574 void OneofDescriptorProto::InternalSwap(OneofDescriptorProto* other) {
4575   using std::swap;
4576   _internal_metadata_.Swap(&other->_internal_metadata_);
4577   swap(_has_bits_[0], other->_has_bits_[0]);
4578   name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
4579     GetArenaNoVirtual());
4580   swap(options_, other->options_);
4581 }
4582 
GetMetadata() const4583 ::PROTOBUF_NAMESPACE_ID::Metadata OneofDescriptorProto::GetMetadata() const {
4584   return GetMetadataStatic();
4585 }
4586 
4587 
4588 // ===================================================================
4589 
InitAsDefaultInstance()4590 void EnumDescriptorProto_EnumReservedRange::InitAsDefaultInstance() {
4591 }
4592 class EnumDescriptorProto_EnumReservedRange::_Internal {
4593  public:
4594   using HasBits = decltype(std::declval<EnumDescriptorProto_EnumReservedRange>()._has_bits_);
set_has_start(HasBits * has_bits)4595   static void set_has_start(HasBits* has_bits) {
4596     (*has_bits)[0] |= 1u;
4597   }
set_has_end(HasBits * has_bits)4598   static void set_has_end(HasBits* has_bits) {
4599     (*has_bits)[0] |= 2u;
4600   }
4601 };
4602 
EnumDescriptorProto_EnumReservedRange()4603 EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange()
4604   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
4605   SharedCtor();
4606   // @@protoc_insertion_point(constructor:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4607 }
EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::Arena * arena)4608 EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena)
4609   : ::PROTOBUF_NAMESPACE_ID::Message(),
4610   _internal_metadata_(arena) {
4611   SharedCtor();
4612   RegisterArenaDtor(arena);
4613   // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4614 }
EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange & from)4615 EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from)
4616   : ::PROTOBUF_NAMESPACE_ID::Message(),
4617       _internal_metadata_(nullptr),
4618       _has_bits_(from._has_bits_) {
4619   _internal_metadata_.MergeFrom(from._internal_metadata_);
4620   ::memcpy(&start_, &from.start_,
4621     static_cast<size_t>(reinterpret_cast<char*>(&end_) -
4622     reinterpret_cast<char*>(&start_)) + sizeof(end_));
4623   // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4624 }
4625 
SharedCtor()4626 void EnumDescriptorProto_EnumReservedRange::SharedCtor() {
4627   ::memset(&start_, 0, static_cast<size_t>(
4628       reinterpret_cast<char*>(&end_) -
4629       reinterpret_cast<char*>(&start_)) + sizeof(end_));
4630 }
4631 
~EnumDescriptorProto_EnumReservedRange()4632 EnumDescriptorProto_EnumReservedRange::~EnumDescriptorProto_EnumReservedRange() {
4633   // @@protoc_insertion_point(destructor:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4634   SharedDtor();
4635 }
4636 
SharedDtor()4637 void EnumDescriptorProto_EnumReservedRange::SharedDtor() {
4638   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
4639 }
4640 
ArenaDtor(void * object)4641 void EnumDescriptorProto_EnumReservedRange::ArenaDtor(void* object) {
4642   EnumDescriptorProto_EnumReservedRange* _this = reinterpret_cast< EnumDescriptorProto_EnumReservedRange* >(object);
4643   (void)_this;
4644 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)4645 void EnumDescriptorProto_EnumReservedRange::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
4646 }
SetCachedSize(int size) const4647 void EnumDescriptorProto_EnumReservedRange::SetCachedSize(int size) const {
4648   _cached_size_.Set(size);
4649 }
default_instance()4650 const EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto_EnumReservedRange::default_instance() {
4651   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EnumDescriptorProto_EnumReservedRange_google_2fprotobuf_2fdescriptor_2eproto.base);
4652   return *internal_default_instance();
4653 }
4654 
4655 
Clear()4656 void EnumDescriptorProto_EnumReservedRange::Clear() {
4657 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4658   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
4659   // Prevent compiler warnings about cached_has_bits being unused
4660   (void) cached_has_bits;
4661 
4662   cached_has_bits = _has_bits_[0];
4663   if (cached_has_bits & 0x00000003u) {
4664     ::memset(&start_, 0, static_cast<size_t>(
4665         reinterpret_cast<char*>(&end_) -
4666         reinterpret_cast<char*>(&start_)) + sizeof(end_));
4667   }
4668   _has_bits_.Clear();
4669   _internal_metadata_.Clear();
4670 }
4671 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)4672 const char* EnumDescriptorProto_EnumReservedRange::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
4673 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4674   _Internal::HasBits has_bits{};
4675   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
4676   while (!ctx->Done(&ptr)) {
4677     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
4678     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
4679     CHK_(ptr);
4680     switch (tag >> 3) {
4681       // optional int32 start = 1;
4682       case 1:
4683         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
4684           _Internal::set_has_start(&has_bits);
4685           start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
4686           CHK_(ptr);
4687         } else goto handle_unusual;
4688         continue;
4689       // optional int32 end = 2;
4690       case 2:
4691         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
4692           _Internal::set_has_end(&has_bits);
4693           end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
4694           CHK_(ptr);
4695         } else goto handle_unusual;
4696         continue;
4697       default: {
4698       handle_unusual:
4699         if ((tag & 7) == 4 || tag == 0) {
4700           ctx->SetLastTag(tag);
4701           goto success;
4702         }
4703         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
4704         CHK_(ptr != nullptr);
4705         continue;
4706       }
4707     }  // switch
4708   }  // while
4709 success:
4710   _has_bits_.Or(has_bits);
4711   return ptr;
4712 failure:
4713   ptr = nullptr;
4714   goto success;
4715 #undef CHK_
4716 }
4717 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4718 ::PROTOBUF_NAMESPACE_ID::uint8* EnumDescriptorProto_EnumReservedRange::_InternalSerialize(
4719     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4720   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4721   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
4722   (void) cached_has_bits;
4723 
4724   cached_has_bits = _has_bits_[0];
4725   // optional int32 start = 1;
4726   if (cached_has_bits & 0x00000001u) {
4727     target = stream->EnsureSpace(target);
4728     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_start(), target);
4729   }
4730 
4731   // optional int32 end = 2;
4732   if (cached_has_bits & 0x00000002u) {
4733     target = stream->EnsureSpace(target);
4734     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_end(), target);
4735   }
4736 
4737   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4738     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
4739         _internal_metadata_.unknown_fields(), target, stream);
4740   }
4741   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4742   return target;
4743 }
4744 
ByteSizeLong() const4745 size_t EnumDescriptorProto_EnumReservedRange::ByteSizeLong() const {
4746 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4747   size_t total_size = 0;
4748 
4749   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
4750   // Prevent compiler warnings about cached_has_bits being unused
4751   (void) cached_has_bits;
4752 
4753   cached_has_bits = _has_bits_[0];
4754   if (cached_has_bits & 0x00000003u) {
4755     // optional int32 start = 1;
4756     if (cached_has_bits & 0x00000001u) {
4757       total_size += 1 +
4758         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
4759           this->_internal_start());
4760     }
4761 
4762     // optional int32 end = 2;
4763     if (cached_has_bits & 0x00000002u) {
4764       total_size += 1 +
4765         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
4766           this->_internal_end());
4767     }
4768 
4769   }
4770   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4771     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
4772         _internal_metadata_, total_size, &_cached_size_);
4773   }
4774   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
4775   SetCachedSize(cached_size);
4776   return total_size;
4777 }
4778 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)4779 void EnumDescriptorProto_EnumReservedRange::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
4780 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4781   GOOGLE_DCHECK_NE(&from, this);
4782   const EnumDescriptorProto_EnumReservedRange* source =
4783       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EnumDescriptorProto_EnumReservedRange>(
4784           &from);
4785   if (source == nullptr) {
4786   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4787     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
4788   } else {
4789   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4790     MergeFrom(*source);
4791   }
4792 }
4793 
MergeFrom(const EnumDescriptorProto_EnumReservedRange & from)4794 void EnumDescriptorProto_EnumReservedRange::MergeFrom(const EnumDescriptorProto_EnumReservedRange& from) {
4795 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4796   GOOGLE_DCHECK_NE(&from, this);
4797   _internal_metadata_.MergeFrom(from._internal_metadata_);
4798   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
4799   (void) cached_has_bits;
4800 
4801   cached_has_bits = from._has_bits_[0];
4802   if (cached_has_bits & 0x00000003u) {
4803     if (cached_has_bits & 0x00000001u) {
4804       start_ = from.start_;
4805     }
4806     if (cached_has_bits & 0x00000002u) {
4807       end_ = from.end_;
4808     }
4809     _has_bits_[0] |= cached_has_bits;
4810   }
4811 }
4812 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)4813 void EnumDescriptorProto_EnumReservedRange::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
4814 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4815   if (&from == this) return;
4816   Clear();
4817   MergeFrom(from);
4818 }
4819 
CopyFrom(const EnumDescriptorProto_EnumReservedRange & from)4820 void EnumDescriptorProto_EnumReservedRange::CopyFrom(const EnumDescriptorProto_EnumReservedRange& from) {
4821 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4822   if (&from == this) return;
4823   Clear();
4824   MergeFrom(from);
4825 }
4826 
IsInitialized() const4827 bool EnumDescriptorProto_EnumReservedRange::IsInitialized() const {
4828   return true;
4829 }
4830 
InternalSwap(EnumDescriptorProto_EnumReservedRange * other)4831 void EnumDescriptorProto_EnumReservedRange::InternalSwap(EnumDescriptorProto_EnumReservedRange* other) {
4832   using std::swap;
4833   _internal_metadata_.Swap(&other->_internal_metadata_);
4834   swap(_has_bits_[0], other->_has_bits_[0]);
4835   swap(start_, other->start_);
4836   swap(end_, other->end_);
4837 }
4838 
GetMetadata() const4839 ::PROTOBUF_NAMESPACE_ID::Metadata EnumDescriptorProto_EnumReservedRange::GetMetadata() const {
4840   return GetMetadataStatic();
4841 }
4842 
4843 
4844 // ===================================================================
4845 
InitAsDefaultInstance()4846 void EnumDescriptorProto::InitAsDefaultInstance() {
4847   PROTOBUF_NAMESPACE_ID::_EnumDescriptorProto_default_instance_._instance.get_mutable()->options_ = const_cast< PROTOBUF_NAMESPACE_ID::EnumOptions*>(
4848       PROTOBUF_NAMESPACE_ID::EnumOptions::internal_default_instance());
4849 }
4850 class EnumDescriptorProto::_Internal {
4851  public:
4852   using HasBits = decltype(std::declval<EnumDescriptorProto>()._has_bits_);
set_has_name(HasBits * has_bits)4853   static void set_has_name(HasBits* has_bits) {
4854     (*has_bits)[0] |= 1u;
4855   }
4856   static const PROTOBUF_NAMESPACE_ID::EnumOptions& options(const EnumDescriptorProto* msg);
set_has_options(HasBits * has_bits)4857   static void set_has_options(HasBits* has_bits) {
4858     (*has_bits)[0] |= 2u;
4859   }
4860 };
4861 
4862 const PROTOBUF_NAMESPACE_ID::EnumOptions&
options(const EnumDescriptorProto * msg)4863 EnumDescriptorProto::_Internal::options(const EnumDescriptorProto* msg) {
4864   return *msg->options_;
4865 }
unsafe_arena_set_allocated_options(PROTOBUF_NAMESPACE_ID::EnumOptions * options)4866 void EnumDescriptorProto::unsafe_arena_set_allocated_options(
4867     PROTOBUF_NAMESPACE_ID::EnumOptions* options) {
4868   if (GetArenaNoVirtual() == nullptr) {
4869     delete options_;
4870   }
4871   options_ = options;
4872   if (options) {
4873     _has_bits_[0] |= 0x00000002u;
4874   } else {
4875     _has_bits_[0] &= ~0x00000002u;
4876   }
4877   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumDescriptorProto.options)
4878 }
EnumDescriptorProto()4879 EnumDescriptorProto::EnumDescriptorProto()
4880   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
4881   SharedCtor();
4882   // @@protoc_insertion_point(constructor:google.protobuf.EnumDescriptorProto)
4883 }
EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena)4884 EnumDescriptorProto::EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena)
4885   : ::PROTOBUF_NAMESPACE_ID::Message(),
4886   _internal_metadata_(arena),
4887   value_(arena),
4888   reserved_range_(arena),
4889   reserved_name_(arena) {
4890   SharedCtor();
4891   RegisterArenaDtor(arena);
4892   // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumDescriptorProto)
4893 }
EnumDescriptorProto(const EnumDescriptorProto & from)4894 EnumDescriptorProto::EnumDescriptorProto(const EnumDescriptorProto& from)
4895   : ::PROTOBUF_NAMESPACE_ID::Message(),
4896       _internal_metadata_(nullptr),
4897       _has_bits_(from._has_bits_),
4898       value_(from.value_),
4899       reserved_range_(from.reserved_range_),
4900       reserved_name_(from.reserved_name_) {
4901   _internal_metadata_.MergeFrom(from._internal_metadata_);
4902   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
4903   if (from._internal_has_name()) {
4904     name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
4905       GetArenaNoVirtual());
4906   }
4907   if (from._internal_has_options()) {
4908     options_ = new PROTOBUF_NAMESPACE_ID::EnumOptions(*from.options_);
4909   } else {
4910     options_ = nullptr;
4911   }
4912   // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumDescriptorProto)
4913 }
4914 
SharedCtor()4915 void EnumDescriptorProto::SharedCtor() {
4916   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EnumDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
4917   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
4918   options_ = nullptr;
4919 }
4920 
~EnumDescriptorProto()4921 EnumDescriptorProto::~EnumDescriptorProto() {
4922   // @@protoc_insertion_point(destructor:google.protobuf.EnumDescriptorProto)
4923   SharedDtor();
4924 }
4925 
SharedDtor()4926 void EnumDescriptorProto::SharedDtor() {
4927   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
4928   name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
4929   if (this != internal_default_instance()) delete options_;
4930 }
4931 
ArenaDtor(void * object)4932 void EnumDescriptorProto::ArenaDtor(void* object) {
4933   EnumDescriptorProto* _this = reinterpret_cast< EnumDescriptorProto* >(object);
4934   (void)_this;
4935 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)4936 void EnumDescriptorProto::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
4937 }
SetCachedSize(int size) const4938 void EnumDescriptorProto::SetCachedSize(int size) const {
4939   _cached_size_.Set(size);
4940 }
default_instance()4941 const EnumDescriptorProto& EnumDescriptorProto::default_instance() {
4942   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EnumDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
4943   return *internal_default_instance();
4944 }
4945 
4946 
Clear()4947 void EnumDescriptorProto::Clear() {
4948 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumDescriptorProto)
4949   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
4950   // Prevent compiler warnings about cached_has_bits being unused
4951   (void) cached_has_bits;
4952 
4953   value_.Clear();
4954   reserved_range_.Clear();
4955   reserved_name_.Clear();
4956   cached_has_bits = _has_bits_[0];
4957   if (cached_has_bits & 0x00000003u) {
4958     if (cached_has_bits & 0x00000001u) {
4959       name_.ClearNonDefaultToEmpty();
4960     }
4961     if (cached_has_bits & 0x00000002u) {
4962       GOOGLE_DCHECK(options_ != nullptr);
4963       options_->Clear();
4964     }
4965   }
4966   _has_bits_.Clear();
4967   _internal_metadata_.Clear();
4968 }
4969 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)4970 const char* EnumDescriptorProto::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
4971 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4972   _Internal::HasBits has_bits{};
4973   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
4974   while (!ctx->Done(&ptr)) {
4975     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
4976     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
4977     CHK_(ptr);
4978     switch (tag >> 3) {
4979       // optional string name = 1;
4980       case 1:
4981         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
4982           auto str = _internal_mutable_name();
4983           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
4984           #ifndef NDEBUG
4985           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.EnumDescriptorProto.name");
4986           #endif  // !NDEBUG
4987           CHK_(ptr);
4988         } else goto handle_unusual;
4989         continue;
4990       // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
4991       case 2:
4992         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
4993           ptr -= 1;
4994           do {
4995             ptr += 1;
4996             ptr = ctx->ParseMessage(_internal_add_value(), ptr);
4997             CHK_(ptr);
4998             if (!ctx->DataAvailable(ptr)) break;
4999           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
5000         } else goto handle_unusual;
5001         continue;
5002       // optional .google.protobuf.EnumOptions options = 3;
5003       case 3:
5004         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
5005           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
5006           CHK_(ptr);
5007         } else goto handle_unusual;
5008         continue;
5009       // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
5010       case 4:
5011         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
5012           ptr -= 1;
5013           do {
5014             ptr += 1;
5015             ptr = ctx->ParseMessage(_internal_add_reserved_range(), ptr);
5016             CHK_(ptr);
5017             if (!ctx->DataAvailable(ptr)) break;
5018           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr));
5019         } else goto handle_unusual;
5020         continue;
5021       // repeated string reserved_name = 5;
5022       case 5:
5023         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
5024           ptr -= 1;
5025           do {
5026             ptr += 1;
5027             auto str = _internal_add_reserved_name();
5028             ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
5029             #ifndef NDEBUG
5030             ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.EnumDescriptorProto.reserved_name");
5031             #endif  // !NDEBUG
5032             CHK_(ptr);
5033             if (!ctx->DataAvailable(ptr)) break;
5034           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr));
5035         } else goto handle_unusual;
5036         continue;
5037       default: {
5038       handle_unusual:
5039         if ((tag & 7) == 4 || tag == 0) {
5040           ctx->SetLastTag(tag);
5041           goto success;
5042         }
5043         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
5044         CHK_(ptr != nullptr);
5045         continue;
5046       }
5047     }  // switch
5048   }  // while
5049 success:
5050   _has_bits_.Or(has_bits);
5051   return ptr;
5052 failure:
5053   ptr = nullptr;
5054   goto success;
5055 #undef CHK_
5056 }
5057 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const5058 ::PROTOBUF_NAMESPACE_ID::uint8* EnumDescriptorProto::_InternalSerialize(
5059     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5060   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumDescriptorProto)
5061   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
5062   (void) cached_has_bits;
5063 
5064   cached_has_bits = _has_bits_[0];
5065   // optional string name = 1;
5066   if (cached_has_bits & 0x00000001u) {
5067     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5068       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
5069       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5070       "google.protobuf.EnumDescriptorProto.name");
5071     target = stream->WriteStringMaybeAliased(
5072         1, this->_internal_name(), target);
5073   }
5074 
5075   // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
5076   for (unsigned int i = 0,
5077       n = static_cast<unsigned int>(this->_internal_value_size()); i < n; i++) {
5078     target = stream->EnsureSpace(target);
5079     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5080       InternalWriteMessage(2, this->_internal_value(i), target, stream);
5081   }
5082 
5083   // optional .google.protobuf.EnumOptions options = 3;
5084   if (cached_has_bits & 0x00000002u) {
5085     target = stream->EnsureSpace(target);
5086     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5087       InternalWriteMessage(
5088         3, _Internal::options(this), target, stream);
5089   }
5090 
5091   // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
5092   for (unsigned int i = 0,
5093       n = static_cast<unsigned int>(this->_internal_reserved_range_size()); i < n; i++) {
5094     target = stream->EnsureSpace(target);
5095     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5096       InternalWriteMessage(4, this->_internal_reserved_range(i), target, stream);
5097   }
5098 
5099   // repeated string reserved_name = 5;
5100   for (int i = 0, n = this->_internal_reserved_name_size(); i < n; i++) {
5101     const auto& s = this->_internal_reserved_name(i);
5102     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5103       s.data(), static_cast<int>(s.length()),
5104       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5105       "google.protobuf.EnumDescriptorProto.reserved_name");
5106     target = stream->WriteString(5, s, target);
5107   }
5108 
5109   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5110     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
5111         _internal_metadata_.unknown_fields(), target, stream);
5112   }
5113   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumDescriptorProto)
5114   return target;
5115 }
5116 
ByteSizeLong() const5117 size_t EnumDescriptorProto::ByteSizeLong() const {
5118 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumDescriptorProto)
5119   size_t total_size = 0;
5120 
5121   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
5122   // Prevent compiler warnings about cached_has_bits being unused
5123   (void) cached_has_bits;
5124 
5125   // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
5126   total_size += 1UL * this->_internal_value_size();
5127   for (const auto& msg : this->value_) {
5128     total_size +=
5129       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
5130   }
5131 
5132   // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
5133   total_size += 1UL * this->_internal_reserved_range_size();
5134   for (const auto& msg : this->reserved_range_) {
5135     total_size +=
5136       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
5137   }
5138 
5139   // repeated string reserved_name = 5;
5140   total_size += 1 *
5141       ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(reserved_name_.size());
5142   for (int i = 0, n = reserved_name_.size(); i < n; i++) {
5143     total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5144       reserved_name_.Get(i));
5145   }
5146 
5147   cached_has_bits = _has_bits_[0];
5148   if (cached_has_bits & 0x00000003u) {
5149     // optional string name = 1;
5150     if (cached_has_bits & 0x00000001u) {
5151       total_size += 1 +
5152         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5153           this->_internal_name());
5154     }
5155 
5156     // optional .google.protobuf.EnumOptions options = 3;
5157     if (cached_has_bits & 0x00000002u) {
5158       total_size += 1 +
5159         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
5160           *options_);
5161     }
5162 
5163   }
5164   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5165     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
5166         _internal_metadata_, total_size, &_cached_size_);
5167   }
5168   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
5169   SetCachedSize(cached_size);
5170   return total_size;
5171 }
5172 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)5173 void EnumDescriptorProto::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
5174 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumDescriptorProto)
5175   GOOGLE_DCHECK_NE(&from, this);
5176   const EnumDescriptorProto* source =
5177       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EnumDescriptorProto>(
5178           &from);
5179   if (source == nullptr) {
5180   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumDescriptorProto)
5181     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
5182   } else {
5183   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumDescriptorProto)
5184     MergeFrom(*source);
5185   }
5186 }
5187 
MergeFrom(const EnumDescriptorProto & from)5188 void EnumDescriptorProto::MergeFrom(const EnumDescriptorProto& from) {
5189 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumDescriptorProto)
5190   GOOGLE_DCHECK_NE(&from, this);
5191   _internal_metadata_.MergeFrom(from._internal_metadata_);
5192   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
5193   (void) cached_has_bits;
5194 
5195   value_.MergeFrom(from.value_);
5196   reserved_range_.MergeFrom(from.reserved_range_);
5197   reserved_name_.MergeFrom(from.reserved_name_);
5198   cached_has_bits = from._has_bits_[0];
5199   if (cached_has_bits & 0x00000003u) {
5200     if (cached_has_bits & 0x00000001u) {
5201       _internal_set_name(from._internal_name());
5202     }
5203     if (cached_has_bits & 0x00000002u) {
5204       _internal_mutable_options()->PROTOBUF_NAMESPACE_ID::EnumOptions::MergeFrom(from._internal_options());
5205     }
5206   }
5207 }
5208 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)5209 void EnumDescriptorProto::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
5210 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumDescriptorProto)
5211   if (&from == this) return;
5212   Clear();
5213   MergeFrom(from);
5214 }
5215 
CopyFrom(const EnumDescriptorProto & from)5216 void EnumDescriptorProto::CopyFrom(const EnumDescriptorProto& from) {
5217 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumDescriptorProto)
5218   if (&from == this) return;
5219   Clear();
5220   MergeFrom(from);
5221 }
5222 
IsInitialized() const5223 bool EnumDescriptorProto::IsInitialized() const {
5224   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(value_)) return false;
5225   if (_internal_has_options()) {
5226     if (!options_->IsInitialized()) return false;
5227   }
5228   return true;
5229 }
5230 
InternalSwap(EnumDescriptorProto * other)5231 void EnumDescriptorProto::InternalSwap(EnumDescriptorProto* other) {
5232   using std::swap;
5233   _internal_metadata_.Swap(&other->_internal_metadata_);
5234   swap(_has_bits_[0], other->_has_bits_[0]);
5235   value_.InternalSwap(&other->value_);
5236   reserved_range_.InternalSwap(&other->reserved_range_);
5237   reserved_name_.InternalSwap(&other->reserved_name_);
5238   name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
5239     GetArenaNoVirtual());
5240   swap(options_, other->options_);
5241 }
5242 
GetMetadata() const5243 ::PROTOBUF_NAMESPACE_ID::Metadata EnumDescriptorProto::GetMetadata() const {
5244   return GetMetadataStatic();
5245 }
5246 
5247 
5248 // ===================================================================
5249 
InitAsDefaultInstance()5250 void EnumValueDescriptorProto::InitAsDefaultInstance() {
5251   PROTOBUF_NAMESPACE_ID::_EnumValueDescriptorProto_default_instance_._instance.get_mutable()->options_ = const_cast< PROTOBUF_NAMESPACE_ID::EnumValueOptions*>(
5252       PROTOBUF_NAMESPACE_ID::EnumValueOptions::internal_default_instance());
5253 }
5254 class EnumValueDescriptorProto::_Internal {
5255  public:
5256   using HasBits = decltype(std::declval<EnumValueDescriptorProto>()._has_bits_);
set_has_name(HasBits * has_bits)5257   static void set_has_name(HasBits* has_bits) {
5258     (*has_bits)[0] |= 1u;
5259   }
set_has_number(HasBits * has_bits)5260   static void set_has_number(HasBits* has_bits) {
5261     (*has_bits)[0] |= 4u;
5262   }
5263   static const PROTOBUF_NAMESPACE_ID::EnumValueOptions& options(const EnumValueDescriptorProto* msg);
set_has_options(HasBits * has_bits)5264   static void set_has_options(HasBits* has_bits) {
5265     (*has_bits)[0] |= 2u;
5266   }
5267 };
5268 
5269 const PROTOBUF_NAMESPACE_ID::EnumValueOptions&
options(const EnumValueDescriptorProto * msg)5270 EnumValueDescriptorProto::_Internal::options(const EnumValueDescriptorProto* msg) {
5271   return *msg->options_;
5272 }
unsafe_arena_set_allocated_options(PROTOBUF_NAMESPACE_ID::EnumValueOptions * options)5273 void EnumValueDescriptorProto::unsafe_arena_set_allocated_options(
5274     PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) {
5275   if (GetArenaNoVirtual() == nullptr) {
5276     delete options_;
5277   }
5278   options_ = options;
5279   if (options) {
5280     _has_bits_[0] |= 0x00000002u;
5281   } else {
5282     _has_bits_[0] &= ~0x00000002u;
5283   }
5284   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueDescriptorProto.options)
5285 }
EnumValueDescriptorProto()5286 EnumValueDescriptorProto::EnumValueDescriptorProto()
5287   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
5288   SharedCtor();
5289   // @@protoc_insertion_point(constructor:google.protobuf.EnumValueDescriptorProto)
5290 }
EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena)5291 EnumValueDescriptorProto::EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena)
5292   : ::PROTOBUF_NAMESPACE_ID::Message(),
5293   _internal_metadata_(arena) {
5294   SharedCtor();
5295   RegisterArenaDtor(arena);
5296   // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumValueDescriptorProto)
5297 }
EnumValueDescriptorProto(const EnumValueDescriptorProto & from)5298 EnumValueDescriptorProto::EnumValueDescriptorProto(const EnumValueDescriptorProto& from)
5299   : ::PROTOBUF_NAMESPACE_ID::Message(),
5300       _internal_metadata_(nullptr),
5301       _has_bits_(from._has_bits_) {
5302   _internal_metadata_.MergeFrom(from._internal_metadata_);
5303   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
5304   if (from._internal_has_name()) {
5305     name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
5306       GetArenaNoVirtual());
5307   }
5308   if (from._internal_has_options()) {
5309     options_ = new PROTOBUF_NAMESPACE_ID::EnumValueOptions(*from.options_);
5310   } else {
5311     options_ = nullptr;
5312   }
5313   number_ = from.number_;
5314   // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumValueDescriptorProto)
5315 }
5316 
SharedCtor()5317 void EnumValueDescriptorProto::SharedCtor() {
5318   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EnumValueDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
5319   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
5320   ::memset(&options_, 0, static_cast<size_t>(
5321       reinterpret_cast<char*>(&number_) -
5322       reinterpret_cast<char*>(&options_)) + sizeof(number_));
5323 }
5324 
~EnumValueDescriptorProto()5325 EnumValueDescriptorProto::~EnumValueDescriptorProto() {
5326   // @@protoc_insertion_point(destructor:google.protobuf.EnumValueDescriptorProto)
5327   SharedDtor();
5328 }
5329 
SharedDtor()5330 void EnumValueDescriptorProto::SharedDtor() {
5331   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
5332   name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
5333   if (this != internal_default_instance()) delete options_;
5334 }
5335 
ArenaDtor(void * object)5336 void EnumValueDescriptorProto::ArenaDtor(void* object) {
5337   EnumValueDescriptorProto* _this = reinterpret_cast< EnumValueDescriptorProto* >(object);
5338   (void)_this;
5339 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)5340 void EnumValueDescriptorProto::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
5341 }
SetCachedSize(int size) const5342 void EnumValueDescriptorProto::SetCachedSize(int size) const {
5343   _cached_size_.Set(size);
5344 }
default_instance()5345 const EnumValueDescriptorProto& EnumValueDescriptorProto::default_instance() {
5346   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EnumValueDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
5347   return *internal_default_instance();
5348 }
5349 
5350 
Clear()5351 void EnumValueDescriptorProto::Clear() {
5352 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumValueDescriptorProto)
5353   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
5354   // Prevent compiler warnings about cached_has_bits being unused
5355   (void) cached_has_bits;
5356 
5357   cached_has_bits = _has_bits_[0];
5358   if (cached_has_bits & 0x00000003u) {
5359     if (cached_has_bits & 0x00000001u) {
5360       name_.ClearNonDefaultToEmpty();
5361     }
5362     if (cached_has_bits & 0x00000002u) {
5363       GOOGLE_DCHECK(options_ != nullptr);
5364       options_->Clear();
5365     }
5366   }
5367   number_ = 0;
5368   _has_bits_.Clear();
5369   _internal_metadata_.Clear();
5370 }
5371 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)5372 const char* EnumValueDescriptorProto::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
5373 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5374   _Internal::HasBits has_bits{};
5375   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
5376   while (!ctx->Done(&ptr)) {
5377     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
5378     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
5379     CHK_(ptr);
5380     switch (tag >> 3) {
5381       // optional string name = 1;
5382       case 1:
5383         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
5384           auto str = _internal_mutable_name();
5385           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
5386           #ifndef NDEBUG
5387           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.EnumValueDescriptorProto.name");
5388           #endif  // !NDEBUG
5389           CHK_(ptr);
5390         } else goto handle_unusual;
5391         continue;
5392       // optional int32 number = 2;
5393       case 2:
5394         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
5395           _Internal::set_has_number(&has_bits);
5396           number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
5397           CHK_(ptr);
5398         } else goto handle_unusual;
5399         continue;
5400       // optional .google.protobuf.EnumValueOptions options = 3;
5401       case 3:
5402         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
5403           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
5404           CHK_(ptr);
5405         } else goto handle_unusual;
5406         continue;
5407       default: {
5408       handle_unusual:
5409         if ((tag & 7) == 4 || tag == 0) {
5410           ctx->SetLastTag(tag);
5411           goto success;
5412         }
5413         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
5414         CHK_(ptr != nullptr);
5415         continue;
5416       }
5417     }  // switch
5418   }  // while
5419 success:
5420   _has_bits_.Or(has_bits);
5421   return ptr;
5422 failure:
5423   ptr = nullptr;
5424   goto success;
5425 #undef CHK_
5426 }
5427 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const5428 ::PROTOBUF_NAMESPACE_ID::uint8* EnumValueDescriptorProto::_InternalSerialize(
5429     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5430   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValueDescriptorProto)
5431   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
5432   (void) cached_has_bits;
5433 
5434   cached_has_bits = _has_bits_[0];
5435   // optional string name = 1;
5436   if (cached_has_bits & 0x00000001u) {
5437     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5438       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
5439       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5440       "google.protobuf.EnumValueDescriptorProto.name");
5441     target = stream->WriteStringMaybeAliased(
5442         1, this->_internal_name(), target);
5443   }
5444 
5445   // optional int32 number = 2;
5446   if (cached_has_bits & 0x00000004u) {
5447     target = stream->EnsureSpace(target);
5448     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_number(), target);
5449   }
5450 
5451   // optional .google.protobuf.EnumValueOptions options = 3;
5452   if (cached_has_bits & 0x00000002u) {
5453     target = stream->EnsureSpace(target);
5454     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5455       InternalWriteMessage(
5456         3, _Internal::options(this), target, stream);
5457   }
5458 
5459   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5460     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
5461         _internal_metadata_.unknown_fields(), target, stream);
5462   }
5463   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumValueDescriptorProto)
5464   return target;
5465 }
5466 
ByteSizeLong() const5467 size_t EnumValueDescriptorProto::ByteSizeLong() const {
5468 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValueDescriptorProto)
5469   size_t total_size = 0;
5470 
5471   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
5472   // Prevent compiler warnings about cached_has_bits being unused
5473   (void) cached_has_bits;
5474 
5475   cached_has_bits = _has_bits_[0];
5476   if (cached_has_bits & 0x00000007u) {
5477     // optional string name = 1;
5478     if (cached_has_bits & 0x00000001u) {
5479       total_size += 1 +
5480         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5481           this->_internal_name());
5482     }
5483 
5484     // optional .google.protobuf.EnumValueOptions options = 3;
5485     if (cached_has_bits & 0x00000002u) {
5486       total_size += 1 +
5487         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
5488           *options_);
5489     }
5490 
5491     // optional int32 number = 2;
5492     if (cached_has_bits & 0x00000004u) {
5493       total_size += 1 +
5494         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
5495           this->_internal_number());
5496     }
5497 
5498   }
5499   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5500     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
5501         _internal_metadata_, total_size, &_cached_size_);
5502   }
5503   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
5504   SetCachedSize(cached_size);
5505   return total_size;
5506 }
5507 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)5508 void EnumValueDescriptorProto::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
5509 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumValueDescriptorProto)
5510   GOOGLE_DCHECK_NE(&from, this);
5511   const EnumValueDescriptorProto* source =
5512       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EnumValueDescriptorProto>(
5513           &from);
5514   if (source == nullptr) {
5515   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumValueDescriptorProto)
5516     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
5517   } else {
5518   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumValueDescriptorProto)
5519     MergeFrom(*source);
5520   }
5521 }
5522 
MergeFrom(const EnumValueDescriptorProto & from)5523 void EnumValueDescriptorProto::MergeFrom(const EnumValueDescriptorProto& from) {
5524 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumValueDescriptorProto)
5525   GOOGLE_DCHECK_NE(&from, this);
5526   _internal_metadata_.MergeFrom(from._internal_metadata_);
5527   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
5528   (void) cached_has_bits;
5529 
5530   cached_has_bits = from._has_bits_[0];
5531   if (cached_has_bits & 0x00000007u) {
5532     if (cached_has_bits & 0x00000001u) {
5533       _internal_set_name(from._internal_name());
5534     }
5535     if (cached_has_bits & 0x00000002u) {
5536       _internal_mutable_options()->PROTOBUF_NAMESPACE_ID::EnumValueOptions::MergeFrom(from._internal_options());
5537     }
5538     if (cached_has_bits & 0x00000004u) {
5539       number_ = from.number_;
5540     }
5541     _has_bits_[0] |= cached_has_bits;
5542   }
5543 }
5544 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)5545 void EnumValueDescriptorProto::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
5546 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumValueDescriptorProto)
5547   if (&from == this) return;
5548   Clear();
5549   MergeFrom(from);
5550 }
5551 
CopyFrom(const EnumValueDescriptorProto & from)5552 void EnumValueDescriptorProto::CopyFrom(const EnumValueDescriptorProto& from) {
5553 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumValueDescriptorProto)
5554   if (&from == this) return;
5555   Clear();
5556   MergeFrom(from);
5557 }
5558 
IsInitialized() const5559 bool EnumValueDescriptorProto::IsInitialized() const {
5560   if (_internal_has_options()) {
5561     if (!options_->IsInitialized()) return false;
5562   }
5563   return true;
5564 }
5565 
InternalSwap(EnumValueDescriptorProto * other)5566 void EnumValueDescriptorProto::InternalSwap(EnumValueDescriptorProto* other) {
5567   using std::swap;
5568   _internal_metadata_.Swap(&other->_internal_metadata_);
5569   swap(_has_bits_[0], other->_has_bits_[0]);
5570   name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
5571     GetArenaNoVirtual());
5572   swap(options_, other->options_);
5573   swap(number_, other->number_);
5574 }
5575 
GetMetadata() const5576 ::PROTOBUF_NAMESPACE_ID::Metadata EnumValueDescriptorProto::GetMetadata() const {
5577   return GetMetadataStatic();
5578 }
5579 
5580 
5581 // ===================================================================
5582 
InitAsDefaultInstance()5583 void ServiceDescriptorProto::InitAsDefaultInstance() {
5584   PROTOBUF_NAMESPACE_ID::_ServiceDescriptorProto_default_instance_._instance.get_mutable()->options_ = const_cast< PROTOBUF_NAMESPACE_ID::ServiceOptions*>(
5585       PROTOBUF_NAMESPACE_ID::ServiceOptions::internal_default_instance());
5586 }
5587 class ServiceDescriptorProto::_Internal {
5588  public:
5589   using HasBits = decltype(std::declval<ServiceDescriptorProto>()._has_bits_);
set_has_name(HasBits * has_bits)5590   static void set_has_name(HasBits* has_bits) {
5591     (*has_bits)[0] |= 1u;
5592   }
5593   static const PROTOBUF_NAMESPACE_ID::ServiceOptions& options(const ServiceDescriptorProto* msg);
set_has_options(HasBits * has_bits)5594   static void set_has_options(HasBits* has_bits) {
5595     (*has_bits)[0] |= 2u;
5596   }
5597 };
5598 
5599 const PROTOBUF_NAMESPACE_ID::ServiceOptions&
options(const ServiceDescriptorProto * msg)5600 ServiceDescriptorProto::_Internal::options(const ServiceDescriptorProto* msg) {
5601   return *msg->options_;
5602 }
unsafe_arena_set_allocated_options(PROTOBUF_NAMESPACE_ID::ServiceOptions * options)5603 void ServiceDescriptorProto::unsafe_arena_set_allocated_options(
5604     PROTOBUF_NAMESPACE_ID::ServiceOptions* options) {
5605   if (GetArenaNoVirtual() == nullptr) {
5606     delete options_;
5607   }
5608   options_ = options;
5609   if (options) {
5610     _has_bits_[0] |= 0x00000002u;
5611   } else {
5612     _has_bits_[0] &= ~0x00000002u;
5613   }
5614   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ServiceDescriptorProto.options)
5615 }
ServiceDescriptorProto()5616 ServiceDescriptorProto::ServiceDescriptorProto()
5617   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
5618   SharedCtor();
5619   // @@protoc_insertion_point(constructor:google.protobuf.ServiceDescriptorProto)
5620 }
ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena)5621 ServiceDescriptorProto::ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena)
5622   : ::PROTOBUF_NAMESPACE_ID::Message(),
5623   _internal_metadata_(arena),
5624   method_(arena) {
5625   SharedCtor();
5626   RegisterArenaDtor(arena);
5627   // @@protoc_insertion_point(arena_constructor:google.protobuf.ServiceDescriptorProto)
5628 }
ServiceDescriptorProto(const ServiceDescriptorProto & from)5629 ServiceDescriptorProto::ServiceDescriptorProto(const ServiceDescriptorProto& from)
5630   : ::PROTOBUF_NAMESPACE_ID::Message(),
5631       _internal_metadata_(nullptr),
5632       _has_bits_(from._has_bits_),
5633       method_(from.method_) {
5634   _internal_metadata_.MergeFrom(from._internal_metadata_);
5635   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
5636   if (from._internal_has_name()) {
5637     name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
5638       GetArenaNoVirtual());
5639   }
5640   if (from._internal_has_options()) {
5641     options_ = new PROTOBUF_NAMESPACE_ID::ServiceOptions(*from.options_);
5642   } else {
5643     options_ = nullptr;
5644   }
5645   // @@protoc_insertion_point(copy_constructor:google.protobuf.ServiceDescriptorProto)
5646 }
5647 
SharedCtor()5648 void ServiceDescriptorProto::SharedCtor() {
5649   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ServiceDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
5650   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
5651   options_ = nullptr;
5652 }
5653 
~ServiceDescriptorProto()5654 ServiceDescriptorProto::~ServiceDescriptorProto() {
5655   // @@protoc_insertion_point(destructor:google.protobuf.ServiceDescriptorProto)
5656   SharedDtor();
5657 }
5658 
SharedDtor()5659 void ServiceDescriptorProto::SharedDtor() {
5660   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
5661   name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
5662   if (this != internal_default_instance()) delete options_;
5663 }
5664 
ArenaDtor(void * object)5665 void ServiceDescriptorProto::ArenaDtor(void* object) {
5666   ServiceDescriptorProto* _this = reinterpret_cast< ServiceDescriptorProto* >(object);
5667   (void)_this;
5668 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)5669 void ServiceDescriptorProto::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
5670 }
SetCachedSize(int size) const5671 void ServiceDescriptorProto::SetCachedSize(int size) const {
5672   _cached_size_.Set(size);
5673 }
default_instance()5674 const ServiceDescriptorProto& ServiceDescriptorProto::default_instance() {
5675   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ServiceDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
5676   return *internal_default_instance();
5677 }
5678 
5679 
Clear()5680 void ServiceDescriptorProto::Clear() {
5681 // @@protoc_insertion_point(message_clear_start:google.protobuf.ServiceDescriptorProto)
5682   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
5683   // Prevent compiler warnings about cached_has_bits being unused
5684   (void) cached_has_bits;
5685 
5686   method_.Clear();
5687   cached_has_bits = _has_bits_[0];
5688   if (cached_has_bits & 0x00000003u) {
5689     if (cached_has_bits & 0x00000001u) {
5690       name_.ClearNonDefaultToEmpty();
5691     }
5692     if (cached_has_bits & 0x00000002u) {
5693       GOOGLE_DCHECK(options_ != nullptr);
5694       options_->Clear();
5695     }
5696   }
5697   _has_bits_.Clear();
5698   _internal_metadata_.Clear();
5699 }
5700 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)5701 const char* ServiceDescriptorProto::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
5702 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5703   _Internal::HasBits has_bits{};
5704   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
5705   while (!ctx->Done(&ptr)) {
5706     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
5707     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
5708     CHK_(ptr);
5709     switch (tag >> 3) {
5710       // optional string name = 1;
5711       case 1:
5712         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
5713           auto str = _internal_mutable_name();
5714           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
5715           #ifndef NDEBUG
5716           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.ServiceDescriptorProto.name");
5717           #endif  // !NDEBUG
5718           CHK_(ptr);
5719         } else goto handle_unusual;
5720         continue;
5721       // repeated .google.protobuf.MethodDescriptorProto method = 2;
5722       case 2:
5723         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
5724           ptr -= 1;
5725           do {
5726             ptr += 1;
5727             ptr = ctx->ParseMessage(_internal_add_method(), ptr);
5728             CHK_(ptr);
5729             if (!ctx->DataAvailable(ptr)) break;
5730           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
5731         } else goto handle_unusual;
5732         continue;
5733       // optional .google.protobuf.ServiceOptions options = 3;
5734       case 3:
5735         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
5736           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
5737           CHK_(ptr);
5738         } else goto handle_unusual;
5739         continue;
5740       default: {
5741       handle_unusual:
5742         if ((tag & 7) == 4 || tag == 0) {
5743           ctx->SetLastTag(tag);
5744           goto success;
5745         }
5746         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
5747         CHK_(ptr != nullptr);
5748         continue;
5749       }
5750     }  // switch
5751   }  // while
5752 success:
5753   _has_bits_.Or(has_bits);
5754   return ptr;
5755 failure:
5756   ptr = nullptr;
5757   goto success;
5758 #undef CHK_
5759 }
5760 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const5761 ::PROTOBUF_NAMESPACE_ID::uint8* ServiceDescriptorProto::_InternalSerialize(
5762     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5763   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ServiceDescriptorProto)
5764   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
5765   (void) cached_has_bits;
5766 
5767   cached_has_bits = _has_bits_[0];
5768   // optional string name = 1;
5769   if (cached_has_bits & 0x00000001u) {
5770     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5771       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
5772       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5773       "google.protobuf.ServiceDescriptorProto.name");
5774     target = stream->WriteStringMaybeAliased(
5775         1, this->_internal_name(), target);
5776   }
5777 
5778   // repeated .google.protobuf.MethodDescriptorProto method = 2;
5779   for (unsigned int i = 0,
5780       n = static_cast<unsigned int>(this->_internal_method_size()); i < n; i++) {
5781     target = stream->EnsureSpace(target);
5782     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5783       InternalWriteMessage(2, this->_internal_method(i), target, stream);
5784   }
5785 
5786   // optional .google.protobuf.ServiceOptions options = 3;
5787   if (cached_has_bits & 0x00000002u) {
5788     target = stream->EnsureSpace(target);
5789     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5790       InternalWriteMessage(
5791         3, _Internal::options(this), target, stream);
5792   }
5793 
5794   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5795     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
5796         _internal_metadata_.unknown_fields(), target, stream);
5797   }
5798   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ServiceDescriptorProto)
5799   return target;
5800 }
5801 
ByteSizeLong() const5802 size_t ServiceDescriptorProto::ByteSizeLong() const {
5803 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.ServiceDescriptorProto)
5804   size_t total_size = 0;
5805 
5806   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
5807   // Prevent compiler warnings about cached_has_bits being unused
5808   (void) cached_has_bits;
5809 
5810   // repeated .google.protobuf.MethodDescriptorProto method = 2;
5811   total_size += 1UL * this->_internal_method_size();
5812   for (const auto& msg : this->method_) {
5813     total_size +=
5814       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
5815   }
5816 
5817   cached_has_bits = _has_bits_[0];
5818   if (cached_has_bits & 0x00000003u) {
5819     // optional string name = 1;
5820     if (cached_has_bits & 0x00000001u) {
5821       total_size += 1 +
5822         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5823           this->_internal_name());
5824     }
5825 
5826     // optional .google.protobuf.ServiceOptions options = 3;
5827     if (cached_has_bits & 0x00000002u) {
5828       total_size += 1 +
5829         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
5830           *options_);
5831     }
5832 
5833   }
5834   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5835     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
5836         _internal_metadata_, total_size, &_cached_size_);
5837   }
5838   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
5839   SetCachedSize(cached_size);
5840   return total_size;
5841 }
5842 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)5843 void ServiceDescriptorProto::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
5844 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.ServiceDescriptorProto)
5845   GOOGLE_DCHECK_NE(&from, this);
5846   const ServiceDescriptorProto* source =
5847       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ServiceDescriptorProto>(
5848           &from);
5849   if (source == nullptr) {
5850   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.ServiceDescriptorProto)
5851     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
5852   } else {
5853   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.ServiceDescriptorProto)
5854     MergeFrom(*source);
5855   }
5856 }
5857 
MergeFrom(const ServiceDescriptorProto & from)5858 void ServiceDescriptorProto::MergeFrom(const ServiceDescriptorProto& from) {
5859 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ServiceDescriptorProto)
5860   GOOGLE_DCHECK_NE(&from, this);
5861   _internal_metadata_.MergeFrom(from._internal_metadata_);
5862   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
5863   (void) cached_has_bits;
5864 
5865   method_.MergeFrom(from.method_);
5866   cached_has_bits = from._has_bits_[0];
5867   if (cached_has_bits & 0x00000003u) {
5868     if (cached_has_bits & 0x00000001u) {
5869       _internal_set_name(from._internal_name());
5870     }
5871     if (cached_has_bits & 0x00000002u) {
5872       _internal_mutable_options()->PROTOBUF_NAMESPACE_ID::ServiceOptions::MergeFrom(from._internal_options());
5873     }
5874   }
5875 }
5876 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)5877 void ServiceDescriptorProto::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
5878 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.ServiceDescriptorProto)
5879   if (&from == this) return;
5880   Clear();
5881   MergeFrom(from);
5882 }
5883 
CopyFrom(const ServiceDescriptorProto & from)5884 void ServiceDescriptorProto::CopyFrom(const ServiceDescriptorProto& from) {
5885 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ServiceDescriptorProto)
5886   if (&from == this) return;
5887   Clear();
5888   MergeFrom(from);
5889 }
5890 
IsInitialized() const5891 bool ServiceDescriptorProto::IsInitialized() const {
5892   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(method_)) return false;
5893   if (_internal_has_options()) {
5894     if (!options_->IsInitialized()) return false;
5895   }
5896   return true;
5897 }
5898 
InternalSwap(ServiceDescriptorProto * other)5899 void ServiceDescriptorProto::InternalSwap(ServiceDescriptorProto* other) {
5900   using std::swap;
5901   _internal_metadata_.Swap(&other->_internal_metadata_);
5902   swap(_has_bits_[0], other->_has_bits_[0]);
5903   method_.InternalSwap(&other->method_);
5904   name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
5905     GetArenaNoVirtual());
5906   swap(options_, other->options_);
5907 }
5908 
GetMetadata() const5909 ::PROTOBUF_NAMESPACE_ID::Metadata ServiceDescriptorProto::GetMetadata() const {
5910   return GetMetadataStatic();
5911 }
5912 
5913 
5914 // ===================================================================
5915 
InitAsDefaultInstance()5916 void MethodDescriptorProto::InitAsDefaultInstance() {
5917   PROTOBUF_NAMESPACE_ID::_MethodDescriptorProto_default_instance_._instance.get_mutable()->options_ = const_cast< PROTOBUF_NAMESPACE_ID::MethodOptions*>(
5918       PROTOBUF_NAMESPACE_ID::MethodOptions::internal_default_instance());
5919 }
5920 class MethodDescriptorProto::_Internal {
5921  public:
5922   using HasBits = decltype(std::declval<MethodDescriptorProto>()._has_bits_);
set_has_name(HasBits * has_bits)5923   static void set_has_name(HasBits* has_bits) {
5924     (*has_bits)[0] |= 1u;
5925   }
set_has_input_type(HasBits * has_bits)5926   static void set_has_input_type(HasBits* has_bits) {
5927     (*has_bits)[0] |= 2u;
5928   }
set_has_output_type(HasBits * has_bits)5929   static void set_has_output_type(HasBits* has_bits) {
5930     (*has_bits)[0] |= 4u;
5931   }
5932   static const PROTOBUF_NAMESPACE_ID::MethodOptions& options(const MethodDescriptorProto* msg);
set_has_options(HasBits * has_bits)5933   static void set_has_options(HasBits* has_bits) {
5934     (*has_bits)[0] |= 8u;
5935   }
set_has_client_streaming(HasBits * has_bits)5936   static void set_has_client_streaming(HasBits* has_bits) {
5937     (*has_bits)[0] |= 16u;
5938   }
set_has_server_streaming(HasBits * has_bits)5939   static void set_has_server_streaming(HasBits* has_bits) {
5940     (*has_bits)[0] |= 32u;
5941   }
5942 };
5943 
5944 const PROTOBUF_NAMESPACE_ID::MethodOptions&
options(const MethodDescriptorProto * msg)5945 MethodDescriptorProto::_Internal::options(const MethodDescriptorProto* msg) {
5946   return *msg->options_;
5947 }
unsafe_arena_set_allocated_options(PROTOBUF_NAMESPACE_ID::MethodOptions * options)5948 void MethodDescriptorProto::unsafe_arena_set_allocated_options(
5949     PROTOBUF_NAMESPACE_ID::MethodOptions* options) {
5950   if (GetArenaNoVirtual() == nullptr) {
5951     delete options_;
5952   }
5953   options_ = options;
5954   if (options) {
5955     _has_bits_[0] |= 0x00000008u;
5956   } else {
5957     _has_bits_[0] &= ~0x00000008u;
5958   }
5959   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodDescriptorProto.options)
5960 }
MethodDescriptorProto()5961 MethodDescriptorProto::MethodDescriptorProto()
5962   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
5963   SharedCtor();
5964   // @@protoc_insertion_point(constructor:google.protobuf.MethodDescriptorProto)
5965 }
MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena)5966 MethodDescriptorProto::MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena)
5967   : ::PROTOBUF_NAMESPACE_ID::Message(),
5968   _internal_metadata_(arena) {
5969   SharedCtor();
5970   RegisterArenaDtor(arena);
5971   // @@protoc_insertion_point(arena_constructor:google.protobuf.MethodDescriptorProto)
5972 }
MethodDescriptorProto(const MethodDescriptorProto & from)5973 MethodDescriptorProto::MethodDescriptorProto(const MethodDescriptorProto& from)
5974   : ::PROTOBUF_NAMESPACE_ID::Message(),
5975       _internal_metadata_(nullptr),
5976       _has_bits_(from._has_bits_) {
5977   _internal_metadata_.MergeFrom(from._internal_metadata_);
5978   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
5979   if (from._internal_has_name()) {
5980     name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
5981       GetArenaNoVirtual());
5982   }
5983   input_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
5984   if (from._internal_has_input_type()) {
5985     input_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_input_type(),
5986       GetArenaNoVirtual());
5987   }
5988   output_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
5989   if (from._internal_has_output_type()) {
5990     output_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_output_type(),
5991       GetArenaNoVirtual());
5992   }
5993   if (from._internal_has_options()) {
5994     options_ = new PROTOBUF_NAMESPACE_ID::MethodOptions(*from.options_);
5995   } else {
5996     options_ = nullptr;
5997   }
5998   ::memcpy(&client_streaming_, &from.client_streaming_,
5999     static_cast<size_t>(reinterpret_cast<char*>(&server_streaming_) -
6000     reinterpret_cast<char*>(&client_streaming_)) + sizeof(server_streaming_));
6001   // @@protoc_insertion_point(copy_constructor:google.protobuf.MethodDescriptorProto)
6002 }
6003 
SharedCtor()6004 void MethodDescriptorProto::SharedCtor() {
6005   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_MethodDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
6006   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6007   input_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6008   output_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6009   ::memset(&options_, 0, static_cast<size_t>(
6010       reinterpret_cast<char*>(&server_streaming_) -
6011       reinterpret_cast<char*>(&options_)) + sizeof(server_streaming_));
6012 }
6013 
~MethodDescriptorProto()6014 MethodDescriptorProto::~MethodDescriptorProto() {
6015   // @@protoc_insertion_point(destructor:google.protobuf.MethodDescriptorProto)
6016   SharedDtor();
6017 }
6018 
SharedDtor()6019 void MethodDescriptorProto::SharedDtor() {
6020   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
6021   name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6022   input_type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6023   output_type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6024   if (this != internal_default_instance()) delete options_;
6025 }
6026 
ArenaDtor(void * object)6027 void MethodDescriptorProto::ArenaDtor(void* object) {
6028   MethodDescriptorProto* _this = reinterpret_cast< MethodDescriptorProto* >(object);
6029   (void)_this;
6030 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)6031 void MethodDescriptorProto::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
6032 }
SetCachedSize(int size) const6033 void MethodDescriptorProto::SetCachedSize(int size) const {
6034   _cached_size_.Set(size);
6035 }
default_instance()6036 const MethodDescriptorProto& MethodDescriptorProto::default_instance() {
6037   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_MethodDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
6038   return *internal_default_instance();
6039 }
6040 
6041 
Clear()6042 void MethodDescriptorProto::Clear() {
6043 // @@protoc_insertion_point(message_clear_start:google.protobuf.MethodDescriptorProto)
6044   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
6045   // Prevent compiler warnings about cached_has_bits being unused
6046   (void) cached_has_bits;
6047 
6048   cached_has_bits = _has_bits_[0];
6049   if (cached_has_bits & 0x0000000fu) {
6050     if (cached_has_bits & 0x00000001u) {
6051       name_.ClearNonDefaultToEmpty();
6052     }
6053     if (cached_has_bits & 0x00000002u) {
6054       input_type_.ClearNonDefaultToEmpty();
6055     }
6056     if (cached_has_bits & 0x00000004u) {
6057       output_type_.ClearNonDefaultToEmpty();
6058     }
6059     if (cached_has_bits & 0x00000008u) {
6060       GOOGLE_DCHECK(options_ != nullptr);
6061       options_->Clear();
6062     }
6063   }
6064   ::memset(&client_streaming_, 0, static_cast<size_t>(
6065       reinterpret_cast<char*>(&server_streaming_) -
6066       reinterpret_cast<char*>(&client_streaming_)) + sizeof(server_streaming_));
6067   _has_bits_.Clear();
6068   _internal_metadata_.Clear();
6069 }
6070 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)6071 const char* MethodDescriptorProto::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
6072 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6073   _Internal::HasBits has_bits{};
6074   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
6075   while (!ctx->Done(&ptr)) {
6076     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
6077     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
6078     CHK_(ptr);
6079     switch (tag >> 3) {
6080       // optional string name = 1;
6081       case 1:
6082         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
6083           auto str = _internal_mutable_name();
6084           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
6085           #ifndef NDEBUG
6086           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.MethodDescriptorProto.name");
6087           #endif  // !NDEBUG
6088           CHK_(ptr);
6089         } else goto handle_unusual;
6090         continue;
6091       // optional string input_type = 2;
6092       case 2:
6093         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
6094           auto str = _internal_mutable_input_type();
6095           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
6096           #ifndef NDEBUG
6097           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.MethodDescriptorProto.input_type");
6098           #endif  // !NDEBUG
6099           CHK_(ptr);
6100         } else goto handle_unusual;
6101         continue;
6102       // optional string output_type = 3;
6103       case 3:
6104         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
6105           auto str = _internal_mutable_output_type();
6106           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
6107           #ifndef NDEBUG
6108           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.MethodDescriptorProto.output_type");
6109           #endif  // !NDEBUG
6110           CHK_(ptr);
6111         } else goto handle_unusual;
6112         continue;
6113       // optional .google.protobuf.MethodOptions options = 4;
6114       case 4:
6115         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
6116           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
6117           CHK_(ptr);
6118         } else goto handle_unusual;
6119         continue;
6120       // optional bool client_streaming = 5 [default = false];
6121       case 5:
6122         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
6123           _Internal::set_has_client_streaming(&has_bits);
6124           client_streaming_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
6125           CHK_(ptr);
6126         } else goto handle_unusual;
6127         continue;
6128       // optional bool server_streaming = 6 [default = false];
6129       case 6:
6130         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
6131           _Internal::set_has_server_streaming(&has_bits);
6132           server_streaming_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
6133           CHK_(ptr);
6134         } else goto handle_unusual;
6135         continue;
6136       default: {
6137       handle_unusual:
6138         if ((tag & 7) == 4 || tag == 0) {
6139           ctx->SetLastTag(tag);
6140           goto success;
6141         }
6142         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
6143         CHK_(ptr != nullptr);
6144         continue;
6145       }
6146     }  // switch
6147   }  // while
6148 success:
6149   _has_bits_.Or(has_bits);
6150   return ptr;
6151 failure:
6152   ptr = nullptr;
6153   goto success;
6154 #undef CHK_
6155 }
6156 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const6157 ::PROTOBUF_NAMESPACE_ID::uint8* MethodDescriptorProto::_InternalSerialize(
6158     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6159   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MethodDescriptorProto)
6160   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
6161   (void) cached_has_bits;
6162 
6163   cached_has_bits = _has_bits_[0];
6164   // optional string name = 1;
6165   if (cached_has_bits & 0x00000001u) {
6166     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6167       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
6168       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6169       "google.protobuf.MethodDescriptorProto.name");
6170     target = stream->WriteStringMaybeAliased(
6171         1, this->_internal_name(), target);
6172   }
6173 
6174   // optional string input_type = 2;
6175   if (cached_has_bits & 0x00000002u) {
6176     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6177       this->_internal_input_type().data(), static_cast<int>(this->_internal_input_type().length()),
6178       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6179       "google.protobuf.MethodDescriptorProto.input_type");
6180     target = stream->WriteStringMaybeAliased(
6181         2, this->_internal_input_type(), target);
6182   }
6183 
6184   // optional string output_type = 3;
6185   if (cached_has_bits & 0x00000004u) {
6186     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6187       this->_internal_output_type().data(), static_cast<int>(this->_internal_output_type().length()),
6188       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6189       "google.protobuf.MethodDescriptorProto.output_type");
6190     target = stream->WriteStringMaybeAliased(
6191         3, this->_internal_output_type(), target);
6192   }
6193 
6194   // optional .google.protobuf.MethodOptions options = 4;
6195   if (cached_has_bits & 0x00000008u) {
6196     target = stream->EnsureSpace(target);
6197     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
6198       InternalWriteMessage(
6199         4, _Internal::options(this), target, stream);
6200   }
6201 
6202   // optional bool client_streaming = 5 [default = false];
6203   if (cached_has_bits & 0x00000010u) {
6204     target = stream->EnsureSpace(target);
6205     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_client_streaming(), target);
6206   }
6207 
6208   // optional bool server_streaming = 6 [default = false];
6209   if (cached_has_bits & 0x00000020u) {
6210     target = stream->EnsureSpace(target);
6211     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_server_streaming(), target);
6212   }
6213 
6214   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6215     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
6216         _internal_metadata_.unknown_fields(), target, stream);
6217   }
6218   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.MethodDescriptorProto)
6219   return target;
6220 }
6221 
ByteSizeLong() const6222 size_t MethodDescriptorProto::ByteSizeLong() const {
6223 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.MethodDescriptorProto)
6224   size_t total_size = 0;
6225 
6226   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
6227   // Prevent compiler warnings about cached_has_bits being unused
6228   (void) cached_has_bits;
6229 
6230   cached_has_bits = _has_bits_[0];
6231   if (cached_has_bits & 0x0000003fu) {
6232     // optional string name = 1;
6233     if (cached_has_bits & 0x00000001u) {
6234       total_size += 1 +
6235         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6236           this->_internal_name());
6237     }
6238 
6239     // optional string input_type = 2;
6240     if (cached_has_bits & 0x00000002u) {
6241       total_size += 1 +
6242         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6243           this->_internal_input_type());
6244     }
6245 
6246     // optional string output_type = 3;
6247     if (cached_has_bits & 0x00000004u) {
6248       total_size += 1 +
6249         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6250           this->_internal_output_type());
6251     }
6252 
6253     // optional .google.protobuf.MethodOptions options = 4;
6254     if (cached_has_bits & 0x00000008u) {
6255       total_size += 1 +
6256         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
6257           *options_);
6258     }
6259 
6260     // optional bool client_streaming = 5 [default = false];
6261     if (cached_has_bits & 0x00000010u) {
6262       total_size += 1 + 1;
6263     }
6264 
6265     // optional bool server_streaming = 6 [default = false];
6266     if (cached_has_bits & 0x00000020u) {
6267       total_size += 1 + 1;
6268     }
6269 
6270   }
6271   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6272     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
6273         _internal_metadata_, total_size, &_cached_size_);
6274   }
6275   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
6276   SetCachedSize(cached_size);
6277   return total_size;
6278 }
6279 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)6280 void MethodDescriptorProto::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
6281 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.MethodDescriptorProto)
6282   GOOGLE_DCHECK_NE(&from, this);
6283   const MethodDescriptorProto* source =
6284       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<MethodDescriptorProto>(
6285           &from);
6286   if (source == nullptr) {
6287   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.MethodDescriptorProto)
6288     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
6289   } else {
6290   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.MethodDescriptorProto)
6291     MergeFrom(*source);
6292   }
6293 }
6294 
MergeFrom(const MethodDescriptorProto & from)6295 void MethodDescriptorProto::MergeFrom(const MethodDescriptorProto& from) {
6296 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MethodDescriptorProto)
6297   GOOGLE_DCHECK_NE(&from, this);
6298   _internal_metadata_.MergeFrom(from._internal_metadata_);
6299   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
6300   (void) cached_has_bits;
6301 
6302   cached_has_bits = from._has_bits_[0];
6303   if (cached_has_bits & 0x0000003fu) {
6304     if (cached_has_bits & 0x00000001u) {
6305       _internal_set_name(from._internal_name());
6306     }
6307     if (cached_has_bits & 0x00000002u) {
6308       _internal_set_input_type(from._internal_input_type());
6309     }
6310     if (cached_has_bits & 0x00000004u) {
6311       _internal_set_output_type(from._internal_output_type());
6312     }
6313     if (cached_has_bits & 0x00000008u) {
6314       _internal_mutable_options()->PROTOBUF_NAMESPACE_ID::MethodOptions::MergeFrom(from._internal_options());
6315     }
6316     if (cached_has_bits & 0x00000010u) {
6317       client_streaming_ = from.client_streaming_;
6318     }
6319     if (cached_has_bits & 0x00000020u) {
6320       server_streaming_ = from.server_streaming_;
6321     }
6322     _has_bits_[0] |= cached_has_bits;
6323   }
6324 }
6325 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)6326 void MethodDescriptorProto::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
6327 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.MethodDescriptorProto)
6328   if (&from == this) return;
6329   Clear();
6330   MergeFrom(from);
6331 }
6332 
CopyFrom(const MethodDescriptorProto & from)6333 void MethodDescriptorProto::CopyFrom(const MethodDescriptorProto& from) {
6334 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MethodDescriptorProto)
6335   if (&from == this) return;
6336   Clear();
6337   MergeFrom(from);
6338 }
6339 
IsInitialized() const6340 bool MethodDescriptorProto::IsInitialized() const {
6341   if (_internal_has_options()) {
6342     if (!options_->IsInitialized()) return false;
6343   }
6344   return true;
6345 }
6346 
InternalSwap(MethodDescriptorProto * other)6347 void MethodDescriptorProto::InternalSwap(MethodDescriptorProto* other) {
6348   using std::swap;
6349   _internal_metadata_.Swap(&other->_internal_metadata_);
6350   swap(_has_bits_[0], other->_has_bits_[0]);
6351   name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
6352     GetArenaNoVirtual());
6353   input_type_.Swap(&other->input_type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
6354     GetArenaNoVirtual());
6355   output_type_.Swap(&other->output_type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
6356     GetArenaNoVirtual());
6357   swap(options_, other->options_);
6358   swap(client_streaming_, other->client_streaming_);
6359   swap(server_streaming_, other->server_streaming_);
6360 }
6361 
GetMetadata() const6362 ::PROTOBUF_NAMESPACE_ID::Metadata MethodDescriptorProto::GetMetadata() const {
6363   return GetMetadataStatic();
6364 }
6365 
6366 
6367 // ===================================================================
6368 
InitAsDefaultInstance()6369 void FileOptions::InitAsDefaultInstance() {
6370 }
6371 class FileOptions::_Internal {
6372  public:
6373   using HasBits = decltype(std::declval<FileOptions>()._has_bits_);
set_has_java_package(HasBits * has_bits)6374   static void set_has_java_package(HasBits* has_bits) {
6375     (*has_bits)[0] |= 1u;
6376   }
set_has_java_outer_classname(HasBits * has_bits)6377   static void set_has_java_outer_classname(HasBits* has_bits) {
6378     (*has_bits)[0] |= 2u;
6379   }
set_has_java_multiple_files(HasBits * has_bits)6380   static void set_has_java_multiple_files(HasBits* has_bits) {
6381     (*has_bits)[0] |= 1024u;
6382   }
set_has_java_generate_equals_and_hash(HasBits * has_bits)6383   static void set_has_java_generate_equals_and_hash(HasBits* has_bits) {
6384     (*has_bits)[0] |= 2048u;
6385   }
set_has_java_string_check_utf8(HasBits * has_bits)6386   static void set_has_java_string_check_utf8(HasBits* has_bits) {
6387     (*has_bits)[0] |= 4096u;
6388   }
set_has_optimize_for(HasBits * has_bits)6389   static void set_has_optimize_for(HasBits* has_bits) {
6390     (*has_bits)[0] |= 524288u;
6391   }
set_has_go_package(HasBits * has_bits)6392   static void set_has_go_package(HasBits* has_bits) {
6393     (*has_bits)[0] |= 4u;
6394   }
set_has_cc_generic_services(HasBits * has_bits)6395   static void set_has_cc_generic_services(HasBits* has_bits) {
6396     (*has_bits)[0] |= 8192u;
6397   }
set_has_java_generic_services(HasBits * has_bits)6398   static void set_has_java_generic_services(HasBits* has_bits) {
6399     (*has_bits)[0] |= 16384u;
6400   }
set_has_py_generic_services(HasBits * has_bits)6401   static void set_has_py_generic_services(HasBits* has_bits) {
6402     (*has_bits)[0] |= 32768u;
6403   }
set_has_php_generic_services(HasBits * has_bits)6404   static void set_has_php_generic_services(HasBits* has_bits) {
6405     (*has_bits)[0] |= 65536u;
6406   }
set_has_deprecated(HasBits * has_bits)6407   static void set_has_deprecated(HasBits* has_bits) {
6408     (*has_bits)[0] |= 131072u;
6409   }
set_has_cc_enable_arenas(HasBits * has_bits)6410   static void set_has_cc_enable_arenas(HasBits* has_bits) {
6411     (*has_bits)[0] |= 262144u;
6412   }
set_has_objc_class_prefix(HasBits * has_bits)6413   static void set_has_objc_class_prefix(HasBits* has_bits) {
6414     (*has_bits)[0] |= 8u;
6415   }
set_has_csharp_namespace(HasBits * has_bits)6416   static void set_has_csharp_namespace(HasBits* has_bits) {
6417     (*has_bits)[0] |= 16u;
6418   }
set_has_swift_prefix(HasBits * has_bits)6419   static void set_has_swift_prefix(HasBits* has_bits) {
6420     (*has_bits)[0] |= 32u;
6421   }
set_has_php_class_prefix(HasBits * has_bits)6422   static void set_has_php_class_prefix(HasBits* has_bits) {
6423     (*has_bits)[0] |= 64u;
6424   }
set_has_php_namespace(HasBits * has_bits)6425   static void set_has_php_namespace(HasBits* has_bits) {
6426     (*has_bits)[0] |= 128u;
6427   }
set_has_php_metadata_namespace(HasBits * has_bits)6428   static void set_has_php_metadata_namespace(HasBits* has_bits) {
6429     (*has_bits)[0] |= 256u;
6430   }
set_has_ruby_package(HasBits * has_bits)6431   static void set_has_ruby_package(HasBits* has_bits) {
6432     (*has_bits)[0] |= 512u;
6433   }
6434 };
6435 
FileOptions()6436 FileOptions::FileOptions()
6437   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
6438   SharedCtor();
6439   // @@protoc_insertion_point(constructor:google.protobuf.FileOptions)
6440 }
FileOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena)6441 FileOptions::FileOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena)
6442   : ::PROTOBUF_NAMESPACE_ID::Message(),
6443   _extensions_(arena),
6444   _internal_metadata_(arena),
6445   uninterpreted_option_(arena) {
6446   SharedCtor();
6447   RegisterArenaDtor(arena);
6448   // @@protoc_insertion_point(arena_constructor:google.protobuf.FileOptions)
6449 }
FileOptions(const FileOptions & from)6450 FileOptions::FileOptions(const FileOptions& from)
6451   : ::PROTOBUF_NAMESPACE_ID::Message(),
6452       _internal_metadata_(nullptr),
6453       _has_bits_(from._has_bits_),
6454       uninterpreted_option_(from.uninterpreted_option_) {
6455   _internal_metadata_.MergeFrom(from._internal_metadata_);
6456   _extensions_.MergeFrom(from._extensions_);
6457   java_package_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6458   if (from._internal_has_java_package()) {
6459     java_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_java_package(),
6460       GetArenaNoVirtual());
6461   }
6462   java_outer_classname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6463   if (from._internal_has_java_outer_classname()) {
6464     java_outer_classname_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_java_outer_classname(),
6465       GetArenaNoVirtual());
6466   }
6467   go_package_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6468   if (from._internal_has_go_package()) {
6469     go_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_go_package(),
6470       GetArenaNoVirtual());
6471   }
6472   objc_class_prefix_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6473   if (from._internal_has_objc_class_prefix()) {
6474     objc_class_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_objc_class_prefix(),
6475       GetArenaNoVirtual());
6476   }
6477   csharp_namespace_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6478   if (from._internal_has_csharp_namespace()) {
6479     csharp_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_csharp_namespace(),
6480       GetArenaNoVirtual());
6481   }
6482   swift_prefix_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6483   if (from._internal_has_swift_prefix()) {
6484     swift_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_swift_prefix(),
6485       GetArenaNoVirtual());
6486   }
6487   php_class_prefix_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6488   if (from._internal_has_php_class_prefix()) {
6489     php_class_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_php_class_prefix(),
6490       GetArenaNoVirtual());
6491   }
6492   php_namespace_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6493   if (from._internal_has_php_namespace()) {
6494     php_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_php_namespace(),
6495       GetArenaNoVirtual());
6496   }
6497   php_metadata_namespace_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6498   if (from._internal_has_php_metadata_namespace()) {
6499     php_metadata_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_php_metadata_namespace(),
6500       GetArenaNoVirtual());
6501   }
6502   ruby_package_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6503   if (from._internal_has_ruby_package()) {
6504     ruby_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_ruby_package(),
6505       GetArenaNoVirtual());
6506   }
6507   ::memcpy(&java_multiple_files_, &from.java_multiple_files_,
6508     static_cast<size_t>(reinterpret_cast<char*>(&optimize_for_) -
6509     reinterpret_cast<char*>(&java_multiple_files_)) + sizeof(optimize_for_));
6510   // @@protoc_insertion_point(copy_constructor:google.protobuf.FileOptions)
6511 }
6512 
SharedCtor()6513 void FileOptions::SharedCtor() {
6514   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_FileOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
6515   java_package_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6516   java_outer_classname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6517   go_package_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6518   objc_class_prefix_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6519   csharp_namespace_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6520   swift_prefix_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6521   php_class_prefix_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6522   php_namespace_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6523   php_metadata_namespace_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6524   ruby_package_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6525   ::memset(&java_multiple_files_, 0, static_cast<size_t>(
6526       reinterpret_cast<char*>(&cc_enable_arenas_) -
6527       reinterpret_cast<char*>(&java_multiple_files_)) + sizeof(cc_enable_arenas_));
6528   optimize_for_ = 1;
6529 }
6530 
~FileOptions()6531 FileOptions::~FileOptions() {
6532   // @@protoc_insertion_point(destructor:google.protobuf.FileOptions)
6533   SharedDtor();
6534 }
6535 
SharedDtor()6536 void FileOptions::SharedDtor() {
6537   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
6538   java_package_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6539   java_outer_classname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6540   go_package_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6541   objc_class_prefix_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6542   csharp_namespace_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6543   swift_prefix_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6544   php_class_prefix_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6545   php_namespace_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6546   php_metadata_namespace_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6547   ruby_package_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
6548 }
6549 
ArenaDtor(void * object)6550 void FileOptions::ArenaDtor(void* object) {
6551   FileOptions* _this = reinterpret_cast< FileOptions* >(object);
6552   (void)_this;
6553 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)6554 void FileOptions::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
6555 }
SetCachedSize(int size) const6556 void FileOptions::SetCachedSize(int size) const {
6557   _cached_size_.Set(size);
6558 }
default_instance()6559 const FileOptions& FileOptions::default_instance() {
6560   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_FileOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
6561   return *internal_default_instance();
6562 }
6563 
6564 
Clear()6565 void FileOptions::Clear() {
6566 // @@protoc_insertion_point(message_clear_start:google.protobuf.FileOptions)
6567   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
6568   // Prevent compiler warnings about cached_has_bits being unused
6569   (void) cached_has_bits;
6570 
6571   _extensions_.Clear();
6572   uninterpreted_option_.Clear();
6573   cached_has_bits = _has_bits_[0];
6574   if (cached_has_bits & 0x000000ffu) {
6575     if (cached_has_bits & 0x00000001u) {
6576       java_package_.ClearNonDefaultToEmpty();
6577     }
6578     if (cached_has_bits & 0x00000002u) {
6579       java_outer_classname_.ClearNonDefaultToEmpty();
6580     }
6581     if (cached_has_bits & 0x00000004u) {
6582       go_package_.ClearNonDefaultToEmpty();
6583     }
6584     if (cached_has_bits & 0x00000008u) {
6585       objc_class_prefix_.ClearNonDefaultToEmpty();
6586     }
6587     if (cached_has_bits & 0x00000010u) {
6588       csharp_namespace_.ClearNonDefaultToEmpty();
6589     }
6590     if (cached_has_bits & 0x00000020u) {
6591       swift_prefix_.ClearNonDefaultToEmpty();
6592     }
6593     if (cached_has_bits & 0x00000040u) {
6594       php_class_prefix_.ClearNonDefaultToEmpty();
6595     }
6596     if (cached_has_bits & 0x00000080u) {
6597       php_namespace_.ClearNonDefaultToEmpty();
6598     }
6599   }
6600   if (cached_has_bits & 0x00000300u) {
6601     if (cached_has_bits & 0x00000100u) {
6602       php_metadata_namespace_.ClearNonDefaultToEmpty();
6603     }
6604     if (cached_has_bits & 0x00000200u) {
6605       ruby_package_.ClearNonDefaultToEmpty();
6606     }
6607   }
6608   if (cached_has_bits & 0x0000fc00u) {
6609     ::memset(&java_multiple_files_, 0, static_cast<size_t>(
6610         reinterpret_cast<char*>(&py_generic_services_) -
6611         reinterpret_cast<char*>(&java_multiple_files_)) + sizeof(py_generic_services_));
6612   }
6613   if (cached_has_bits & 0x000f0000u) {
6614     ::memset(&php_generic_services_, 0, static_cast<size_t>(
6615         reinterpret_cast<char*>(&cc_enable_arenas_) -
6616         reinterpret_cast<char*>(&php_generic_services_)) + sizeof(cc_enable_arenas_));
6617     optimize_for_ = 1;
6618   }
6619   _has_bits_.Clear();
6620   _internal_metadata_.Clear();
6621 }
6622 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)6623 const char* FileOptions::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
6624 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6625   _Internal::HasBits has_bits{};
6626   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
6627   while (!ctx->Done(&ptr)) {
6628     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
6629     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
6630     CHK_(ptr);
6631     switch (tag >> 3) {
6632       // optional string java_package = 1;
6633       case 1:
6634         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
6635           auto str = _internal_mutable_java_package();
6636           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
6637           #ifndef NDEBUG
6638           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileOptions.java_package");
6639           #endif  // !NDEBUG
6640           CHK_(ptr);
6641         } else goto handle_unusual;
6642         continue;
6643       // optional string java_outer_classname = 8;
6644       case 8:
6645         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
6646           auto str = _internal_mutable_java_outer_classname();
6647           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
6648           #ifndef NDEBUG
6649           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileOptions.java_outer_classname");
6650           #endif  // !NDEBUG
6651           CHK_(ptr);
6652         } else goto handle_unusual;
6653         continue;
6654       // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
6655       case 9:
6656         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
6657           ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
6658           CHK_(ptr);
6659           if (PROTOBUF_PREDICT_TRUE(PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_IsValid(val))) {
6660             _internal_set_optimize_for(static_cast<PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode>(val));
6661           } else {
6662             ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(9, val, mutable_unknown_fields());
6663           }
6664         } else goto handle_unusual;
6665         continue;
6666       // optional bool java_multiple_files = 10 [default = false];
6667       case 10:
6668         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
6669           _Internal::set_has_java_multiple_files(&has_bits);
6670           java_multiple_files_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
6671           CHK_(ptr);
6672         } else goto handle_unusual;
6673         continue;
6674       // optional string go_package = 11;
6675       case 11:
6676         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) {
6677           auto str = _internal_mutable_go_package();
6678           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
6679           #ifndef NDEBUG
6680           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileOptions.go_package");
6681           #endif  // !NDEBUG
6682           CHK_(ptr);
6683         } else goto handle_unusual;
6684         continue;
6685       // optional bool cc_generic_services = 16 [default = false];
6686       case 16:
6687         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 128)) {
6688           _Internal::set_has_cc_generic_services(&has_bits);
6689           cc_generic_services_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
6690           CHK_(ptr);
6691         } else goto handle_unusual;
6692         continue;
6693       // optional bool java_generic_services = 17 [default = false];
6694       case 17:
6695         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136)) {
6696           _Internal::set_has_java_generic_services(&has_bits);
6697           java_generic_services_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
6698           CHK_(ptr);
6699         } else goto handle_unusual;
6700         continue;
6701       // optional bool py_generic_services = 18 [default = false];
6702       case 18:
6703         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 144)) {
6704           _Internal::set_has_py_generic_services(&has_bits);
6705           py_generic_services_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
6706           CHK_(ptr);
6707         } else goto handle_unusual;
6708         continue;
6709       // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
6710       case 20:
6711         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 160)) {
6712           _Internal::set_has_java_generate_equals_and_hash(&has_bits);
6713           java_generate_equals_and_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
6714           CHK_(ptr);
6715         } else goto handle_unusual;
6716         continue;
6717       // optional bool deprecated = 23 [default = false];
6718       case 23:
6719         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 184)) {
6720           _Internal::set_has_deprecated(&has_bits);
6721           deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
6722           CHK_(ptr);
6723         } else goto handle_unusual;
6724         continue;
6725       // optional bool java_string_check_utf8 = 27 [default = false];
6726       case 27:
6727         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 216)) {
6728           _Internal::set_has_java_string_check_utf8(&has_bits);
6729           java_string_check_utf8_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
6730           CHK_(ptr);
6731         } else goto handle_unusual;
6732         continue;
6733       // optional bool cc_enable_arenas = 31 [default = false];
6734       case 31:
6735         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 248)) {
6736           _Internal::set_has_cc_enable_arenas(&has_bits);
6737           cc_enable_arenas_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
6738           CHK_(ptr);
6739         } else goto handle_unusual;
6740         continue;
6741       // optional string objc_class_prefix = 36;
6742       case 36:
6743         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
6744           auto str = _internal_mutable_objc_class_prefix();
6745           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
6746           #ifndef NDEBUG
6747           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileOptions.objc_class_prefix");
6748           #endif  // !NDEBUG
6749           CHK_(ptr);
6750         } else goto handle_unusual;
6751         continue;
6752       // optional string csharp_namespace = 37;
6753       case 37:
6754         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
6755           auto str = _internal_mutable_csharp_namespace();
6756           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
6757           #ifndef NDEBUG
6758           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileOptions.csharp_namespace");
6759           #endif  // !NDEBUG
6760           CHK_(ptr);
6761         } else goto handle_unusual;
6762         continue;
6763       // optional string swift_prefix = 39;
6764       case 39:
6765         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
6766           auto str = _internal_mutable_swift_prefix();
6767           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
6768           #ifndef NDEBUG
6769           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileOptions.swift_prefix");
6770           #endif  // !NDEBUG
6771           CHK_(ptr);
6772         } else goto handle_unusual;
6773         continue;
6774       // optional string php_class_prefix = 40;
6775       case 40:
6776         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
6777           auto str = _internal_mutable_php_class_prefix();
6778           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
6779           #ifndef NDEBUG
6780           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileOptions.php_class_prefix");
6781           #endif  // !NDEBUG
6782           CHK_(ptr);
6783         } else goto handle_unusual;
6784         continue;
6785       // optional string php_namespace = 41;
6786       case 41:
6787         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
6788           auto str = _internal_mutable_php_namespace();
6789           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
6790           #ifndef NDEBUG
6791           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileOptions.php_namespace");
6792           #endif  // !NDEBUG
6793           CHK_(ptr);
6794         } else goto handle_unusual;
6795         continue;
6796       // optional bool php_generic_services = 42 [default = false];
6797       case 42:
6798         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
6799           _Internal::set_has_php_generic_services(&has_bits);
6800           php_generic_services_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
6801           CHK_(ptr);
6802         } else goto handle_unusual;
6803         continue;
6804       // optional string php_metadata_namespace = 44;
6805       case 44:
6806         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) {
6807           auto str = _internal_mutable_php_metadata_namespace();
6808           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
6809           #ifndef NDEBUG
6810           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileOptions.php_metadata_namespace");
6811           #endif  // !NDEBUG
6812           CHK_(ptr);
6813         } else goto handle_unusual;
6814         continue;
6815       // optional string ruby_package = 45;
6816       case 45:
6817         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) {
6818           auto str = _internal_mutable_ruby_package();
6819           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
6820           #ifndef NDEBUG
6821           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.FileOptions.ruby_package");
6822           #endif  // !NDEBUG
6823           CHK_(ptr);
6824         } else goto handle_unusual;
6825         continue;
6826       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6827       case 999:
6828         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
6829           ptr -= 2;
6830           do {
6831             ptr += 2;
6832             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
6833             CHK_(ptr);
6834             if (!ctx->DataAvailable(ptr)) break;
6835           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
6836         } else goto handle_unusual;
6837         continue;
6838       default: {
6839       handle_unusual:
6840         if ((tag & 7) == 4 || tag == 0) {
6841           ctx->SetLastTag(tag);
6842           goto success;
6843         }
6844       if ((8000u <= tag)) {
6845         ptr = _extensions_.ParseField(tag, ptr,
6846             internal_default_instance(), &_internal_metadata_, ctx);
6847         CHK_(ptr != nullptr);
6848         continue;
6849       }
6850         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
6851         CHK_(ptr != nullptr);
6852         continue;
6853       }
6854     }  // switch
6855   }  // while
6856 success:
6857   _has_bits_.Or(has_bits);
6858   return ptr;
6859 failure:
6860   ptr = nullptr;
6861   goto success;
6862 #undef CHK_
6863 }
6864 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const6865 ::PROTOBUF_NAMESPACE_ID::uint8* FileOptions::_InternalSerialize(
6866     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6867   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileOptions)
6868   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
6869   (void) cached_has_bits;
6870 
6871   cached_has_bits = _has_bits_[0];
6872   // optional string java_package = 1;
6873   if (cached_has_bits & 0x00000001u) {
6874     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6875       this->_internal_java_package().data(), static_cast<int>(this->_internal_java_package().length()),
6876       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6877       "google.protobuf.FileOptions.java_package");
6878     target = stream->WriteStringMaybeAliased(
6879         1, this->_internal_java_package(), target);
6880   }
6881 
6882   // optional string java_outer_classname = 8;
6883   if (cached_has_bits & 0x00000002u) {
6884     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6885       this->_internal_java_outer_classname().data(), static_cast<int>(this->_internal_java_outer_classname().length()),
6886       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6887       "google.protobuf.FileOptions.java_outer_classname");
6888     target = stream->WriteStringMaybeAliased(
6889         8, this->_internal_java_outer_classname(), target);
6890   }
6891 
6892   // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
6893   if (cached_has_bits & 0x00080000u) {
6894     target = stream->EnsureSpace(target);
6895     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
6896       9, this->_internal_optimize_for(), target);
6897   }
6898 
6899   // optional bool java_multiple_files = 10 [default = false];
6900   if (cached_has_bits & 0x00000400u) {
6901     target = stream->EnsureSpace(target);
6902     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(10, this->_internal_java_multiple_files(), target);
6903   }
6904 
6905   // optional string go_package = 11;
6906   if (cached_has_bits & 0x00000004u) {
6907     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6908       this->_internal_go_package().data(), static_cast<int>(this->_internal_go_package().length()),
6909       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6910       "google.protobuf.FileOptions.go_package");
6911     target = stream->WriteStringMaybeAliased(
6912         11, this->_internal_go_package(), target);
6913   }
6914 
6915   // optional bool cc_generic_services = 16 [default = false];
6916   if (cached_has_bits & 0x00002000u) {
6917     target = stream->EnsureSpace(target);
6918     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(16, this->_internal_cc_generic_services(), target);
6919   }
6920 
6921   // optional bool java_generic_services = 17 [default = false];
6922   if (cached_has_bits & 0x00004000u) {
6923     target = stream->EnsureSpace(target);
6924     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(17, this->_internal_java_generic_services(), target);
6925   }
6926 
6927   // optional bool py_generic_services = 18 [default = false];
6928   if (cached_has_bits & 0x00008000u) {
6929     target = stream->EnsureSpace(target);
6930     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(18, this->_internal_py_generic_services(), target);
6931   }
6932 
6933   // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
6934   if (cached_has_bits & 0x00000800u) {
6935     target = stream->EnsureSpace(target);
6936     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(20, this->_internal_java_generate_equals_and_hash(), target);
6937   }
6938 
6939   // optional bool deprecated = 23 [default = false];
6940   if (cached_has_bits & 0x00020000u) {
6941     target = stream->EnsureSpace(target);
6942     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(23, this->_internal_deprecated(), target);
6943   }
6944 
6945   // optional bool java_string_check_utf8 = 27 [default = false];
6946   if (cached_has_bits & 0x00001000u) {
6947     target = stream->EnsureSpace(target);
6948     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(27, this->_internal_java_string_check_utf8(), target);
6949   }
6950 
6951   // optional bool cc_enable_arenas = 31 [default = false];
6952   if (cached_has_bits & 0x00040000u) {
6953     target = stream->EnsureSpace(target);
6954     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(31, this->_internal_cc_enable_arenas(), target);
6955   }
6956 
6957   // optional string objc_class_prefix = 36;
6958   if (cached_has_bits & 0x00000008u) {
6959     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6960       this->_internal_objc_class_prefix().data(), static_cast<int>(this->_internal_objc_class_prefix().length()),
6961       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6962       "google.protobuf.FileOptions.objc_class_prefix");
6963     target = stream->WriteStringMaybeAliased(
6964         36, this->_internal_objc_class_prefix(), target);
6965   }
6966 
6967   // optional string csharp_namespace = 37;
6968   if (cached_has_bits & 0x00000010u) {
6969     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6970       this->_internal_csharp_namespace().data(), static_cast<int>(this->_internal_csharp_namespace().length()),
6971       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6972       "google.protobuf.FileOptions.csharp_namespace");
6973     target = stream->WriteStringMaybeAliased(
6974         37, this->_internal_csharp_namespace(), target);
6975   }
6976 
6977   // optional string swift_prefix = 39;
6978   if (cached_has_bits & 0x00000020u) {
6979     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6980       this->_internal_swift_prefix().data(), static_cast<int>(this->_internal_swift_prefix().length()),
6981       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6982       "google.protobuf.FileOptions.swift_prefix");
6983     target = stream->WriteStringMaybeAliased(
6984         39, this->_internal_swift_prefix(), target);
6985   }
6986 
6987   // optional string php_class_prefix = 40;
6988   if (cached_has_bits & 0x00000040u) {
6989     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6990       this->_internal_php_class_prefix().data(), static_cast<int>(this->_internal_php_class_prefix().length()),
6991       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6992       "google.protobuf.FileOptions.php_class_prefix");
6993     target = stream->WriteStringMaybeAliased(
6994         40, this->_internal_php_class_prefix(), target);
6995   }
6996 
6997   // optional string php_namespace = 41;
6998   if (cached_has_bits & 0x00000080u) {
6999     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
7000       this->_internal_php_namespace().data(), static_cast<int>(this->_internal_php_namespace().length()),
7001       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
7002       "google.protobuf.FileOptions.php_namespace");
7003     target = stream->WriteStringMaybeAliased(
7004         41, this->_internal_php_namespace(), target);
7005   }
7006 
7007   // optional bool php_generic_services = 42 [default = false];
7008   if (cached_has_bits & 0x00010000u) {
7009     target = stream->EnsureSpace(target);
7010     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(42, this->_internal_php_generic_services(), target);
7011   }
7012 
7013   // optional string php_metadata_namespace = 44;
7014   if (cached_has_bits & 0x00000100u) {
7015     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
7016       this->_internal_php_metadata_namespace().data(), static_cast<int>(this->_internal_php_metadata_namespace().length()),
7017       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
7018       "google.protobuf.FileOptions.php_metadata_namespace");
7019     target = stream->WriteStringMaybeAliased(
7020         44, this->_internal_php_metadata_namespace(), target);
7021   }
7022 
7023   // optional string ruby_package = 45;
7024   if (cached_has_bits & 0x00000200u) {
7025     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
7026       this->_internal_ruby_package().data(), static_cast<int>(this->_internal_ruby_package().length()),
7027       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
7028       "google.protobuf.FileOptions.ruby_package");
7029     target = stream->WriteStringMaybeAliased(
7030         45, this->_internal_ruby_package(), target);
7031   }
7032 
7033   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7034   for (unsigned int i = 0,
7035       n = static_cast<unsigned int>(this->_internal_uninterpreted_option_size()); i < n; i++) {
7036     target = stream->EnsureSpace(target);
7037     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7038       InternalWriteMessage(999, this->_internal_uninterpreted_option(i), target, stream);
7039   }
7040 
7041   // Extension range [1000, 536870912)
7042   target = _extensions_._InternalSerialize(
7043       1000, 536870912, target, stream);
7044 
7045   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7046     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
7047         _internal_metadata_.unknown_fields(), target, stream);
7048   }
7049   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FileOptions)
7050   return target;
7051 }
7052 
ByteSizeLong() const7053 size_t FileOptions::ByteSizeLong() const {
7054 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileOptions)
7055   size_t total_size = 0;
7056 
7057   total_size += _extensions_.ByteSize();
7058 
7059   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
7060   // Prevent compiler warnings about cached_has_bits being unused
7061   (void) cached_has_bits;
7062 
7063   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7064   total_size += 2UL * this->_internal_uninterpreted_option_size();
7065   for (const auto& msg : this->uninterpreted_option_) {
7066     total_size +=
7067       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
7068   }
7069 
7070   cached_has_bits = _has_bits_[0];
7071   if (cached_has_bits & 0x000000ffu) {
7072     // optional string java_package = 1;
7073     if (cached_has_bits & 0x00000001u) {
7074       total_size += 1 +
7075         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7076           this->_internal_java_package());
7077     }
7078 
7079     // optional string java_outer_classname = 8;
7080     if (cached_has_bits & 0x00000002u) {
7081       total_size += 1 +
7082         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7083           this->_internal_java_outer_classname());
7084     }
7085 
7086     // optional string go_package = 11;
7087     if (cached_has_bits & 0x00000004u) {
7088       total_size += 1 +
7089         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7090           this->_internal_go_package());
7091     }
7092 
7093     // optional string objc_class_prefix = 36;
7094     if (cached_has_bits & 0x00000008u) {
7095       total_size += 2 +
7096         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7097           this->_internal_objc_class_prefix());
7098     }
7099 
7100     // optional string csharp_namespace = 37;
7101     if (cached_has_bits & 0x00000010u) {
7102       total_size += 2 +
7103         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7104           this->_internal_csharp_namespace());
7105     }
7106 
7107     // optional string swift_prefix = 39;
7108     if (cached_has_bits & 0x00000020u) {
7109       total_size += 2 +
7110         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7111           this->_internal_swift_prefix());
7112     }
7113 
7114     // optional string php_class_prefix = 40;
7115     if (cached_has_bits & 0x00000040u) {
7116       total_size += 2 +
7117         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7118           this->_internal_php_class_prefix());
7119     }
7120 
7121     // optional string php_namespace = 41;
7122     if (cached_has_bits & 0x00000080u) {
7123       total_size += 2 +
7124         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7125           this->_internal_php_namespace());
7126     }
7127 
7128   }
7129   if (cached_has_bits & 0x0000ff00u) {
7130     // optional string php_metadata_namespace = 44;
7131     if (cached_has_bits & 0x00000100u) {
7132       total_size += 2 +
7133         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7134           this->_internal_php_metadata_namespace());
7135     }
7136 
7137     // optional string ruby_package = 45;
7138     if (cached_has_bits & 0x00000200u) {
7139       total_size += 2 +
7140         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7141           this->_internal_ruby_package());
7142     }
7143 
7144     // optional bool java_multiple_files = 10 [default = false];
7145     if (cached_has_bits & 0x00000400u) {
7146       total_size += 1 + 1;
7147     }
7148 
7149     // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
7150     if (cached_has_bits & 0x00000800u) {
7151       total_size += 2 + 1;
7152     }
7153 
7154     // optional bool java_string_check_utf8 = 27 [default = false];
7155     if (cached_has_bits & 0x00001000u) {
7156       total_size += 2 + 1;
7157     }
7158 
7159     // optional bool cc_generic_services = 16 [default = false];
7160     if (cached_has_bits & 0x00002000u) {
7161       total_size += 2 + 1;
7162     }
7163 
7164     // optional bool java_generic_services = 17 [default = false];
7165     if (cached_has_bits & 0x00004000u) {
7166       total_size += 2 + 1;
7167     }
7168 
7169     // optional bool py_generic_services = 18 [default = false];
7170     if (cached_has_bits & 0x00008000u) {
7171       total_size += 2 + 1;
7172     }
7173 
7174   }
7175   if (cached_has_bits & 0x000f0000u) {
7176     // optional bool php_generic_services = 42 [default = false];
7177     if (cached_has_bits & 0x00010000u) {
7178       total_size += 2 + 1;
7179     }
7180 
7181     // optional bool deprecated = 23 [default = false];
7182     if (cached_has_bits & 0x00020000u) {
7183       total_size += 2 + 1;
7184     }
7185 
7186     // optional bool cc_enable_arenas = 31 [default = false];
7187     if (cached_has_bits & 0x00040000u) {
7188       total_size += 2 + 1;
7189     }
7190 
7191     // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
7192     if (cached_has_bits & 0x00080000u) {
7193       total_size += 1 +
7194         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_optimize_for());
7195     }
7196 
7197   }
7198   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7199     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
7200         _internal_metadata_, total_size, &_cached_size_);
7201   }
7202   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
7203   SetCachedSize(cached_size);
7204   return total_size;
7205 }
7206 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)7207 void FileOptions::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
7208 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FileOptions)
7209   GOOGLE_DCHECK_NE(&from, this);
7210   const FileOptions* source =
7211       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<FileOptions>(
7212           &from);
7213   if (source == nullptr) {
7214   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FileOptions)
7215     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
7216   } else {
7217   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FileOptions)
7218     MergeFrom(*source);
7219   }
7220 }
7221 
MergeFrom(const FileOptions & from)7222 void FileOptions::MergeFrom(const FileOptions& from) {
7223 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileOptions)
7224   GOOGLE_DCHECK_NE(&from, this);
7225   _extensions_.MergeFrom(from._extensions_);
7226   _internal_metadata_.MergeFrom(from._internal_metadata_);
7227   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
7228   (void) cached_has_bits;
7229 
7230   uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
7231   cached_has_bits = from._has_bits_[0];
7232   if (cached_has_bits & 0x000000ffu) {
7233     if (cached_has_bits & 0x00000001u) {
7234       _internal_set_java_package(from._internal_java_package());
7235     }
7236     if (cached_has_bits & 0x00000002u) {
7237       _internal_set_java_outer_classname(from._internal_java_outer_classname());
7238     }
7239     if (cached_has_bits & 0x00000004u) {
7240       _internal_set_go_package(from._internal_go_package());
7241     }
7242     if (cached_has_bits & 0x00000008u) {
7243       _internal_set_objc_class_prefix(from._internal_objc_class_prefix());
7244     }
7245     if (cached_has_bits & 0x00000010u) {
7246       _internal_set_csharp_namespace(from._internal_csharp_namespace());
7247     }
7248     if (cached_has_bits & 0x00000020u) {
7249       _internal_set_swift_prefix(from._internal_swift_prefix());
7250     }
7251     if (cached_has_bits & 0x00000040u) {
7252       _internal_set_php_class_prefix(from._internal_php_class_prefix());
7253     }
7254     if (cached_has_bits & 0x00000080u) {
7255       _internal_set_php_namespace(from._internal_php_namespace());
7256     }
7257   }
7258   if (cached_has_bits & 0x0000ff00u) {
7259     if (cached_has_bits & 0x00000100u) {
7260       _internal_set_php_metadata_namespace(from._internal_php_metadata_namespace());
7261     }
7262     if (cached_has_bits & 0x00000200u) {
7263       _internal_set_ruby_package(from._internal_ruby_package());
7264     }
7265     if (cached_has_bits & 0x00000400u) {
7266       java_multiple_files_ = from.java_multiple_files_;
7267     }
7268     if (cached_has_bits & 0x00000800u) {
7269       java_generate_equals_and_hash_ = from.java_generate_equals_and_hash_;
7270     }
7271     if (cached_has_bits & 0x00001000u) {
7272       java_string_check_utf8_ = from.java_string_check_utf8_;
7273     }
7274     if (cached_has_bits & 0x00002000u) {
7275       cc_generic_services_ = from.cc_generic_services_;
7276     }
7277     if (cached_has_bits & 0x00004000u) {
7278       java_generic_services_ = from.java_generic_services_;
7279     }
7280     if (cached_has_bits & 0x00008000u) {
7281       py_generic_services_ = from.py_generic_services_;
7282     }
7283     _has_bits_[0] |= cached_has_bits;
7284   }
7285   if (cached_has_bits & 0x000f0000u) {
7286     if (cached_has_bits & 0x00010000u) {
7287       php_generic_services_ = from.php_generic_services_;
7288     }
7289     if (cached_has_bits & 0x00020000u) {
7290       deprecated_ = from.deprecated_;
7291     }
7292     if (cached_has_bits & 0x00040000u) {
7293       cc_enable_arenas_ = from.cc_enable_arenas_;
7294     }
7295     if (cached_has_bits & 0x00080000u) {
7296       optimize_for_ = from.optimize_for_;
7297     }
7298     _has_bits_[0] |= cached_has_bits;
7299   }
7300 }
7301 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)7302 void FileOptions::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
7303 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FileOptions)
7304   if (&from == this) return;
7305   Clear();
7306   MergeFrom(from);
7307 }
7308 
CopyFrom(const FileOptions & from)7309 void FileOptions::CopyFrom(const FileOptions& from) {
7310 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileOptions)
7311   if (&from == this) return;
7312   Clear();
7313   MergeFrom(from);
7314 }
7315 
IsInitialized() const7316 bool FileOptions::IsInitialized() const {
7317   if (!_extensions_.IsInitialized()) {
7318     return false;
7319   }
7320 
7321   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(uninterpreted_option_)) return false;
7322   return true;
7323 }
7324 
InternalSwap(FileOptions * other)7325 void FileOptions::InternalSwap(FileOptions* other) {
7326   using std::swap;
7327   _extensions_.Swap(&other->_extensions_);
7328   _internal_metadata_.Swap(&other->_internal_metadata_);
7329   swap(_has_bits_[0], other->_has_bits_[0]);
7330   uninterpreted_option_.InternalSwap(&other->uninterpreted_option_);
7331   java_package_.Swap(&other->java_package_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7332     GetArenaNoVirtual());
7333   java_outer_classname_.Swap(&other->java_outer_classname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7334     GetArenaNoVirtual());
7335   go_package_.Swap(&other->go_package_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7336     GetArenaNoVirtual());
7337   objc_class_prefix_.Swap(&other->objc_class_prefix_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7338     GetArenaNoVirtual());
7339   csharp_namespace_.Swap(&other->csharp_namespace_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7340     GetArenaNoVirtual());
7341   swift_prefix_.Swap(&other->swift_prefix_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7342     GetArenaNoVirtual());
7343   php_class_prefix_.Swap(&other->php_class_prefix_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7344     GetArenaNoVirtual());
7345   php_namespace_.Swap(&other->php_namespace_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7346     GetArenaNoVirtual());
7347   php_metadata_namespace_.Swap(&other->php_metadata_namespace_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7348     GetArenaNoVirtual());
7349   ruby_package_.Swap(&other->ruby_package_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7350     GetArenaNoVirtual());
7351   swap(java_multiple_files_, other->java_multiple_files_);
7352   swap(java_generate_equals_and_hash_, other->java_generate_equals_and_hash_);
7353   swap(java_string_check_utf8_, other->java_string_check_utf8_);
7354   swap(cc_generic_services_, other->cc_generic_services_);
7355   swap(java_generic_services_, other->java_generic_services_);
7356   swap(py_generic_services_, other->py_generic_services_);
7357   swap(php_generic_services_, other->php_generic_services_);
7358   swap(deprecated_, other->deprecated_);
7359   swap(cc_enable_arenas_, other->cc_enable_arenas_);
7360   swap(optimize_for_, other->optimize_for_);
7361 }
7362 
GetMetadata() const7363 ::PROTOBUF_NAMESPACE_ID::Metadata FileOptions::GetMetadata() const {
7364   return GetMetadataStatic();
7365 }
7366 
7367 
7368 // ===================================================================
7369 
InitAsDefaultInstance()7370 void MessageOptions::InitAsDefaultInstance() {
7371 }
7372 class MessageOptions::_Internal {
7373  public:
7374   using HasBits = decltype(std::declval<MessageOptions>()._has_bits_);
set_has_message_set_wire_format(HasBits * has_bits)7375   static void set_has_message_set_wire_format(HasBits* has_bits) {
7376     (*has_bits)[0] |= 1u;
7377   }
set_has_no_standard_descriptor_accessor(HasBits * has_bits)7378   static void set_has_no_standard_descriptor_accessor(HasBits* has_bits) {
7379     (*has_bits)[0] |= 2u;
7380   }
set_has_deprecated(HasBits * has_bits)7381   static void set_has_deprecated(HasBits* has_bits) {
7382     (*has_bits)[0] |= 4u;
7383   }
set_has_map_entry(HasBits * has_bits)7384   static void set_has_map_entry(HasBits* has_bits) {
7385     (*has_bits)[0] |= 8u;
7386   }
7387 };
7388 
MessageOptions()7389 MessageOptions::MessageOptions()
7390   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
7391   SharedCtor();
7392   // @@protoc_insertion_point(constructor:google.protobuf.MessageOptions)
7393 }
MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena)7394 MessageOptions::MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena)
7395   : ::PROTOBUF_NAMESPACE_ID::Message(),
7396   _extensions_(arena),
7397   _internal_metadata_(arena),
7398   uninterpreted_option_(arena) {
7399   SharedCtor();
7400   RegisterArenaDtor(arena);
7401   // @@protoc_insertion_point(arena_constructor:google.protobuf.MessageOptions)
7402 }
MessageOptions(const MessageOptions & from)7403 MessageOptions::MessageOptions(const MessageOptions& from)
7404   : ::PROTOBUF_NAMESPACE_ID::Message(),
7405       _internal_metadata_(nullptr),
7406       _has_bits_(from._has_bits_),
7407       uninterpreted_option_(from.uninterpreted_option_) {
7408   _internal_metadata_.MergeFrom(from._internal_metadata_);
7409   _extensions_.MergeFrom(from._extensions_);
7410   ::memcpy(&message_set_wire_format_, &from.message_set_wire_format_,
7411     static_cast<size_t>(reinterpret_cast<char*>(&map_entry_) -
7412     reinterpret_cast<char*>(&message_set_wire_format_)) + sizeof(map_entry_));
7413   // @@protoc_insertion_point(copy_constructor:google.protobuf.MessageOptions)
7414 }
7415 
SharedCtor()7416 void MessageOptions::SharedCtor() {
7417   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_MessageOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
7418   ::memset(&message_set_wire_format_, 0, static_cast<size_t>(
7419       reinterpret_cast<char*>(&map_entry_) -
7420       reinterpret_cast<char*>(&message_set_wire_format_)) + sizeof(map_entry_));
7421 }
7422 
~MessageOptions()7423 MessageOptions::~MessageOptions() {
7424   // @@protoc_insertion_point(destructor:google.protobuf.MessageOptions)
7425   SharedDtor();
7426 }
7427 
SharedDtor()7428 void MessageOptions::SharedDtor() {
7429   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
7430 }
7431 
ArenaDtor(void * object)7432 void MessageOptions::ArenaDtor(void* object) {
7433   MessageOptions* _this = reinterpret_cast< MessageOptions* >(object);
7434   (void)_this;
7435 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)7436 void MessageOptions::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
7437 }
SetCachedSize(int size) const7438 void MessageOptions::SetCachedSize(int size) const {
7439   _cached_size_.Set(size);
7440 }
default_instance()7441 const MessageOptions& MessageOptions::default_instance() {
7442   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_MessageOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
7443   return *internal_default_instance();
7444 }
7445 
7446 
Clear()7447 void MessageOptions::Clear() {
7448 // @@protoc_insertion_point(message_clear_start:google.protobuf.MessageOptions)
7449   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
7450   // Prevent compiler warnings about cached_has_bits being unused
7451   (void) cached_has_bits;
7452 
7453   _extensions_.Clear();
7454   uninterpreted_option_.Clear();
7455   ::memset(&message_set_wire_format_, 0, static_cast<size_t>(
7456       reinterpret_cast<char*>(&map_entry_) -
7457       reinterpret_cast<char*>(&message_set_wire_format_)) + sizeof(map_entry_));
7458   _has_bits_.Clear();
7459   _internal_metadata_.Clear();
7460 }
7461 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)7462 const char* MessageOptions::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
7463 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7464   _Internal::HasBits has_bits{};
7465   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
7466   while (!ctx->Done(&ptr)) {
7467     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
7468     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
7469     CHK_(ptr);
7470     switch (tag >> 3) {
7471       // optional bool message_set_wire_format = 1 [default = false];
7472       case 1:
7473         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
7474           _Internal::set_has_message_set_wire_format(&has_bits);
7475           message_set_wire_format_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
7476           CHK_(ptr);
7477         } else goto handle_unusual;
7478         continue;
7479       // optional bool no_standard_descriptor_accessor = 2 [default = false];
7480       case 2:
7481         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
7482           _Internal::set_has_no_standard_descriptor_accessor(&has_bits);
7483           no_standard_descriptor_accessor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
7484           CHK_(ptr);
7485         } else goto handle_unusual;
7486         continue;
7487       // optional bool deprecated = 3 [default = false];
7488       case 3:
7489         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
7490           _Internal::set_has_deprecated(&has_bits);
7491           deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
7492           CHK_(ptr);
7493         } else goto handle_unusual;
7494         continue;
7495       // optional bool map_entry = 7;
7496       case 7:
7497         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
7498           _Internal::set_has_map_entry(&has_bits);
7499           map_entry_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
7500           CHK_(ptr);
7501         } else goto handle_unusual;
7502         continue;
7503       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7504       case 999:
7505         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
7506           ptr -= 2;
7507           do {
7508             ptr += 2;
7509             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
7510             CHK_(ptr);
7511             if (!ctx->DataAvailable(ptr)) break;
7512           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
7513         } else goto handle_unusual;
7514         continue;
7515       default: {
7516       handle_unusual:
7517         if ((tag & 7) == 4 || tag == 0) {
7518           ctx->SetLastTag(tag);
7519           goto success;
7520         }
7521       if ((8000u <= tag)) {
7522         ptr = _extensions_.ParseField(tag, ptr,
7523             internal_default_instance(), &_internal_metadata_, ctx);
7524         CHK_(ptr != nullptr);
7525         continue;
7526       }
7527         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
7528         CHK_(ptr != nullptr);
7529         continue;
7530       }
7531     }  // switch
7532   }  // while
7533 success:
7534   _has_bits_.Or(has_bits);
7535   return ptr;
7536 failure:
7537   ptr = nullptr;
7538   goto success;
7539 #undef CHK_
7540 }
7541 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const7542 ::PROTOBUF_NAMESPACE_ID::uint8* MessageOptions::_InternalSerialize(
7543     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7544   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MessageOptions)
7545   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
7546   (void) cached_has_bits;
7547 
7548   cached_has_bits = _has_bits_[0];
7549   // optional bool message_set_wire_format = 1 [default = false];
7550   if (cached_has_bits & 0x00000001u) {
7551     target = stream->EnsureSpace(target);
7552     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_message_set_wire_format(), target);
7553   }
7554 
7555   // optional bool no_standard_descriptor_accessor = 2 [default = false];
7556   if (cached_has_bits & 0x00000002u) {
7557     target = stream->EnsureSpace(target);
7558     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_no_standard_descriptor_accessor(), target);
7559   }
7560 
7561   // optional bool deprecated = 3 [default = false];
7562   if (cached_has_bits & 0x00000004u) {
7563     target = stream->EnsureSpace(target);
7564     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_deprecated(), target);
7565   }
7566 
7567   // optional bool map_entry = 7;
7568   if (cached_has_bits & 0x00000008u) {
7569     target = stream->EnsureSpace(target);
7570     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_map_entry(), target);
7571   }
7572 
7573   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7574   for (unsigned int i = 0,
7575       n = static_cast<unsigned int>(this->_internal_uninterpreted_option_size()); i < n; i++) {
7576     target = stream->EnsureSpace(target);
7577     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7578       InternalWriteMessage(999, this->_internal_uninterpreted_option(i), target, stream);
7579   }
7580 
7581   // Extension range [1000, 536870912)
7582   target = _extensions_._InternalSerialize(
7583       1000, 536870912, target, stream);
7584 
7585   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7586     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
7587         _internal_metadata_.unknown_fields(), target, stream);
7588   }
7589   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.MessageOptions)
7590   return target;
7591 }
7592 
ByteSizeLong() const7593 size_t MessageOptions::ByteSizeLong() const {
7594 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.MessageOptions)
7595   size_t total_size = 0;
7596 
7597   total_size += _extensions_.ByteSize();
7598 
7599   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
7600   // Prevent compiler warnings about cached_has_bits being unused
7601   (void) cached_has_bits;
7602 
7603   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7604   total_size += 2UL * this->_internal_uninterpreted_option_size();
7605   for (const auto& msg : this->uninterpreted_option_) {
7606     total_size +=
7607       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
7608   }
7609 
7610   cached_has_bits = _has_bits_[0];
7611   if (cached_has_bits & 0x0000000fu) {
7612     // optional bool message_set_wire_format = 1 [default = false];
7613     if (cached_has_bits & 0x00000001u) {
7614       total_size += 1 + 1;
7615     }
7616 
7617     // optional bool no_standard_descriptor_accessor = 2 [default = false];
7618     if (cached_has_bits & 0x00000002u) {
7619       total_size += 1 + 1;
7620     }
7621 
7622     // optional bool deprecated = 3 [default = false];
7623     if (cached_has_bits & 0x00000004u) {
7624       total_size += 1 + 1;
7625     }
7626 
7627     // optional bool map_entry = 7;
7628     if (cached_has_bits & 0x00000008u) {
7629       total_size += 1 + 1;
7630     }
7631 
7632   }
7633   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7634     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
7635         _internal_metadata_, total_size, &_cached_size_);
7636   }
7637   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
7638   SetCachedSize(cached_size);
7639   return total_size;
7640 }
7641 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)7642 void MessageOptions::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
7643 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.MessageOptions)
7644   GOOGLE_DCHECK_NE(&from, this);
7645   const MessageOptions* source =
7646       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<MessageOptions>(
7647           &from);
7648   if (source == nullptr) {
7649   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.MessageOptions)
7650     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
7651   } else {
7652   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.MessageOptions)
7653     MergeFrom(*source);
7654   }
7655 }
7656 
MergeFrom(const MessageOptions & from)7657 void MessageOptions::MergeFrom(const MessageOptions& from) {
7658 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MessageOptions)
7659   GOOGLE_DCHECK_NE(&from, this);
7660   _extensions_.MergeFrom(from._extensions_);
7661   _internal_metadata_.MergeFrom(from._internal_metadata_);
7662   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
7663   (void) cached_has_bits;
7664 
7665   uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
7666   cached_has_bits = from._has_bits_[0];
7667   if (cached_has_bits & 0x0000000fu) {
7668     if (cached_has_bits & 0x00000001u) {
7669       message_set_wire_format_ = from.message_set_wire_format_;
7670     }
7671     if (cached_has_bits & 0x00000002u) {
7672       no_standard_descriptor_accessor_ = from.no_standard_descriptor_accessor_;
7673     }
7674     if (cached_has_bits & 0x00000004u) {
7675       deprecated_ = from.deprecated_;
7676     }
7677     if (cached_has_bits & 0x00000008u) {
7678       map_entry_ = from.map_entry_;
7679     }
7680     _has_bits_[0] |= cached_has_bits;
7681   }
7682 }
7683 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)7684 void MessageOptions::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
7685 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.MessageOptions)
7686   if (&from == this) return;
7687   Clear();
7688   MergeFrom(from);
7689 }
7690 
CopyFrom(const MessageOptions & from)7691 void MessageOptions::CopyFrom(const MessageOptions& from) {
7692 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MessageOptions)
7693   if (&from == this) return;
7694   Clear();
7695   MergeFrom(from);
7696 }
7697 
IsInitialized() const7698 bool MessageOptions::IsInitialized() const {
7699   if (!_extensions_.IsInitialized()) {
7700     return false;
7701   }
7702 
7703   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(uninterpreted_option_)) return false;
7704   return true;
7705 }
7706 
InternalSwap(MessageOptions * other)7707 void MessageOptions::InternalSwap(MessageOptions* other) {
7708   using std::swap;
7709   _extensions_.Swap(&other->_extensions_);
7710   _internal_metadata_.Swap(&other->_internal_metadata_);
7711   swap(_has_bits_[0], other->_has_bits_[0]);
7712   uninterpreted_option_.InternalSwap(&other->uninterpreted_option_);
7713   swap(message_set_wire_format_, other->message_set_wire_format_);
7714   swap(no_standard_descriptor_accessor_, other->no_standard_descriptor_accessor_);
7715   swap(deprecated_, other->deprecated_);
7716   swap(map_entry_, other->map_entry_);
7717 }
7718 
GetMetadata() const7719 ::PROTOBUF_NAMESPACE_ID::Metadata MessageOptions::GetMetadata() const {
7720   return GetMetadataStatic();
7721 }
7722 
7723 
7724 // ===================================================================
7725 
InitAsDefaultInstance()7726 void FieldOptions::InitAsDefaultInstance() {
7727 }
7728 class FieldOptions::_Internal {
7729  public:
7730   using HasBits = decltype(std::declval<FieldOptions>()._has_bits_);
set_has_ctype(HasBits * has_bits)7731   static void set_has_ctype(HasBits* has_bits) {
7732     (*has_bits)[0] |= 1u;
7733   }
set_has_packed(HasBits * has_bits)7734   static void set_has_packed(HasBits* has_bits) {
7735     (*has_bits)[0] |= 2u;
7736   }
set_has_jstype(HasBits * has_bits)7737   static void set_has_jstype(HasBits* has_bits) {
7738     (*has_bits)[0] |= 32u;
7739   }
set_has_lazy(HasBits * has_bits)7740   static void set_has_lazy(HasBits* has_bits) {
7741     (*has_bits)[0] |= 4u;
7742   }
set_has_deprecated(HasBits * has_bits)7743   static void set_has_deprecated(HasBits* has_bits) {
7744     (*has_bits)[0] |= 8u;
7745   }
set_has_weak(HasBits * has_bits)7746   static void set_has_weak(HasBits* has_bits) {
7747     (*has_bits)[0] |= 16u;
7748   }
7749 };
7750 
FieldOptions()7751 FieldOptions::FieldOptions()
7752   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
7753   SharedCtor();
7754   // @@protoc_insertion_point(constructor:google.protobuf.FieldOptions)
7755 }
FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena)7756 FieldOptions::FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena)
7757   : ::PROTOBUF_NAMESPACE_ID::Message(),
7758   _extensions_(arena),
7759   _internal_metadata_(arena),
7760   uninterpreted_option_(arena) {
7761   SharedCtor();
7762   RegisterArenaDtor(arena);
7763   // @@protoc_insertion_point(arena_constructor:google.protobuf.FieldOptions)
7764 }
FieldOptions(const FieldOptions & from)7765 FieldOptions::FieldOptions(const FieldOptions& from)
7766   : ::PROTOBUF_NAMESPACE_ID::Message(),
7767       _internal_metadata_(nullptr),
7768       _has_bits_(from._has_bits_),
7769       uninterpreted_option_(from.uninterpreted_option_) {
7770   _internal_metadata_.MergeFrom(from._internal_metadata_);
7771   _extensions_.MergeFrom(from._extensions_);
7772   ::memcpy(&ctype_, &from.ctype_,
7773     static_cast<size_t>(reinterpret_cast<char*>(&jstype_) -
7774     reinterpret_cast<char*>(&ctype_)) + sizeof(jstype_));
7775   // @@protoc_insertion_point(copy_constructor:google.protobuf.FieldOptions)
7776 }
7777 
SharedCtor()7778 void FieldOptions::SharedCtor() {
7779   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
7780   ::memset(&ctype_, 0, static_cast<size_t>(
7781       reinterpret_cast<char*>(&jstype_) -
7782       reinterpret_cast<char*>(&ctype_)) + sizeof(jstype_));
7783 }
7784 
~FieldOptions()7785 FieldOptions::~FieldOptions() {
7786   // @@protoc_insertion_point(destructor:google.protobuf.FieldOptions)
7787   SharedDtor();
7788 }
7789 
SharedDtor()7790 void FieldOptions::SharedDtor() {
7791   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
7792 }
7793 
ArenaDtor(void * object)7794 void FieldOptions::ArenaDtor(void* object) {
7795   FieldOptions* _this = reinterpret_cast< FieldOptions* >(object);
7796   (void)_this;
7797 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)7798 void FieldOptions::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
7799 }
SetCachedSize(int size) const7800 void FieldOptions::SetCachedSize(int size) const {
7801   _cached_size_.Set(size);
7802 }
default_instance()7803 const FieldOptions& FieldOptions::default_instance() {
7804   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
7805   return *internal_default_instance();
7806 }
7807 
7808 
Clear()7809 void FieldOptions::Clear() {
7810 // @@protoc_insertion_point(message_clear_start:google.protobuf.FieldOptions)
7811   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
7812   // Prevent compiler warnings about cached_has_bits being unused
7813   (void) cached_has_bits;
7814 
7815   _extensions_.Clear();
7816   uninterpreted_option_.Clear();
7817   cached_has_bits = _has_bits_[0];
7818   if (cached_has_bits & 0x0000003fu) {
7819     ::memset(&ctype_, 0, static_cast<size_t>(
7820         reinterpret_cast<char*>(&jstype_) -
7821         reinterpret_cast<char*>(&ctype_)) + sizeof(jstype_));
7822   }
7823   _has_bits_.Clear();
7824   _internal_metadata_.Clear();
7825 }
7826 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)7827 const char* FieldOptions::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
7828 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7829   _Internal::HasBits has_bits{};
7830   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
7831   while (!ctx->Done(&ptr)) {
7832     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
7833     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
7834     CHK_(ptr);
7835     switch (tag >> 3) {
7836       // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
7837       case 1:
7838         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
7839           ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
7840           CHK_(ptr);
7841           if (PROTOBUF_PREDICT_TRUE(PROTOBUF_NAMESPACE_ID::FieldOptions_CType_IsValid(val))) {
7842             _internal_set_ctype(static_cast<PROTOBUF_NAMESPACE_ID::FieldOptions_CType>(val));
7843           } else {
7844             ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields());
7845           }
7846         } else goto handle_unusual;
7847         continue;
7848       // optional bool packed = 2;
7849       case 2:
7850         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
7851           _Internal::set_has_packed(&has_bits);
7852           packed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
7853           CHK_(ptr);
7854         } else goto handle_unusual;
7855         continue;
7856       // optional bool deprecated = 3 [default = false];
7857       case 3:
7858         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
7859           _Internal::set_has_deprecated(&has_bits);
7860           deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
7861           CHK_(ptr);
7862         } else goto handle_unusual;
7863         continue;
7864       // optional bool lazy = 5 [default = false];
7865       case 5:
7866         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
7867           _Internal::set_has_lazy(&has_bits);
7868           lazy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
7869           CHK_(ptr);
7870         } else goto handle_unusual;
7871         continue;
7872       // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
7873       case 6:
7874         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
7875           ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
7876           CHK_(ptr);
7877           if (PROTOBUF_PREDICT_TRUE(PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_IsValid(val))) {
7878             _internal_set_jstype(static_cast<PROTOBUF_NAMESPACE_ID::FieldOptions_JSType>(val));
7879           } else {
7880             ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(6, val, mutable_unknown_fields());
7881           }
7882         } else goto handle_unusual;
7883         continue;
7884       // optional bool weak = 10 [default = false];
7885       case 10:
7886         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
7887           _Internal::set_has_weak(&has_bits);
7888           weak_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
7889           CHK_(ptr);
7890         } else goto handle_unusual;
7891         continue;
7892       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7893       case 999:
7894         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
7895           ptr -= 2;
7896           do {
7897             ptr += 2;
7898             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
7899             CHK_(ptr);
7900             if (!ctx->DataAvailable(ptr)) break;
7901           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
7902         } else goto handle_unusual;
7903         continue;
7904       default: {
7905       handle_unusual:
7906         if ((tag & 7) == 4 || tag == 0) {
7907           ctx->SetLastTag(tag);
7908           goto success;
7909         }
7910       if ((8000u <= tag)) {
7911         ptr = _extensions_.ParseField(tag, ptr,
7912             internal_default_instance(), &_internal_metadata_, ctx);
7913         CHK_(ptr != nullptr);
7914         continue;
7915       }
7916         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
7917         CHK_(ptr != nullptr);
7918         continue;
7919       }
7920     }  // switch
7921   }  // while
7922 success:
7923   _has_bits_.Or(has_bits);
7924   return ptr;
7925 failure:
7926   ptr = nullptr;
7927   goto success;
7928 #undef CHK_
7929 }
7930 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const7931 ::PROTOBUF_NAMESPACE_ID::uint8* FieldOptions::_InternalSerialize(
7932     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7933   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldOptions)
7934   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
7935   (void) cached_has_bits;
7936 
7937   cached_has_bits = _has_bits_[0];
7938   // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
7939   if (cached_has_bits & 0x00000001u) {
7940     target = stream->EnsureSpace(target);
7941     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
7942       1, this->_internal_ctype(), target);
7943   }
7944 
7945   // optional bool packed = 2;
7946   if (cached_has_bits & 0x00000002u) {
7947     target = stream->EnsureSpace(target);
7948     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_packed(), target);
7949   }
7950 
7951   // optional bool deprecated = 3 [default = false];
7952   if (cached_has_bits & 0x00000008u) {
7953     target = stream->EnsureSpace(target);
7954     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_deprecated(), target);
7955   }
7956 
7957   // optional bool lazy = 5 [default = false];
7958   if (cached_has_bits & 0x00000004u) {
7959     target = stream->EnsureSpace(target);
7960     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_lazy(), target);
7961   }
7962 
7963   // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
7964   if (cached_has_bits & 0x00000020u) {
7965     target = stream->EnsureSpace(target);
7966     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
7967       6, this->_internal_jstype(), target);
7968   }
7969 
7970   // optional bool weak = 10 [default = false];
7971   if (cached_has_bits & 0x00000010u) {
7972     target = stream->EnsureSpace(target);
7973     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(10, this->_internal_weak(), target);
7974   }
7975 
7976   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7977   for (unsigned int i = 0,
7978       n = static_cast<unsigned int>(this->_internal_uninterpreted_option_size()); i < n; i++) {
7979     target = stream->EnsureSpace(target);
7980     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7981       InternalWriteMessage(999, this->_internal_uninterpreted_option(i), target, stream);
7982   }
7983 
7984   // Extension range [1000, 536870912)
7985   target = _extensions_._InternalSerialize(
7986       1000, 536870912, target, stream);
7987 
7988   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7989     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
7990         _internal_metadata_.unknown_fields(), target, stream);
7991   }
7992   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FieldOptions)
7993   return target;
7994 }
7995 
ByteSizeLong() const7996 size_t FieldOptions::ByteSizeLong() const {
7997 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldOptions)
7998   size_t total_size = 0;
7999 
8000   total_size += _extensions_.ByteSize();
8001 
8002   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8003   // Prevent compiler warnings about cached_has_bits being unused
8004   (void) cached_has_bits;
8005 
8006   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8007   total_size += 2UL * this->_internal_uninterpreted_option_size();
8008   for (const auto& msg : this->uninterpreted_option_) {
8009     total_size +=
8010       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
8011   }
8012 
8013   cached_has_bits = _has_bits_[0];
8014   if (cached_has_bits & 0x0000003fu) {
8015     // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
8016     if (cached_has_bits & 0x00000001u) {
8017       total_size += 1 +
8018         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_ctype());
8019     }
8020 
8021     // optional bool packed = 2;
8022     if (cached_has_bits & 0x00000002u) {
8023       total_size += 1 + 1;
8024     }
8025 
8026     // optional bool lazy = 5 [default = false];
8027     if (cached_has_bits & 0x00000004u) {
8028       total_size += 1 + 1;
8029     }
8030 
8031     // optional bool deprecated = 3 [default = false];
8032     if (cached_has_bits & 0x00000008u) {
8033       total_size += 1 + 1;
8034     }
8035 
8036     // optional bool weak = 10 [default = false];
8037     if (cached_has_bits & 0x00000010u) {
8038       total_size += 1 + 1;
8039     }
8040 
8041     // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
8042     if (cached_has_bits & 0x00000020u) {
8043       total_size += 1 +
8044         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_jstype());
8045     }
8046 
8047   }
8048   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8049     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
8050         _internal_metadata_, total_size, &_cached_size_);
8051   }
8052   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
8053   SetCachedSize(cached_size);
8054   return total_size;
8055 }
8056 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)8057 void FieldOptions::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
8058 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FieldOptions)
8059   GOOGLE_DCHECK_NE(&from, this);
8060   const FieldOptions* source =
8061       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<FieldOptions>(
8062           &from);
8063   if (source == nullptr) {
8064   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FieldOptions)
8065     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
8066   } else {
8067   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FieldOptions)
8068     MergeFrom(*source);
8069   }
8070 }
8071 
MergeFrom(const FieldOptions & from)8072 void FieldOptions::MergeFrom(const FieldOptions& from) {
8073 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldOptions)
8074   GOOGLE_DCHECK_NE(&from, this);
8075   _extensions_.MergeFrom(from._extensions_);
8076   _internal_metadata_.MergeFrom(from._internal_metadata_);
8077   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8078   (void) cached_has_bits;
8079 
8080   uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
8081   cached_has_bits = from._has_bits_[0];
8082   if (cached_has_bits & 0x0000003fu) {
8083     if (cached_has_bits & 0x00000001u) {
8084       ctype_ = from.ctype_;
8085     }
8086     if (cached_has_bits & 0x00000002u) {
8087       packed_ = from.packed_;
8088     }
8089     if (cached_has_bits & 0x00000004u) {
8090       lazy_ = from.lazy_;
8091     }
8092     if (cached_has_bits & 0x00000008u) {
8093       deprecated_ = from.deprecated_;
8094     }
8095     if (cached_has_bits & 0x00000010u) {
8096       weak_ = from.weak_;
8097     }
8098     if (cached_has_bits & 0x00000020u) {
8099       jstype_ = from.jstype_;
8100     }
8101     _has_bits_[0] |= cached_has_bits;
8102   }
8103 }
8104 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)8105 void FieldOptions::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
8106 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FieldOptions)
8107   if (&from == this) return;
8108   Clear();
8109   MergeFrom(from);
8110 }
8111 
CopyFrom(const FieldOptions & from)8112 void FieldOptions::CopyFrom(const FieldOptions& from) {
8113 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FieldOptions)
8114   if (&from == this) return;
8115   Clear();
8116   MergeFrom(from);
8117 }
8118 
IsInitialized() const8119 bool FieldOptions::IsInitialized() const {
8120   if (!_extensions_.IsInitialized()) {
8121     return false;
8122   }
8123 
8124   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(uninterpreted_option_)) return false;
8125   return true;
8126 }
8127 
InternalSwap(FieldOptions * other)8128 void FieldOptions::InternalSwap(FieldOptions* other) {
8129   using std::swap;
8130   _extensions_.Swap(&other->_extensions_);
8131   _internal_metadata_.Swap(&other->_internal_metadata_);
8132   swap(_has_bits_[0], other->_has_bits_[0]);
8133   uninterpreted_option_.InternalSwap(&other->uninterpreted_option_);
8134   swap(ctype_, other->ctype_);
8135   swap(packed_, other->packed_);
8136   swap(lazy_, other->lazy_);
8137   swap(deprecated_, other->deprecated_);
8138   swap(weak_, other->weak_);
8139   swap(jstype_, other->jstype_);
8140 }
8141 
GetMetadata() const8142 ::PROTOBUF_NAMESPACE_ID::Metadata FieldOptions::GetMetadata() const {
8143   return GetMetadataStatic();
8144 }
8145 
8146 
8147 // ===================================================================
8148 
InitAsDefaultInstance()8149 void OneofOptions::InitAsDefaultInstance() {
8150 }
8151 class OneofOptions::_Internal {
8152  public:
8153   using HasBits = decltype(std::declval<OneofOptions>()._has_bits_);
8154 };
8155 
OneofOptions()8156 OneofOptions::OneofOptions()
8157   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
8158   SharedCtor();
8159   // @@protoc_insertion_point(constructor:google.protobuf.OneofOptions)
8160 }
OneofOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena)8161 OneofOptions::OneofOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena)
8162   : ::PROTOBUF_NAMESPACE_ID::Message(),
8163   _extensions_(arena),
8164   _internal_metadata_(arena),
8165   uninterpreted_option_(arena) {
8166   SharedCtor();
8167   RegisterArenaDtor(arena);
8168   // @@protoc_insertion_point(arena_constructor:google.protobuf.OneofOptions)
8169 }
OneofOptions(const OneofOptions & from)8170 OneofOptions::OneofOptions(const OneofOptions& from)
8171   : ::PROTOBUF_NAMESPACE_ID::Message(),
8172       _internal_metadata_(nullptr),
8173       _has_bits_(from._has_bits_),
8174       uninterpreted_option_(from.uninterpreted_option_) {
8175   _internal_metadata_.MergeFrom(from._internal_metadata_);
8176   _extensions_.MergeFrom(from._extensions_);
8177   // @@protoc_insertion_point(copy_constructor:google.protobuf.OneofOptions)
8178 }
8179 
SharedCtor()8180 void OneofOptions::SharedCtor() {
8181   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_OneofOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
8182 }
8183 
~OneofOptions()8184 OneofOptions::~OneofOptions() {
8185   // @@protoc_insertion_point(destructor:google.protobuf.OneofOptions)
8186   SharedDtor();
8187 }
8188 
SharedDtor()8189 void OneofOptions::SharedDtor() {
8190   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
8191 }
8192 
ArenaDtor(void * object)8193 void OneofOptions::ArenaDtor(void* object) {
8194   OneofOptions* _this = reinterpret_cast< OneofOptions* >(object);
8195   (void)_this;
8196 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)8197 void OneofOptions::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
8198 }
SetCachedSize(int size) const8199 void OneofOptions::SetCachedSize(int size) const {
8200   _cached_size_.Set(size);
8201 }
default_instance()8202 const OneofOptions& OneofOptions::default_instance() {
8203   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_OneofOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
8204   return *internal_default_instance();
8205 }
8206 
8207 
Clear()8208 void OneofOptions::Clear() {
8209 // @@protoc_insertion_point(message_clear_start:google.protobuf.OneofOptions)
8210   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8211   // Prevent compiler warnings about cached_has_bits being unused
8212   (void) cached_has_bits;
8213 
8214   _extensions_.Clear();
8215   uninterpreted_option_.Clear();
8216   _has_bits_.Clear();
8217   _internal_metadata_.Clear();
8218 }
8219 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)8220 const char* OneofOptions::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
8221 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8222   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
8223   while (!ctx->Done(&ptr)) {
8224     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
8225     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
8226     CHK_(ptr);
8227     switch (tag >> 3) {
8228       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8229       case 999:
8230         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
8231           ptr -= 2;
8232           do {
8233             ptr += 2;
8234             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
8235             CHK_(ptr);
8236             if (!ctx->DataAvailable(ptr)) break;
8237           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
8238         } else goto handle_unusual;
8239         continue;
8240       default: {
8241       handle_unusual:
8242         if ((tag & 7) == 4 || tag == 0) {
8243           ctx->SetLastTag(tag);
8244           goto success;
8245         }
8246       if ((8000u <= tag)) {
8247         ptr = _extensions_.ParseField(tag, ptr,
8248             internal_default_instance(), &_internal_metadata_, ctx);
8249         CHK_(ptr != nullptr);
8250         continue;
8251       }
8252         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
8253         CHK_(ptr != nullptr);
8254         continue;
8255       }
8256     }  // switch
8257   }  // while
8258 success:
8259   return ptr;
8260 failure:
8261   ptr = nullptr;
8262   goto success;
8263 #undef CHK_
8264 }
8265 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const8266 ::PROTOBUF_NAMESPACE_ID::uint8* OneofOptions::_InternalSerialize(
8267     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8268   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.OneofOptions)
8269   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8270   (void) cached_has_bits;
8271 
8272   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8273   for (unsigned int i = 0,
8274       n = static_cast<unsigned int>(this->_internal_uninterpreted_option_size()); i < n; i++) {
8275     target = stream->EnsureSpace(target);
8276     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
8277       InternalWriteMessage(999, this->_internal_uninterpreted_option(i), target, stream);
8278   }
8279 
8280   // Extension range [1000, 536870912)
8281   target = _extensions_._InternalSerialize(
8282       1000, 536870912, target, stream);
8283 
8284   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8285     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
8286         _internal_metadata_.unknown_fields(), target, stream);
8287   }
8288   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.OneofOptions)
8289   return target;
8290 }
8291 
ByteSizeLong() const8292 size_t OneofOptions::ByteSizeLong() const {
8293 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.OneofOptions)
8294   size_t total_size = 0;
8295 
8296   total_size += _extensions_.ByteSize();
8297 
8298   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8299   // Prevent compiler warnings about cached_has_bits being unused
8300   (void) cached_has_bits;
8301 
8302   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8303   total_size += 2UL * this->_internal_uninterpreted_option_size();
8304   for (const auto& msg : this->uninterpreted_option_) {
8305     total_size +=
8306       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
8307   }
8308 
8309   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8310     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
8311         _internal_metadata_, total_size, &_cached_size_);
8312   }
8313   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
8314   SetCachedSize(cached_size);
8315   return total_size;
8316 }
8317 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)8318 void OneofOptions::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
8319 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.OneofOptions)
8320   GOOGLE_DCHECK_NE(&from, this);
8321   const OneofOptions* source =
8322       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<OneofOptions>(
8323           &from);
8324   if (source == nullptr) {
8325   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.OneofOptions)
8326     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
8327   } else {
8328   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.OneofOptions)
8329     MergeFrom(*source);
8330   }
8331 }
8332 
MergeFrom(const OneofOptions & from)8333 void OneofOptions::MergeFrom(const OneofOptions& from) {
8334 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.OneofOptions)
8335   GOOGLE_DCHECK_NE(&from, this);
8336   _extensions_.MergeFrom(from._extensions_);
8337   _internal_metadata_.MergeFrom(from._internal_metadata_);
8338   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8339   (void) cached_has_bits;
8340 
8341   uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
8342 }
8343 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)8344 void OneofOptions::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
8345 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.OneofOptions)
8346   if (&from == this) return;
8347   Clear();
8348   MergeFrom(from);
8349 }
8350 
CopyFrom(const OneofOptions & from)8351 void OneofOptions::CopyFrom(const OneofOptions& from) {
8352 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.OneofOptions)
8353   if (&from == this) return;
8354   Clear();
8355   MergeFrom(from);
8356 }
8357 
IsInitialized() const8358 bool OneofOptions::IsInitialized() const {
8359   if (!_extensions_.IsInitialized()) {
8360     return false;
8361   }
8362 
8363   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(uninterpreted_option_)) return false;
8364   return true;
8365 }
8366 
InternalSwap(OneofOptions * other)8367 void OneofOptions::InternalSwap(OneofOptions* other) {
8368   using std::swap;
8369   _extensions_.Swap(&other->_extensions_);
8370   _internal_metadata_.Swap(&other->_internal_metadata_);
8371   swap(_has_bits_[0], other->_has_bits_[0]);
8372   uninterpreted_option_.InternalSwap(&other->uninterpreted_option_);
8373 }
8374 
GetMetadata() const8375 ::PROTOBUF_NAMESPACE_ID::Metadata OneofOptions::GetMetadata() const {
8376   return GetMetadataStatic();
8377 }
8378 
8379 
8380 // ===================================================================
8381 
InitAsDefaultInstance()8382 void EnumOptions::InitAsDefaultInstance() {
8383 }
8384 class EnumOptions::_Internal {
8385  public:
8386   using HasBits = decltype(std::declval<EnumOptions>()._has_bits_);
set_has_allow_alias(HasBits * has_bits)8387   static void set_has_allow_alias(HasBits* has_bits) {
8388     (*has_bits)[0] |= 1u;
8389   }
set_has_deprecated(HasBits * has_bits)8390   static void set_has_deprecated(HasBits* has_bits) {
8391     (*has_bits)[0] |= 2u;
8392   }
8393 };
8394 
EnumOptions()8395 EnumOptions::EnumOptions()
8396   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
8397   SharedCtor();
8398   // @@protoc_insertion_point(constructor:google.protobuf.EnumOptions)
8399 }
EnumOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena)8400 EnumOptions::EnumOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena)
8401   : ::PROTOBUF_NAMESPACE_ID::Message(),
8402   _extensions_(arena),
8403   _internal_metadata_(arena),
8404   uninterpreted_option_(arena) {
8405   SharedCtor();
8406   RegisterArenaDtor(arena);
8407   // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumOptions)
8408 }
EnumOptions(const EnumOptions & from)8409 EnumOptions::EnumOptions(const EnumOptions& from)
8410   : ::PROTOBUF_NAMESPACE_ID::Message(),
8411       _internal_metadata_(nullptr),
8412       _has_bits_(from._has_bits_),
8413       uninterpreted_option_(from.uninterpreted_option_) {
8414   _internal_metadata_.MergeFrom(from._internal_metadata_);
8415   _extensions_.MergeFrom(from._extensions_);
8416   ::memcpy(&allow_alias_, &from.allow_alias_,
8417     static_cast<size_t>(reinterpret_cast<char*>(&deprecated_) -
8418     reinterpret_cast<char*>(&allow_alias_)) + sizeof(deprecated_));
8419   // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumOptions)
8420 }
8421 
SharedCtor()8422 void EnumOptions::SharedCtor() {
8423   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EnumOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
8424   ::memset(&allow_alias_, 0, static_cast<size_t>(
8425       reinterpret_cast<char*>(&deprecated_) -
8426       reinterpret_cast<char*>(&allow_alias_)) + sizeof(deprecated_));
8427 }
8428 
~EnumOptions()8429 EnumOptions::~EnumOptions() {
8430   // @@protoc_insertion_point(destructor:google.protobuf.EnumOptions)
8431   SharedDtor();
8432 }
8433 
SharedDtor()8434 void EnumOptions::SharedDtor() {
8435   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
8436 }
8437 
ArenaDtor(void * object)8438 void EnumOptions::ArenaDtor(void* object) {
8439   EnumOptions* _this = reinterpret_cast< EnumOptions* >(object);
8440   (void)_this;
8441 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)8442 void EnumOptions::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
8443 }
SetCachedSize(int size) const8444 void EnumOptions::SetCachedSize(int size) const {
8445   _cached_size_.Set(size);
8446 }
default_instance()8447 const EnumOptions& EnumOptions::default_instance() {
8448   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EnumOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
8449   return *internal_default_instance();
8450 }
8451 
8452 
Clear()8453 void EnumOptions::Clear() {
8454 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumOptions)
8455   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8456   // Prevent compiler warnings about cached_has_bits being unused
8457   (void) cached_has_bits;
8458 
8459   _extensions_.Clear();
8460   uninterpreted_option_.Clear();
8461   ::memset(&allow_alias_, 0, static_cast<size_t>(
8462       reinterpret_cast<char*>(&deprecated_) -
8463       reinterpret_cast<char*>(&allow_alias_)) + sizeof(deprecated_));
8464   _has_bits_.Clear();
8465   _internal_metadata_.Clear();
8466 }
8467 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)8468 const char* EnumOptions::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
8469 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8470   _Internal::HasBits has_bits{};
8471   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
8472   while (!ctx->Done(&ptr)) {
8473     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
8474     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
8475     CHK_(ptr);
8476     switch (tag >> 3) {
8477       // optional bool allow_alias = 2;
8478       case 2:
8479         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
8480           _Internal::set_has_allow_alias(&has_bits);
8481           allow_alias_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
8482           CHK_(ptr);
8483         } else goto handle_unusual;
8484         continue;
8485       // optional bool deprecated = 3 [default = false];
8486       case 3:
8487         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
8488           _Internal::set_has_deprecated(&has_bits);
8489           deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
8490           CHK_(ptr);
8491         } else goto handle_unusual;
8492         continue;
8493       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8494       case 999:
8495         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
8496           ptr -= 2;
8497           do {
8498             ptr += 2;
8499             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
8500             CHK_(ptr);
8501             if (!ctx->DataAvailable(ptr)) break;
8502           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
8503         } else goto handle_unusual;
8504         continue;
8505       default: {
8506       handle_unusual:
8507         if ((tag & 7) == 4 || tag == 0) {
8508           ctx->SetLastTag(tag);
8509           goto success;
8510         }
8511       if ((8000u <= tag)) {
8512         ptr = _extensions_.ParseField(tag, ptr,
8513             internal_default_instance(), &_internal_metadata_, ctx);
8514         CHK_(ptr != nullptr);
8515         continue;
8516       }
8517         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
8518         CHK_(ptr != nullptr);
8519         continue;
8520       }
8521     }  // switch
8522   }  // while
8523 success:
8524   _has_bits_.Or(has_bits);
8525   return ptr;
8526 failure:
8527   ptr = nullptr;
8528   goto success;
8529 #undef CHK_
8530 }
8531 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const8532 ::PROTOBUF_NAMESPACE_ID::uint8* EnumOptions::_InternalSerialize(
8533     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8534   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumOptions)
8535   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8536   (void) cached_has_bits;
8537 
8538   cached_has_bits = _has_bits_[0];
8539   // optional bool allow_alias = 2;
8540   if (cached_has_bits & 0x00000001u) {
8541     target = stream->EnsureSpace(target);
8542     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_allow_alias(), target);
8543   }
8544 
8545   // optional bool deprecated = 3 [default = false];
8546   if (cached_has_bits & 0x00000002u) {
8547     target = stream->EnsureSpace(target);
8548     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_deprecated(), target);
8549   }
8550 
8551   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8552   for (unsigned int i = 0,
8553       n = static_cast<unsigned int>(this->_internal_uninterpreted_option_size()); i < n; i++) {
8554     target = stream->EnsureSpace(target);
8555     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
8556       InternalWriteMessage(999, this->_internal_uninterpreted_option(i), target, stream);
8557   }
8558 
8559   // Extension range [1000, 536870912)
8560   target = _extensions_._InternalSerialize(
8561       1000, 536870912, target, stream);
8562 
8563   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8564     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
8565         _internal_metadata_.unknown_fields(), target, stream);
8566   }
8567   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumOptions)
8568   return target;
8569 }
8570 
ByteSizeLong() const8571 size_t EnumOptions::ByteSizeLong() const {
8572 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumOptions)
8573   size_t total_size = 0;
8574 
8575   total_size += _extensions_.ByteSize();
8576 
8577   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8578   // Prevent compiler warnings about cached_has_bits being unused
8579   (void) cached_has_bits;
8580 
8581   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8582   total_size += 2UL * this->_internal_uninterpreted_option_size();
8583   for (const auto& msg : this->uninterpreted_option_) {
8584     total_size +=
8585       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
8586   }
8587 
8588   cached_has_bits = _has_bits_[0];
8589   if (cached_has_bits & 0x00000003u) {
8590     // optional bool allow_alias = 2;
8591     if (cached_has_bits & 0x00000001u) {
8592       total_size += 1 + 1;
8593     }
8594 
8595     // optional bool deprecated = 3 [default = false];
8596     if (cached_has_bits & 0x00000002u) {
8597       total_size += 1 + 1;
8598     }
8599 
8600   }
8601   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8602     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
8603         _internal_metadata_, total_size, &_cached_size_);
8604   }
8605   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
8606   SetCachedSize(cached_size);
8607   return total_size;
8608 }
8609 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)8610 void EnumOptions::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
8611 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumOptions)
8612   GOOGLE_DCHECK_NE(&from, this);
8613   const EnumOptions* source =
8614       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EnumOptions>(
8615           &from);
8616   if (source == nullptr) {
8617   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumOptions)
8618     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
8619   } else {
8620   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumOptions)
8621     MergeFrom(*source);
8622   }
8623 }
8624 
MergeFrom(const EnumOptions & from)8625 void EnumOptions::MergeFrom(const EnumOptions& from) {
8626 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumOptions)
8627   GOOGLE_DCHECK_NE(&from, this);
8628   _extensions_.MergeFrom(from._extensions_);
8629   _internal_metadata_.MergeFrom(from._internal_metadata_);
8630   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8631   (void) cached_has_bits;
8632 
8633   uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
8634   cached_has_bits = from._has_bits_[0];
8635   if (cached_has_bits & 0x00000003u) {
8636     if (cached_has_bits & 0x00000001u) {
8637       allow_alias_ = from.allow_alias_;
8638     }
8639     if (cached_has_bits & 0x00000002u) {
8640       deprecated_ = from.deprecated_;
8641     }
8642     _has_bits_[0] |= cached_has_bits;
8643   }
8644 }
8645 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)8646 void EnumOptions::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
8647 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumOptions)
8648   if (&from == this) return;
8649   Clear();
8650   MergeFrom(from);
8651 }
8652 
CopyFrom(const EnumOptions & from)8653 void EnumOptions::CopyFrom(const EnumOptions& from) {
8654 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumOptions)
8655   if (&from == this) return;
8656   Clear();
8657   MergeFrom(from);
8658 }
8659 
IsInitialized() const8660 bool EnumOptions::IsInitialized() const {
8661   if (!_extensions_.IsInitialized()) {
8662     return false;
8663   }
8664 
8665   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(uninterpreted_option_)) return false;
8666   return true;
8667 }
8668 
InternalSwap(EnumOptions * other)8669 void EnumOptions::InternalSwap(EnumOptions* other) {
8670   using std::swap;
8671   _extensions_.Swap(&other->_extensions_);
8672   _internal_metadata_.Swap(&other->_internal_metadata_);
8673   swap(_has_bits_[0], other->_has_bits_[0]);
8674   uninterpreted_option_.InternalSwap(&other->uninterpreted_option_);
8675   swap(allow_alias_, other->allow_alias_);
8676   swap(deprecated_, other->deprecated_);
8677 }
8678 
GetMetadata() const8679 ::PROTOBUF_NAMESPACE_ID::Metadata EnumOptions::GetMetadata() const {
8680   return GetMetadataStatic();
8681 }
8682 
8683 
8684 // ===================================================================
8685 
InitAsDefaultInstance()8686 void EnumValueOptions::InitAsDefaultInstance() {
8687 }
8688 class EnumValueOptions::_Internal {
8689  public:
8690   using HasBits = decltype(std::declval<EnumValueOptions>()._has_bits_);
set_has_deprecated(HasBits * has_bits)8691   static void set_has_deprecated(HasBits* has_bits) {
8692     (*has_bits)[0] |= 1u;
8693   }
8694 };
8695 
EnumValueOptions()8696 EnumValueOptions::EnumValueOptions()
8697   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
8698   SharedCtor();
8699   // @@protoc_insertion_point(constructor:google.protobuf.EnumValueOptions)
8700 }
EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena)8701 EnumValueOptions::EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena)
8702   : ::PROTOBUF_NAMESPACE_ID::Message(),
8703   _extensions_(arena),
8704   _internal_metadata_(arena),
8705   uninterpreted_option_(arena) {
8706   SharedCtor();
8707   RegisterArenaDtor(arena);
8708   // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumValueOptions)
8709 }
EnumValueOptions(const EnumValueOptions & from)8710 EnumValueOptions::EnumValueOptions(const EnumValueOptions& from)
8711   : ::PROTOBUF_NAMESPACE_ID::Message(),
8712       _internal_metadata_(nullptr),
8713       _has_bits_(from._has_bits_),
8714       uninterpreted_option_(from.uninterpreted_option_) {
8715   _internal_metadata_.MergeFrom(from._internal_metadata_);
8716   _extensions_.MergeFrom(from._extensions_);
8717   deprecated_ = from.deprecated_;
8718   // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumValueOptions)
8719 }
8720 
SharedCtor()8721 void EnumValueOptions::SharedCtor() {
8722   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EnumValueOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
8723   deprecated_ = false;
8724 }
8725 
~EnumValueOptions()8726 EnumValueOptions::~EnumValueOptions() {
8727   // @@protoc_insertion_point(destructor:google.protobuf.EnumValueOptions)
8728   SharedDtor();
8729 }
8730 
SharedDtor()8731 void EnumValueOptions::SharedDtor() {
8732   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
8733 }
8734 
ArenaDtor(void * object)8735 void EnumValueOptions::ArenaDtor(void* object) {
8736   EnumValueOptions* _this = reinterpret_cast< EnumValueOptions* >(object);
8737   (void)_this;
8738 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)8739 void EnumValueOptions::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
8740 }
SetCachedSize(int size) const8741 void EnumValueOptions::SetCachedSize(int size) const {
8742   _cached_size_.Set(size);
8743 }
default_instance()8744 const EnumValueOptions& EnumValueOptions::default_instance() {
8745   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EnumValueOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
8746   return *internal_default_instance();
8747 }
8748 
8749 
Clear()8750 void EnumValueOptions::Clear() {
8751 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumValueOptions)
8752   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8753   // Prevent compiler warnings about cached_has_bits being unused
8754   (void) cached_has_bits;
8755 
8756   _extensions_.Clear();
8757   uninterpreted_option_.Clear();
8758   deprecated_ = false;
8759   _has_bits_.Clear();
8760   _internal_metadata_.Clear();
8761 }
8762 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)8763 const char* EnumValueOptions::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
8764 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8765   _Internal::HasBits has_bits{};
8766   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
8767   while (!ctx->Done(&ptr)) {
8768     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
8769     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
8770     CHK_(ptr);
8771     switch (tag >> 3) {
8772       // optional bool deprecated = 1 [default = false];
8773       case 1:
8774         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
8775           _Internal::set_has_deprecated(&has_bits);
8776           deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
8777           CHK_(ptr);
8778         } else goto handle_unusual;
8779         continue;
8780       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8781       case 999:
8782         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
8783           ptr -= 2;
8784           do {
8785             ptr += 2;
8786             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
8787             CHK_(ptr);
8788             if (!ctx->DataAvailable(ptr)) break;
8789           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
8790         } else goto handle_unusual;
8791         continue;
8792       default: {
8793       handle_unusual:
8794         if ((tag & 7) == 4 || tag == 0) {
8795           ctx->SetLastTag(tag);
8796           goto success;
8797         }
8798       if ((8000u <= tag)) {
8799         ptr = _extensions_.ParseField(tag, ptr,
8800             internal_default_instance(), &_internal_metadata_, ctx);
8801         CHK_(ptr != nullptr);
8802         continue;
8803       }
8804         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
8805         CHK_(ptr != nullptr);
8806         continue;
8807       }
8808     }  // switch
8809   }  // while
8810 success:
8811   _has_bits_.Or(has_bits);
8812   return ptr;
8813 failure:
8814   ptr = nullptr;
8815   goto success;
8816 #undef CHK_
8817 }
8818 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const8819 ::PROTOBUF_NAMESPACE_ID::uint8* EnumValueOptions::_InternalSerialize(
8820     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8821   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValueOptions)
8822   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8823   (void) cached_has_bits;
8824 
8825   cached_has_bits = _has_bits_[0];
8826   // optional bool deprecated = 1 [default = false];
8827   if (cached_has_bits & 0x00000001u) {
8828     target = stream->EnsureSpace(target);
8829     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_deprecated(), target);
8830   }
8831 
8832   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8833   for (unsigned int i = 0,
8834       n = static_cast<unsigned int>(this->_internal_uninterpreted_option_size()); i < n; i++) {
8835     target = stream->EnsureSpace(target);
8836     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
8837       InternalWriteMessage(999, this->_internal_uninterpreted_option(i), target, stream);
8838   }
8839 
8840   // Extension range [1000, 536870912)
8841   target = _extensions_._InternalSerialize(
8842       1000, 536870912, target, stream);
8843 
8844   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8845     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
8846         _internal_metadata_.unknown_fields(), target, stream);
8847   }
8848   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumValueOptions)
8849   return target;
8850 }
8851 
ByteSizeLong() const8852 size_t EnumValueOptions::ByteSizeLong() const {
8853 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValueOptions)
8854   size_t total_size = 0;
8855 
8856   total_size += _extensions_.ByteSize();
8857 
8858   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8859   // Prevent compiler warnings about cached_has_bits being unused
8860   (void) cached_has_bits;
8861 
8862   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8863   total_size += 2UL * this->_internal_uninterpreted_option_size();
8864   for (const auto& msg : this->uninterpreted_option_) {
8865     total_size +=
8866       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
8867   }
8868 
8869   // optional bool deprecated = 1 [default = false];
8870   cached_has_bits = _has_bits_[0];
8871   if (cached_has_bits & 0x00000001u) {
8872     total_size += 1 + 1;
8873   }
8874 
8875   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8876     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
8877         _internal_metadata_, total_size, &_cached_size_);
8878   }
8879   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
8880   SetCachedSize(cached_size);
8881   return total_size;
8882 }
8883 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)8884 void EnumValueOptions::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
8885 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumValueOptions)
8886   GOOGLE_DCHECK_NE(&from, this);
8887   const EnumValueOptions* source =
8888       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EnumValueOptions>(
8889           &from);
8890   if (source == nullptr) {
8891   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumValueOptions)
8892     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
8893   } else {
8894   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumValueOptions)
8895     MergeFrom(*source);
8896   }
8897 }
8898 
MergeFrom(const EnumValueOptions & from)8899 void EnumValueOptions::MergeFrom(const EnumValueOptions& from) {
8900 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumValueOptions)
8901   GOOGLE_DCHECK_NE(&from, this);
8902   _extensions_.MergeFrom(from._extensions_);
8903   _internal_metadata_.MergeFrom(from._internal_metadata_);
8904   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
8905   (void) cached_has_bits;
8906 
8907   uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
8908   if (from._internal_has_deprecated()) {
8909     _internal_set_deprecated(from._internal_deprecated());
8910   }
8911 }
8912 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)8913 void EnumValueOptions::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
8914 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumValueOptions)
8915   if (&from == this) return;
8916   Clear();
8917   MergeFrom(from);
8918 }
8919 
CopyFrom(const EnumValueOptions & from)8920 void EnumValueOptions::CopyFrom(const EnumValueOptions& from) {
8921 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumValueOptions)
8922   if (&from == this) return;
8923   Clear();
8924   MergeFrom(from);
8925 }
8926 
IsInitialized() const8927 bool EnumValueOptions::IsInitialized() const {
8928   if (!_extensions_.IsInitialized()) {
8929     return false;
8930   }
8931 
8932   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(uninterpreted_option_)) return false;
8933   return true;
8934 }
8935 
InternalSwap(EnumValueOptions * other)8936 void EnumValueOptions::InternalSwap(EnumValueOptions* other) {
8937   using std::swap;
8938   _extensions_.Swap(&other->_extensions_);
8939   _internal_metadata_.Swap(&other->_internal_metadata_);
8940   swap(_has_bits_[0], other->_has_bits_[0]);
8941   uninterpreted_option_.InternalSwap(&other->uninterpreted_option_);
8942   swap(deprecated_, other->deprecated_);
8943 }
8944 
GetMetadata() const8945 ::PROTOBUF_NAMESPACE_ID::Metadata EnumValueOptions::GetMetadata() const {
8946   return GetMetadataStatic();
8947 }
8948 
8949 
8950 // ===================================================================
8951 
InitAsDefaultInstance()8952 void ServiceOptions::InitAsDefaultInstance() {
8953 }
8954 class ServiceOptions::_Internal {
8955  public:
8956   using HasBits = decltype(std::declval<ServiceOptions>()._has_bits_);
set_has_deprecated(HasBits * has_bits)8957   static void set_has_deprecated(HasBits* has_bits) {
8958     (*has_bits)[0] |= 1u;
8959   }
8960 };
8961 
ServiceOptions()8962 ServiceOptions::ServiceOptions()
8963   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
8964   SharedCtor();
8965   // @@protoc_insertion_point(constructor:google.protobuf.ServiceOptions)
8966 }
ServiceOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena)8967 ServiceOptions::ServiceOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena)
8968   : ::PROTOBUF_NAMESPACE_ID::Message(),
8969   _extensions_(arena),
8970   _internal_metadata_(arena),
8971   uninterpreted_option_(arena) {
8972   SharedCtor();
8973   RegisterArenaDtor(arena);
8974   // @@protoc_insertion_point(arena_constructor:google.protobuf.ServiceOptions)
8975 }
ServiceOptions(const ServiceOptions & from)8976 ServiceOptions::ServiceOptions(const ServiceOptions& from)
8977   : ::PROTOBUF_NAMESPACE_ID::Message(),
8978       _internal_metadata_(nullptr),
8979       _has_bits_(from._has_bits_),
8980       uninterpreted_option_(from.uninterpreted_option_) {
8981   _internal_metadata_.MergeFrom(from._internal_metadata_);
8982   _extensions_.MergeFrom(from._extensions_);
8983   deprecated_ = from.deprecated_;
8984   // @@protoc_insertion_point(copy_constructor:google.protobuf.ServiceOptions)
8985 }
8986 
SharedCtor()8987 void ServiceOptions::SharedCtor() {
8988   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ServiceOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
8989   deprecated_ = false;
8990 }
8991 
~ServiceOptions()8992 ServiceOptions::~ServiceOptions() {
8993   // @@protoc_insertion_point(destructor:google.protobuf.ServiceOptions)
8994   SharedDtor();
8995 }
8996 
SharedDtor()8997 void ServiceOptions::SharedDtor() {
8998   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
8999 }
9000 
ArenaDtor(void * object)9001 void ServiceOptions::ArenaDtor(void* object) {
9002   ServiceOptions* _this = reinterpret_cast< ServiceOptions* >(object);
9003   (void)_this;
9004 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)9005 void ServiceOptions::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
9006 }
SetCachedSize(int size) const9007 void ServiceOptions::SetCachedSize(int size) const {
9008   _cached_size_.Set(size);
9009 }
default_instance()9010 const ServiceOptions& ServiceOptions::default_instance() {
9011   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ServiceOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
9012   return *internal_default_instance();
9013 }
9014 
9015 
Clear()9016 void ServiceOptions::Clear() {
9017 // @@protoc_insertion_point(message_clear_start:google.protobuf.ServiceOptions)
9018   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
9019   // Prevent compiler warnings about cached_has_bits being unused
9020   (void) cached_has_bits;
9021 
9022   _extensions_.Clear();
9023   uninterpreted_option_.Clear();
9024   deprecated_ = false;
9025   _has_bits_.Clear();
9026   _internal_metadata_.Clear();
9027 }
9028 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)9029 const char* ServiceOptions::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
9030 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9031   _Internal::HasBits has_bits{};
9032   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
9033   while (!ctx->Done(&ptr)) {
9034     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
9035     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
9036     CHK_(ptr);
9037     switch (tag >> 3) {
9038       // optional bool deprecated = 33 [default = false];
9039       case 33:
9040         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
9041           _Internal::set_has_deprecated(&has_bits);
9042           deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
9043           CHK_(ptr);
9044         } else goto handle_unusual;
9045         continue;
9046       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
9047       case 999:
9048         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
9049           ptr -= 2;
9050           do {
9051             ptr += 2;
9052             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
9053             CHK_(ptr);
9054             if (!ctx->DataAvailable(ptr)) break;
9055           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
9056         } else goto handle_unusual;
9057         continue;
9058       default: {
9059       handle_unusual:
9060         if ((tag & 7) == 4 || tag == 0) {
9061           ctx->SetLastTag(tag);
9062           goto success;
9063         }
9064       if ((8000u <= tag)) {
9065         ptr = _extensions_.ParseField(tag, ptr,
9066             internal_default_instance(), &_internal_metadata_, ctx);
9067         CHK_(ptr != nullptr);
9068         continue;
9069       }
9070         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
9071         CHK_(ptr != nullptr);
9072         continue;
9073       }
9074     }  // switch
9075   }  // while
9076 success:
9077   _has_bits_.Or(has_bits);
9078   return ptr;
9079 failure:
9080   ptr = nullptr;
9081   goto success;
9082 #undef CHK_
9083 }
9084 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const9085 ::PROTOBUF_NAMESPACE_ID::uint8* ServiceOptions::_InternalSerialize(
9086     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9087   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ServiceOptions)
9088   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
9089   (void) cached_has_bits;
9090 
9091   cached_has_bits = _has_bits_[0];
9092   // optional bool deprecated = 33 [default = false];
9093   if (cached_has_bits & 0x00000001u) {
9094     target = stream->EnsureSpace(target);
9095     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(33, this->_internal_deprecated(), target);
9096   }
9097 
9098   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
9099   for (unsigned int i = 0,
9100       n = static_cast<unsigned int>(this->_internal_uninterpreted_option_size()); i < n; i++) {
9101     target = stream->EnsureSpace(target);
9102     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
9103       InternalWriteMessage(999, this->_internal_uninterpreted_option(i), target, stream);
9104   }
9105 
9106   // Extension range [1000, 536870912)
9107   target = _extensions_._InternalSerialize(
9108       1000, 536870912, target, stream);
9109 
9110   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9111     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
9112         _internal_metadata_.unknown_fields(), target, stream);
9113   }
9114   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ServiceOptions)
9115   return target;
9116 }
9117 
ByteSizeLong() const9118 size_t ServiceOptions::ByteSizeLong() const {
9119 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.ServiceOptions)
9120   size_t total_size = 0;
9121 
9122   total_size += _extensions_.ByteSize();
9123 
9124   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
9125   // Prevent compiler warnings about cached_has_bits being unused
9126   (void) cached_has_bits;
9127 
9128   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
9129   total_size += 2UL * this->_internal_uninterpreted_option_size();
9130   for (const auto& msg : this->uninterpreted_option_) {
9131     total_size +=
9132       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
9133   }
9134 
9135   // optional bool deprecated = 33 [default = false];
9136   cached_has_bits = _has_bits_[0];
9137   if (cached_has_bits & 0x00000001u) {
9138     total_size += 2 + 1;
9139   }
9140 
9141   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9142     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
9143         _internal_metadata_, total_size, &_cached_size_);
9144   }
9145   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
9146   SetCachedSize(cached_size);
9147   return total_size;
9148 }
9149 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)9150 void ServiceOptions::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
9151 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.ServiceOptions)
9152   GOOGLE_DCHECK_NE(&from, this);
9153   const ServiceOptions* source =
9154       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ServiceOptions>(
9155           &from);
9156   if (source == nullptr) {
9157   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.ServiceOptions)
9158     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
9159   } else {
9160   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.ServiceOptions)
9161     MergeFrom(*source);
9162   }
9163 }
9164 
MergeFrom(const ServiceOptions & from)9165 void ServiceOptions::MergeFrom(const ServiceOptions& from) {
9166 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ServiceOptions)
9167   GOOGLE_DCHECK_NE(&from, this);
9168   _extensions_.MergeFrom(from._extensions_);
9169   _internal_metadata_.MergeFrom(from._internal_metadata_);
9170   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
9171   (void) cached_has_bits;
9172 
9173   uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
9174   if (from._internal_has_deprecated()) {
9175     _internal_set_deprecated(from._internal_deprecated());
9176   }
9177 }
9178 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)9179 void ServiceOptions::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
9180 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.ServiceOptions)
9181   if (&from == this) return;
9182   Clear();
9183   MergeFrom(from);
9184 }
9185 
CopyFrom(const ServiceOptions & from)9186 void ServiceOptions::CopyFrom(const ServiceOptions& from) {
9187 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ServiceOptions)
9188   if (&from == this) return;
9189   Clear();
9190   MergeFrom(from);
9191 }
9192 
IsInitialized() const9193 bool ServiceOptions::IsInitialized() const {
9194   if (!_extensions_.IsInitialized()) {
9195     return false;
9196   }
9197 
9198   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(uninterpreted_option_)) return false;
9199   return true;
9200 }
9201 
InternalSwap(ServiceOptions * other)9202 void ServiceOptions::InternalSwap(ServiceOptions* other) {
9203   using std::swap;
9204   _extensions_.Swap(&other->_extensions_);
9205   _internal_metadata_.Swap(&other->_internal_metadata_);
9206   swap(_has_bits_[0], other->_has_bits_[0]);
9207   uninterpreted_option_.InternalSwap(&other->uninterpreted_option_);
9208   swap(deprecated_, other->deprecated_);
9209 }
9210 
GetMetadata() const9211 ::PROTOBUF_NAMESPACE_ID::Metadata ServiceOptions::GetMetadata() const {
9212   return GetMetadataStatic();
9213 }
9214 
9215 
9216 // ===================================================================
9217 
InitAsDefaultInstance()9218 void MethodOptions::InitAsDefaultInstance() {
9219 }
9220 class MethodOptions::_Internal {
9221  public:
9222   using HasBits = decltype(std::declval<MethodOptions>()._has_bits_);
set_has_deprecated(HasBits * has_bits)9223   static void set_has_deprecated(HasBits* has_bits) {
9224     (*has_bits)[0] |= 1u;
9225   }
set_has_idempotency_level(HasBits * has_bits)9226   static void set_has_idempotency_level(HasBits* has_bits) {
9227     (*has_bits)[0] |= 2u;
9228   }
9229 };
9230 
MethodOptions()9231 MethodOptions::MethodOptions()
9232   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
9233   SharedCtor();
9234   // @@protoc_insertion_point(constructor:google.protobuf.MethodOptions)
9235 }
MethodOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena)9236 MethodOptions::MethodOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena)
9237   : ::PROTOBUF_NAMESPACE_ID::Message(),
9238   _extensions_(arena),
9239   _internal_metadata_(arena),
9240   uninterpreted_option_(arena) {
9241   SharedCtor();
9242   RegisterArenaDtor(arena);
9243   // @@protoc_insertion_point(arena_constructor:google.protobuf.MethodOptions)
9244 }
MethodOptions(const MethodOptions & from)9245 MethodOptions::MethodOptions(const MethodOptions& from)
9246   : ::PROTOBUF_NAMESPACE_ID::Message(),
9247       _internal_metadata_(nullptr),
9248       _has_bits_(from._has_bits_),
9249       uninterpreted_option_(from.uninterpreted_option_) {
9250   _internal_metadata_.MergeFrom(from._internal_metadata_);
9251   _extensions_.MergeFrom(from._extensions_);
9252   ::memcpy(&deprecated_, &from.deprecated_,
9253     static_cast<size_t>(reinterpret_cast<char*>(&idempotency_level_) -
9254     reinterpret_cast<char*>(&deprecated_)) + sizeof(idempotency_level_));
9255   // @@protoc_insertion_point(copy_constructor:google.protobuf.MethodOptions)
9256 }
9257 
SharedCtor()9258 void MethodOptions::SharedCtor() {
9259   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_MethodOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
9260   ::memset(&deprecated_, 0, static_cast<size_t>(
9261       reinterpret_cast<char*>(&idempotency_level_) -
9262       reinterpret_cast<char*>(&deprecated_)) + sizeof(idempotency_level_));
9263 }
9264 
~MethodOptions()9265 MethodOptions::~MethodOptions() {
9266   // @@protoc_insertion_point(destructor:google.protobuf.MethodOptions)
9267   SharedDtor();
9268 }
9269 
SharedDtor()9270 void MethodOptions::SharedDtor() {
9271   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
9272 }
9273 
ArenaDtor(void * object)9274 void MethodOptions::ArenaDtor(void* object) {
9275   MethodOptions* _this = reinterpret_cast< MethodOptions* >(object);
9276   (void)_this;
9277 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)9278 void MethodOptions::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
9279 }
SetCachedSize(int size) const9280 void MethodOptions::SetCachedSize(int size) const {
9281   _cached_size_.Set(size);
9282 }
default_instance()9283 const MethodOptions& MethodOptions::default_instance() {
9284   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_MethodOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
9285   return *internal_default_instance();
9286 }
9287 
9288 
Clear()9289 void MethodOptions::Clear() {
9290 // @@protoc_insertion_point(message_clear_start:google.protobuf.MethodOptions)
9291   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
9292   // Prevent compiler warnings about cached_has_bits being unused
9293   (void) cached_has_bits;
9294 
9295   _extensions_.Clear();
9296   uninterpreted_option_.Clear();
9297   cached_has_bits = _has_bits_[0];
9298   if (cached_has_bits & 0x00000003u) {
9299     ::memset(&deprecated_, 0, static_cast<size_t>(
9300         reinterpret_cast<char*>(&idempotency_level_) -
9301         reinterpret_cast<char*>(&deprecated_)) + sizeof(idempotency_level_));
9302   }
9303   _has_bits_.Clear();
9304   _internal_metadata_.Clear();
9305 }
9306 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)9307 const char* MethodOptions::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
9308 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9309   _Internal::HasBits has_bits{};
9310   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
9311   while (!ctx->Done(&ptr)) {
9312     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
9313     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
9314     CHK_(ptr);
9315     switch (tag >> 3) {
9316       // optional bool deprecated = 33 [default = false];
9317       case 33:
9318         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
9319           _Internal::set_has_deprecated(&has_bits);
9320           deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
9321           CHK_(ptr);
9322         } else goto handle_unusual;
9323         continue;
9324       // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
9325       case 34:
9326         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
9327           ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
9328           CHK_(ptr);
9329           if (PROTOBUF_PREDICT_TRUE(PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_IsValid(val))) {
9330             _internal_set_idempotency_level(static_cast<PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel>(val));
9331           } else {
9332             ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(34, val, mutable_unknown_fields());
9333           }
9334         } else goto handle_unusual;
9335         continue;
9336       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
9337       case 999:
9338         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
9339           ptr -= 2;
9340           do {
9341             ptr += 2;
9342             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
9343             CHK_(ptr);
9344             if (!ctx->DataAvailable(ptr)) break;
9345           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
9346         } else goto handle_unusual;
9347         continue;
9348       default: {
9349       handle_unusual:
9350         if ((tag & 7) == 4 || tag == 0) {
9351           ctx->SetLastTag(tag);
9352           goto success;
9353         }
9354       if ((8000u <= tag)) {
9355         ptr = _extensions_.ParseField(tag, ptr,
9356             internal_default_instance(), &_internal_metadata_, ctx);
9357         CHK_(ptr != nullptr);
9358         continue;
9359       }
9360         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
9361         CHK_(ptr != nullptr);
9362         continue;
9363       }
9364     }  // switch
9365   }  // while
9366 success:
9367   _has_bits_.Or(has_bits);
9368   return ptr;
9369 failure:
9370   ptr = nullptr;
9371   goto success;
9372 #undef CHK_
9373 }
9374 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const9375 ::PROTOBUF_NAMESPACE_ID::uint8* MethodOptions::_InternalSerialize(
9376     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9377   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MethodOptions)
9378   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
9379   (void) cached_has_bits;
9380 
9381   cached_has_bits = _has_bits_[0];
9382   // optional bool deprecated = 33 [default = false];
9383   if (cached_has_bits & 0x00000001u) {
9384     target = stream->EnsureSpace(target);
9385     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(33, this->_internal_deprecated(), target);
9386   }
9387 
9388   // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
9389   if (cached_has_bits & 0x00000002u) {
9390     target = stream->EnsureSpace(target);
9391     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
9392       34, this->_internal_idempotency_level(), target);
9393   }
9394 
9395   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
9396   for (unsigned int i = 0,
9397       n = static_cast<unsigned int>(this->_internal_uninterpreted_option_size()); i < n; i++) {
9398     target = stream->EnsureSpace(target);
9399     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
9400       InternalWriteMessage(999, this->_internal_uninterpreted_option(i), target, stream);
9401   }
9402 
9403   // Extension range [1000, 536870912)
9404   target = _extensions_._InternalSerialize(
9405       1000, 536870912, target, stream);
9406 
9407   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9408     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
9409         _internal_metadata_.unknown_fields(), target, stream);
9410   }
9411   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.MethodOptions)
9412   return target;
9413 }
9414 
ByteSizeLong() const9415 size_t MethodOptions::ByteSizeLong() const {
9416 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.MethodOptions)
9417   size_t total_size = 0;
9418 
9419   total_size += _extensions_.ByteSize();
9420 
9421   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
9422   // Prevent compiler warnings about cached_has_bits being unused
9423   (void) cached_has_bits;
9424 
9425   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
9426   total_size += 2UL * this->_internal_uninterpreted_option_size();
9427   for (const auto& msg : this->uninterpreted_option_) {
9428     total_size +=
9429       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
9430   }
9431 
9432   cached_has_bits = _has_bits_[0];
9433   if (cached_has_bits & 0x00000003u) {
9434     // optional bool deprecated = 33 [default = false];
9435     if (cached_has_bits & 0x00000001u) {
9436       total_size += 2 + 1;
9437     }
9438 
9439     // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
9440     if (cached_has_bits & 0x00000002u) {
9441       total_size += 2 +
9442         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_idempotency_level());
9443     }
9444 
9445   }
9446   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9447     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
9448         _internal_metadata_, total_size, &_cached_size_);
9449   }
9450   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
9451   SetCachedSize(cached_size);
9452   return total_size;
9453 }
9454 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)9455 void MethodOptions::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
9456 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.MethodOptions)
9457   GOOGLE_DCHECK_NE(&from, this);
9458   const MethodOptions* source =
9459       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<MethodOptions>(
9460           &from);
9461   if (source == nullptr) {
9462   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.MethodOptions)
9463     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
9464   } else {
9465   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.MethodOptions)
9466     MergeFrom(*source);
9467   }
9468 }
9469 
MergeFrom(const MethodOptions & from)9470 void MethodOptions::MergeFrom(const MethodOptions& from) {
9471 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MethodOptions)
9472   GOOGLE_DCHECK_NE(&from, this);
9473   _extensions_.MergeFrom(from._extensions_);
9474   _internal_metadata_.MergeFrom(from._internal_metadata_);
9475   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
9476   (void) cached_has_bits;
9477 
9478   uninterpreted_option_.MergeFrom(from.uninterpreted_option_);
9479   cached_has_bits = from._has_bits_[0];
9480   if (cached_has_bits & 0x00000003u) {
9481     if (cached_has_bits & 0x00000001u) {
9482       deprecated_ = from.deprecated_;
9483     }
9484     if (cached_has_bits & 0x00000002u) {
9485       idempotency_level_ = from.idempotency_level_;
9486     }
9487     _has_bits_[0] |= cached_has_bits;
9488   }
9489 }
9490 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)9491 void MethodOptions::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
9492 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.MethodOptions)
9493   if (&from == this) return;
9494   Clear();
9495   MergeFrom(from);
9496 }
9497 
CopyFrom(const MethodOptions & from)9498 void MethodOptions::CopyFrom(const MethodOptions& from) {
9499 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MethodOptions)
9500   if (&from == this) return;
9501   Clear();
9502   MergeFrom(from);
9503 }
9504 
IsInitialized() const9505 bool MethodOptions::IsInitialized() const {
9506   if (!_extensions_.IsInitialized()) {
9507     return false;
9508   }
9509 
9510   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(uninterpreted_option_)) return false;
9511   return true;
9512 }
9513 
InternalSwap(MethodOptions * other)9514 void MethodOptions::InternalSwap(MethodOptions* other) {
9515   using std::swap;
9516   _extensions_.Swap(&other->_extensions_);
9517   _internal_metadata_.Swap(&other->_internal_metadata_);
9518   swap(_has_bits_[0], other->_has_bits_[0]);
9519   uninterpreted_option_.InternalSwap(&other->uninterpreted_option_);
9520   swap(deprecated_, other->deprecated_);
9521   swap(idempotency_level_, other->idempotency_level_);
9522 }
9523 
GetMetadata() const9524 ::PROTOBUF_NAMESPACE_ID::Metadata MethodOptions::GetMetadata() const {
9525   return GetMetadataStatic();
9526 }
9527 
9528 
9529 // ===================================================================
9530 
InitAsDefaultInstance()9531 void UninterpretedOption_NamePart::InitAsDefaultInstance() {
9532 }
9533 class UninterpretedOption_NamePart::_Internal {
9534  public:
9535   using HasBits = decltype(std::declval<UninterpretedOption_NamePart>()._has_bits_);
set_has_name_part(HasBits * has_bits)9536   static void set_has_name_part(HasBits* has_bits) {
9537     (*has_bits)[0] |= 1u;
9538   }
set_has_is_extension(HasBits * has_bits)9539   static void set_has_is_extension(HasBits* has_bits) {
9540     (*has_bits)[0] |= 2u;
9541   }
9542 };
9543 
UninterpretedOption_NamePart()9544 UninterpretedOption_NamePart::UninterpretedOption_NamePart()
9545   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
9546   SharedCtor();
9547   // @@protoc_insertion_point(constructor:google.protobuf.UninterpretedOption.NamePart)
9548 }
UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::Arena * arena)9549 UninterpretedOption_NamePart::UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::Arena* arena)
9550   : ::PROTOBUF_NAMESPACE_ID::Message(),
9551   _internal_metadata_(arena) {
9552   SharedCtor();
9553   RegisterArenaDtor(arena);
9554   // @@protoc_insertion_point(arena_constructor:google.protobuf.UninterpretedOption.NamePart)
9555 }
UninterpretedOption_NamePart(const UninterpretedOption_NamePart & from)9556 UninterpretedOption_NamePart::UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from)
9557   : ::PROTOBUF_NAMESPACE_ID::Message(),
9558       _internal_metadata_(nullptr),
9559       _has_bits_(from._has_bits_) {
9560   _internal_metadata_.MergeFrom(from._internal_metadata_);
9561   name_part_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
9562   if (from._internal_has_name_part()) {
9563     name_part_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name_part(),
9564       GetArenaNoVirtual());
9565   }
9566   is_extension_ = from.is_extension_;
9567   // @@protoc_insertion_point(copy_constructor:google.protobuf.UninterpretedOption.NamePart)
9568 }
9569 
SharedCtor()9570 void UninterpretedOption_NamePart::SharedCtor() {
9571   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_UninterpretedOption_NamePart_google_2fprotobuf_2fdescriptor_2eproto.base);
9572   name_part_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
9573   is_extension_ = false;
9574 }
9575 
~UninterpretedOption_NamePart()9576 UninterpretedOption_NamePart::~UninterpretedOption_NamePart() {
9577   // @@protoc_insertion_point(destructor:google.protobuf.UninterpretedOption.NamePart)
9578   SharedDtor();
9579 }
9580 
SharedDtor()9581 void UninterpretedOption_NamePart::SharedDtor() {
9582   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
9583   name_part_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
9584 }
9585 
ArenaDtor(void * object)9586 void UninterpretedOption_NamePart::ArenaDtor(void* object) {
9587   UninterpretedOption_NamePart* _this = reinterpret_cast< UninterpretedOption_NamePart* >(object);
9588   (void)_this;
9589 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)9590 void UninterpretedOption_NamePart::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
9591 }
SetCachedSize(int size) const9592 void UninterpretedOption_NamePart::SetCachedSize(int size) const {
9593   _cached_size_.Set(size);
9594 }
default_instance()9595 const UninterpretedOption_NamePart& UninterpretedOption_NamePart::default_instance() {
9596   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_UninterpretedOption_NamePart_google_2fprotobuf_2fdescriptor_2eproto.base);
9597   return *internal_default_instance();
9598 }
9599 
9600 
Clear()9601 void UninterpretedOption_NamePart::Clear() {
9602 // @@protoc_insertion_point(message_clear_start:google.protobuf.UninterpretedOption.NamePart)
9603   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
9604   // Prevent compiler warnings about cached_has_bits being unused
9605   (void) cached_has_bits;
9606 
9607   cached_has_bits = _has_bits_[0];
9608   if (cached_has_bits & 0x00000001u) {
9609     name_part_.ClearNonDefaultToEmpty();
9610   }
9611   is_extension_ = false;
9612   _has_bits_.Clear();
9613   _internal_metadata_.Clear();
9614 }
9615 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)9616 const char* UninterpretedOption_NamePart::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
9617 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9618   _Internal::HasBits has_bits{};
9619   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
9620   while (!ctx->Done(&ptr)) {
9621     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
9622     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
9623     CHK_(ptr);
9624     switch (tag >> 3) {
9625       // required string name_part = 1;
9626       case 1:
9627         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
9628           auto str = _internal_mutable_name_part();
9629           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
9630           #ifndef NDEBUG
9631           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.UninterpretedOption.NamePart.name_part");
9632           #endif  // !NDEBUG
9633           CHK_(ptr);
9634         } else goto handle_unusual;
9635         continue;
9636       // required bool is_extension = 2;
9637       case 2:
9638         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
9639           _Internal::set_has_is_extension(&has_bits);
9640           is_extension_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
9641           CHK_(ptr);
9642         } else goto handle_unusual;
9643         continue;
9644       default: {
9645       handle_unusual:
9646         if ((tag & 7) == 4 || tag == 0) {
9647           ctx->SetLastTag(tag);
9648           goto success;
9649         }
9650         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
9651         CHK_(ptr != nullptr);
9652         continue;
9653       }
9654     }  // switch
9655   }  // while
9656 success:
9657   _has_bits_.Or(has_bits);
9658   return ptr;
9659 failure:
9660   ptr = nullptr;
9661   goto success;
9662 #undef CHK_
9663 }
9664 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const9665 ::PROTOBUF_NAMESPACE_ID::uint8* UninterpretedOption_NamePart::_InternalSerialize(
9666     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9667   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UninterpretedOption.NamePart)
9668   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
9669   (void) cached_has_bits;
9670 
9671   cached_has_bits = _has_bits_[0];
9672   // required string name_part = 1;
9673   if (cached_has_bits & 0x00000001u) {
9674     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
9675       this->_internal_name_part().data(), static_cast<int>(this->_internal_name_part().length()),
9676       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
9677       "google.protobuf.UninterpretedOption.NamePart.name_part");
9678     target = stream->WriteStringMaybeAliased(
9679         1, this->_internal_name_part(), target);
9680   }
9681 
9682   // required bool is_extension = 2;
9683   if (cached_has_bits & 0x00000002u) {
9684     target = stream->EnsureSpace(target);
9685     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_is_extension(), target);
9686   }
9687 
9688   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9689     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
9690         _internal_metadata_.unknown_fields(), target, stream);
9691   }
9692   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UninterpretedOption.NamePart)
9693   return target;
9694 }
9695 
RequiredFieldsByteSizeFallback() const9696 size_t UninterpretedOption_NamePart::RequiredFieldsByteSizeFallback() const {
9697 // @@protoc_insertion_point(required_fields_byte_size_fallback_start:google.protobuf.UninterpretedOption.NamePart)
9698   size_t total_size = 0;
9699 
9700   if (_internal_has_name_part()) {
9701     // required string name_part = 1;
9702     total_size += 1 +
9703       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
9704         this->_internal_name_part());
9705   }
9706 
9707   if (_internal_has_is_extension()) {
9708     // required bool is_extension = 2;
9709     total_size += 1 + 1;
9710   }
9711 
9712   return total_size;
9713 }
ByteSizeLong() const9714 size_t UninterpretedOption_NamePart::ByteSizeLong() const {
9715 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.UninterpretedOption.NamePart)
9716   size_t total_size = 0;
9717 
9718   if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
9719     // required string name_part = 1;
9720     total_size += 1 +
9721       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
9722         this->_internal_name_part());
9723 
9724     // required bool is_extension = 2;
9725     total_size += 1 + 1;
9726 
9727   } else {
9728     total_size += RequiredFieldsByteSizeFallback();
9729   }
9730   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
9731   // Prevent compiler warnings about cached_has_bits being unused
9732   (void) cached_has_bits;
9733 
9734   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9735     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
9736         _internal_metadata_, total_size, &_cached_size_);
9737   }
9738   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
9739   SetCachedSize(cached_size);
9740   return total_size;
9741 }
9742 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)9743 void UninterpretedOption_NamePart::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
9744 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.UninterpretedOption.NamePart)
9745   GOOGLE_DCHECK_NE(&from, this);
9746   const UninterpretedOption_NamePart* source =
9747       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<UninterpretedOption_NamePart>(
9748           &from);
9749   if (source == nullptr) {
9750   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.UninterpretedOption.NamePart)
9751     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
9752   } else {
9753   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.UninterpretedOption.NamePart)
9754     MergeFrom(*source);
9755   }
9756 }
9757 
MergeFrom(const UninterpretedOption_NamePart & from)9758 void UninterpretedOption_NamePart::MergeFrom(const UninterpretedOption_NamePart& from) {
9759 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UninterpretedOption.NamePart)
9760   GOOGLE_DCHECK_NE(&from, this);
9761   _internal_metadata_.MergeFrom(from._internal_metadata_);
9762   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
9763   (void) cached_has_bits;
9764 
9765   cached_has_bits = from._has_bits_[0];
9766   if (cached_has_bits & 0x00000003u) {
9767     if (cached_has_bits & 0x00000001u) {
9768       _internal_set_name_part(from._internal_name_part());
9769     }
9770     if (cached_has_bits & 0x00000002u) {
9771       is_extension_ = from.is_extension_;
9772     }
9773     _has_bits_[0] |= cached_has_bits;
9774   }
9775 }
9776 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)9777 void UninterpretedOption_NamePart::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
9778 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.UninterpretedOption.NamePart)
9779   if (&from == this) return;
9780   Clear();
9781   MergeFrom(from);
9782 }
9783 
CopyFrom(const UninterpretedOption_NamePart & from)9784 void UninterpretedOption_NamePart::CopyFrom(const UninterpretedOption_NamePart& from) {
9785 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UninterpretedOption.NamePart)
9786   if (&from == this) return;
9787   Clear();
9788   MergeFrom(from);
9789 }
9790 
IsInitialized() const9791 bool UninterpretedOption_NamePart::IsInitialized() const {
9792   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
9793   return true;
9794 }
9795 
InternalSwap(UninterpretedOption_NamePart * other)9796 void UninterpretedOption_NamePart::InternalSwap(UninterpretedOption_NamePart* other) {
9797   using std::swap;
9798   _internal_metadata_.Swap(&other->_internal_metadata_);
9799   swap(_has_bits_[0], other->_has_bits_[0]);
9800   name_part_.Swap(&other->name_part_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
9801     GetArenaNoVirtual());
9802   swap(is_extension_, other->is_extension_);
9803 }
9804 
GetMetadata() const9805 ::PROTOBUF_NAMESPACE_ID::Metadata UninterpretedOption_NamePart::GetMetadata() const {
9806   return GetMetadataStatic();
9807 }
9808 
9809 
9810 // ===================================================================
9811 
InitAsDefaultInstance()9812 void UninterpretedOption::InitAsDefaultInstance() {
9813 }
9814 class UninterpretedOption::_Internal {
9815  public:
9816   using HasBits = decltype(std::declval<UninterpretedOption>()._has_bits_);
set_has_identifier_value(HasBits * has_bits)9817   static void set_has_identifier_value(HasBits* has_bits) {
9818     (*has_bits)[0] |= 1u;
9819   }
set_has_positive_int_value(HasBits * has_bits)9820   static void set_has_positive_int_value(HasBits* has_bits) {
9821     (*has_bits)[0] |= 8u;
9822   }
set_has_negative_int_value(HasBits * has_bits)9823   static void set_has_negative_int_value(HasBits* has_bits) {
9824     (*has_bits)[0] |= 16u;
9825   }
set_has_double_value(HasBits * has_bits)9826   static void set_has_double_value(HasBits* has_bits) {
9827     (*has_bits)[0] |= 32u;
9828   }
set_has_string_value(HasBits * has_bits)9829   static void set_has_string_value(HasBits* has_bits) {
9830     (*has_bits)[0] |= 2u;
9831   }
set_has_aggregate_value(HasBits * has_bits)9832   static void set_has_aggregate_value(HasBits* has_bits) {
9833     (*has_bits)[0] |= 4u;
9834   }
9835 };
9836 
UninterpretedOption()9837 UninterpretedOption::UninterpretedOption()
9838   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
9839   SharedCtor();
9840   // @@protoc_insertion_point(constructor:google.protobuf.UninterpretedOption)
9841 }
UninterpretedOption(::PROTOBUF_NAMESPACE_ID::Arena * arena)9842 UninterpretedOption::UninterpretedOption(::PROTOBUF_NAMESPACE_ID::Arena* arena)
9843   : ::PROTOBUF_NAMESPACE_ID::Message(),
9844   _internal_metadata_(arena),
9845   name_(arena) {
9846   SharedCtor();
9847   RegisterArenaDtor(arena);
9848   // @@protoc_insertion_point(arena_constructor:google.protobuf.UninterpretedOption)
9849 }
UninterpretedOption(const UninterpretedOption & from)9850 UninterpretedOption::UninterpretedOption(const UninterpretedOption& from)
9851   : ::PROTOBUF_NAMESPACE_ID::Message(),
9852       _internal_metadata_(nullptr),
9853       _has_bits_(from._has_bits_),
9854       name_(from.name_) {
9855   _internal_metadata_.MergeFrom(from._internal_metadata_);
9856   identifier_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
9857   if (from._internal_has_identifier_value()) {
9858     identifier_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_identifier_value(),
9859       GetArenaNoVirtual());
9860   }
9861   string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
9862   if (from._internal_has_string_value()) {
9863     string_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_string_value(),
9864       GetArenaNoVirtual());
9865   }
9866   aggregate_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
9867   if (from._internal_has_aggregate_value()) {
9868     aggregate_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_aggregate_value(),
9869       GetArenaNoVirtual());
9870   }
9871   ::memcpy(&positive_int_value_, &from.positive_int_value_,
9872     static_cast<size_t>(reinterpret_cast<char*>(&double_value_) -
9873     reinterpret_cast<char*>(&positive_int_value_)) + sizeof(double_value_));
9874   // @@protoc_insertion_point(copy_constructor:google.protobuf.UninterpretedOption)
9875 }
9876 
SharedCtor()9877 void UninterpretedOption::SharedCtor() {
9878   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto.base);
9879   identifier_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
9880   string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
9881   aggregate_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
9882   ::memset(&positive_int_value_, 0, static_cast<size_t>(
9883       reinterpret_cast<char*>(&double_value_) -
9884       reinterpret_cast<char*>(&positive_int_value_)) + sizeof(double_value_));
9885 }
9886 
~UninterpretedOption()9887 UninterpretedOption::~UninterpretedOption() {
9888   // @@protoc_insertion_point(destructor:google.protobuf.UninterpretedOption)
9889   SharedDtor();
9890 }
9891 
SharedDtor()9892 void UninterpretedOption::SharedDtor() {
9893   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
9894   identifier_value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
9895   string_value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
9896   aggregate_value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
9897 }
9898 
ArenaDtor(void * object)9899 void UninterpretedOption::ArenaDtor(void* object) {
9900   UninterpretedOption* _this = reinterpret_cast< UninterpretedOption* >(object);
9901   (void)_this;
9902 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)9903 void UninterpretedOption::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
9904 }
SetCachedSize(int size) const9905 void UninterpretedOption::SetCachedSize(int size) const {
9906   _cached_size_.Set(size);
9907 }
default_instance()9908 const UninterpretedOption& UninterpretedOption::default_instance() {
9909   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_UninterpretedOption_google_2fprotobuf_2fdescriptor_2eproto.base);
9910   return *internal_default_instance();
9911 }
9912 
9913 
Clear()9914 void UninterpretedOption::Clear() {
9915 // @@protoc_insertion_point(message_clear_start:google.protobuf.UninterpretedOption)
9916   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
9917   // Prevent compiler warnings about cached_has_bits being unused
9918   (void) cached_has_bits;
9919 
9920   name_.Clear();
9921   cached_has_bits = _has_bits_[0];
9922   if (cached_has_bits & 0x00000007u) {
9923     if (cached_has_bits & 0x00000001u) {
9924       identifier_value_.ClearNonDefaultToEmpty();
9925     }
9926     if (cached_has_bits & 0x00000002u) {
9927       string_value_.ClearNonDefaultToEmpty();
9928     }
9929     if (cached_has_bits & 0x00000004u) {
9930       aggregate_value_.ClearNonDefaultToEmpty();
9931     }
9932   }
9933   if (cached_has_bits & 0x00000038u) {
9934     ::memset(&positive_int_value_, 0, static_cast<size_t>(
9935         reinterpret_cast<char*>(&double_value_) -
9936         reinterpret_cast<char*>(&positive_int_value_)) + sizeof(double_value_));
9937   }
9938   _has_bits_.Clear();
9939   _internal_metadata_.Clear();
9940 }
9941 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)9942 const char* UninterpretedOption::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
9943 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9944   _Internal::HasBits has_bits{};
9945   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
9946   while (!ctx->Done(&ptr)) {
9947     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
9948     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
9949     CHK_(ptr);
9950     switch (tag >> 3) {
9951       // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
9952       case 2:
9953         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
9954           ptr -= 1;
9955           do {
9956             ptr += 1;
9957             ptr = ctx->ParseMessage(_internal_add_name(), ptr);
9958             CHK_(ptr);
9959             if (!ctx->DataAvailable(ptr)) break;
9960           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
9961         } else goto handle_unusual;
9962         continue;
9963       // optional string identifier_value = 3;
9964       case 3:
9965         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
9966           auto str = _internal_mutable_identifier_value();
9967           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
9968           #ifndef NDEBUG
9969           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.UninterpretedOption.identifier_value");
9970           #endif  // !NDEBUG
9971           CHK_(ptr);
9972         } else goto handle_unusual;
9973         continue;
9974       // optional uint64 positive_int_value = 4;
9975       case 4:
9976         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
9977           _Internal::set_has_positive_int_value(&has_bits);
9978           positive_int_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
9979           CHK_(ptr);
9980         } else goto handle_unusual;
9981         continue;
9982       // optional int64 negative_int_value = 5;
9983       case 5:
9984         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
9985           _Internal::set_has_negative_int_value(&has_bits);
9986           negative_int_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
9987           CHK_(ptr);
9988         } else goto handle_unusual;
9989         continue;
9990       // optional double double_value = 6;
9991       case 6:
9992         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 49)) {
9993           _Internal::set_has_double_value(&has_bits);
9994           double_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
9995           ptr += sizeof(double);
9996         } else goto handle_unusual;
9997         continue;
9998       // optional bytes string_value = 7;
9999       case 7:
10000         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
10001           auto str = _internal_mutable_string_value();
10002           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
10003           CHK_(ptr);
10004         } else goto handle_unusual;
10005         continue;
10006       // optional string aggregate_value = 8;
10007       case 8:
10008         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
10009           auto str = _internal_mutable_aggregate_value();
10010           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
10011           #ifndef NDEBUG
10012           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.UninterpretedOption.aggregate_value");
10013           #endif  // !NDEBUG
10014           CHK_(ptr);
10015         } else goto handle_unusual;
10016         continue;
10017       default: {
10018       handle_unusual:
10019         if ((tag & 7) == 4 || tag == 0) {
10020           ctx->SetLastTag(tag);
10021           goto success;
10022         }
10023         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
10024         CHK_(ptr != nullptr);
10025         continue;
10026       }
10027     }  // switch
10028   }  // while
10029 success:
10030   _has_bits_.Or(has_bits);
10031   return ptr;
10032 failure:
10033   ptr = nullptr;
10034   goto success;
10035 #undef CHK_
10036 }
10037 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const10038 ::PROTOBUF_NAMESPACE_ID::uint8* UninterpretedOption::_InternalSerialize(
10039     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
10040   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UninterpretedOption)
10041   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
10042   (void) cached_has_bits;
10043 
10044   // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
10045   for (unsigned int i = 0,
10046       n = static_cast<unsigned int>(this->_internal_name_size()); i < n; i++) {
10047     target = stream->EnsureSpace(target);
10048     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
10049       InternalWriteMessage(2, this->_internal_name(i), target, stream);
10050   }
10051 
10052   cached_has_bits = _has_bits_[0];
10053   // optional string identifier_value = 3;
10054   if (cached_has_bits & 0x00000001u) {
10055     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
10056       this->_internal_identifier_value().data(), static_cast<int>(this->_internal_identifier_value().length()),
10057       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
10058       "google.protobuf.UninterpretedOption.identifier_value");
10059     target = stream->WriteStringMaybeAliased(
10060         3, this->_internal_identifier_value(), target);
10061   }
10062 
10063   // optional uint64 positive_int_value = 4;
10064   if (cached_has_bits & 0x00000008u) {
10065     target = stream->EnsureSpace(target);
10066     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(4, this->_internal_positive_int_value(), target);
10067   }
10068 
10069   // optional int64 negative_int_value = 5;
10070   if (cached_has_bits & 0x00000010u) {
10071     target = stream->EnsureSpace(target);
10072     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(5, this->_internal_negative_int_value(), target);
10073   }
10074 
10075   // optional double double_value = 6;
10076   if (cached_has_bits & 0x00000020u) {
10077     target = stream->EnsureSpace(target);
10078     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(6, this->_internal_double_value(), target);
10079   }
10080 
10081   // optional bytes string_value = 7;
10082   if (cached_has_bits & 0x00000002u) {
10083     target = stream->WriteBytesMaybeAliased(
10084         7, this->_internal_string_value(), target);
10085   }
10086 
10087   // optional string aggregate_value = 8;
10088   if (cached_has_bits & 0x00000004u) {
10089     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
10090       this->_internal_aggregate_value().data(), static_cast<int>(this->_internal_aggregate_value().length()),
10091       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
10092       "google.protobuf.UninterpretedOption.aggregate_value");
10093     target = stream->WriteStringMaybeAliased(
10094         8, this->_internal_aggregate_value(), target);
10095   }
10096 
10097   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10098     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
10099         _internal_metadata_.unknown_fields(), target, stream);
10100   }
10101   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UninterpretedOption)
10102   return target;
10103 }
10104 
ByteSizeLong() const10105 size_t UninterpretedOption::ByteSizeLong() const {
10106 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.UninterpretedOption)
10107   size_t total_size = 0;
10108 
10109   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
10110   // Prevent compiler warnings about cached_has_bits being unused
10111   (void) cached_has_bits;
10112 
10113   // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
10114   total_size += 1UL * this->_internal_name_size();
10115   for (const auto& msg : this->name_) {
10116     total_size +=
10117       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
10118   }
10119 
10120   cached_has_bits = _has_bits_[0];
10121   if (cached_has_bits & 0x0000003fu) {
10122     // optional string identifier_value = 3;
10123     if (cached_has_bits & 0x00000001u) {
10124       total_size += 1 +
10125         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
10126           this->_internal_identifier_value());
10127     }
10128 
10129     // optional bytes string_value = 7;
10130     if (cached_has_bits & 0x00000002u) {
10131       total_size += 1 +
10132         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
10133           this->_internal_string_value());
10134     }
10135 
10136     // optional string aggregate_value = 8;
10137     if (cached_has_bits & 0x00000004u) {
10138       total_size += 1 +
10139         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
10140           this->_internal_aggregate_value());
10141     }
10142 
10143     // optional uint64 positive_int_value = 4;
10144     if (cached_has_bits & 0x00000008u) {
10145       total_size += 1 +
10146         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size(
10147           this->_internal_positive_int_value());
10148     }
10149 
10150     // optional int64 negative_int_value = 5;
10151     if (cached_has_bits & 0x00000010u) {
10152       total_size += 1 +
10153         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
10154           this->_internal_negative_int_value());
10155     }
10156 
10157     // optional double double_value = 6;
10158     if (cached_has_bits & 0x00000020u) {
10159       total_size += 1 + 8;
10160     }
10161 
10162   }
10163   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10164     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
10165         _internal_metadata_, total_size, &_cached_size_);
10166   }
10167   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
10168   SetCachedSize(cached_size);
10169   return total_size;
10170 }
10171 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)10172 void UninterpretedOption::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
10173 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.UninterpretedOption)
10174   GOOGLE_DCHECK_NE(&from, this);
10175   const UninterpretedOption* source =
10176       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<UninterpretedOption>(
10177           &from);
10178   if (source == nullptr) {
10179   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.UninterpretedOption)
10180     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
10181   } else {
10182   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.UninterpretedOption)
10183     MergeFrom(*source);
10184   }
10185 }
10186 
MergeFrom(const UninterpretedOption & from)10187 void UninterpretedOption::MergeFrom(const UninterpretedOption& from) {
10188 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UninterpretedOption)
10189   GOOGLE_DCHECK_NE(&from, this);
10190   _internal_metadata_.MergeFrom(from._internal_metadata_);
10191   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
10192   (void) cached_has_bits;
10193 
10194   name_.MergeFrom(from.name_);
10195   cached_has_bits = from._has_bits_[0];
10196   if (cached_has_bits & 0x0000003fu) {
10197     if (cached_has_bits & 0x00000001u) {
10198       _internal_set_identifier_value(from._internal_identifier_value());
10199     }
10200     if (cached_has_bits & 0x00000002u) {
10201       _internal_set_string_value(from._internal_string_value());
10202     }
10203     if (cached_has_bits & 0x00000004u) {
10204       _internal_set_aggregate_value(from._internal_aggregate_value());
10205     }
10206     if (cached_has_bits & 0x00000008u) {
10207       positive_int_value_ = from.positive_int_value_;
10208     }
10209     if (cached_has_bits & 0x00000010u) {
10210       negative_int_value_ = from.negative_int_value_;
10211     }
10212     if (cached_has_bits & 0x00000020u) {
10213       double_value_ = from.double_value_;
10214     }
10215     _has_bits_[0] |= cached_has_bits;
10216   }
10217 }
10218 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)10219 void UninterpretedOption::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
10220 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.UninterpretedOption)
10221   if (&from == this) return;
10222   Clear();
10223   MergeFrom(from);
10224 }
10225 
CopyFrom(const UninterpretedOption & from)10226 void UninterpretedOption::CopyFrom(const UninterpretedOption& from) {
10227 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UninterpretedOption)
10228   if (&from == this) return;
10229   Clear();
10230   MergeFrom(from);
10231 }
10232 
IsInitialized() const10233 bool UninterpretedOption::IsInitialized() const {
10234   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(name_)) return false;
10235   return true;
10236 }
10237 
InternalSwap(UninterpretedOption * other)10238 void UninterpretedOption::InternalSwap(UninterpretedOption* other) {
10239   using std::swap;
10240   _internal_metadata_.Swap(&other->_internal_metadata_);
10241   swap(_has_bits_[0], other->_has_bits_[0]);
10242   name_.InternalSwap(&other->name_);
10243   identifier_value_.Swap(&other->identifier_value_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10244     GetArenaNoVirtual());
10245   string_value_.Swap(&other->string_value_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10246     GetArenaNoVirtual());
10247   aggregate_value_.Swap(&other->aggregate_value_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10248     GetArenaNoVirtual());
10249   swap(positive_int_value_, other->positive_int_value_);
10250   swap(negative_int_value_, other->negative_int_value_);
10251   swap(double_value_, other->double_value_);
10252 }
10253 
GetMetadata() const10254 ::PROTOBUF_NAMESPACE_ID::Metadata UninterpretedOption::GetMetadata() const {
10255   return GetMetadataStatic();
10256 }
10257 
10258 
10259 // ===================================================================
10260 
InitAsDefaultInstance()10261 void SourceCodeInfo_Location::InitAsDefaultInstance() {
10262 }
10263 class SourceCodeInfo_Location::_Internal {
10264  public:
10265   using HasBits = decltype(std::declval<SourceCodeInfo_Location>()._has_bits_);
set_has_leading_comments(HasBits * has_bits)10266   static void set_has_leading_comments(HasBits* has_bits) {
10267     (*has_bits)[0] |= 1u;
10268   }
set_has_trailing_comments(HasBits * has_bits)10269   static void set_has_trailing_comments(HasBits* has_bits) {
10270     (*has_bits)[0] |= 2u;
10271   }
10272 };
10273 
SourceCodeInfo_Location()10274 SourceCodeInfo_Location::SourceCodeInfo_Location()
10275   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
10276   SharedCtor();
10277   // @@protoc_insertion_point(constructor:google.protobuf.SourceCodeInfo.Location)
10278 }
SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::Arena * arena)10279 SourceCodeInfo_Location::SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena)
10280   : ::PROTOBUF_NAMESPACE_ID::Message(),
10281   _internal_metadata_(arena),
10282   path_(arena),
10283   span_(arena),
10284   leading_detached_comments_(arena) {
10285   SharedCtor();
10286   RegisterArenaDtor(arena);
10287   // @@protoc_insertion_point(arena_constructor:google.protobuf.SourceCodeInfo.Location)
10288 }
SourceCodeInfo_Location(const SourceCodeInfo_Location & from)10289 SourceCodeInfo_Location::SourceCodeInfo_Location(const SourceCodeInfo_Location& from)
10290   : ::PROTOBUF_NAMESPACE_ID::Message(),
10291       _internal_metadata_(nullptr),
10292       _has_bits_(from._has_bits_),
10293       path_(from.path_),
10294       span_(from.span_),
10295       leading_detached_comments_(from.leading_detached_comments_) {
10296   _internal_metadata_.MergeFrom(from._internal_metadata_);
10297   leading_comments_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
10298   if (from._internal_has_leading_comments()) {
10299     leading_comments_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_leading_comments(),
10300       GetArenaNoVirtual());
10301   }
10302   trailing_comments_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
10303   if (from._internal_has_trailing_comments()) {
10304     trailing_comments_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_trailing_comments(),
10305       GetArenaNoVirtual());
10306   }
10307   // @@protoc_insertion_point(copy_constructor:google.protobuf.SourceCodeInfo.Location)
10308 }
10309 
SharedCtor()10310 void SourceCodeInfo_Location::SharedCtor() {
10311   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_SourceCodeInfo_Location_google_2fprotobuf_2fdescriptor_2eproto.base);
10312   leading_comments_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
10313   trailing_comments_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
10314 }
10315 
~SourceCodeInfo_Location()10316 SourceCodeInfo_Location::~SourceCodeInfo_Location() {
10317   // @@protoc_insertion_point(destructor:google.protobuf.SourceCodeInfo.Location)
10318   SharedDtor();
10319 }
10320 
SharedDtor()10321 void SourceCodeInfo_Location::SharedDtor() {
10322   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
10323   leading_comments_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
10324   trailing_comments_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
10325 }
10326 
ArenaDtor(void * object)10327 void SourceCodeInfo_Location::ArenaDtor(void* object) {
10328   SourceCodeInfo_Location* _this = reinterpret_cast< SourceCodeInfo_Location* >(object);
10329   (void)_this;
10330 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)10331 void SourceCodeInfo_Location::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
10332 }
SetCachedSize(int size) const10333 void SourceCodeInfo_Location::SetCachedSize(int size) const {
10334   _cached_size_.Set(size);
10335 }
default_instance()10336 const SourceCodeInfo_Location& SourceCodeInfo_Location::default_instance() {
10337   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_SourceCodeInfo_Location_google_2fprotobuf_2fdescriptor_2eproto.base);
10338   return *internal_default_instance();
10339 }
10340 
10341 
Clear()10342 void SourceCodeInfo_Location::Clear() {
10343 // @@protoc_insertion_point(message_clear_start:google.protobuf.SourceCodeInfo.Location)
10344   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
10345   // Prevent compiler warnings about cached_has_bits being unused
10346   (void) cached_has_bits;
10347 
10348   path_.Clear();
10349   span_.Clear();
10350   leading_detached_comments_.Clear();
10351   cached_has_bits = _has_bits_[0];
10352   if (cached_has_bits & 0x00000003u) {
10353     if (cached_has_bits & 0x00000001u) {
10354       leading_comments_.ClearNonDefaultToEmpty();
10355     }
10356     if (cached_has_bits & 0x00000002u) {
10357       trailing_comments_.ClearNonDefaultToEmpty();
10358     }
10359   }
10360   _has_bits_.Clear();
10361   _internal_metadata_.Clear();
10362 }
10363 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)10364 const char* SourceCodeInfo_Location::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
10365 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
10366   _Internal::HasBits has_bits{};
10367   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
10368   while (!ctx->Done(&ptr)) {
10369     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
10370     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
10371     CHK_(ptr);
10372     switch (tag >> 3) {
10373       // repeated int32 path = 1 [packed = true];
10374       case 1:
10375         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
10376           ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_path(), ptr, ctx);
10377           CHK_(ptr);
10378         } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8) {
10379           _internal_add_path(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr));
10380           CHK_(ptr);
10381         } else goto handle_unusual;
10382         continue;
10383       // repeated int32 span = 2 [packed = true];
10384       case 2:
10385         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
10386           ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_span(), ptr, ctx);
10387           CHK_(ptr);
10388         } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16) {
10389           _internal_add_span(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr));
10390           CHK_(ptr);
10391         } else goto handle_unusual;
10392         continue;
10393       // optional string leading_comments = 3;
10394       case 3:
10395         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
10396           auto str = _internal_mutable_leading_comments();
10397           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
10398           #ifndef NDEBUG
10399           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.SourceCodeInfo.Location.leading_comments");
10400           #endif  // !NDEBUG
10401           CHK_(ptr);
10402         } else goto handle_unusual;
10403         continue;
10404       // optional string trailing_comments = 4;
10405       case 4:
10406         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
10407           auto str = _internal_mutable_trailing_comments();
10408           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
10409           #ifndef NDEBUG
10410           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.SourceCodeInfo.Location.trailing_comments");
10411           #endif  // !NDEBUG
10412           CHK_(ptr);
10413         } else goto handle_unusual;
10414         continue;
10415       // repeated string leading_detached_comments = 6;
10416       case 6:
10417         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
10418           ptr -= 1;
10419           do {
10420             ptr += 1;
10421             auto str = _internal_add_leading_detached_comments();
10422             ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
10423             #ifndef NDEBUG
10424             ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.SourceCodeInfo.Location.leading_detached_comments");
10425             #endif  // !NDEBUG
10426             CHK_(ptr);
10427             if (!ctx->DataAvailable(ptr)) break;
10428           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
10429         } else goto handle_unusual;
10430         continue;
10431       default: {
10432       handle_unusual:
10433         if ((tag & 7) == 4 || tag == 0) {
10434           ctx->SetLastTag(tag);
10435           goto success;
10436         }
10437         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
10438         CHK_(ptr != nullptr);
10439         continue;
10440       }
10441     }  // switch
10442   }  // while
10443 success:
10444   _has_bits_.Or(has_bits);
10445   return ptr;
10446 failure:
10447   ptr = nullptr;
10448   goto success;
10449 #undef CHK_
10450 }
10451 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const10452 ::PROTOBUF_NAMESPACE_ID::uint8* SourceCodeInfo_Location::_InternalSerialize(
10453     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
10454   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceCodeInfo.Location)
10455   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
10456   (void) cached_has_bits;
10457 
10458   // repeated int32 path = 1 [packed = true];
10459   {
10460     int byte_size = _path_cached_byte_size_.load(std::memory_order_relaxed);
10461     if (byte_size > 0) {
10462       target = stream->WriteInt32Packed(
10463           1, _internal_path(), byte_size, target);
10464     }
10465   }
10466 
10467   // repeated int32 span = 2 [packed = true];
10468   {
10469     int byte_size = _span_cached_byte_size_.load(std::memory_order_relaxed);
10470     if (byte_size > 0) {
10471       target = stream->WriteInt32Packed(
10472           2, _internal_span(), byte_size, target);
10473     }
10474   }
10475 
10476   cached_has_bits = _has_bits_[0];
10477   // optional string leading_comments = 3;
10478   if (cached_has_bits & 0x00000001u) {
10479     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
10480       this->_internal_leading_comments().data(), static_cast<int>(this->_internal_leading_comments().length()),
10481       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
10482       "google.protobuf.SourceCodeInfo.Location.leading_comments");
10483     target = stream->WriteStringMaybeAliased(
10484         3, this->_internal_leading_comments(), target);
10485   }
10486 
10487   // optional string trailing_comments = 4;
10488   if (cached_has_bits & 0x00000002u) {
10489     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
10490       this->_internal_trailing_comments().data(), static_cast<int>(this->_internal_trailing_comments().length()),
10491       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
10492       "google.protobuf.SourceCodeInfo.Location.trailing_comments");
10493     target = stream->WriteStringMaybeAliased(
10494         4, this->_internal_trailing_comments(), target);
10495   }
10496 
10497   // repeated string leading_detached_comments = 6;
10498   for (int i = 0, n = this->_internal_leading_detached_comments_size(); i < n; i++) {
10499     const auto& s = this->_internal_leading_detached_comments(i);
10500     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
10501       s.data(), static_cast<int>(s.length()),
10502       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
10503       "google.protobuf.SourceCodeInfo.Location.leading_detached_comments");
10504     target = stream->WriteString(6, s, target);
10505   }
10506 
10507   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10508     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
10509         _internal_metadata_.unknown_fields(), target, stream);
10510   }
10511   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.SourceCodeInfo.Location)
10512   return target;
10513 }
10514 
ByteSizeLong() const10515 size_t SourceCodeInfo_Location::ByteSizeLong() const {
10516 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceCodeInfo.Location)
10517   size_t total_size = 0;
10518 
10519   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
10520   // Prevent compiler warnings about cached_has_bits being unused
10521   (void) cached_has_bits;
10522 
10523   // repeated int32 path = 1 [packed = true];
10524   {
10525     size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
10526       Int32Size(this->path_);
10527     if (data_size > 0) {
10528       total_size += 1 +
10529         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
10530             static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size));
10531     }
10532     int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size);
10533     _path_cached_byte_size_.store(cached_size,
10534                                     std::memory_order_relaxed);
10535     total_size += data_size;
10536   }
10537 
10538   // repeated int32 span = 2 [packed = true];
10539   {
10540     size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
10541       Int32Size(this->span_);
10542     if (data_size > 0) {
10543       total_size += 1 +
10544         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
10545             static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size));
10546     }
10547     int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size);
10548     _span_cached_byte_size_.store(cached_size,
10549                                     std::memory_order_relaxed);
10550     total_size += data_size;
10551   }
10552 
10553   // repeated string leading_detached_comments = 6;
10554   total_size += 1 *
10555       ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(leading_detached_comments_.size());
10556   for (int i = 0, n = leading_detached_comments_.size(); i < n; i++) {
10557     total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
10558       leading_detached_comments_.Get(i));
10559   }
10560 
10561   cached_has_bits = _has_bits_[0];
10562   if (cached_has_bits & 0x00000003u) {
10563     // optional string leading_comments = 3;
10564     if (cached_has_bits & 0x00000001u) {
10565       total_size += 1 +
10566         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
10567           this->_internal_leading_comments());
10568     }
10569 
10570     // optional string trailing_comments = 4;
10571     if (cached_has_bits & 0x00000002u) {
10572       total_size += 1 +
10573         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
10574           this->_internal_trailing_comments());
10575     }
10576 
10577   }
10578   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10579     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
10580         _internal_metadata_, total_size, &_cached_size_);
10581   }
10582   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
10583   SetCachedSize(cached_size);
10584   return total_size;
10585 }
10586 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)10587 void SourceCodeInfo_Location::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
10588 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.SourceCodeInfo.Location)
10589   GOOGLE_DCHECK_NE(&from, this);
10590   const SourceCodeInfo_Location* source =
10591       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<SourceCodeInfo_Location>(
10592           &from);
10593   if (source == nullptr) {
10594   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.SourceCodeInfo.Location)
10595     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
10596   } else {
10597   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.SourceCodeInfo.Location)
10598     MergeFrom(*source);
10599   }
10600 }
10601 
MergeFrom(const SourceCodeInfo_Location & from)10602 void SourceCodeInfo_Location::MergeFrom(const SourceCodeInfo_Location& from) {
10603 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.SourceCodeInfo.Location)
10604   GOOGLE_DCHECK_NE(&from, this);
10605   _internal_metadata_.MergeFrom(from._internal_metadata_);
10606   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
10607   (void) cached_has_bits;
10608 
10609   path_.MergeFrom(from.path_);
10610   span_.MergeFrom(from.span_);
10611   leading_detached_comments_.MergeFrom(from.leading_detached_comments_);
10612   cached_has_bits = from._has_bits_[0];
10613   if (cached_has_bits & 0x00000003u) {
10614     if (cached_has_bits & 0x00000001u) {
10615       _internal_set_leading_comments(from._internal_leading_comments());
10616     }
10617     if (cached_has_bits & 0x00000002u) {
10618       _internal_set_trailing_comments(from._internal_trailing_comments());
10619     }
10620   }
10621 }
10622 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)10623 void SourceCodeInfo_Location::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
10624 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.SourceCodeInfo.Location)
10625   if (&from == this) return;
10626   Clear();
10627   MergeFrom(from);
10628 }
10629 
CopyFrom(const SourceCodeInfo_Location & from)10630 void SourceCodeInfo_Location::CopyFrom(const SourceCodeInfo_Location& from) {
10631 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.SourceCodeInfo.Location)
10632   if (&from == this) return;
10633   Clear();
10634   MergeFrom(from);
10635 }
10636 
IsInitialized() const10637 bool SourceCodeInfo_Location::IsInitialized() const {
10638   return true;
10639 }
10640 
InternalSwap(SourceCodeInfo_Location * other)10641 void SourceCodeInfo_Location::InternalSwap(SourceCodeInfo_Location* other) {
10642   using std::swap;
10643   _internal_metadata_.Swap(&other->_internal_metadata_);
10644   swap(_has_bits_[0], other->_has_bits_[0]);
10645   path_.InternalSwap(&other->path_);
10646   span_.InternalSwap(&other->span_);
10647   leading_detached_comments_.InternalSwap(&other->leading_detached_comments_);
10648   leading_comments_.Swap(&other->leading_comments_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10649     GetArenaNoVirtual());
10650   trailing_comments_.Swap(&other->trailing_comments_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10651     GetArenaNoVirtual());
10652 }
10653 
GetMetadata() const10654 ::PROTOBUF_NAMESPACE_ID::Metadata SourceCodeInfo_Location::GetMetadata() const {
10655   return GetMetadataStatic();
10656 }
10657 
10658 
10659 // ===================================================================
10660 
InitAsDefaultInstance()10661 void SourceCodeInfo::InitAsDefaultInstance() {
10662 }
10663 class SourceCodeInfo::_Internal {
10664  public:
10665   using HasBits = decltype(std::declval<SourceCodeInfo>()._has_bits_);
10666 };
10667 
SourceCodeInfo()10668 SourceCodeInfo::SourceCodeInfo()
10669   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
10670   SharedCtor();
10671   // @@protoc_insertion_point(constructor:google.protobuf.SourceCodeInfo)
10672 }
SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena * arena)10673 SourceCodeInfo::SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena)
10674   : ::PROTOBUF_NAMESPACE_ID::Message(),
10675   _internal_metadata_(arena),
10676   location_(arena) {
10677   SharedCtor();
10678   RegisterArenaDtor(arena);
10679   // @@protoc_insertion_point(arena_constructor:google.protobuf.SourceCodeInfo)
10680 }
SourceCodeInfo(const SourceCodeInfo & from)10681 SourceCodeInfo::SourceCodeInfo(const SourceCodeInfo& from)
10682   : ::PROTOBUF_NAMESPACE_ID::Message(),
10683       _internal_metadata_(nullptr),
10684       _has_bits_(from._has_bits_),
10685       location_(from.location_) {
10686   _internal_metadata_.MergeFrom(from._internal_metadata_);
10687   // @@protoc_insertion_point(copy_constructor:google.protobuf.SourceCodeInfo)
10688 }
10689 
SharedCtor()10690 void SourceCodeInfo::SharedCtor() {
10691   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_SourceCodeInfo_google_2fprotobuf_2fdescriptor_2eproto.base);
10692 }
10693 
~SourceCodeInfo()10694 SourceCodeInfo::~SourceCodeInfo() {
10695   // @@protoc_insertion_point(destructor:google.protobuf.SourceCodeInfo)
10696   SharedDtor();
10697 }
10698 
SharedDtor()10699 void SourceCodeInfo::SharedDtor() {
10700   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
10701 }
10702 
ArenaDtor(void * object)10703 void SourceCodeInfo::ArenaDtor(void* object) {
10704   SourceCodeInfo* _this = reinterpret_cast< SourceCodeInfo* >(object);
10705   (void)_this;
10706 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)10707 void SourceCodeInfo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
10708 }
SetCachedSize(int size) const10709 void SourceCodeInfo::SetCachedSize(int size) const {
10710   _cached_size_.Set(size);
10711 }
default_instance()10712 const SourceCodeInfo& SourceCodeInfo::default_instance() {
10713   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_SourceCodeInfo_google_2fprotobuf_2fdescriptor_2eproto.base);
10714   return *internal_default_instance();
10715 }
10716 
10717 
Clear()10718 void SourceCodeInfo::Clear() {
10719 // @@protoc_insertion_point(message_clear_start:google.protobuf.SourceCodeInfo)
10720   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
10721   // Prevent compiler warnings about cached_has_bits being unused
10722   (void) cached_has_bits;
10723 
10724   location_.Clear();
10725   _has_bits_.Clear();
10726   _internal_metadata_.Clear();
10727 }
10728 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)10729 const char* SourceCodeInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
10730 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
10731   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
10732   while (!ctx->Done(&ptr)) {
10733     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
10734     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
10735     CHK_(ptr);
10736     switch (tag >> 3) {
10737       // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
10738       case 1:
10739         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
10740           ptr -= 1;
10741           do {
10742             ptr += 1;
10743             ptr = ctx->ParseMessage(_internal_add_location(), ptr);
10744             CHK_(ptr);
10745             if (!ctx->DataAvailable(ptr)) break;
10746           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
10747         } else goto handle_unusual;
10748         continue;
10749       default: {
10750       handle_unusual:
10751         if ((tag & 7) == 4 || tag == 0) {
10752           ctx->SetLastTag(tag);
10753           goto success;
10754         }
10755         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
10756         CHK_(ptr != nullptr);
10757         continue;
10758       }
10759     }  // switch
10760   }  // while
10761 success:
10762   return ptr;
10763 failure:
10764   ptr = nullptr;
10765   goto success;
10766 #undef CHK_
10767 }
10768 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const10769 ::PROTOBUF_NAMESPACE_ID::uint8* SourceCodeInfo::_InternalSerialize(
10770     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
10771   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceCodeInfo)
10772   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
10773   (void) cached_has_bits;
10774 
10775   // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
10776   for (unsigned int i = 0,
10777       n = static_cast<unsigned int>(this->_internal_location_size()); i < n; i++) {
10778     target = stream->EnsureSpace(target);
10779     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
10780       InternalWriteMessage(1, this->_internal_location(i), target, stream);
10781   }
10782 
10783   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10784     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
10785         _internal_metadata_.unknown_fields(), target, stream);
10786   }
10787   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.SourceCodeInfo)
10788   return target;
10789 }
10790 
ByteSizeLong() const10791 size_t SourceCodeInfo::ByteSizeLong() const {
10792 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceCodeInfo)
10793   size_t total_size = 0;
10794 
10795   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
10796   // Prevent compiler warnings about cached_has_bits being unused
10797   (void) cached_has_bits;
10798 
10799   // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
10800   total_size += 1UL * this->_internal_location_size();
10801   for (const auto& msg : this->location_) {
10802     total_size +=
10803       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
10804   }
10805 
10806   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10807     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
10808         _internal_metadata_, total_size, &_cached_size_);
10809   }
10810   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
10811   SetCachedSize(cached_size);
10812   return total_size;
10813 }
10814 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)10815 void SourceCodeInfo::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
10816 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.SourceCodeInfo)
10817   GOOGLE_DCHECK_NE(&from, this);
10818   const SourceCodeInfo* source =
10819       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<SourceCodeInfo>(
10820           &from);
10821   if (source == nullptr) {
10822   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.SourceCodeInfo)
10823     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
10824   } else {
10825   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.SourceCodeInfo)
10826     MergeFrom(*source);
10827   }
10828 }
10829 
MergeFrom(const SourceCodeInfo & from)10830 void SourceCodeInfo::MergeFrom(const SourceCodeInfo& from) {
10831 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.SourceCodeInfo)
10832   GOOGLE_DCHECK_NE(&from, this);
10833   _internal_metadata_.MergeFrom(from._internal_metadata_);
10834   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
10835   (void) cached_has_bits;
10836 
10837   location_.MergeFrom(from.location_);
10838 }
10839 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)10840 void SourceCodeInfo::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
10841 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.SourceCodeInfo)
10842   if (&from == this) return;
10843   Clear();
10844   MergeFrom(from);
10845 }
10846 
CopyFrom(const SourceCodeInfo & from)10847 void SourceCodeInfo::CopyFrom(const SourceCodeInfo& from) {
10848 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.SourceCodeInfo)
10849   if (&from == this) return;
10850   Clear();
10851   MergeFrom(from);
10852 }
10853 
IsInitialized() const10854 bool SourceCodeInfo::IsInitialized() const {
10855   return true;
10856 }
10857 
InternalSwap(SourceCodeInfo * other)10858 void SourceCodeInfo::InternalSwap(SourceCodeInfo* other) {
10859   using std::swap;
10860   _internal_metadata_.Swap(&other->_internal_metadata_);
10861   swap(_has_bits_[0], other->_has_bits_[0]);
10862   location_.InternalSwap(&other->location_);
10863 }
10864 
GetMetadata() const10865 ::PROTOBUF_NAMESPACE_ID::Metadata SourceCodeInfo::GetMetadata() const {
10866   return GetMetadataStatic();
10867 }
10868 
10869 
10870 // ===================================================================
10871 
InitAsDefaultInstance()10872 void GeneratedCodeInfo_Annotation::InitAsDefaultInstance() {
10873 }
10874 class GeneratedCodeInfo_Annotation::_Internal {
10875  public:
10876   using HasBits = decltype(std::declval<GeneratedCodeInfo_Annotation>()._has_bits_);
set_has_source_file(HasBits * has_bits)10877   static void set_has_source_file(HasBits* has_bits) {
10878     (*has_bits)[0] |= 1u;
10879   }
set_has_begin(HasBits * has_bits)10880   static void set_has_begin(HasBits* has_bits) {
10881     (*has_bits)[0] |= 2u;
10882   }
set_has_end(HasBits * has_bits)10883   static void set_has_end(HasBits* has_bits) {
10884     (*has_bits)[0] |= 4u;
10885   }
10886 };
10887 
GeneratedCodeInfo_Annotation()10888 GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation()
10889   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
10890   SharedCtor();
10891   // @@protoc_insertion_point(constructor:google.protobuf.GeneratedCodeInfo.Annotation)
10892 }
GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::Arena * arena)10893 GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::Arena* arena)
10894   : ::PROTOBUF_NAMESPACE_ID::Message(),
10895   _internal_metadata_(arena),
10896   path_(arena) {
10897   SharedCtor();
10898   RegisterArenaDtor(arena);
10899   // @@protoc_insertion_point(arena_constructor:google.protobuf.GeneratedCodeInfo.Annotation)
10900 }
GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation & from)10901 GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from)
10902   : ::PROTOBUF_NAMESPACE_ID::Message(),
10903       _internal_metadata_(nullptr),
10904       _has_bits_(from._has_bits_),
10905       path_(from.path_) {
10906   _internal_metadata_.MergeFrom(from._internal_metadata_);
10907   source_file_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
10908   if (from._internal_has_source_file()) {
10909     source_file_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_source_file(),
10910       GetArenaNoVirtual());
10911   }
10912   ::memcpy(&begin_, &from.begin_,
10913     static_cast<size_t>(reinterpret_cast<char*>(&end_) -
10914     reinterpret_cast<char*>(&begin_)) + sizeof(end_));
10915   // @@protoc_insertion_point(copy_constructor:google.protobuf.GeneratedCodeInfo.Annotation)
10916 }
10917 
SharedCtor()10918 void GeneratedCodeInfo_Annotation::SharedCtor() {
10919   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GeneratedCodeInfo_Annotation_google_2fprotobuf_2fdescriptor_2eproto.base);
10920   source_file_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
10921   ::memset(&begin_, 0, static_cast<size_t>(
10922       reinterpret_cast<char*>(&end_) -
10923       reinterpret_cast<char*>(&begin_)) + sizeof(end_));
10924 }
10925 
~GeneratedCodeInfo_Annotation()10926 GeneratedCodeInfo_Annotation::~GeneratedCodeInfo_Annotation() {
10927   // @@protoc_insertion_point(destructor:google.protobuf.GeneratedCodeInfo.Annotation)
10928   SharedDtor();
10929 }
10930 
SharedDtor()10931 void GeneratedCodeInfo_Annotation::SharedDtor() {
10932   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
10933   source_file_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
10934 }
10935 
ArenaDtor(void * object)10936 void GeneratedCodeInfo_Annotation::ArenaDtor(void* object) {
10937   GeneratedCodeInfo_Annotation* _this = reinterpret_cast< GeneratedCodeInfo_Annotation* >(object);
10938   (void)_this;
10939 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)10940 void GeneratedCodeInfo_Annotation::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
10941 }
SetCachedSize(int size) const10942 void GeneratedCodeInfo_Annotation::SetCachedSize(int size) const {
10943   _cached_size_.Set(size);
10944 }
default_instance()10945 const GeneratedCodeInfo_Annotation& GeneratedCodeInfo_Annotation::default_instance() {
10946   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GeneratedCodeInfo_Annotation_google_2fprotobuf_2fdescriptor_2eproto.base);
10947   return *internal_default_instance();
10948 }
10949 
10950 
Clear()10951 void GeneratedCodeInfo_Annotation::Clear() {
10952 // @@protoc_insertion_point(message_clear_start:google.protobuf.GeneratedCodeInfo.Annotation)
10953   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
10954   // Prevent compiler warnings about cached_has_bits being unused
10955   (void) cached_has_bits;
10956 
10957   path_.Clear();
10958   cached_has_bits = _has_bits_[0];
10959   if (cached_has_bits & 0x00000001u) {
10960     source_file_.ClearNonDefaultToEmpty();
10961   }
10962   if (cached_has_bits & 0x00000006u) {
10963     ::memset(&begin_, 0, static_cast<size_t>(
10964         reinterpret_cast<char*>(&end_) -
10965         reinterpret_cast<char*>(&begin_)) + sizeof(end_));
10966   }
10967   _has_bits_.Clear();
10968   _internal_metadata_.Clear();
10969 }
10970 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)10971 const char* GeneratedCodeInfo_Annotation::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
10972 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
10973   _Internal::HasBits has_bits{};
10974   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
10975   while (!ctx->Done(&ptr)) {
10976     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
10977     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
10978     CHK_(ptr);
10979     switch (tag >> 3) {
10980       // repeated int32 path = 1 [packed = true];
10981       case 1:
10982         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
10983           ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_path(), ptr, ctx);
10984           CHK_(ptr);
10985         } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8) {
10986           _internal_add_path(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr));
10987           CHK_(ptr);
10988         } else goto handle_unusual;
10989         continue;
10990       // optional string source_file = 2;
10991       case 2:
10992         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
10993           auto str = _internal_mutable_source_file();
10994           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
10995           #ifndef NDEBUG
10996           ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.GeneratedCodeInfo.Annotation.source_file");
10997           #endif  // !NDEBUG
10998           CHK_(ptr);
10999         } else goto handle_unusual;
11000         continue;
11001       // optional int32 begin = 3;
11002       case 3:
11003         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
11004           _Internal::set_has_begin(&has_bits);
11005           begin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
11006           CHK_(ptr);
11007         } else goto handle_unusual;
11008         continue;
11009       // optional int32 end = 4;
11010       case 4:
11011         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
11012           _Internal::set_has_end(&has_bits);
11013           end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
11014           CHK_(ptr);
11015         } else goto handle_unusual;
11016         continue;
11017       default: {
11018       handle_unusual:
11019         if ((tag & 7) == 4 || tag == 0) {
11020           ctx->SetLastTag(tag);
11021           goto success;
11022         }
11023         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
11024         CHK_(ptr != nullptr);
11025         continue;
11026       }
11027     }  // switch
11028   }  // while
11029 success:
11030   _has_bits_.Or(has_bits);
11031   return ptr;
11032 failure:
11033   ptr = nullptr;
11034   goto success;
11035 #undef CHK_
11036 }
11037 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const11038 ::PROTOBUF_NAMESPACE_ID::uint8* GeneratedCodeInfo_Annotation::_InternalSerialize(
11039     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
11040   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.GeneratedCodeInfo.Annotation)
11041   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
11042   (void) cached_has_bits;
11043 
11044   // repeated int32 path = 1 [packed = true];
11045   {
11046     int byte_size = _path_cached_byte_size_.load(std::memory_order_relaxed);
11047     if (byte_size > 0) {
11048       target = stream->WriteInt32Packed(
11049           1, _internal_path(), byte_size, target);
11050     }
11051   }
11052 
11053   cached_has_bits = _has_bits_[0];
11054   // optional string source_file = 2;
11055   if (cached_has_bits & 0x00000001u) {
11056     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
11057       this->_internal_source_file().data(), static_cast<int>(this->_internal_source_file().length()),
11058       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
11059       "google.protobuf.GeneratedCodeInfo.Annotation.source_file");
11060     target = stream->WriteStringMaybeAliased(
11061         2, this->_internal_source_file(), target);
11062   }
11063 
11064   // optional int32 begin = 3;
11065   if (cached_has_bits & 0x00000002u) {
11066     target = stream->EnsureSpace(target);
11067     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_begin(), target);
11068   }
11069 
11070   // optional int32 end = 4;
11071   if (cached_has_bits & 0x00000004u) {
11072     target = stream->EnsureSpace(target);
11073     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(4, this->_internal_end(), target);
11074   }
11075 
11076   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11077     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
11078         _internal_metadata_.unknown_fields(), target, stream);
11079   }
11080   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.GeneratedCodeInfo.Annotation)
11081   return target;
11082 }
11083 
ByteSizeLong() const11084 size_t GeneratedCodeInfo_Annotation::ByteSizeLong() const {
11085 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.GeneratedCodeInfo.Annotation)
11086   size_t total_size = 0;
11087 
11088   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
11089   // Prevent compiler warnings about cached_has_bits being unused
11090   (void) cached_has_bits;
11091 
11092   // repeated int32 path = 1 [packed = true];
11093   {
11094     size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
11095       Int32Size(this->path_);
11096     if (data_size > 0) {
11097       total_size += 1 +
11098         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
11099             static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size));
11100     }
11101     int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size);
11102     _path_cached_byte_size_.store(cached_size,
11103                                     std::memory_order_relaxed);
11104     total_size += data_size;
11105   }
11106 
11107   cached_has_bits = _has_bits_[0];
11108   if (cached_has_bits & 0x00000007u) {
11109     // optional string source_file = 2;
11110     if (cached_has_bits & 0x00000001u) {
11111       total_size += 1 +
11112         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
11113           this->_internal_source_file());
11114     }
11115 
11116     // optional int32 begin = 3;
11117     if (cached_has_bits & 0x00000002u) {
11118       total_size += 1 +
11119         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
11120           this->_internal_begin());
11121     }
11122 
11123     // optional int32 end = 4;
11124     if (cached_has_bits & 0x00000004u) {
11125       total_size += 1 +
11126         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
11127           this->_internal_end());
11128     }
11129 
11130   }
11131   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11132     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
11133         _internal_metadata_, total_size, &_cached_size_);
11134   }
11135   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
11136   SetCachedSize(cached_size);
11137   return total_size;
11138 }
11139 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)11140 void GeneratedCodeInfo_Annotation::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
11141 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.GeneratedCodeInfo.Annotation)
11142   GOOGLE_DCHECK_NE(&from, this);
11143   const GeneratedCodeInfo_Annotation* source =
11144       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GeneratedCodeInfo_Annotation>(
11145           &from);
11146   if (source == nullptr) {
11147   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.GeneratedCodeInfo.Annotation)
11148     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
11149   } else {
11150   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.GeneratedCodeInfo.Annotation)
11151     MergeFrom(*source);
11152   }
11153 }
11154 
MergeFrom(const GeneratedCodeInfo_Annotation & from)11155 void GeneratedCodeInfo_Annotation::MergeFrom(const GeneratedCodeInfo_Annotation& from) {
11156 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.GeneratedCodeInfo.Annotation)
11157   GOOGLE_DCHECK_NE(&from, this);
11158   _internal_metadata_.MergeFrom(from._internal_metadata_);
11159   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
11160   (void) cached_has_bits;
11161 
11162   path_.MergeFrom(from.path_);
11163   cached_has_bits = from._has_bits_[0];
11164   if (cached_has_bits & 0x00000007u) {
11165     if (cached_has_bits & 0x00000001u) {
11166       _internal_set_source_file(from._internal_source_file());
11167     }
11168     if (cached_has_bits & 0x00000002u) {
11169       begin_ = from.begin_;
11170     }
11171     if (cached_has_bits & 0x00000004u) {
11172       end_ = from.end_;
11173     }
11174     _has_bits_[0] |= cached_has_bits;
11175   }
11176 }
11177 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)11178 void GeneratedCodeInfo_Annotation::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
11179 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.GeneratedCodeInfo.Annotation)
11180   if (&from == this) return;
11181   Clear();
11182   MergeFrom(from);
11183 }
11184 
CopyFrom(const GeneratedCodeInfo_Annotation & from)11185 void GeneratedCodeInfo_Annotation::CopyFrom(const GeneratedCodeInfo_Annotation& from) {
11186 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.GeneratedCodeInfo.Annotation)
11187   if (&from == this) return;
11188   Clear();
11189   MergeFrom(from);
11190 }
11191 
IsInitialized() const11192 bool GeneratedCodeInfo_Annotation::IsInitialized() const {
11193   return true;
11194 }
11195 
InternalSwap(GeneratedCodeInfo_Annotation * other)11196 void GeneratedCodeInfo_Annotation::InternalSwap(GeneratedCodeInfo_Annotation* other) {
11197   using std::swap;
11198   _internal_metadata_.Swap(&other->_internal_metadata_);
11199   swap(_has_bits_[0], other->_has_bits_[0]);
11200   path_.InternalSwap(&other->path_);
11201   source_file_.Swap(&other->source_file_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
11202     GetArenaNoVirtual());
11203   swap(begin_, other->begin_);
11204   swap(end_, other->end_);
11205 }
11206 
GetMetadata() const11207 ::PROTOBUF_NAMESPACE_ID::Metadata GeneratedCodeInfo_Annotation::GetMetadata() const {
11208   return GetMetadataStatic();
11209 }
11210 
11211 
11212 // ===================================================================
11213 
InitAsDefaultInstance()11214 void GeneratedCodeInfo::InitAsDefaultInstance() {
11215 }
11216 class GeneratedCodeInfo::_Internal {
11217  public:
11218   using HasBits = decltype(std::declval<GeneratedCodeInfo>()._has_bits_);
11219 };
11220 
GeneratedCodeInfo()11221 GeneratedCodeInfo::GeneratedCodeInfo()
11222   : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
11223   SharedCtor();
11224   // @@protoc_insertion_point(constructor:google.protobuf.GeneratedCodeInfo)
11225 }
GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena * arena)11226 GeneratedCodeInfo::GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena)
11227   : ::PROTOBUF_NAMESPACE_ID::Message(),
11228   _internal_metadata_(arena),
11229   annotation_(arena) {
11230   SharedCtor();
11231   RegisterArenaDtor(arena);
11232   // @@protoc_insertion_point(arena_constructor:google.protobuf.GeneratedCodeInfo)
11233 }
GeneratedCodeInfo(const GeneratedCodeInfo & from)11234 GeneratedCodeInfo::GeneratedCodeInfo(const GeneratedCodeInfo& from)
11235   : ::PROTOBUF_NAMESPACE_ID::Message(),
11236       _internal_metadata_(nullptr),
11237       _has_bits_(from._has_bits_),
11238       annotation_(from.annotation_) {
11239   _internal_metadata_.MergeFrom(from._internal_metadata_);
11240   // @@protoc_insertion_point(copy_constructor:google.protobuf.GeneratedCodeInfo)
11241 }
11242 
SharedCtor()11243 void GeneratedCodeInfo::SharedCtor() {
11244   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GeneratedCodeInfo_google_2fprotobuf_2fdescriptor_2eproto.base);
11245 }
11246 
~GeneratedCodeInfo()11247 GeneratedCodeInfo::~GeneratedCodeInfo() {
11248   // @@protoc_insertion_point(destructor:google.protobuf.GeneratedCodeInfo)
11249   SharedDtor();
11250 }
11251 
SharedDtor()11252 void GeneratedCodeInfo::SharedDtor() {
11253   GOOGLE_DCHECK(GetArenaNoVirtual() == nullptr);
11254 }
11255 
ArenaDtor(void * object)11256 void GeneratedCodeInfo::ArenaDtor(void* object) {
11257   GeneratedCodeInfo* _this = reinterpret_cast< GeneratedCodeInfo* >(object);
11258   (void)_this;
11259 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)11260 void GeneratedCodeInfo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
11261 }
SetCachedSize(int size) const11262 void GeneratedCodeInfo::SetCachedSize(int size) const {
11263   _cached_size_.Set(size);
11264 }
default_instance()11265 const GeneratedCodeInfo& GeneratedCodeInfo::default_instance() {
11266   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GeneratedCodeInfo_google_2fprotobuf_2fdescriptor_2eproto.base);
11267   return *internal_default_instance();
11268 }
11269 
11270 
Clear()11271 void GeneratedCodeInfo::Clear() {
11272 // @@protoc_insertion_point(message_clear_start:google.protobuf.GeneratedCodeInfo)
11273   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
11274   // Prevent compiler warnings about cached_has_bits being unused
11275   (void) cached_has_bits;
11276 
11277   annotation_.Clear();
11278   _has_bits_.Clear();
11279   _internal_metadata_.Clear();
11280 }
11281 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)11282 const char* GeneratedCodeInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
11283 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
11284   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaNoVirtual(); (void)arena;
11285   while (!ctx->Done(&ptr)) {
11286     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
11287     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
11288     CHK_(ptr);
11289     switch (tag >> 3) {
11290       // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
11291       case 1:
11292         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
11293           ptr -= 1;
11294           do {
11295             ptr += 1;
11296             ptr = ctx->ParseMessage(_internal_add_annotation(), ptr);
11297             CHK_(ptr);
11298             if (!ctx->DataAvailable(ptr)) break;
11299           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
11300         } else goto handle_unusual;
11301         continue;
11302       default: {
11303       handle_unusual:
11304         if ((tag & 7) == 4 || tag == 0) {
11305           ctx->SetLastTag(tag);
11306           goto success;
11307         }
11308         ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
11309         CHK_(ptr != nullptr);
11310         continue;
11311       }
11312     }  // switch
11313   }  // while
11314 success:
11315   return ptr;
11316 failure:
11317   ptr = nullptr;
11318   goto success;
11319 #undef CHK_
11320 }
11321 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const11322 ::PROTOBUF_NAMESPACE_ID::uint8* GeneratedCodeInfo::_InternalSerialize(
11323     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
11324   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.GeneratedCodeInfo)
11325   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
11326   (void) cached_has_bits;
11327 
11328   // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
11329   for (unsigned int i = 0,
11330       n = static_cast<unsigned int>(this->_internal_annotation_size()); i < n; i++) {
11331     target = stream->EnsureSpace(target);
11332     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
11333       InternalWriteMessage(1, this->_internal_annotation(i), target, stream);
11334   }
11335 
11336   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11337     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
11338         _internal_metadata_.unknown_fields(), target, stream);
11339   }
11340   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.GeneratedCodeInfo)
11341   return target;
11342 }
11343 
ByteSizeLong() const11344 size_t GeneratedCodeInfo::ByteSizeLong() const {
11345 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.GeneratedCodeInfo)
11346   size_t total_size = 0;
11347 
11348   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
11349   // Prevent compiler warnings about cached_has_bits being unused
11350   (void) cached_has_bits;
11351 
11352   // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
11353   total_size += 1UL * this->_internal_annotation_size();
11354   for (const auto& msg : this->annotation_) {
11355     total_size +=
11356       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
11357   }
11358 
11359   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11360     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
11361         _internal_metadata_, total_size, &_cached_size_);
11362   }
11363   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
11364   SetCachedSize(cached_size);
11365   return total_size;
11366 }
11367 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)11368 void GeneratedCodeInfo::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
11369 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.GeneratedCodeInfo)
11370   GOOGLE_DCHECK_NE(&from, this);
11371   const GeneratedCodeInfo* source =
11372       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GeneratedCodeInfo>(
11373           &from);
11374   if (source == nullptr) {
11375   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.GeneratedCodeInfo)
11376     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
11377   } else {
11378   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.GeneratedCodeInfo)
11379     MergeFrom(*source);
11380   }
11381 }
11382 
MergeFrom(const GeneratedCodeInfo & from)11383 void GeneratedCodeInfo::MergeFrom(const GeneratedCodeInfo& from) {
11384 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.GeneratedCodeInfo)
11385   GOOGLE_DCHECK_NE(&from, this);
11386   _internal_metadata_.MergeFrom(from._internal_metadata_);
11387   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
11388   (void) cached_has_bits;
11389 
11390   annotation_.MergeFrom(from.annotation_);
11391 }
11392 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)11393 void GeneratedCodeInfo::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
11394 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.GeneratedCodeInfo)
11395   if (&from == this) return;
11396   Clear();
11397   MergeFrom(from);
11398 }
11399 
CopyFrom(const GeneratedCodeInfo & from)11400 void GeneratedCodeInfo::CopyFrom(const GeneratedCodeInfo& from) {
11401 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.GeneratedCodeInfo)
11402   if (&from == this) return;
11403   Clear();
11404   MergeFrom(from);
11405 }
11406 
IsInitialized() const11407 bool GeneratedCodeInfo::IsInitialized() const {
11408   return true;
11409 }
11410 
InternalSwap(GeneratedCodeInfo * other)11411 void GeneratedCodeInfo::InternalSwap(GeneratedCodeInfo* other) {
11412   using std::swap;
11413   _internal_metadata_.Swap(&other->_internal_metadata_);
11414   swap(_has_bits_[0], other->_has_bits_[0]);
11415   annotation_.InternalSwap(&other->annotation_);
11416 }
11417 
GetMetadata() const11418 ::PROTOBUF_NAMESPACE_ID::Metadata GeneratedCodeInfo::GetMetadata() const {
11419   return GetMetadataStatic();
11420 }
11421 
11422 
11423 // @@protoc_insertion_point(namespace_scope)
11424 PROTOBUF_NAMESPACE_CLOSE
11425 PROTOBUF_NAMESPACE_OPEN
CreateMaybeMessage(Arena * arena)11426 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::FileDescriptorSet* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::FileDescriptorSet >(Arena* arena) {
11427   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::FileDescriptorSet >(arena);
11428 }
CreateMaybeMessage(Arena * arena)11429 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::FileDescriptorProto* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >(Arena* arena) {
11430   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >(arena);
11431 }
CreateMaybeMessage(Arena * arena)11432 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >(Arena* arena) {
11433   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >(arena);
11434 }
CreateMaybeMessage(Arena * arena)11435 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >(Arena* arena) {
11436   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >(arena);
11437 }
CreateMaybeMessage(Arena * arena)11438 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::DescriptorProto* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::DescriptorProto >(Arena* arena) {
11439   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::DescriptorProto >(arena);
11440 }
CreateMaybeMessage(Arena * arena)11441 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions >(Arena* arena) {
11442   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions >(arena);
11443 }
CreateMaybeMessage(Arena * arena)11444 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >(Arena* arena) {
11445   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >(arena);
11446 }
CreateMaybeMessage(Arena * arena)11447 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >(Arena* arena) {
11448   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >(arena);
11449 }
CreateMaybeMessage(Arena * arena)11450 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >(Arena* arena) {
11451   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >(arena);
11452 }
CreateMaybeMessage(Arena * arena)11453 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >(Arena* arena) {
11454   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >(arena);
11455 }
CreateMaybeMessage(Arena * arena)11456 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >(Arena* arena) {
11457   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >(arena);
11458 }
CreateMaybeMessage(Arena * arena)11459 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >(Arena* arena) {
11460   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >(arena);
11461 }
CreateMaybeMessage(Arena * arena)11462 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >(Arena* arena) {
11463   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >(arena);
11464 }
CreateMaybeMessage(Arena * arena)11465 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::FileOptions* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::FileOptions >(Arena* arena) {
11466   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::FileOptions >(arena);
11467 }
CreateMaybeMessage(Arena * arena)11468 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::MessageOptions* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::MessageOptions >(Arena* arena) {
11469   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::MessageOptions >(arena);
11470 }
CreateMaybeMessage(Arena * arena)11471 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::FieldOptions* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::FieldOptions >(Arena* arena) {
11472   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::FieldOptions >(arena);
11473 }
CreateMaybeMessage(Arena * arena)11474 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::OneofOptions* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::OneofOptions >(Arena* arena) {
11475   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::OneofOptions >(arena);
11476 }
CreateMaybeMessage(Arena * arena)11477 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::EnumOptions* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::EnumOptions >(Arena* arena) {
11478   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::EnumOptions >(arena);
11479 }
CreateMaybeMessage(Arena * arena)11480 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::EnumValueOptions* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::EnumValueOptions >(Arena* arena) {
11481   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::EnumValueOptions >(arena);
11482 }
CreateMaybeMessage(Arena * arena)11483 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::ServiceOptions* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::ServiceOptions >(Arena* arena) {
11484   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::ServiceOptions >(arena);
11485 }
CreateMaybeMessage(Arena * arena)11486 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::MethodOptions* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::MethodOptions >(Arena* arena) {
11487   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::MethodOptions >(arena);
11488 }
CreateMaybeMessage(Arena * arena)11489 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >(Arena* arena) {
11490   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >(arena);
11491 }
CreateMaybeMessage(Arena * arena)11492 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::UninterpretedOption* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::UninterpretedOption >(Arena* arena) {
11493   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::UninterpretedOption >(arena);
11494 }
CreateMaybeMessage(Arena * arena)11495 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >(Arena* arena) {
11496   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >(arena);
11497 }
CreateMaybeMessage(Arena * arena)11498 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::SourceCodeInfo* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::SourceCodeInfo >(Arena* arena) {
11499   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::SourceCodeInfo >(arena);
11500 }
CreateMaybeMessage(Arena * arena)11501 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >(Arena* arena) {
11502   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >(arena);
11503 }
CreateMaybeMessage(Arena * arena)11504 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo >(Arena* arena) {
11505   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo >(arena);
11506 }
11507 PROTOBUF_NAMESPACE_CLOSE
11508 
11509 // @@protoc_insertion_point(global_scope)
11510 #include <google/protobuf/port_undef.inc>
11511