xref: /aosp_15_r20/external/cronet/third_party/protobuf/src/google/protobuf/descriptor.pb.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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 
18 PROTOBUF_PRAGMA_INIT_SEG
19 
20 namespace _pb = ::PROTOBUF_NAMESPACE_ID;
21 namespace _pbi = _pb::internal;
22 
23 PROTOBUF_NAMESPACE_OPEN
FileDescriptorSet(::_pbi::ConstantInitialized)24 PROTOBUF_CONSTEXPR FileDescriptorSet::FileDescriptorSet(
25     ::_pbi::ConstantInitialized): _impl_{
26     /*decltype(_impl_.file_)*/{}
27   , /*decltype(_impl_._cached_size_)*/{}} {}
28 struct FileDescriptorSetDefaultTypeInternal {
FileDescriptorSetDefaultTypeInternalFileDescriptorSetDefaultTypeInternal29   PROTOBUF_CONSTEXPR FileDescriptorSetDefaultTypeInternal()
30       : _instance(::_pbi::ConstantInitialized{}) {}
~FileDescriptorSetDefaultTypeInternalFileDescriptorSetDefaultTypeInternal31   ~FileDescriptorSetDefaultTypeInternal() {}
32   union {
33     FileDescriptorSet _instance;
34   };
35 };
36 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_;
FileDescriptorProto(::_pbi::ConstantInitialized)37 PROTOBUF_CONSTEXPR FileDescriptorProto::FileDescriptorProto(
38     ::_pbi::ConstantInitialized): _impl_{
39     /*decltype(_impl_._has_bits_)*/{}
40   , /*decltype(_impl_._cached_size_)*/{}
41   , /*decltype(_impl_.dependency_)*/{}
42   , /*decltype(_impl_.message_type_)*/{}
43   , /*decltype(_impl_.enum_type_)*/{}
44   , /*decltype(_impl_.service_)*/{}
45   , /*decltype(_impl_.extension_)*/{}
46   , /*decltype(_impl_.public_dependency_)*/{}
47   , /*decltype(_impl_.weak_dependency_)*/{}
48   , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
49   , /*decltype(_impl_.package_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
50   , /*decltype(_impl_.syntax_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
51   , /*decltype(_impl_.options_)*/nullptr
52   , /*decltype(_impl_.source_code_info_)*/nullptr} {}
53 struct FileDescriptorProtoDefaultTypeInternal {
FileDescriptorProtoDefaultTypeInternalFileDescriptorProtoDefaultTypeInternal54   PROTOBUF_CONSTEXPR FileDescriptorProtoDefaultTypeInternal()
55       : _instance(::_pbi::ConstantInitialized{}) {}
~FileDescriptorProtoDefaultTypeInternalFileDescriptorProtoDefaultTypeInternal56   ~FileDescriptorProtoDefaultTypeInternal() {}
57   union {
58     FileDescriptorProto _instance;
59   };
60 };
61 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_;
DescriptorProto_ExtensionRange(::_pbi::ConstantInitialized)62 PROTOBUF_CONSTEXPR DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(
63     ::_pbi::ConstantInitialized): _impl_{
64     /*decltype(_impl_._has_bits_)*/{}
65   , /*decltype(_impl_._cached_size_)*/{}
66   , /*decltype(_impl_.options_)*/nullptr
67   , /*decltype(_impl_.start_)*/0
68   , /*decltype(_impl_.end_)*/0} {}
69 struct DescriptorProto_ExtensionRangeDefaultTypeInternal {
DescriptorProto_ExtensionRangeDefaultTypeInternalDescriptorProto_ExtensionRangeDefaultTypeInternal70   PROTOBUF_CONSTEXPR DescriptorProto_ExtensionRangeDefaultTypeInternal()
71       : _instance(::_pbi::ConstantInitialized{}) {}
~DescriptorProto_ExtensionRangeDefaultTypeInternalDescriptorProto_ExtensionRangeDefaultTypeInternal72   ~DescriptorProto_ExtensionRangeDefaultTypeInternal() {}
73   union {
74     DescriptorProto_ExtensionRange _instance;
75   };
76 };
77 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_;
DescriptorProto_ReservedRange(::_pbi::ConstantInitialized)78 PROTOBUF_CONSTEXPR DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(
79     ::_pbi::ConstantInitialized): _impl_{
80     /*decltype(_impl_._has_bits_)*/{}
81   , /*decltype(_impl_._cached_size_)*/{}
82   , /*decltype(_impl_.start_)*/0
83   , /*decltype(_impl_.end_)*/0} {}
84 struct DescriptorProto_ReservedRangeDefaultTypeInternal {
DescriptorProto_ReservedRangeDefaultTypeInternalDescriptorProto_ReservedRangeDefaultTypeInternal85   PROTOBUF_CONSTEXPR DescriptorProto_ReservedRangeDefaultTypeInternal()
86       : _instance(::_pbi::ConstantInitialized{}) {}
~DescriptorProto_ReservedRangeDefaultTypeInternalDescriptorProto_ReservedRangeDefaultTypeInternal87   ~DescriptorProto_ReservedRangeDefaultTypeInternal() {}
88   union {
89     DescriptorProto_ReservedRange _instance;
90   };
91 };
92 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_;
DescriptorProto(::_pbi::ConstantInitialized)93 PROTOBUF_CONSTEXPR DescriptorProto::DescriptorProto(
94     ::_pbi::ConstantInitialized): _impl_{
95     /*decltype(_impl_._has_bits_)*/{}
96   , /*decltype(_impl_._cached_size_)*/{}
97   , /*decltype(_impl_.field_)*/{}
98   , /*decltype(_impl_.nested_type_)*/{}
99   , /*decltype(_impl_.enum_type_)*/{}
100   , /*decltype(_impl_.extension_range_)*/{}
101   , /*decltype(_impl_.extension_)*/{}
102   , /*decltype(_impl_.oneof_decl_)*/{}
103   , /*decltype(_impl_.reserved_range_)*/{}
104   , /*decltype(_impl_.reserved_name_)*/{}
105   , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
106   , /*decltype(_impl_.options_)*/nullptr} {}
107 struct DescriptorProtoDefaultTypeInternal {
DescriptorProtoDefaultTypeInternalDescriptorProtoDefaultTypeInternal108   PROTOBUF_CONSTEXPR DescriptorProtoDefaultTypeInternal()
109       : _instance(::_pbi::ConstantInitialized{}) {}
~DescriptorProtoDefaultTypeInternalDescriptorProtoDefaultTypeInternal110   ~DescriptorProtoDefaultTypeInternal() {}
111   union {
112     DescriptorProto _instance;
113   };
114 };
115 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_;
ExtensionRangeOptions(::_pbi::ConstantInitialized)116 PROTOBUF_CONSTEXPR ExtensionRangeOptions::ExtensionRangeOptions(
117     ::_pbi::ConstantInitialized): _impl_{
118     /*decltype(_impl_._extensions_)*/{}
119   , /*decltype(_impl_.uninterpreted_option_)*/{}
120   , /*decltype(_impl_._cached_size_)*/{}} {}
121 struct ExtensionRangeOptionsDefaultTypeInternal {
ExtensionRangeOptionsDefaultTypeInternalExtensionRangeOptionsDefaultTypeInternal122   PROTOBUF_CONSTEXPR ExtensionRangeOptionsDefaultTypeInternal()
123       : _instance(::_pbi::ConstantInitialized{}) {}
~ExtensionRangeOptionsDefaultTypeInternalExtensionRangeOptionsDefaultTypeInternal124   ~ExtensionRangeOptionsDefaultTypeInternal() {}
125   union {
126     ExtensionRangeOptions _instance;
127   };
128 };
129 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_;
FieldDescriptorProto(::_pbi::ConstantInitialized)130 PROTOBUF_CONSTEXPR FieldDescriptorProto::FieldDescriptorProto(
131     ::_pbi::ConstantInitialized): _impl_{
132     /*decltype(_impl_._has_bits_)*/{}
133   , /*decltype(_impl_._cached_size_)*/{}
134   , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
135   , /*decltype(_impl_.extendee_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
136   , /*decltype(_impl_.type_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
137   , /*decltype(_impl_.default_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
138   , /*decltype(_impl_.json_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
139   , /*decltype(_impl_.options_)*/nullptr
140   , /*decltype(_impl_.number_)*/0
141   , /*decltype(_impl_.oneof_index_)*/0
142   , /*decltype(_impl_.proto3_optional_)*/false
143   , /*decltype(_impl_.label_)*/1
144   , /*decltype(_impl_.type_)*/1} {}
145 struct FieldDescriptorProtoDefaultTypeInternal {
FieldDescriptorProtoDefaultTypeInternalFieldDescriptorProtoDefaultTypeInternal146   PROTOBUF_CONSTEXPR FieldDescriptorProtoDefaultTypeInternal()
147       : _instance(::_pbi::ConstantInitialized{}) {}
~FieldDescriptorProtoDefaultTypeInternalFieldDescriptorProtoDefaultTypeInternal148   ~FieldDescriptorProtoDefaultTypeInternal() {}
149   union {
150     FieldDescriptorProto _instance;
151   };
152 };
153 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_;
OneofDescriptorProto(::_pbi::ConstantInitialized)154 PROTOBUF_CONSTEXPR OneofDescriptorProto::OneofDescriptorProto(
155     ::_pbi::ConstantInitialized): _impl_{
156     /*decltype(_impl_._has_bits_)*/{}
157   , /*decltype(_impl_._cached_size_)*/{}
158   , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
159   , /*decltype(_impl_.options_)*/nullptr} {}
160 struct OneofDescriptorProtoDefaultTypeInternal {
OneofDescriptorProtoDefaultTypeInternalOneofDescriptorProtoDefaultTypeInternal161   PROTOBUF_CONSTEXPR OneofDescriptorProtoDefaultTypeInternal()
162       : _instance(::_pbi::ConstantInitialized{}) {}
~OneofDescriptorProtoDefaultTypeInternalOneofDescriptorProtoDefaultTypeInternal163   ~OneofDescriptorProtoDefaultTypeInternal() {}
164   union {
165     OneofDescriptorProto _instance;
166   };
167 };
168 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_;
EnumDescriptorProto_EnumReservedRange(::_pbi::ConstantInitialized)169 PROTOBUF_CONSTEXPR EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange(
170     ::_pbi::ConstantInitialized): _impl_{
171     /*decltype(_impl_._has_bits_)*/{}
172   , /*decltype(_impl_._cached_size_)*/{}
173   , /*decltype(_impl_.start_)*/0
174   , /*decltype(_impl_.end_)*/0} {}
175 struct EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal {
EnumDescriptorProto_EnumReservedRangeDefaultTypeInternalEnumDescriptorProto_EnumReservedRangeDefaultTypeInternal176   PROTOBUF_CONSTEXPR EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal()
177       : _instance(::_pbi::ConstantInitialized{}) {}
~EnumDescriptorProto_EnumReservedRangeDefaultTypeInternalEnumDescriptorProto_EnumReservedRangeDefaultTypeInternal178   ~EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal() {}
179   union {
180     EnumDescriptorProto_EnumReservedRange _instance;
181   };
182 };
183 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_;
EnumDescriptorProto(::_pbi::ConstantInitialized)184 PROTOBUF_CONSTEXPR EnumDescriptorProto::EnumDescriptorProto(
185     ::_pbi::ConstantInitialized): _impl_{
186     /*decltype(_impl_._has_bits_)*/{}
187   , /*decltype(_impl_._cached_size_)*/{}
188   , /*decltype(_impl_.value_)*/{}
189   , /*decltype(_impl_.reserved_range_)*/{}
190   , /*decltype(_impl_.reserved_name_)*/{}
191   , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
192   , /*decltype(_impl_.options_)*/nullptr} {}
193 struct EnumDescriptorProtoDefaultTypeInternal {
EnumDescriptorProtoDefaultTypeInternalEnumDescriptorProtoDefaultTypeInternal194   PROTOBUF_CONSTEXPR EnumDescriptorProtoDefaultTypeInternal()
195       : _instance(::_pbi::ConstantInitialized{}) {}
~EnumDescriptorProtoDefaultTypeInternalEnumDescriptorProtoDefaultTypeInternal196   ~EnumDescriptorProtoDefaultTypeInternal() {}
197   union {
198     EnumDescriptorProto _instance;
199   };
200 };
201 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_;
EnumValueDescriptorProto(::_pbi::ConstantInitialized)202 PROTOBUF_CONSTEXPR EnumValueDescriptorProto::EnumValueDescriptorProto(
203     ::_pbi::ConstantInitialized): _impl_{
204     /*decltype(_impl_._has_bits_)*/{}
205   , /*decltype(_impl_._cached_size_)*/{}
206   , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
207   , /*decltype(_impl_.options_)*/nullptr
208   , /*decltype(_impl_.number_)*/0} {}
209 struct EnumValueDescriptorProtoDefaultTypeInternal {
EnumValueDescriptorProtoDefaultTypeInternalEnumValueDescriptorProtoDefaultTypeInternal210   PROTOBUF_CONSTEXPR EnumValueDescriptorProtoDefaultTypeInternal()
211       : _instance(::_pbi::ConstantInitialized{}) {}
~EnumValueDescriptorProtoDefaultTypeInternalEnumValueDescriptorProtoDefaultTypeInternal212   ~EnumValueDescriptorProtoDefaultTypeInternal() {}
213   union {
214     EnumValueDescriptorProto _instance;
215   };
216 };
217 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_;
ServiceDescriptorProto(::_pbi::ConstantInitialized)218 PROTOBUF_CONSTEXPR ServiceDescriptorProto::ServiceDescriptorProto(
219     ::_pbi::ConstantInitialized): _impl_{
220     /*decltype(_impl_._has_bits_)*/{}
221   , /*decltype(_impl_._cached_size_)*/{}
222   , /*decltype(_impl_.method_)*/{}
223   , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
224   , /*decltype(_impl_.options_)*/nullptr} {}
225 struct ServiceDescriptorProtoDefaultTypeInternal {
ServiceDescriptorProtoDefaultTypeInternalServiceDescriptorProtoDefaultTypeInternal226   PROTOBUF_CONSTEXPR ServiceDescriptorProtoDefaultTypeInternal()
227       : _instance(::_pbi::ConstantInitialized{}) {}
~ServiceDescriptorProtoDefaultTypeInternalServiceDescriptorProtoDefaultTypeInternal228   ~ServiceDescriptorProtoDefaultTypeInternal() {}
229   union {
230     ServiceDescriptorProto _instance;
231   };
232 };
233 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_;
MethodDescriptorProto(::_pbi::ConstantInitialized)234 PROTOBUF_CONSTEXPR MethodDescriptorProto::MethodDescriptorProto(
235     ::_pbi::ConstantInitialized): _impl_{
236     /*decltype(_impl_._has_bits_)*/{}
237   , /*decltype(_impl_._cached_size_)*/{}
238   , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
239   , /*decltype(_impl_.input_type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
240   , /*decltype(_impl_.output_type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
241   , /*decltype(_impl_.options_)*/nullptr
242   , /*decltype(_impl_.client_streaming_)*/false
243   , /*decltype(_impl_.server_streaming_)*/false} {}
244 struct MethodDescriptorProtoDefaultTypeInternal {
MethodDescriptorProtoDefaultTypeInternalMethodDescriptorProtoDefaultTypeInternal245   PROTOBUF_CONSTEXPR MethodDescriptorProtoDefaultTypeInternal()
246       : _instance(::_pbi::ConstantInitialized{}) {}
~MethodDescriptorProtoDefaultTypeInternalMethodDescriptorProtoDefaultTypeInternal247   ~MethodDescriptorProtoDefaultTypeInternal() {}
248   union {
249     MethodDescriptorProto _instance;
250   };
251 };
252 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_;
FileOptions(::_pbi::ConstantInitialized)253 PROTOBUF_CONSTEXPR FileOptions::FileOptions(
254     ::_pbi::ConstantInitialized): _impl_{
255     /*decltype(_impl_._extensions_)*/{}
256   , /*decltype(_impl_._has_bits_)*/{}
257   , /*decltype(_impl_._cached_size_)*/{}
258   , /*decltype(_impl_.uninterpreted_option_)*/{}
259   , /*decltype(_impl_.java_package_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
260   , /*decltype(_impl_.java_outer_classname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
261   , /*decltype(_impl_.go_package_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
262   , /*decltype(_impl_.objc_class_prefix_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
263   , /*decltype(_impl_.csharp_namespace_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
264   , /*decltype(_impl_.swift_prefix_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
265   , /*decltype(_impl_.php_class_prefix_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
266   , /*decltype(_impl_.php_namespace_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
267   , /*decltype(_impl_.php_metadata_namespace_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
268   , /*decltype(_impl_.ruby_package_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
269   , /*decltype(_impl_.java_multiple_files_)*/false
270   , /*decltype(_impl_.java_generate_equals_and_hash_)*/false
271   , /*decltype(_impl_.java_string_check_utf8_)*/false
272   , /*decltype(_impl_.cc_generic_services_)*/false
273   , /*decltype(_impl_.java_generic_services_)*/false
274   , /*decltype(_impl_.py_generic_services_)*/false
275   , /*decltype(_impl_.php_generic_services_)*/false
276   , /*decltype(_impl_.deprecated_)*/false
277   , /*decltype(_impl_.optimize_for_)*/1
278   , /*decltype(_impl_.cc_enable_arenas_)*/true} {}
279 struct FileOptionsDefaultTypeInternal {
FileOptionsDefaultTypeInternalFileOptionsDefaultTypeInternal280   PROTOBUF_CONSTEXPR FileOptionsDefaultTypeInternal()
281       : _instance(::_pbi::ConstantInitialized{}) {}
~FileOptionsDefaultTypeInternalFileOptionsDefaultTypeInternal282   ~FileOptionsDefaultTypeInternal() {}
283   union {
284     FileOptions _instance;
285   };
286 };
287 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FileOptionsDefaultTypeInternal _FileOptions_default_instance_;
MessageOptions(::_pbi::ConstantInitialized)288 PROTOBUF_CONSTEXPR MessageOptions::MessageOptions(
289     ::_pbi::ConstantInitialized): _impl_{
290     /*decltype(_impl_._extensions_)*/{}
291   , /*decltype(_impl_._has_bits_)*/{}
292   , /*decltype(_impl_._cached_size_)*/{}
293   , /*decltype(_impl_.uninterpreted_option_)*/{}
294   , /*decltype(_impl_.message_set_wire_format_)*/false
295   , /*decltype(_impl_.no_standard_descriptor_accessor_)*/false
296   , /*decltype(_impl_.deprecated_)*/false
297   , /*decltype(_impl_.map_entry_)*/false} {}
298 struct MessageOptionsDefaultTypeInternal {
MessageOptionsDefaultTypeInternalMessageOptionsDefaultTypeInternal299   PROTOBUF_CONSTEXPR MessageOptionsDefaultTypeInternal()
300       : _instance(::_pbi::ConstantInitialized{}) {}
~MessageOptionsDefaultTypeInternalMessageOptionsDefaultTypeInternal301   ~MessageOptionsDefaultTypeInternal() {}
302   union {
303     MessageOptions _instance;
304   };
305 };
306 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_;
FieldOptions(::_pbi::ConstantInitialized)307 PROTOBUF_CONSTEXPR FieldOptions::FieldOptions(
308     ::_pbi::ConstantInitialized): _impl_{
309     /*decltype(_impl_._extensions_)*/{}
310   , /*decltype(_impl_._has_bits_)*/{}
311   , /*decltype(_impl_._cached_size_)*/{}
312   , /*decltype(_impl_.uninterpreted_option_)*/{}
313   , /*decltype(_impl_.ctype_)*/0
314   , /*decltype(_impl_.jstype_)*/0
315   , /*decltype(_impl_.packed_)*/false
316   , /*decltype(_impl_.lazy_)*/false
317   , /*decltype(_impl_.unverified_lazy_)*/false
318   , /*decltype(_impl_.deprecated_)*/false
319   , /*decltype(_impl_.weak_)*/false} {}
320 struct FieldOptionsDefaultTypeInternal {
FieldOptionsDefaultTypeInternalFieldOptionsDefaultTypeInternal321   PROTOBUF_CONSTEXPR FieldOptionsDefaultTypeInternal()
322       : _instance(::_pbi::ConstantInitialized{}) {}
~FieldOptionsDefaultTypeInternalFieldOptionsDefaultTypeInternal323   ~FieldOptionsDefaultTypeInternal() {}
324   union {
325     FieldOptions _instance;
326   };
327 };
328 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_;
OneofOptions(::_pbi::ConstantInitialized)329 PROTOBUF_CONSTEXPR OneofOptions::OneofOptions(
330     ::_pbi::ConstantInitialized): _impl_{
331     /*decltype(_impl_._extensions_)*/{}
332   , /*decltype(_impl_.uninterpreted_option_)*/{}
333   , /*decltype(_impl_._cached_size_)*/{}} {}
334 struct OneofOptionsDefaultTypeInternal {
OneofOptionsDefaultTypeInternalOneofOptionsDefaultTypeInternal335   PROTOBUF_CONSTEXPR OneofOptionsDefaultTypeInternal()
336       : _instance(::_pbi::ConstantInitialized{}) {}
~OneofOptionsDefaultTypeInternalOneofOptionsDefaultTypeInternal337   ~OneofOptionsDefaultTypeInternal() {}
338   union {
339     OneofOptions _instance;
340   };
341 };
342 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_;
EnumOptions(::_pbi::ConstantInitialized)343 PROTOBUF_CONSTEXPR EnumOptions::EnumOptions(
344     ::_pbi::ConstantInitialized): _impl_{
345     /*decltype(_impl_._extensions_)*/{}
346   , /*decltype(_impl_._has_bits_)*/{}
347   , /*decltype(_impl_._cached_size_)*/{}
348   , /*decltype(_impl_.uninterpreted_option_)*/{}
349   , /*decltype(_impl_.allow_alias_)*/false
350   , /*decltype(_impl_.deprecated_)*/false} {}
351 struct EnumOptionsDefaultTypeInternal {
EnumOptionsDefaultTypeInternalEnumOptionsDefaultTypeInternal352   PROTOBUF_CONSTEXPR EnumOptionsDefaultTypeInternal()
353       : _instance(::_pbi::ConstantInitialized{}) {}
~EnumOptionsDefaultTypeInternalEnumOptionsDefaultTypeInternal354   ~EnumOptionsDefaultTypeInternal() {}
355   union {
356     EnumOptions _instance;
357   };
358 };
359 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_;
EnumValueOptions(::_pbi::ConstantInitialized)360 PROTOBUF_CONSTEXPR EnumValueOptions::EnumValueOptions(
361     ::_pbi::ConstantInitialized): _impl_{
362     /*decltype(_impl_._extensions_)*/{}
363   , /*decltype(_impl_._has_bits_)*/{}
364   , /*decltype(_impl_._cached_size_)*/{}
365   , /*decltype(_impl_.uninterpreted_option_)*/{}
366   , /*decltype(_impl_.deprecated_)*/false} {}
367 struct EnumValueOptionsDefaultTypeInternal {
EnumValueOptionsDefaultTypeInternalEnumValueOptionsDefaultTypeInternal368   PROTOBUF_CONSTEXPR EnumValueOptionsDefaultTypeInternal()
369       : _instance(::_pbi::ConstantInitialized{}) {}
~EnumValueOptionsDefaultTypeInternalEnumValueOptionsDefaultTypeInternal370   ~EnumValueOptionsDefaultTypeInternal() {}
371   union {
372     EnumValueOptions _instance;
373   };
374 };
375 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_;
ServiceOptions(::_pbi::ConstantInitialized)376 PROTOBUF_CONSTEXPR ServiceOptions::ServiceOptions(
377     ::_pbi::ConstantInitialized): _impl_{
378     /*decltype(_impl_._extensions_)*/{}
379   , /*decltype(_impl_._has_bits_)*/{}
380   , /*decltype(_impl_._cached_size_)*/{}
381   , /*decltype(_impl_.uninterpreted_option_)*/{}
382   , /*decltype(_impl_.deprecated_)*/false} {}
383 struct ServiceOptionsDefaultTypeInternal {
ServiceOptionsDefaultTypeInternalServiceOptionsDefaultTypeInternal384   PROTOBUF_CONSTEXPR ServiceOptionsDefaultTypeInternal()
385       : _instance(::_pbi::ConstantInitialized{}) {}
~ServiceOptionsDefaultTypeInternalServiceOptionsDefaultTypeInternal386   ~ServiceOptionsDefaultTypeInternal() {}
387   union {
388     ServiceOptions _instance;
389   };
390 };
391 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_;
MethodOptions(::_pbi::ConstantInitialized)392 PROTOBUF_CONSTEXPR MethodOptions::MethodOptions(
393     ::_pbi::ConstantInitialized): _impl_{
394     /*decltype(_impl_._extensions_)*/{}
395   , /*decltype(_impl_._has_bits_)*/{}
396   , /*decltype(_impl_._cached_size_)*/{}
397   , /*decltype(_impl_.uninterpreted_option_)*/{}
398   , /*decltype(_impl_.deprecated_)*/false
399   , /*decltype(_impl_.idempotency_level_)*/0} {}
400 struct MethodOptionsDefaultTypeInternal {
MethodOptionsDefaultTypeInternalMethodOptionsDefaultTypeInternal401   PROTOBUF_CONSTEXPR MethodOptionsDefaultTypeInternal()
402       : _instance(::_pbi::ConstantInitialized{}) {}
~MethodOptionsDefaultTypeInternalMethodOptionsDefaultTypeInternal403   ~MethodOptionsDefaultTypeInternal() {}
404   union {
405     MethodOptions _instance;
406   };
407 };
408 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_;
UninterpretedOption_NamePart(::_pbi::ConstantInitialized)409 PROTOBUF_CONSTEXPR UninterpretedOption_NamePart::UninterpretedOption_NamePart(
410     ::_pbi::ConstantInitialized): _impl_{
411     /*decltype(_impl_._has_bits_)*/{}
412   , /*decltype(_impl_._cached_size_)*/{}
413   , /*decltype(_impl_.name_part_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
414   , /*decltype(_impl_.is_extension_)*/false} {}
415 struct UninterpretedOption_NamePartDefaultTypeInternal {
UninterpretedOption_NamePartDefaultTypeInternalUninterpretedOption_NamePartDefaultTypeInternal416   PROTOBUF_CONSTEXPR UninterpretedOption_NamePartDefaultTypeInternal()
417       : _instance(::_pbi::ConstantInitialized{}) {}
~UninterpretedOption_NamePartDefaultTypeInternalUninterpretedOption_NamePartDefaultTypeInternal418   ~UninterpretedOption_NamePartDefaultTypeInternal() {}
419   union {
420     UninterpretedOption_NamePart _instance;
421   };
422 };
423 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_;
UninterpretedOption(::_pbi::ConstantInitialized)424 PROTOBUF_CONSTEXPR UninterpretedOption::UninterpretedOption(
425     ::_pbi::ConstantInitialized): _impl_{
426     /*decltype(_impl_._has_bits_)*/{}
427   , /*decltype(_impl_._cached_size_)*/{}
428   , /*decltype(_impl_.name_)*/{}
429   , /*decltype(_impl_.identifier_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
430   , /*decltype(_impl_.string_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
431   , /*decltype(_impl_.aggregate_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
432   , /*decltype(_impl_.positive_int_value_)*/uint64_t{0u}
433   , /*decltype(_impl_.negative_int_value_)*/int64_t{0}
434   , /*decltype(_impl_.double_value_)*/0} {}
435 struct UninterpretedOptionDefaultTypeInternal {
UninterpretedOptionDefaultTypeInternalUninterpretedOptionDefaultTypeInternal436   PROTOBUF_CONSTEXPR UninterpretedOptionDefaultTypeInternal()
437       : _instance(::_pbi::ConstantInitialized{}) {}
~UninterpretedOptionDefaultTypeInternalUninterpretedOptionDefaultTypeInternal438   ~UninterpretedOptionDefaultTypeInternal() {}
439   union {
440     UninterpretedOption _instance;
441   };
442 };
443 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_;
SourceCodeInfo_Location(::_pbi::ConstantInitialized)444 PROTOBUF_CONSTEXPR SourceCodeInfo_Location::SourceCodeInfo_Location(
445     ::_pbi::ConstantInitialized): _impl_{
446     /*decltype(_impl_._has_bits_)*/{}
447   , /*decltype(_impl_._cached_size_)*/{}
448   , /*decltype(_impl_.path_)*/{}
449   , /*decltype(_impl_._path_cached_byte_size_)*/{0}
450   , /*decltype(_impl_.span_)*/{}
451   , /*decltype(_impl_._span_cached_byte_size_)*/{0}
452   , /*decltype(_impl_.leading_detached_comments_)*/{}
453   , /*decltype(_impl_.leading_comments_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
454   , /*decltype(_impl_.trailing_comments_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
455 struct SourceCodeInfo_LocationDefaultTypeInternal {
SourceCodeInfo_LocationDefaultTypeInternalSourceCodeInfo_LocationDefaultTypeInternal456   PROTOBUF_CONSTEXPR SourceCodeInfo_LocationDefaultTypeInternal()
457       : _instance(::_pbi::ConstantInitialized{}) {}
~SourceCodeInfo_LocationDefaultTypeInternalSourceCodeInfo_LocationDefaultTypeInternal458   ~SourceCodeInfo_LocationDefaultTypeInternal() {}
459   union {
460     SourceCodeInfo_Location _instance;
461   };
462 };
463 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_;
SourceCodeInfo(::_pbi::ConstantInitialized)464 PROTOBUF_CONSTEXPR SourceCodeInfo::SourceCodeInfo(
465     ::_pbi::ConstantInitialized): _impl_{
466     /*decltype(_impl_.location_)*/{}
467   , /*decltype(_impl_._cached_size_)*/{}} {}
468 struct SourceCodeInfoDefaultTypeInternal {
SourceCodeInfoDefaultTypeInternalSourceCodeInfoDefaultTypeInternal469   PROTOBUF_CONSTEXPR SourceCodeInfoDefaultTypeInternal()
470       : _instance(::_pbi::ConstantInitialized{}) {}
~SourceCodeInfoDefaultTypeInternalSourceCodeInfoDefaultTypeInternal471   ~SourceCodeInfoDefaultTypeInternal() {}
472   union {
473     SourceCodeInfo _instance;
474   };
475 };
476 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_;
GeneratedCodeInfo_Annotation(::_pbi::ConstantInitialized)477 PROTOBUF_CONSTEXPR GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(
478     ::_pbi::ConstantInitialized): _impl_{
479     /*decltype(_impl_._has_bits_)*/{}
480   , /*decltype(_impl_._cached_size_)*/{}
481   , /*decltype(_impl_.path_)*/{}
482   , /*decltype(_impl_._path_cached_byte_size_)*/{0}
483   , /*decltype(_impl_.source_file_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
484   , /*decltype(_impl_.begin_)*/0
485   , /*decltype(_impl_.end_)*/0} {}
486 struct GeneratedCodeInfo_AnnotationDefaultTypeInternal {
GeneratedCodeInfo_AnnotationDefaultTypeInternalGeneratedCodeInfo_AnnotationDefaultTypeInternal487   PROTOBUF_CONSTEXPR GeneratedCodeInfo_AnnotationDefaultTypeInternal()
488       : _instance(::_pbi::ConstantInitialized{}) {}
~GeneratedCodeInfo_AnnotationDefaultTypeInternalGeneratedCodeInfo_AnnotationDefaultTypeInternal489   ~GeneratedCodeInfo_AnnotationDefaultTypeInternal() {}
490   union {
491     GeneratedCodeInfo_Annotation _instance;
492   };
493 };
494 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_;
GeneratedCodeInfo(::_pbi::ConstantInitialized)495 PROTOBUF_CONSTEXPR GeneratedCodeInfo::GeneratedCodeInfo(
496     ::_pbi::ConstantInitialized): _impl_{
497     /*decltype(_impl_.annotation_)*/{}
498   , /*decltype(_impl_._cached_size_)*/{}} {}
499 struct GeneratedCodeInfoDefaultTypeInternal {
GeneratedCodeInfoDefaultTypeInternalGeneratedCodeInfoDefaultTypeInternal500   PROTOBUF_CONSTEXPR GeneratedCodeInfoDefaultTypeInternal()
501       : _instance(::_pbi::ConstantInitialized{}) {}
~GeneratedCodeInfoDefaultTypeInternalGeneratedCodeInfoDefaultTypeInternal502   ~GeneratedCodeInfoDefaultTypeInternal() {}
503   union {
504     GeneratedCodeInfo _instance;
505   };
506 };
507 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_;
508 PROTOBUF_NAMESPACE_CLOSE
509 static ::_pb::Metadata file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[27];
510 static const ::_pb::EnumDescriptor* file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[6];
511 static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_google_2fprotobuf_2fdescriptor_2eproto = nullptr;
512 
513 const uint32_t TableStruct_google_2fprotobuf_2fdescriptor_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
514   ~0u,  // no _has_bits_
515   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorSet, _internal_metadata_),
516   ~0u,  // no _extensions_
517   ~0u,  // no _oneof_case_
518   ~0u,  // no _weak_field_map_
519   ~0u,  // no _inlined_string_donated_
520   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorSet, _impl_.file_),
521   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _impl_._has_bits_),
522   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _internal_metadata_),
523   ~0u,  // no _extensions_
524   ~0u,  // no _oneof_case_
525   ~0u,  // no _weak_field_map_
526   ~0u,  // no _inlined_string_donated_
527   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _impl_.name_),
528   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _impl_.package_),
529   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _impl_.dependency_),
530   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _impl_.public_dependency_),
531   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _impl_.weak_dependency_),
532   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _impl_.message_type_),
533   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _impl_.enum_type_),
534   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _impl_.service_),
535   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _impl_.extension_),
536   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _impl_.options_),
537   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _impl_.source_code_info_),
538   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto, _impl_.syntax_),
539   0,
540   1,
541   ~0u,
542   ~0u,
543   ~0u,
544   ~0u,
545   ~0u,
546   ~0u,
547   ~0u,
548   3,
549   4,
550   2,
551   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange, _impl_._has_bits_),
552   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange, _internal_metadata_),
553   ~0u,  // no _extensions_
554   ~0u,  // no _oneof_case_
555   ~0u,  // no _weak_field_map_
556   ~0u,  // no _inlined_string_donated_
557   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange, _impl_.start_),
558   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange, _impl_.end_),
559   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange, _impl_.options_),
560   1,
561   2,
562   0,
563   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange, _impl_._has_bits_),
564   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange, _internal_metadata_),
565   ~0u,  // no _extensions_
566   ~0u,  // no _oneof_case_
567   ~0u,  // no _weak_field_map_
568   ~0u,  // no _inlined_string_donated_
569   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange, _impl_.start_),
570   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange, _impl_.end_),
571   0,
572   1,
573   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto, _impl_._has_bits_),
574   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto, _internal_metadata_),
575   ~0u,  // no _extensions_
576   ~0u,  // no _oneof_case_
577   ~0u,  // no _weak_field_map_
578   ~0u,  // no _inlined_string_donated_
579   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto, _impl_.name_),
580   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto, _impl_.field_),
581   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto, _impl_.extension_),
582   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto, _impl_.nested_type_),
583   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto, _impl_.enum_type_),
584   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto, _impl_.extension_range_),
585   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto, _impl_.oneof_decl_),
586   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto, _impl_.options_),
587   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto, _impl_.reserved_range_),
588   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DescriptorProto, _impl_.reserved_name_),
589   0,
590   ~0u,
591   ~0u,
592   ~0u,
593   ~0u,
594   ~0u,
595   ~0u,
596   1,
597   ~0u,
598   ~0u,
599   ~0u,  // no _has_bits_
600   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions, _internal_metadata_),
601   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions, _impl_._extensions_),
602   ~0u,  // no _oneof_case_
603   ~0u,  // no _weak_field_map_
604   ~0u,  // no _inlined_string_donated_
605   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions, _impl_.uninterpreted_option_),
606   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _impl_._has_bits_),
607   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _internal_metadata_),
608   ~0u,  // no _extensions_
609   ~0u,  // no _oneof_case_
610   ~0u,  // no _weak_field_map_
611   ~0u,  // no _inlined_string_donated_
612   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _impl_.name_),
613   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _impl_.number_),
614   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _impl_.label_),
615   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _impl_.type_),
616   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _impl_.type_name_),
617   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _impl_.extendee_),
618   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _impl_.default_value_),
619   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _impl_.oneof_index_),
620   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _impl_.json_name_),
621   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _impl_.options_),
622   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto, _impl_.proto3_optional_),
623   0,
624   6,
625   9,
626   10,
627   2,
628   1,
629   3,
630   7,
631   4,
632   5,
633   8,
634   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto, _impl_._has_bits_),
635   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto, _internal_metadata_),
636   ~0u,  // no _extensions_
637   ~0u,  // no _oneof_case_
638   ~0u,  // no _weak_field_map_
639   ~0u,  // no _inlined_string_donated_
640   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto, _impl_.name_),
641   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto, _impl_.options_),
642   0,
643   1,
644   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange, _impl_._has_bits_),
645   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange, _internal_metadata_),
646   ~0u,  // no _extensions_
647   ~0u,  // no _oneof_case_
648   ~0u,  // no _weak_field_map_
649   ~0u,  // no _inlined_string_donated_
650   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange, _impl_.start_),
651   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange, _impl_.end_),
652   0,
653   1,
654   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, _impl_._has_bits_),
655   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, _internal_metadata_),
656   ~0u,  // no _extensions_
657   ~0u,  // no _oneof_case_
658   ~0u,  // no _weak_field_map_
659   ~0u,  // no _inlined_string_donated_
660   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, _impl_.name_),
661   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, _impl_.value_),
662   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, _impl_.options_),
663   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, _impl_.reserved_range_),
664   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto, _impl_.reserved_name_),
665   0,
666   ~0u,
667   1,
668   ~0u,
669   ~0u,
670   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto, _impl_._has_bits_),
671   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto, _internal_metadata_),
672   ~0u,  // no _extensions_
673   ~0u,  // no _oneof_case_
674   ~0u,  // no _weak_field_map_
675   ~0u,  // no _inlined_string_donated_
676   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto, _impl_.name_),
677   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto, _impl_.number_),
678   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto, _impl_.options_),
679   0,
680   2,
681   1,
682   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto, _impl_._has_bits_),
683   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto, _internal_metadata_),
684   ~0u,  // no _extensions_
685   ~0u,  // no _oneof_case_
686   ~0u,  // no _weak_field_map_
687   ~0u,  // no _inlined_string_donated_
688   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto, _impl_.name_),
689   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto, _impl_.method_),
690   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto, _impl_.options_),
691   0,
692   ~0u,
693   1,
694   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, _impl_._has_bits_),
695   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, _internal_metadata_),
696   ~0u,  // no _extensions_
697   ~0u,  // no _oneof_case_
698   ~0u,  // no _weak_field_map_
699   ~0u,  // no _inlined_string_donated_
700   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, _impl_.name_),
701   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, _impl_.input_type_),
702   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, _impl_.output_type_),
703   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, _impl_.options_),
704   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, _impl_.client_streaming_),
705   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto, _impl_.server_streaming_),
706   0,
707   1,
708   2,
709   3,
710   4,
711   5,
712   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_._has_bits_),
713   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _internal_metadata_),
714   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_._extensions_),
715   ~0u,  // no _oneof_case_
716   ~0u,  // no _weak_field_map_
717   ~0u,  // no _inlined_string_donated_
718   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.java_package_),
719   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.java_outer_classname_),
720   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.java_multiple_files_),
721   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.java_generate_equals_and_hash_),
722   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.java_string_check_utf8_),
723   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.optimize_for_),
724   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.go_package_),
725   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.cc_generic_services_),
726   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.java_generic_services_),
727   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.py_generic_services_),
728   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.php_generic_services_),
729   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.deprecated_),
730   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.cc_enable_arenas_),
731   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.objc_class_prefix_),
732   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.csharp_namespace_),
733   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.swift_prefix_),
734   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.php_class_prefix_),
735   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.php_namespace_),
736   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.php_metadata_namespace_),
737   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.ruby_package_),
738   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FileOptions, _impl_.uninterpreted_option_),
739   0,
740   1,
741   10,
742   11,
743   12,
744   18,
745   2,
746   13,
747   14,
748   15,
749   16,
750   17,
751   19,
752   3,
753   4,
754   5,
755   6,
756   7,
757   8,
758   9,
759   ~0u,
760   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MessageOptions, _impl_._has_bits_),
761   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MessageOptions, _internal_metadata_),
762   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MessageOptions, _impl_._extensions_),
763   ~0u,  // no _oneof_case_
764   ~0u,  // no _weak_field_map_
765   ~0u,  // no _inlined_string_donated_
766   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MessageOptions, _impl_.message_set_wire_format_),
767   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MessageOptions, _impl_.no_standard_descriptor_accessor_),
768   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MessageOptions, _impl_.deprecated_),
769   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MessageOptions, _impl_.map_entry_),
770   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MessageOptions, _impl_.uninterpreted_option_),
771   0,
772   1,
773   2,
774   3,
775   ~0u,
776   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _impl_._has_bits_),
777   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _internal_metadata_),
778   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _impl_._extensions_),
779   ~0u,  // no _oneof_case_
780   ~0u,  // no _weak_field_map_
781   ~0u,  // no _inlined_string_donated_
782   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _impl_.ctype_),
783   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _impl_.packed_),
784   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _impl_.jstype_),
785   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _impl_.lazy_),
786   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _impl_.unverified_lazy_),
787   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _impl_.deprecated_),
788   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _impl_.weak_),
789   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FieldOptions, _impl_.uninterpreted_option_),
790   0,
791   2,
792   1,
793   3,
794   4,
795   5,
796   6,
797   ~0u,
798   ~0u,  // no _has_bits_
799   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::OneofOptions, _internal_metadata_),
800   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::OneofOptions, _impl_._extensions_),
801   ~0u,  // no _oneof_case_
802   ~0u,  // no _weak_field_map_
803   ~0u,  // no _inlined_string_donated_
804   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::OneofOptions, _impl_.uninterpreted_option_),
805   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumOptions, _impl_._has_bits_),
806   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumOptions, _internal_metadata_),
807   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumOptions, _impl_._extensions_),
808   ~0u,  // no _oneof_case_
809   ~0u,  // no _weak_field_map_
810   ~0u,  // no _inlined_string_donated_
811   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumOptions, _impl_.allow_alias_),
812   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumOptions, _impl_.deprecated_),
813   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumOptions, _impl_.uninterpreted_option_),
814   0,
815   1,
816   ~0u,
817   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumValueOptions, _impl_._has_bits_),
818   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumValueOptions, _internal_metadata_),
819   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumValueOptions, _impl_._extensions_),
820   ~0u,  // no _oneof_case_
821   ~0u,  // no _weak_field_map_
822   ~0u,  // no _inlined_string_donated_
823   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumValueOptions, _impl_.deprecated_),
824   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::EnumValueOptions, _impl_.uninterpreted_option_),
825   0,
826   ~0u,
827   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::ServiceOptions, _impl_._has_bits_),
828   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::ServiceOptions, _internal_metadata_),
829   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::ServiceOptions, _impl_._extensions_),
830   ~0u,  // no _oneof_case_
831   ~0u,  // no _weak_field_map_
832   ~0u,  // no _inlined_string_donated_
833   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::ServiceOptions, _impl_.deprecated_),
834   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::ServiceOptions, _impl_.uninterpreted_option_),
835   0,
836   ~0u,
837   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodOptions, _impl_._has_bits_),
838   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodOptions, _internal_metadata_),
839   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodOptions, _impl_._extensions_),
840   ~0u,  // no _oneof_case_
841   ~0u,  // no _weak_field_map_
842   ~0u,  // no _inlined_string_donated_
843   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodOptions, _impl_.deprecated_),
844   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodOptions, _impl_.idempotency_level_),
845   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::MethodOptions, _impl_.uninterpreted_option_),
846   0,
847   1,
848   ~0u,
849   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart, _impl_._has_bits_),
850   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart, _internal_metadata_),
851   ~0u,  // no _extensions_
852   ~0u,  // no _oneof_case_
853   ~0u,  // no _weak_field_map_
854   ~0u,  // no _inlined_string_donated_
855   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart, _impl_.name_part_),
856   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart, _impl_.is_extension_),
857   0,
858   1,
859   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UninterpretedOption, _impl_._has_bits_),
860   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UninterpretedOption, _internal_metadata_),
861   ~0u,  // no _extensions_
862   ~0u,  // no _oneof_case_
863   ~0u,  // no _weak_field_map_
864   ~0u,  // no _inlined_string_donated_
865   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UninterpretedOption, _impl_.name_),
866   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UninterpretedOption, _impl_.identifier_value_),
867   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UninterpretedOption, _impl_.positive_int_value_),
868   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UninterpretedOption, _impl_.negative_int_value_),
869   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UninterpretedOption, _impl_.double_value_),
870   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UninterpretedOption, _impl_.string_value_),
871   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UninterpretedOption, _impl_.aggregate_value_),
872   ~0u,
873   0,
874   3,
875   4,
876   5,
877   1,
878   2,
879   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, _impl_._has_bits_),
880   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, _internal_metadata_),
881   ~0u,  // no _extensions_
882   ~0u,  // no _oneof_case_
883   ~0u,  // no _weak_field_map_
884   ~0u,  // no _inlined_string_donated_
885   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, _impl_.path_),
886   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, _impl_.span_),
887   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, _impl_.leading_comments_),
888   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, _impl_.trailing_comments_),
889   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location, _impl_.leading_detached_comments_),
890   ~0u,
891   ~0u,
892   0,
893   1,
894   ~0u,
895   ~0u,  // no _has_bits_
896   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo, _internal_metadata_),
897   ~0u,  // no _extensions_
898   ~0u,  // no _oneof_case_
899   ~0u,  // no _weak_field_map_
900   ~0u,  // no _inlined_string_donated_
901   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo, _impl_.location_),
902   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation, _impl_._has_bits_),
903   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation, _internal_metadata_),
904   ~0u,  // no _extensions_
905   ~0u,  // no _oneof_case_
906   ~0u,  // no _weak_field_map_
907   ~0u,  // no _inlined_string_donated_
908   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation, _impl_.path_),
909   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation, _impl_.source_file_),
910   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation, _impl_.begin_),
911   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation, _impl_.end_),
912   ~0u,
913   0,
914   1,
915   2,
916   ~0u,  // no _has_bits_
917   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo, _internal_metadata_),
918   ~0u,  // no _extensions_
919   ~0u,  // no _oneof_case_
920   ~0u,  // no _weak_field_map_
921   ~0u,  // no _inlined_string_donated_
922   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo, _impl_.annotation_),
923 };
924 static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
925   { 0, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::FileDescriptorSet)},
926   { 7, 25, -1, sizeof(::PROTOBUF_NAMESPACE_ID::FileDescriptorProto)},
927   { 37, 46, -1, sizeof(::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange)},
928   { 49, 57, -1, sizeof(::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange)},
929   { 59, 75, -1, sizeof(::PROTOBUF_NAMESPACE_ID::DescriptorProto)},
930   { 85, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions)},
931   { 92, 109, -1, sizeof(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto)},
932   { 120, 128, -1, sizeof(::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto)},
933   { 130, 138, -1, sizeof(::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange)},
934   { 140, 151, -1, sizeof(::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto)},
935   { 156, 165, -1, sizeof(::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto)},
936   { 168, 177, -1, sizeof(::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto)},
937   { 180, 192, -1, sizeof(::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto)},
938   { 198, 225, -1, sizeof(::PROTOBUF_NAMESPACE_ID::FileOptions)},
939   { 246, 257, -1, sizeof(::PROTOBUF_NAMESPACE_ID::MessageOptions)},
940   { 262, 276, -1, sizeof(::PROTOBUF_NAMESPACE_ID::FieldOptions)},
941   { 284, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::OneofOptions)},
942   { 291, 300, -1, sizeof(::PROTOBUF_NAMESPACE_ID::EnumOptions)},
943   { 303, 311, -1, sizeof(::PROTOBUF_NAMESPACE_ID::EnumValueOptions)},
944   { 313, 321, -1, sizeof(::PROTOBUF_NAMESPACE_ID::ServiceOptions)},
945   { 323, 332, -1, sizeof(::PROTOBUF_NAMESPACE_ID::MethodOptions)},
946   { 335, 343, -1, sizeof(::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart)},
947   { 345, 358, -1, sizeof(::PROTOBUF_NAMESPACE_ID::UninterpretedOption)},
948   { 365, 376, -1, sizeof(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location)},
949   { 381, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo)},
950   { 388, 398, -1, sizeof(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation)},
951   { 402, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo)},
952 };
953 
954 static const ::_pb::Message* const file_default_instances[] = {
955   &::PROTOBUF_NAMESPACE_ID::_FileDescriptorSet_default_instance_._instance,
956   &::PROTOBUF_NAMESPACE_ID::_FileDescriptorProto_default_instance_._instance,
957   &::PROTOBUF_NAMESPACE_ID::_DescriptorProto_ExtensionRange_default_instance_._instance,
958   &::PROTOBUF_NAMESPACE_ID::_DescriptorProto_ReservedRange_default_instance_._instance,
959   &::PROTOBUF_NAMESPACE_ID::_DescriptorProto_default_instance_._instance,
960   &::PROTOBUF_NAMESPACE_ID::_ExtensionRangeOptions_default_instance_._instance,
961   &::PROTOBUF_NAMESPACE_ID::_FieldDescriptorProto_default_instance_._instance,
962   &::PROTOBUF_NAMESPACE_ID::_OneofDescriptorProto_default_instance_._instance,
963   &::PROTOBUF_NAMESPACE_ID::_EnumDescriptorProto_EnumReservedRange_default_instance_._instance,
964   &::PROTOBUF_NAMESPACE_ID::_EnumDescriptorProto_default_instance_._instance,
965   &::PROTOBUF_NAMESPACE_ID::_EnumValueDescriptorProto_default_instance_._instance,
966   &::PROTOBUF_NAMESPACE_ID::_ServiceDescriptorProto_default_instance_._instance,
967   &::PROTOBUF_NAMESPACE_ID::_MethodDescriptorProto_default_instance_._instance,
968   &::PROTOBUF_NAMESPACE_ID::_FileOptions_default_instance_._instance,
969   &::PROTOBUF_NAMESPACE_ID::_MessageOptions_default_instance_._instance,
970   &::PROTOBUF_NAMESPACE_ID::_FieldOptions_default_instance_._instance,
971   &::PROTOBUF_NAMESPACE_ID::_OneofOptions_default_instance_._instance,
972   &::PROTOBUF_NAMESPACE_ID::_EnumOptions_default_instance_._instance,
973   &::PROTOBUF_NAMESPACE_ID::_EnumValueOptions_default_instance_._instance,
974   &::PROTOBUF_NAMESPACE_ID::_ServiceOptions_default_instance_._instance,
975   &::PROTOBUF_NAMESPACE_ID::_MethodOptions_default_instance_._instance,
976   &::PROTOBUF_NAMESPACE_ID::_UninterpretedOption_NamePart_default_instance_._instance,
977   &::PROTOBUF_NAMESPACE_ID::_UninterpretedOption_default_instance_._instance,
978   &::PROTOBUF_NAMESPACE_ID::_SourceCodeInfo_Location_default_instance_._instance,
979   &::PROTOBUF_NAMESPACE_ID::_SourceCodeInfo_default_instance_._instance,
980   &::PROTOBUF_NAMESPACE_ID::_GeneratedCodeInfo_Annotation_default_instance_._instance,
981   &::PROTOBUF_NAMESPACE_ID::_GeneratedCodeInfo_default_instance_._instance,
982 };
983 
984 const char descriptor_table_protodef_google_2fprotobuf_2fdescriptor_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
985   "\n google/protobuf/descriptor.proto\022\017goog"
986   "le.protobuf\"G\n\021FileDescriptorSet\0222\n\004file"
987   "\030\001 \003(\0132$.google.protobuf.FileDescriptorP"
988   "roto\"\333\003\n\023FileDescriptorProto\022\014\n\004name\030\001 \001"
989   "(\t\022\017\n\007package\030\002 \001(\t\022\022\n\ndependency\030\003 \003(\t\022"
990   "\031\n\021public_dependency\030\n \003(\005\022\027\n\017weak_depen"
991   "dency\030\013 \003(\005\0226\n\014message_type\030\004 \003(\0132 .goog"
992   "le.protobuf.DescriptorProto\0227\n\tenum_type"
993   "\030\005 \003(\0132$.google.protobuf.EnumDescriptorP"
994   "roto\0228\n\007service\030\006 \003(\0132\'.google.protobuf."
995   "ServiceDescriptorProto\0228\n\textension\030\007 \003("
996   "\0132%.google.protobuf.FieldDescriptorProto"
997   "\022-\n\007options\030\010 \001(\0132\034.google.protobuf.File"
998   "Options\0229\n\020source_code_info\030\t \001(\0132\037.goog"
999   "le.protobuf.SourceCodeInfo\022\016\n\006syntax\030\014 \001"
1000   "(\t\"\251\005\n\017DescriptorProto\022\014\n\004name\030\001 \001(\t\0224\n\005"
1001   "field\030\002 \003(\0132%.google.protobuf.FieldDescr"
1002   "iptorProto\0228\n\textension\030\006 \003(\0132%.google.p"
1003   "rotobuf.FieldDescriptorProto\0225\n\013nested_t"
1004   "ype\030\003 \003(\0132 .google.protobuf.DescriptorPr"
1005   "oto\0227\n\tenum_type\030\004 \003(\0132$.google.protobuf"
1006   ".EnumDescriptorProto\022H\n\017extension_range\030"
1007   "\005 \003(\0132/.google.protobuf.DescriptorProto."
1008   "ExtensionRange\0229\n\noneof_decl\030\010 \003(\0132%.goo"
1009   "gle.protobuf.OneofDescriptorProto\0220\n\007opt"
1010   "ions\030\007 \001(\0132\037.google.protobuf.MessageOpti"
1011   "ons\022F\n\016reserved_range\030\t \003(\0132..google.pro"
1012   "tobuf.DescriptorProto.ReservedRange\022\025\n\rr"
1013   "eserved_name\030\n \003(\t\032e\n\016ExtensionRange\022\r\n\005"
1014   "start\030\001 \001(\005\022\013\n\003end\030\002 \001(\005\0227\n\007options\030\003 \001("
1015   "\0132&.google.protobuf.ExtensionRangeOption"
1016   "s\032+\n\rReservedRange\022\r\n\005start\030\001 \001(\005\022\013\n\003end"
1017   "\030\002 \001(\005\"g\n\025ExtensionRangeOptions\022C\n\024unint"
1018   "erpreted_option\030\347\007 \003(\0132$.google.protobuf"
1019   ".UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"\325\005\n\024Fiel"
1020   "dDescriptorProto\022\014\n\004name\030\001 \001(\t\022\016\n\006number"
1021   "\030\003 \001(\005\022:\n\005label\030\004 \001(\0162+.google.protobuf."
1022   "FieldDescriptorProto.Label\0228\n\004type\030\005 \001(\016"
1023   "2*.google.protobuf.FieldDescriptorProto."
1024   "Type\022\021\n\ttype_name\030\006 \001(\t\022\020\n\010extendee\030\002 \001("
1025   "\t\022\025\n\rdefault_value\030\007 \001(\t\022\023\n\013oneof_index\030"
1026   "\t \001(\005\022\021\n\tjson_name\030\n \001(\t\022.\n\007options\030\010 \001("
1027   "\0132\035.google.protobuf.FieldOptions\022\027\n\017prot"
1028   "o3_optional\030\021 \001(\010\"\266\002\n\004Type\022\017\n\013TYPE_DOUBL"
1029   "E\020\001\022\016\n\nTYPE_FLOAT\020\002\022\016\n\nTYPE_INT64\020\003\022\017\n\013T"
1030   "YPE_UINT64\020\004\022\016\n\nTYPE_INT32\020\005\022\020\n\014TYPE_FIX"
1031   "ED64\020\006\022\020\n\014TYPE_FIXED32\020\007\022\r\n\tTYPE_BOOL\020\010\022"
1032   "\017\n\013TYPE_STRING\020\t\022\016\n\nTYPE_GROUP\020\n\022\020\n\014TYPE"
1033   "_MESSAGE\020\013\022\016\n\nTYPE_BYTES\020\014\022\017\n\013TYPE_UINT3"
1034   "2\020\r\022\r\n\tTYPE_ENUM\020\016\022\021\n\rTYPE_SFIXED32\020\017\022\021\n"
1035   "\rTYPE_SFIXED64\020\020\022\017\n\013TYPE_SINT32\020\021\022\017\n\013TYP"
1036   "E_SINT64\020\022\"C\n\005Label\022\022\n\016LABEL_OPTIONAL\020\001\022"
1037   "\022\n\016LABEL_REQUIRED\020\002\022\022\n\016LABEL_REPEATED\020\003\""
1038   "T\n\024OneofDescriptorProto\022\014\n\004name\030\001 \001(\t\022.\n"
1039   "\007options\030\002 \001(\0132\035.google.protobuf.OneofOp"
1040   "tions\"\244\002\n\023EnumDescriptorProto\022\014\n\004name\030\001 "
1041   "\001(\t\0228\n\005value\030\002 \003(\0132).google.protobuf.Enu"
1042   "mValueDescriptorProto\022-\n\007options\030\003 \001(\0132\034"
1043   ".google.protobuf.EnumOptions\022N\n\016reserved"
1044   "_range\030\004 \003(\01326.google.protobuf.EnumDescr"
1045   "iptorProto.EnumReservedRange\022\025\n\rreserved"
1046   "_name\030\005 \003(\t\032/\n\021EnumReservedRange\022\r\n\005star"
1047   "t\030\001 \001(\005\022\013\n\003end\030\002 \001(\005\"l\n\030EnumValueDescrip"
1048   "torProto\022\014\n\004name\030\001 \001(\t\022\016\n\006number\030\002 \001(\005\0222"
1049   "\n\007options\030\003 \001(\0132!.google.protobuf.EnumVa"
1050   "lueOptions\"\220\001\n\026ServiceDescriptorProto\022\014\n"
1051   "\004name\030\001 \001(\t\0226\n\006method\030\002 \003(\0132&.google.pro"
1052   "tobuf.MethodDescriptorProto\0220\n\007options\030\003"
1053   " \001(\0132\037.google.protobuf.ServiceOptions\"\301\001"
1054   "\n\025MethodDescriptorProto\022\014\n\004name\030\001 \001(\t\022\022\n"
1055   "\ninput_type\030\002 \001(\t\022\023\n\013output_type\030\003 \001(\t\022/"
1056   "\n\007options\030\004 \001(\0132\036.google.protobuf.Method"
1057   "Options\022\037\n\020client_streaming\030\005 \001(\010:\005false"
1058   "\022\037\n\020server_streaming\030\006 \001(\010:\005false\"\245\006\n\013Fi"
1059   "leOptions\022\024\n\014java_package\030\001 \001(\t\022\034\n\024java_"
1060   "outer_classname\030\010 \001(\t\022\"\n\023java_multiple_f"
1061   "iles\030\n \001(\010:\005false\022)\n\035java_generate_equal"
1062   "s_and_hash\030\024 \001(\010B\002\030\001\022%\n\026java_string_chec"
1063   "k_utf8\030\033 \001(\010:\005false\022F\n\014optimize_for\030\t \001("
1064   "\0162).google.protobuf.FileOptions.Optimize"
1065   "Mode:\005SPEED\022\022\n\ngo_package\030\013 \001(\t\022\"\n\023cc_ge"
1066   "neric_services\030\020 \001(\010:\005false\022$\n\025java_gene"
1067   "ric_services\030\021 \001(\010:\005false\022\"\n\023py_generic_"
1068   "services\030\022 \001(\010:\005false\022#\n\024php_generic_ser"
1069   "vices\030* \001(\010:\005false\022\031\n\ndeprecated\030\027 \001(\010:\005"
1070   "false\022\036\n\020cc_enable_arenas\030\037 \001(\010:\004true\022\031\n"
1071   "\021objc_class_prefix\030$ \001(\t\022\030\n\020csharp_names"
1072   "pace\030% \001(\t\022\024\n\014swift_prefix\030\' \001(\t\022\030\n\020php_"
1073   "class_prefix\030( \001(\t\022\025\n\rphp_namespace\030) \001("
1074   "\t\022\036\n\026php_metadata_namespace\030, \001(\t\022\024\n\014rub"
1075   "y_package\030- \001(\t\022C\n\024uninterpreted_option\030"
1076   "\347\007 \003(\0132$.google.protobuf.UninterpretedOp"
1077   "tion\":\n\014OptimizeMode\022\t\n\005SPEED\020\001\022\r\n\tCODE_"
1078   "SIZE\020\002\022\020\n\014LITE_RUNTIME\020\003*\t\010\350\007\020\200\200\200\200\002J\004\010&\020"
1079   "\'\"\204\002\n\016MessageOptions\022&\n\027message_set_wire"
1080   "_format\030\001 \001(\010:\005false\022.\n\037no_standard_desc"
1081   "riptor_accessor\030\002 \001(\010:\005false\022\031\n\ndeprecat"
1082   "ed\030\003 \001(\010:\005false\022\021\n\tmap_entry\030\007 \001(\010\022C\n\024un"
1083   "interpreted_option\030\347\007 \003(\0132$.google.proto"
1084   "buf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002J\004\010\004\020\005"
1085   "J\004\010\005\020\006J\004\010\006\020\007J\004\010\010\020\tJ\004\010\t\020\n\"\276\003\n\014FieldOption"
1086   "s\022:\n\005ctype\030\001 \001(\0162#.google.protobuf.Field"
1087   "Options.CType:\006STRING\022\016\n\006packed\030\002 \001(\010\022\?\n"
1088   "\006jstype\030\006 \001(\0162$.google.protobuf.FieldOpt"
1089   "ions.JSType:\tJS_NORMAL\022\023\n\004lazy\030\005 \001(\010:\005fa"
1090   "lse\022\036\n\017unverified_lazy\030\017 \001(\010:\005false\022\031\n\nd"
1091   "eprecated\030\003 \001(\010:\005false\022\023\n\004weak\030\n \001(\010:\005fa"
1092   "lse\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.goo"
1093   "gle.protobuf.UninterpretedOption\"/\n\005CTyp"
1094   "e\022\n\n\006STRING\020\000\022\010\n\004CORD\020\001\022\020\n\014STRING_PIECE\020"
1095   "\002\"5\n\006JSType\022\r\n\tJS_NORMAL\020\000\022\r\n\tJS_STRING\020"
1096   "\001\022\r\n\tJS_NUMBER\020\002*\t\010\350\007\020\200\200\200\200\002J\004\010\004\020\005\"^\n\014One"
1097   "ofOptions\022C\n\024uninterpreted_option\030\347\007 \003(\013"
1098   "2$.google.protobuf.UninterpretedOption*\t"
1099   "\010\350\007\020\200\200\200\200\002\"\223\001\n\013EnumOptions\022\023\n\013allow_alias"
1100   "\030\002 \001(\010\022\031\n\ndeprecated\030\003 \001(\010:\005false\022C\n\024uni"
1101   "nterpreted_option\030\347\007 \003(\0132$.google.protob"
1102   "uf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002J\004\010\005\020\006\""
1103   "}\n\020EnumValueOptions\022\031\n\ndeprecated\030\001 \001(\010:"
1104   "\005false\022C\n\024uninterpreted_option\030\347\007 \003(\0132$."
1105   "google.protobuf.UninterpretedOption*\t\010\350\007"
1106   "\020\200\200\200\200\002\"{\n\016ServiceOptions\022\031\n\ndeprecated\030!"
1107   " \001(\010:\005false\022C\n\024uninterpreted_option\030\347\007 \003"
1108   "(\0132$.google.protobuf.UninterpretedOption"
1109   "*\t\010\350\007\020\200\200\200\200\002\"\255\002\n\rMethodOptions\022\031\n\ndepreca"
1110   "ted\030! \001(\010:\005false\022_\n\021idempotency_level\030\" "
1111   "\001(\0162/.google.protobuf.MethodOptions.Idem"
1112   "potencyLevel:\023IDEMPOTENCY_UNKNOWN\022C\n\024uni"
1113   "nterpreted_option\030\347\007 \003(\0132$.google.protob"
1114   "uf.UninterpretedOption\"P\n\020IdempotencyLev"
1115   "el\022\027\n\023IDEMPOTENCY_UNKNOWN\020\000\022\023\n\017NO_SIDE_E"
1116   "FFECTS\020\001\022\016\n\nIDEMPOTENT\020\002*\t\010\350\007\020\200\200\200\200\002\"\236\002\n\023"
1117   "UninterpretedOption\022;\n\004name\030\002 \003(\0132-.goog"
1118   "le.protobuf.UninterpretedOption.NamePart"
1119   "\022\030\n\020identifier_value\030\003 \001(\t\022\032\n\022positive_i"
1120   "nt_value\030\004 \001(\004\022\032\n\022negative_int_value\030\005 \001"
1121   "(\003\022\024\n\014double_value\030\006 \001(\001\022\024\n\014string_value"
1122   "\030\007 \001(\014\022\027\n\017aggregate_value\030\010 \001(\t\0323\n\010NameP"
1123   "art\022\021\n\tname_part\030\001 \002(\t\022\024\n\014is_extension\030\002"
1124   " \002(\010\"\325\001\n\016SourceCodeInfo\022:\n\010location\030\001 \003("
1125   "\0132(.google.protobuf.SourceCodeInfo.Locat"
1126   "ion\032\206\001\n\010Location\022\020\n\004path\030\001 \003(\005B\002\020\001\022\020\n\004sp"
1127   "an\030\002 \003(\005B\002\020\001\022\030\n\020leading_comments\030\003 \001(\t\022\031"
1128   "\n\021trailing_comments\030\004 \001(\t\022!\n\031leading_det"
1129   "ached_comments\030\006 \003(\t\"\247\001\n\021GeneratedCodeIn"
1130   "fo\022A\n\nannotation\030\001 \003(\0132-.google.protobuf"
1131   ".GeneratedCodeInfo.Annotation\032O\n\nAnnotat"
1132   "ion\022\020\n\004path\030\001 \003(\005B\002\020\001\022\023\n\013source_file\030\002 \001"
1133   "(\t\022\r\n\005begin\030\003 \001(\005\022\013\n\003end\030\004 \001(\005B~\n\023com.go"
1134   "ogle.protobufB\020DescriptorProtosH\001Z-googl"
1135   "e.golang.org/protobuf/types/descriptorpb"
1136   "\370\001\001\242\002\003GPB\252\002\032Google.Protobuf.Reflection"
1137   ;
1138 static ::_pbi::once_flag descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once;
1139 const ::_pbi::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto = {
1140     false, false, 6078, descriptor_table_protodef_google_2fprotobuf_2fdescriptor_2eproto,
1141     "google/protobuf/descriptor.proto",
1142     &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once, nullptr, 0, 27,
1143     schemas, file_default_instances, TableStruct_google_2fprotobuf_2fdescriptor_2eproto::offsets,
1144     file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto, file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto,
1145     file_level_service_descriptors_google_2fprotobuf_2fdescriptor_2eproto,
1146 };
descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter()1147 PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter() {
1148   return &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto;
1149 }
1150 
1151 // Force running AddDescriptors() at dynamic initialization time.
1152 PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_google_2fprotobuf_2fdescriptor_2eproto(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1153 PROTOBUF_NAMESPACE_OPEN
FieldDescriptorProto_Type_descriptor()1154 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Type_descriptor() {
1155   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1156   return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[0];
1157 }
FieldDescriptorProto_Type_IsValid(int value)1158 bool FieldDescriptorProto_Type_IsValid(int value) {
1159   switch (value) {
1160     case 1:
1161     case 2:
1162     case 3:
1163     case 4:
1164     case 5:
1165     case 6:
1166     case 7:
1167     case 8:
1168     case 9:
1169     case 10:
1170     case 11:
1171     case 12:
1172     case 13:
1173     case 14:
1174     case 15:
1175     case 16:
1176     case 17:
1177     case 18:
1178       return true;
1179     default:
1180       return false;
1181   }
1182 }
1183 
1184 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1185 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_DOUBLE;
1186 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_FLOAT;
1187 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_INT64;
1188 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_UINT64;
1189 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_INT32;
1190 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_FIXED64;
1191 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_FIXED32;
1192 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_BOOL;
1193 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_STRING;
1194 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_GROUP;
1195 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_MESSAGE;
1196 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_BYTES;
1197 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_UINT32;
1198 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_ENUM;
1199 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SFIXED32;
1200 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SFIXED64;
1201 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SINT32;
1202 constexpr FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SINT64;
1203 constexpr FieldDescriptorProto_Type FieldDescriptorProto::Type_MIN;
1204 constexpr FieldDescriptorProto_Type FieldDescriptorProto::Type_MAX;
1205 constexpr int FieldDescriptorProto::Type_ARRAYSIZE;
1206 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FieldDescriptorProto_Label_descriptor()1207 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Label_descriptor() {
1208   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1209   return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[1];
1210 }
FieldDescriptorProto_Label_IsValid(int value)1211 bool FieldDescriptorProto_Label_IsValid(int value) {
1212   switch (value) {
1213     case 1:
1214     case 2:
1215     case 3:
1216       return true;
1217     default:
1218       return false;
1219   }
1220 }
1221 
1222 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1223 constexpr FieldDescriptorProto_Label FieldDescriptorProto::LABEL_OPTIONAL;
1224 constexpr FieldDescriptorProto_Label FieldDescriptorProto::LABEL_REQUIRED;
1225 constexpr FieldDescriptorProto_Label FieldDescriptorProto::LABEL_REPEATED;
1226 constexpr FieldDescriptorProto_Label FieldDescriptorProto::Label_MIN;
1227 constexpr FieldDescriptorProto_Label FieldDescriptorProto::Label_MAX;
1228 constexpr int FieldDescriptorProto::Label_ARRAYSIZE;
1229 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FileOptions_OptimizeMode_descriptor()1230 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FileOptions_OptimizeMode_descriptor() {
1231   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1232   return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[2];
1233 }
FileOptions_OptimizeMode_IsValid(int value)1234 bool FileOptions_OptimizeMode_IsValid(int value) {
1235   switch (value) {
1236     case 1:
1237     case 2:
1238     case 3:
1239       return true;
1240     default:
1241       return false;
1242   }
1243 }
1244 
1245 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1246 constexpr FileOptions_OptimizeMode FileOptions::SPEED;
1247 constexpr FileOptions_OptimizeMode FileOptions::CODE_SIZE;
1248 constexpr FileOptions_OptimizeMode FileOptions::LITE_RUNTIME;
1249 constexpr FileOptions_OptimizeMode FileOptions::OptimizeMode_MIN;
1250 constexpr FileOptions_OptimizeMode FileOptions::OptimizeMode_MAX;
1251 constexpr int FileOptions::OptimizeMode_ARRAYSIZE;
1252 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FieldOptions_CType_descriptor()1253 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_CType_descriptor() {
1254   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1255   return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[3];
1256 }
FieldOptions_CType_IsValid(int value)1257 bool FieldOptions_CType_IsValid(int value) {
1258   switch (value) {
1259     case 0:
1260     case 1:
1261     case 2:
1262       return true;
1263     default:
1264       return false;
1265   }
1266 }
1267 
1268 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1269 constexpr FieldOptions_CType FieldOptions::STRING;
1270 constexpr FieldOptions_CType FieldOptions::CORD;
1271 constexpr FieldOptions_CType FieldOptions::STRING_PIECE;
1272 constexpr FieldOptions_CType FieldOptions::CType_MIN;
1273 constexpr FieldOptions_CType FieldOptions::CType_MAX;
1274 constexpr int FieldOptions::CType_ARRAYSIZE;
1275 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
FieldOptions_JSType_descriptor()1276 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_JSType_descriptor() {
1277   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1278   return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[4];
1279 }
FieldOptions_JSType_IsValid(int value)1280 bool FieldOptions_JSType_IsValid(int value) {
1281   switch (value) {
1282     case 0:
1283     case 1:
1284     case 2:
1285       return true;
1286     default:
1287       return false;
1288   }
1289 }
1290 
1291 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1292 constexpr FieldOptions_JSType FieldOptions::JS_NORMAL;
1293 constexpr FieldOptions_JSType FieldOptions::JS_STRING;
1294 constexpr FieldOptions_JSType FieldOptions::JS_NUMBER;
1295 constexpr FieldOptions_JSType FieldOptions::JSType_MIN;
1296 constexpr FieldOptions_JSType FieldOptions::JSType_MAX;
1297 constexpr int FieldOptions::JSType_ARRAYSIZE;
1298 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
MethodOptions_IdempotencyLevel_descriptor()1299 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MethodOptions_IdempotencyLevel_descriptor() {
1300   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fdescriptor_2eproto);
1301   return file_level_enum_descriptors_google_2fprotobuf_2fdescriptor_2eproto[5];
1302 }
MethodOptions_IdempotencyLevel_IsValid(int value)1303 bool MethodOptions_IdempotencyLevel_IsValid(int value) {
1304   switch (value) {
1305     case 0:
1306     case 1:
1307     case 2:
1308       return true;
1309     default:
1310       return false;
1311   }
1312 }
1313 
1314 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1315 constexpr MethodOptions_IdempotencyLevel MethodOptions::IDEMPOTENCY_UNKNOWN;
1316 constexpr MethodOptions_IdempotencyLevel MethodOptions::NO_SIDE_EFFECTS;
1317 constexpr MethodOptions_IdempotencyLevel MethodOptions::IDEMPOTENT;
1318 constexpr MethodOptions_IdempotencyLevel MethodOptions::IdempotencyLevel_MIN;
1319 constexpr MethodOptions_IdempotencyLevel MethodOptions::IdempotencyLevel_MAX;
1320 constexpr int MethodOptions::IdempotencyLevel_ARRAYSIZE;
1321 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1322 
1323 // ===================================================================
1324 
1325 class FileDescriptorSet::_Internal {
1326  public:
1327 };
1328 
FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1329 FileDescriptorSet::FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1330                          bool is_message_owned)
1331   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1332   SharedCtor(arena, is_message_owned);
1333   // @@protoc_insertion_point(arena_constructor:google.protobuf.FileDescriptorSet)
1334 }
FileDescriptorSet(const FileDescriptorSet & from)1335 FileDescriptorSet::FileDescriptorSet(const FileDescriptorSet& from)
1336   : ::PROTOBUF_NAMESPACE_ID::Message() {
1337   FileDescriptorSet* const _this = this; (void)_this;
1338   new (&_impl_) Impl_{
1339       decltype(_impl_.file_){from._impl_.file_}
1340     , /*decltype(_impl_._cached_size_)*/{}};
1341 
1342   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1343   // @@protoc_insertion_point(copy_constructor:google.protobuf.FileDescriptorSet)
1344 }
1345 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)1346 inline void FileDescriptorSet::SharedCtor(
1347     ::_pb::Arena* arena, bool is_message_owned) {
1348   (void)arena;
1349   (void)is_message_owned;
1350   new (&_impl_) Impl_{
1351       decltype(_impl_.file_){arena}
1352     , /*decltype(_impl_._cached_size_)*/{}
1353   };
1354 }
1355 
~FileDescriptorSet()1356 FileDescriptorSet::~FileDescriptorSet() {
1357   // @@protoc_insertion_point(destructor:google.protobuf.FileDescriptorSet)
1358   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
1359   (void)arena;
1360     return;
1361   }
1362   SharedDtor();
1363 }
1364 
SharedDtor()1365 inline void FileDescriptorSet::SharedDtor() {
1366   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1367   _impl_.file_.~RepeatedPtrField();
1368 }
1369 
SetCachedSize(int size) const1370 void FileDescriptorSet::SetCachedSize(int size) const {
1371   _impl_._cached_size_.Set(size);
1372 }
1373 
Clear()1374 void FileDescriptorSet::Clear() {
1375 // @@protoc_insertion_point(message_clear_start:google.protobuf.FileDescriptorSet)
1376   uint32_t cached_has_bits = 0;
1377   // Prevent compiler warnings about cached_has_bits being unused
1378   (void) cached_has_bits;
1379 
1380   _impl_.file_.Clear();
1381   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1382 }
1383 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)1384 const char* FileDescriptorSet::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1385 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1386   while (!ctx->Done(&ptr)) {
1387     uint32_t tag;
1388     ptr = ::_pbi::ReadTag(ptr, &tag);
1389     switch (tag >> 3) {
1390       // repeated .google.protobuf.FileDescriptorProto file = 1;
1391       case 1:
1392         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
1393           ptr -= 1;
1394           do {
1395             ptr += 1;
1396             ptr = ctx->ParseMessage(_internal_add_file(), ptr);
1397             CHK_(ptr);
1398             if (!ctx->DataAvailable(ptr)) break;
1399           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
1400         } else
1401           goto handle_unusual;
1402         continue;
1403       default:
1404         goto handle_unusual;
1405     }  // switch
1406   handle_unusual:
1407     if ((tag == 0) || ((tag & 7) == 4)) {
1408       CHK_(ptr);
1409       ctx->SetLastTag(tag);
1410       goto message_done;
1411     }
1412     ptr = UnknownFieldParse(
1413         tag,
1414         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1415         ptr, ctx);
1416     CHK_(ptr != nullptr);
1417   }  // while
1418 message_done:
1419   return ptr;
1420 failure:
1421   ptr = nullptr;
1422   goto message_done;
1423 #undef CHK_
1424 }
1425 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1426 uint8_t* FileDescriptorSet::_InternalSerialize(
1427     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1428   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileDescriptorSet)
1429   uint32_t cached_has_bits = 0;
1430   (void) cached_has_bits;
1431 
1432   // repeated .google.protobuf.FileDescriptorProto file = 1;
1433   for (unsigned i = 0,
1434       n = static_cast<unsigned>(this->_internal_file_size()); i < n; i++) {
1435     const auto& repfield = this->_internal_file(i);
1436     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1437         InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
1438   }
1439 
1440   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1441     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1442         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1443   }
1444   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FileDescriptorSet)
1445   return target;
1446 }
1447 
ByteSizeLong() const1448 size_t FileDescriptorSet::ByteSizeLong() const {
1449 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileDescriptorSet)
1450   size_t total_size = 0;
1451 
1452   uint32_t cached_has_bits = 0;
1453   // Prevent compiler warnings about cached_has_bits being unused
1454   (void) cached_has_bits;
1455 
1456   // repeated .google.protobuf.FileDescriptorProto file = 1;
1457   total_size += 1UL * this->_internal_file_size();
1458   for (const auto& msg : this->_impl_.file_) {
1459     total_size +=
1460       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
1461   }
1462 
1463   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1464 }
1465 
1466 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FileDescriptorSet::_class_data_ = {
1467     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
1468     FileDescriptorSet::MergeImpl
1469 };
GetClassData() const1470 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FileDescriptorSet::GetClassData() const { return &_class_data_; }
1471 
1472 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)1473 void FileDescriptorSet::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
1474   auto* const _this = static_cast<FileDescriptorSet*>(&to_msg);
1475   auto& from = static_cast<const FileDescriptorSet&>(from_msg);
1476   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileDescriptorSet)
1477   GOOGLE_DCHECK_NE(&from, _this);
1478   uint32_t cached_has_bits = 0;
1479   (void) cached_has_bits;
1480 
1481   _this->_impl_.file_.MergeFrom(from._impl_.file_);
1482   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1483 }
1484 
CopyFrom(const FileDescriptorSet & from)1485 void FileDescriptorSet::CopyFrom(const FileDescriptorSet& from) {
1486 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileDescriptorSet)
1487   if (&from == this) return;
1488   Clear();
1489   MergeFrom(from);
1490 }
1491 
IsInitialized() const1492 bool FileDescriptorSet::IsInitialized() const {
1493   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.file_))
1494     return false;
1495   return true;
1496 }
1497 
InternalSwap(FileDescriptorSet * other)1498 void FileDescriptorSet::InternalSwap(FileDescriptorSet* other) {
1499   using std::swap;
1500   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1501   _impl_.file_.InternalSwap(&other->_impl_.file_);
1502 }
1503 
GetMetadata() const1504 ::PROTOBUF_NAMESPACE_ID::Metadata FileDescriptorSet::GetMetadata() const {
1505   return ::_pbi::AssignDescriptors(
1506       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
1507       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[0]);
1508 }
1509 
1510 // ===================================================================
1511 
1512 class FileDescriptorProto::_Internal {
1513  public:
1514   using HasBits = decltype(std::declval<FileDescriptorProto>()._impl_._has_bits_);
set_has_name(HasBits * has_bits)1515   static void set_has_name(HasBits* has_bits) {
1516     (*has_bits)[0] |= 1u;
1517   }
set_has_package(HasBits * has_bits)1518   static void set_has_package(HasBits* has_bits) {
1519     (*has_bits)[0] |= 2u;
1520   }
1521   static const ::PROTOBUF_NAMESPACE_ID::FileOptions& options(const FileDescriptorProto* msg);
set_has_options(HasBits * has_bits)1522   static void set_has_options(HasBits* has_bits) {
1523     (*has_bits)[0] |= 8u;
1524   }
1525   static const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& source_code_info(const FileDescriptorProto* msg);
set_has_source_code_info(HasBits * has_bits)1526   static void set_has_source_code_info(HasBits* has_bits) {
1527     (*has_bits)[0] |= 16u;
1528   }
set_has_syntax(HasBits * has_bits)1529   static void set_has_syntax(HasBits* has_bits) {
1530     (*has_bits)[0] |= 4u;
1531   }
1532 };
1533 
1534 const ::PROTOBUF_NAMESPACE_ID::FileOptions&
options(const FileDescriptorProto * msg)1535 FileDescriptorProto::_Internal::options(const FileDescriptorProto* msg) {
1536   return *msg->_impl_.options_;
1537 }
1538 const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo&
source_code_info(const FileDescriptorProto * msg)1539 FileDescriptorProto::_Internal::source_code_info(const FileDescriptorProto* msg) {
1540   return *msg->_impl_.source_code_info_;
1541 }
FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1542 FileDescriptorProto::FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1543                          bool is_message_owned)
1544   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1545   SharedCtor(arena, is_message_owned);
1546   // @@protoc_insertion_point(arena_constructor:google.protobuf.FileDescriptorProto)
1547 }
FileDescriptorProto(const FileDescriptorProto & from)1548 FileDescriptorProto::FileDescriptorProto(const FileDescriptorProto& from)
1549   : ::PROTOBUF_NAMESPACE_ID::Message() {
1550   FileDescriptorProto* const _this = this; (void)_this;
1551   new (&_impl_) Impl_{
1552       decltype(_impl_._has_bits_){from._impl_._has_bits_}
1553     , /*decltype(_impl_._cached_size_)*/{}
1554     , decltype(_impl_.dependency_){from._impl_.dependency_}
1555     , decltype(_impl_.message_type_){from._impl_.message_type_}
1556     , decltype(_impl_.enum_type_){from._impl_.enum_type_}
1557     , decltype(_impl_.service_){from._impl_.service_}
1558     , decltype(_impl_.extension_){from._impl_.extension_}
1559     , decltype(_impl_.public_dependency_){from._impl_.public_dependency_}
1560     , decltype(_impl_.weak_dependency_){from._impl_.weak_dependency_}
1561     , decltype(_impl_.name_){}
1562     , decltype(_impl_.package_){}
1563     , decltype(_impl_.syntax_){}
1564     , decltype(_impl_.options_){nullptr}
1565     , decltype(_impl_.source_code_info_){nullptr}};
1566 
1567   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1568   _impl_.name_.InitDefault();
1569   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1570     _impl_.name_.Set("", GetArenaForAllocation());
1571   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1572   if (from._internal_has_name()) {
1573     _this->_impl_.name_.Set(from._internal_name(),
1574       _this->GetArenaForAllocation());
1575   }
1576   _impl_.package_.InitDefault();
1577   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1578     _impl_.package_.Set("", GetArenaForAllocation());
1579   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1580   if (from._internal_has_package()) {
1581     _this->_impl_.package_.Set(from._internal_package(),
1582       _this->GetArenaForAllocation());
1583   }
1584   _impl_.syntax_.InitDefault();
1585   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1586     _impl_.syntax_.Set("", GetArenaForAllocation());
1587   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1588   if (from._internal_has_syntax()) {
1589     _this->_impl_.syntax_.Set(from._internal_syntax(),
1590       _this->GetArenaForAllocation());
1591   }
1592   if (from._internal_has_options()) {
1593     _this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::FileOptions(*from._impl_.options_);
1594   }
1595   if (from._internal_has_source_code_info()) {
1596     _this->_impl_.source_code_info_ = new ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo(*from._impl_.source_code_info_);
1597   }
1598   // @@protoc_insertion_point(copy_constructor:google.protobuf.FileDescriptorProto)
1599 }
1600 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)1601 inline void FileDescriptorProto::SharedCtor(
1602     ::_pb::Arena* arena, bool is_message_owned) {
1603   (void)arena;
1604   (void)is_message_owned;
1605   new (&_impl_) Impl_{
1606       decltype(_impl_._has_bits_){}
1607     , /*decltype(_impl_._cached_size_)*/{}
1608     , decltype(_impl_.dependency_){arena}
1609     , decltype(_impl_.message_type_){arena}
1610     , decltype(_impl_.enum_type_){arena}
1611     , decltype(_impl_.service_){arena}
1612     , decltype(_impl_.extension_){arena}
1613     , decltype(_impl_.public_dependency_){arena}
1614     , decltype(_impl_.weak_dependency_){arena}
1615     , decltype(_impl_.name_){}
1616     , decltype(_impl_.package_){}
1617     , decltype(_impl_.syntax_){}
1618     , decltype(_impl_.options_){nullptr}
1619     , decltype(_impl_.source_code_info_){nullptr}
1620   };
1621   _impl_.name_.InitDefault();
1622   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1623     _impl_.name_.Set("", GetArenaForAllocation());
1624   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1625   _impl_.package_.InitDefault();
1626   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1627     _impl_.package_.Set("", GetArenaForAllocation());
1628   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1629   _impl_.syntax_.InitDefault();
1630   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1631     _impl_.syntax_.Set("", GetArenaForAllocation());
1632   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1633 }
1634 
~FileDescriptorProto()1635 FileDescriptorProto::~FileDescriptorProto() {
1636   // @@protoc_insertion_point(destructor:google.protobuf.FileDescriptorProto)
1637   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
1638   (void)arena;
1639     return;
1640   }
1641   SharedDtor();
1642 }
1643 
SharedDtor()1644 inline void FileDescriptorProto::SharedDtor() {
1645   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1646   _impl_.dependency_.~RepeatedPtrField();
1647   _impl_.message_type_.~RepeatedPtrField();
1648   _impl_.enum_type_.~RepeatedPtrField();
1649   _impl_.service_.~RepeatedPtrField();
1650   _impl_.extension_.~RepeatedPtrField();
1651   _impl_.public_dependency_.~RepeatedField();
1652   _impl_.weak_dependency_.~RepeatedField();
1653   _impl_.name_.Destroy();
1654   _impl_.package_.Destroy();
1655   _impl_.syntax_.Destroy();
1656   if (this != internal_default_instance()) delete _impl_.options_;
1657   if (this != internal_default_instance()) delete _impl_.source_code_info_;
1658 }
1659 
SetCachedSize(int size) const1660 void FileDescriptorProto::SetCachedSize(int size) const {
1661   _impl_._cached_size_.Set(size);
1662 }
1663 
Clear()1664 void FileDescriptorProto::Clear() {
1665 // @@protoc_insertion_point(message_clear_start:google.protobuf.FileDescriptorProto)
1666   uint32_t cached_has_bits = 0;
1667   // Prevent compiler warnings about cached_has_bits being unused
1668   (void) cached_has_bits;
1669 
1670   _impl_.dependency_.Clear();
1671   _impl_.message_type_.Clear();
1672   _impl_.enum_type_.Clear();
1673   _impl_.service_.Clear();
1674   _impl_.extension_.Clear();
1675   _impl_.public_dependency_.Clear();
1676   _impl_.weak_dependency_.Clear();
1677   cached_has_bits = _impl_._has_bits_[0];
1678   if (cached_has_bits & 0x0000001fu) {
1679     if (cached_has_bits & 0x00000001u) {
1680       _impl_.name_.ClearNonDefaultToEmpty();
1681     }
1682     if (cached_has_bits & 0x00000002u) {
1683       _impl_.package_.ClearNonDefaultToEmpty();
1684     }
1685     if (cached_has_bits & 0x00000004u) {
1686       _impl_.syntax_.ClearNonDefaultToEmpty();
1687     }
1688     if (cached_has_bits & 0x00000008u) {
1689       GOOGLE_DCHECK(_impl_.options_ != nullptr);
1690       _impl_.options_->Clear();
1691     }
1692     if (cached_has_bits & 0x00000010u) {
1693       GOOGLE_DCHECK(_impl_.source_code_info_ != nullptr);
1694       _impl_.source_code_info_->Clear();
1695     }
1696   }
1697   _impl_._has_bits_.Clear();
1698   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1699 }
1700 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)1701 const char* FileDescriptorProto::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1702 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1703   _Internal::HasBits has_bits{};
1704   while (!ctx->Done(&ptr)) {
1705     uint32_t tag;
1706     ptr = ::_pbi::ReadTag(ptr, &tag);
1707     switch (tag >> 3) {
1708       // optional string name = 1;
1709       case 1:
1710         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
1711           auto str = _internal_mutable_name();
1712           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1713           CHK_(ptr);
1714           #ifndef NDEBUG
1715           ::_pbi::VerifyUTF8(str, "google.protobuf.FileDescriptorProto.name");
1716           #endif  // !NDEBUG
1717         } else
1718           goto handle_unusual;
1719         continue;
1720       // optional string package = 2;
1721       case 2:
1722         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
1723           auto str = _internal_mutable_package();
1724           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1725           CHK_(ptr);
1726           #ifndef NDEBUG
1727           ::_pbi::VerifyUTF8(str, "google.protobuf.FileDescriptorProto.package");
1728           #endif  // !NDEBUG
1729         } else
1730           goto handle_unusual;
1731         continue;
1732       // repeated string dependency = 3;
1733       case 3:
1734         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
1735           ptr -= 1;
1736           do {
1737             ptr += 1;
1738             auto str = _internal_add_dependency();
1739             ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1740             CHK_(ptr);
1741             #ifndef NDEBUG
1742             ::_pbi::VerifyUTF8(str, "google.protobuf.FileDescriptorProto.dependency");
1743             #endif  // !NDEBUG
1744             if (!ctx->DataAvailable(ptr)) break;
1745           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
1746         } else
1747           goto handle_unusual;
1748         continue;
1749       // repeated .google.protobuf.DescriptorProto message_type = 4;
1750       case 4:
1751         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
1752           ptr -= 1;
1753           do {
1754             ptr += 1;
1755             ptr = ctx->ParseMessage(_internal_add_message_type(), ptr);
1756             CHK_(ptr);
1757             if (!ctx->DataAvailable(ptr)) break;
1758           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr));
1759         } else
1760           goto handle_unusual;
1761         continue;
1762       // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
1763       case 5:
1764         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
1765           ptr -= 1;
1766           do {
1767             ptr += 1;
1768             ptr = ctx->ParseMessage(_internal_add_enum_type(), ptr);
1769             CHK_(ptr);
1770             if (!ctx->DataAvailable(ptr)) break;
1771           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr));
1772         } else
1773           goto handle_unusual;
1774         continue;
1775       // repeated .google.protobuf.ServiceDescriptorProto service = 6;
1776       case 6:
1777         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
1778           ptr -= 1;
1779           do {
1780             ptr += 1;
1781             ptr = ctx->ParseMessage(_internal_add_service(), ptr);
1782             CHK_(ptr);
1783             if (!ctx->DataAvailable(ptr)) break;
1784           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
1785         } else
1786           goto handle_unusual;
1787         continue;
1788       // repeated .google.protobuf.FieldDescriptorProto extension = 7;
1789       case 7:
1790         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
1791           ptr -= 1;
1792           do {
1793             ptr += 1;
1794             ptr = ctx->ParseMessage(_internal_add_extension(), ptr);
1795             CHK_(ptr);
1796             if (!ctx->DataAvailable(ptr)) break;
1797           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr));
1798         } else
1799           goto handle_unusual;
1800         continue;
1801       // optional .google.protobuf.FileOptions options = 8;
1802       case 8:
1803         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
1804           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
1805           CHK_(ptr);
1806         } else
1807           goto handle_unusual;
1808         continue;
1809       // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
1810       case 9:
1811         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
1812           ptr = ctx->ParseMessage(_internal_mutable_source_code_info(), ptr);
1813           CHK_(ptr);
1814         } else
1815           goto handle_unusual;
1816         continue;
1817       // repeated int32 public_dependency = 10;
1818       case 10:
1819         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
1820           ptr -= 1;
1821           do {
1822             ptr += 1;
1823             _internal_add_public_dependency(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr));
1824             CHK_(ptr);
1825             if (!ctx->DataAvailable(ptr)) break;
1826           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<80>(ptr));
1827         } else if (static_cast<uint8_t>(tag) == 82) {
1828           ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_public_dependency(), ptr, ctx);
1829           CHK_(ptr);
1830         } else
1831           goto handle_unusual;
1832         continue;
1833       // repeated int32 weak_dependency = 11;
1834       case 11:
1835         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 88)) {
1836           ptr -= 1;
1837           do {
1838             ptr += 1;
1839             _internal_add_weak_dependency(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr));
1840             CHK_(ptr);
1841             if (!ctx->DataAvailable(ptr)) break;
1842           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<88>(ptr));
1843         } else if (static_cast<uint8_t>(tag) == 90) {
1844           ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_weak_dependency(), ptr, ctx);
1845           CHK_(ptr);
1846         } else
1847           goto handle_unusual;
1848         continue;
1849       // optional string syntax = 12;
1850       case 12:
1851         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 98)) {
1852           auto str = _internal_mutable_syntax();
1853           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1854           CHK_(ptr);
1855           #ifndef NDEBUG
1856           ::_pbi::VerifyUTF8(str, "google.protobuf.FileDescriptorProto.syntax");
1857           #endif  // !NDEBUG
1858         } else
1859           goto handle_unusual;
1860         continue;
1861       default:
1862         goto handle_unusual;
1863     }  // switch
1864   handle_unusual:
1865     if ((tag == 0) || ((tag & 7) == 4)) {
1866       CHK_(ptr);
1867       ctx->SetLastTag(tag);
1868       goto message_done;
1869     }
1870     ptr = UnknownFieldParse(
1871         tag,
1872         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1873         ptr, ctx);
1874     CHK_(ptr != nullptr);
1875   }  // while
1876 message_done:
1877   _impl_._has_bits_.Or(has_bits);
1878   return ptr;
1879 failure:
1880   ptr = nullptr;
1881   goto message_done;
1882 #undef CHK_
1883 }
1884 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1885 uint8_t* FileDescriptorProto::_InternalSerialize(
1886     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1887   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileDescriptorProto)
1888   uint32_t cached_has_bits = 0;
1889   (void) cached_has_bits;
1890 
1891   cached_has_bits = _impl_._has_bits_[0];
1892   // optional string name = 1;
1893   if (cached_has_bits & 0x00000001u) {
1894     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1895       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
1896       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1897       "google.protobuf.FileDescriptorProto.name");
1898     target = stream->WriteStringMaybeAliased(
1899         1, this->_internal_name(), target);
1900   }
1901 
1902   // optional string package = 2;
1903   if (cached_has_bits & 0x00000002u) {
1904     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1905       this->_internal_package().data(), static_cast<int>(this->_internal_package().length()),
1906       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1907       "google.protobuf.FileDescriptorProto.package");
1908     target = stream->WriteStringMaybeAliased(
1909         2, this->_internal_package(), target);
1910   }
1911 
1912   // repeated string dependency = 3;
1913   for (int i = 0, n = this->_internal_dependency_size(); i < n; i++) {
1914     const auto& s = this->_internal_dependency(i);
1915     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1916       s.data(), static_cast<int>(s.length()),
1917       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1918       "google.protobuf.FileDescriptorProto.dependency");
1919     target = stream->WriteString(3, s, target);
1920   }
1921 
1922   // repeated .google.protobuf.DescriptorProto message_type = 4;
1923   for (unsigned i = 0,
1924       n = static_cast<unsigned>(this->_internal_message_type_size()); i < n; i++) {
1925     const auto& repfield = this->_internal_message_type(i);
1926     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1927         InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream);
1928   }
1929 
1930   // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
1931   for (unsigned i = 0,
1932       n = static_cast<unsigned>(this->_internal_enum_type_size()); i < n; i++) {
1933     const auto& repfield = this->_internal_enum_type(i);
1934     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1935         InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream);
1936   }
1937 
1938   // repeated .google.protobuf.ServiceDescriptorProto service = 6;
1939   for (unsigned i = 0,
1940       n = static_cast<unsigned>(this->_internal_service_size()); i < n; i++) {
1941     const auto& repfield = this->_internal_service(i);
1942     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1943         InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream);
1944   }
1945 
1946   // repeated .google.protobuf.FieldDescriptorProto extension = 7;
1947   for (unsigned i = 0,
1948       n = static_cast<unsigned>(this->_internal_extension_size()); i < n; i++) {
1949     const auto& repfield = this->_internal_extension(i);
1950     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1951         InternalWriteMessage(7, repfield, repfield.GetCachedSize(), target, stream);
1952   }
1953 
1954   // optional .google.protobuf.FileOptions options = 8;
1955   if (cached_has_bits & 0x00000008u) {
1956     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1957       InternalWriteMessage(8, _Internal::options(this),
1958         _Internal::options(this).GetCachedSize(), target, stream);
1959   }
1960 
1961   // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
1962   if (cached_has_bits & 0x00000010u) {
1963     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1964       InternalWriteMessage(9, _Internal::source_code_info(this),
1965         _Internal::source_code_info(this).GetCachedSize(), target, stream);
1966   }
1967 
1968   // repeated int32 public_dependency = 10;
1969   for (int i = 0, n = this->_internal_public_dependency_size(); i < n; i++) {
1970     target = stream->EnsureSpace(target);
1971     target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_public_dependency(i), target);
1972   }
1973 
1974   // repeated int32 weak_dependency = 11;
1975   for (int i = 0, n = this->_internal_weak_dependency_size(); i < n; i++) {
1976     target = stream->EnsureSpace(target);
1977     target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_weak_dependency(i), target);
1978   }
1979 
1980   // optional string syntax = 12;
1981   if (cached_has_bits & 0x00000004u) {
1982     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1983       this->_internal_syntax().data(), static_cast<int>(this->_internal_syntax().length()),
1984       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1985       "google.protobuf.FileDescriptorProto.syntax");
1986     target = stream->WriteStringMaybeAliased(
1987         12, this->_internal_syntax(), target);
1988   }
1989 
1990   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1991     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1992         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1993   }
1994   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FileDescriptorProto)
1995   return target;
1996 }
1997 
ByteSizeLong() const1998 size_t FileDescriptorProto::ByteSizeLong() const {
1999 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileDescriptorProto)
2000   size_t total_size = 0;
2001 
2002   uint32_t cached_has_bits = 0;
2003   // Prevent compiler warnings about cached_has_bits being unused
2004   (void) cached_has_bits;
2005 
2006   // repeated string dependency = 3;
2007   total_size += 1 *
2008       ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.dependency_.size());
2009   for (int i = 0, n = _impl_.dependency_.size(); i < n; i++) {
2010     total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2011       _impl_.dependency_.Get(i));
2012   }
2013 
2014   // repeated .google.protobuf.DescriptorProto message_type = 4;
2015   total_size += 1UL * this->_internal_message_type_size();
2016   for (const auto& msg : this->_impl_.message_type_) {
2017     total_size +=
2018       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
2019   }
2020 
2021   // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
2022   total_size += 1UL * this->_internal_enum_type_size();
2023   for (const auto& msg : this->_impl_.enum_type_) {
2024     total_size +=
2025       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
2026   }
2027 
2028   // repeated .google.protobuf.ServiceDescriptorProto service = 6;
2029   total_size += 1UL * this->_internal_service_size();
2030   for (const auto& msg : this->_impl_.service_) {
2031     total_size +=
2032       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
2033   }
2034 
2035   // repeated .google.protobuf.FieldDescriptorProto extension = 7;
2036   total_size += 1UL * this->_internal_extension_size();
2037   for (const auto& msg : this->_impl_.extension_) {
2038     total_size +=
2039       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
2040   }
2041 
2042   // repeated int32 public_dependency = 10;
2043   {
2044     size_t data_size = ::_pbi::WireFormatLite::
2045       Int32Size(this->_impl_.public_dependency_);
2046     total_size += 1 *
2047                   ::_pbi::FromIntSize(this->_internal_public_dependency_size());
2048     total_size += data_size;
2049   }
2050 
2051   // repeated int32 weak_dependency = 11;
2052   {
2053     size_t data_size = ::_pbi::WireFormatLite::
2054       Int32Size(this->_impl_.weak_dependency_);
2055     total_size += 1 *
2056                   ::_pbi::FromIntSize(this->_internal_weak_dependency_size());
2057     total_size += data_size;
2058   }
2059 
2060   cached_has_bits = _impl_._has_bits_[0];
2061   if (cached_has_bits & 0x0000001fu) {
2062     // optional string name = 1;
2063     if (cached_has_bits & 0x00000001u) {
2064       total_size += 1 +
2065         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2066           this->_internal_name());
2067     }
2068 
2069     // optional string package = 2;
2070     if (cached_has_bits & 0x00000002u) {
2071       total_size += 1 +
2072         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2073           this->_internal_package());
2074     }
2075 
2076     // optional string syntax = 12;
2077     if (cached_has_bits & 0x00000004u) {
2078       total_size += 1 +
2079         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2080           this->_internal_syntax());
2081     }
2082 
2083     // optional .google.protobuf.FileOptions options = 8;
2084     if (cached_has_bits & 0x00000008u) {
2085       total_size += 1 +
2086         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2087           *_impl_.options_);
2088     }
2089 
2090     // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
2091     if (cached_has_bits & 0x00000010u) {
2092       total_size += 1 +
2093         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2094           *_impl_.source_code_info_);
2095     }
2096 
2097   }
2098   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2099 }
2100 
2101 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FileDescriptorProto::_class_data_ = {
2102     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
2103     FileDescriptorProto::MergeImpl
2104 };
GetClassData() const2105 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FileDescriptorProto::GetClassData() const { return &_class_data_; }
2106 
2107 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)2108 void FileDescriptorProto::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
2109   auto* const _this = static_cast<FileDescriptorProto*>(&to_msg);
2110   auto& from = static_cast<const FileDescriptorProto&>(from_msg);
2111   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileDescriptorProto)
2112   GOOGLE_DCHECK_NE(&from, _this);
2113   uint32_t cached_has_bits = 0;
2114   (void) cached_has_bits;
2115 
2116   _this->_impl_.dependency_.MergeFrom(from._impl_.dependency_);
2117   _this->_impl_.message_type_.MergeFrom(from._impl_.message_type_);
2118   _this->_impl_.enum_type_.MergeFrom(from._impl_.enum_type_);
2119   _this->_impl_.service_.MergeFrom(from._impl_.service_);
2120   _this->_impl_.extension_.MergeFrom(from._impl_.extension_);
2121   _this->_impl_.public_dependency_.MergeFrom(from._impl_.public_dependency_);
2122   _this->_impl_.weak_dependency_.MergeFrom(from._impl_.weak_dependency_);
2123   cached_has_bits = from._impl_._has_bits_[0];
2124   if (cached_has_bits & 0x0000001fu) {
2125     if (cached_has_bits & 0x00000001u) {
2126       _this->_internal_set_name(from._internal_name());
2127     }
2128     if (cached_has_bits & 0x00000002u) {
2129       _this->_internal_set_package(from._internal_package());
2130     }
2131     if (cached_has_bits & 0x00000004u) {
2132       _this->_internal_set_syntax(from._internal_syntax());
2133     }
2134     if (cached_has_bits & 0x00000008u) {
2135       _this->_internal_mutable_options()->::PROTOBUF_NAMESPACE_ID::FileOptions::MergeFrom(
2136           from._internal_options());
2137     }
2138     if (cached_has_bits & 0x00000010u) {
2139       _this->_internal_mutable_source_code_info()->::PROTOBUF_NAMESPACE_ID::SourceCodeInfo::MergeFrom(
2140           from._internal_source_code_info());
2141     }
2142   }
2143   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2144 }
2145 
CopyFrom(const FileDescriptorProto & from)2146 void FileDescriptorProto::CopyFrom(const FileDescriptorProto& from) {
2147 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileDescriptorProto)
2148   if (&from == this) return;
2149   Clear();
2150   MergeFrom(from);
2151 }
2152 
IsInitialized() const2153 bool FileDescriptorProto::IsInitialized() const {
2154   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.message_type_))
2155     return false;
2156   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.enum_type_))
2157     return false;
2158   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.service_))
2159     return false;
2160   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.extension_))
2161     return false;
2162   if (_internal_has_options()) {
2163     if (!_impl_.options_->IsInitialized()) return false;
2164   }
2165   return true;
2166 }
2167 
InternalSwap(FileDescriptorProto * other)2168 void FileDescriptorProto::InternalSwap(FileDescriptorProto* other) {
2169   using std::swap;
2170   auto* lhs_arena = GetArenaForAllocation();
2171   auto* rhs_arena = other->GetArenaForAllocation();
2172   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2173   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2174   _impl_.dependency_.InternalSwap(&other->_impl_.dependency_);
2175   _impl_.message_type_.InternalSwap(&other->_impl_.message_type_);
2176   _impl_.enum_type_.InternalSwap(&other->_impl_.enum_type_);
2177   _impl_.service_.InternalSwap(&other->_impl_.service_);
2178   _impl_.extension_.InternalSwap(&other->_impl_.extension_);
2179   _impl_.public_dependency_.InternalSwap(&other->_impl_.public_dependency_);
2180   _impl_.weak_dependency_.InternalSwap(&other->_impl_.weak_dependency_);
2181   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
2182       &_impl_.name_, lhs_arena,
2183       &other->_impl_.name_, rhs_arena
2184   );
2185   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
2186       &_impl_.package_, lhs_arena,
2187       &other->_impl_.package_, rhs_arena
2188   );
2189   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
2190       &_impl_.syntax_, lhs_arena,
2191       &other->_impl_.syntax_, rhs_arena
2192   );
2193   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2194       PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.source_code_info_)
2195       + sizeof(FileDescriptorProto::_impl_.source_code_info_)
2196       - PROTOBUF_FIELD_OFFSET(FileDescriptorProto, _impl_.options_)>(
2197           reinterpret_cast<char*>(&_impl_.options_),
2198           reinterpret_cast<char*>(&other->_impl_.options_));
2199 }
2200 
GetMetadata() const2201 ::PROTOBUF_NAMESPACE_ID::Metadata FileDescriptorProto::GetMetadata() const {
2202   return ::_pbi::AssignDescriptors(
2203       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
2204       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[1]);
2205 }
2206 
2207 // ===================================================================
2208 
2209 class DescriptorProto_ExtensionRange::_Internal {
2210  public:
2211   using HasBits = decltype(std::declval<DescriptorProto_ExtensionRange>()._impl_._has_bits_);
set_has_start(HasBits * has_bits)2212   static void set_has_start(HasBits* has_bits) {
2213     (*has_bits)[0] |= 2u;
2214   }
set_has_end(HasBits * has_bits)2215   static void set_has_end(HasBits* has_bits) {
2216     (*has_bits)[0] |= 4u;
2217   }
2218   static const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& options(const DescriptorProto_ExtensionRange* msg);
set_has_options(HasBits * has_bits)2219   static void set_has_options(HasBits* has_bits) {
2220     (*has_bits)[0] |= 1u;
2221   }
2222 };
2223 
2224 const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions&
options(const DescriptorProto_ExtensionRange * msg)2225 DescriptorProto_ExtensionRange::_Internal::options(const DescriptorProto_ExtensionRange* msg) {
2226   return *msg->_impl_.options_;
2227 }
DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)2228 DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2229                          bool is_message_owned)
2230   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2231   SharedCtor(arena, is_message_owned);
2232   // @@protoc_insertion_point(arena_constructor:google.protobuf.DescriptorProto.ExtensionRange)
2233 }
DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange & from)2234 DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from)
2235   : ::PROTOBUF_NAMESPACE_ID::Message() {
2236   DescriptorProto_ExtensionRange* const _this = this; (void)_this;
2237   new (&_impl_) Impl_{
2238       decltype(_impl_._has_bits_){from._impl_._has_bits_}
2239     , /*decltype(_impl_._cached_size_)*/{}
2240     , decltype(_impl_.options_){nullptr}
2241     , decltype(_impl_.start_){}
2242     , decltype(_impl_.end_){}};
2243 
2244   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2245   if (from._internal_has_options()) {
2246     _this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions(*from._impl_.options_);
2247   }
2248   ::memcpy(&_impl_.start_, &from._impl_.start_,
2249     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.end_) -
2250     reinterpret_cast<char*>(&_impl_.start_)) + sizeof(_impl_.end_));
2251   // @@protoc_insertion_point(copy_constructor:google.protobuf.DescriptorProto.ExtensionRange)
2252 }
2253 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)2254 inline void DescriptorProto_ExtensionRange::SharedCtor(
2255     ::_pb::Arena* arena, bool is_message_owned) {
2256   (void)arena;
2257   (void)is_message_owned;
2258   new (&_impl_) Impl_{
2259       decltype(_impl_._has_bits_){}
2260     , /*decltype(_impl_._cached_size_)*/{}
2261     , decltype(_impl_.options_){nullptr}
2262     , decltype(_impl_.start_){0}
2263     , decltype(_impl_.end_){0}
2264   };
2265 }
2266 
~DescriptorProto_ExtensionRange()2267 DescriptorProto_ExtensionRange::~DescriptorProto_ExtensionRange() {
2268   // @@protoc_insertion_point(destructor:google.protobuf.DescriptorProto.ExtensionRange)
2269   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
2270   (void)arena;
2271     return;
2272   }
2273   SharedDtor();
2274 }
2275 
SharedDtor()2276 inline void DescriptorProto_ExtensionRange::SharedDtor() {
2277   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2278   if (this != internal_default_instance()) delete _impl_.options_;
2279 }
2280 
SetCachedSize(int size) const2281 void DescriptorProto_ExtensionRange::SetCachedSize(int size) const {
2282   _impl_._cached_size_.Set(size);
2283 }
2284 
Clear()2285 void DescriptorProto_ExtensionRange::Clear() {
2286 // @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto.ExtensionRange)
2287   uint32_t cached_has_bits = 0;
2288   // Prevent compiler warnings about cached_has_bits being unused
2289   (void) cached_has_bits;
2290 
2291   cached_has_bits = _impl_._has_bits_[0];
2292   if (cached_has_bits & 0x00000001u) {
2293     GOOGLE_DCHECK(_impl_.options_ != nullptr);
2294     _impl_.options_->Clear();
2295   }
2296   if (cached_has_bits & 0x00000006u) {
2297     ::memset(&_impl_.start_, 0, static_cast<size_t>(
2298         reinterpret_cast<char*>(&_impl_.end_) -
2299         reinterpret_cast<char*>(&_impl_.start_)) + sizeof(_impl_.end_));
2300   }
2301   _impl_._has_bits_.Clear();
2302   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2303 }
2304 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)2305 const char* DescriptorProto_ExtensionRange::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2306 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2307   _Internal::HasBits has_bits{};
2308   while (!ctx->Done(&ptr)) {
2309     uint32_t tag;
2310     ptr = ::_pbi::ReadTag(ptr, &tag);
2311     switch (tag >> 3) {
2312       // optional int32 start = 1;
2313       case 1:
2314         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
2315           _Internal::set_has_start(&has_bits);
2316           _impl_.start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2317           CHK_(ptr);
2318         } else
2319           goto handle_unusual;
2320         continue;
2321       // optional int32 end = 2;
2322       case 2:
2323         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
2324           _Internal::set_has_end(&has_bits);
2325           _impl_.end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2326           CHK_(ptr);
2327         } else
2328           goto handle_unusual;
2329         continue;
2330       // optional .google.protobuf.ExtensionRangeOptions options = 3;
2331       case 3:
2332         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
2333           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
2334           CHK_(ptr);
2335         } else
2336           goto handle_unusual;
2337         continue;
2338       default:
2339         goto handle_unusual;
2340     }  // switch
2341   handle_unusual:
2342     if ((tag == 0) || ((tag & 7) == 4)) {
2343       CHK_(ptr);
2344       ctx->SetLastTag(tag);
2345       goto message_done;
2346     }
2347     ptr = UnknownFieldParse(
2348         tag,
2349         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2350         ptr, ctx);
2351     CHK_(ptr != nullptr);
2352   }  // while
2353 message_done:
2354   _impl_._has_bits_.Or(has_bits);
2355   return ptr;
2356 failure:
2357   ptr = nullptr;
2358   goto message_done;
2359 #undef CHK_
2360 }
2361 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2362 uint8_t* DescriptorProto_ExtensionRange::_InternalSerialize(
2363     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2364   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto.ExtensionRange)
2365   uint32_t cached_has_bits = 0;
2366   (void) cached_has_bits;
2367 
2368   cached_has_bits = _impl_._has_bits_[0];
2369   // optional int32 start = 1;
2370   if (cached_has_bits & 0x00000002u) {
2371     target = stream->EnsureSpace(target);
2372     target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_start(), target);
2373   }
2374 
2375   // optional int32 end = 2;
2376   if (cached_has_bits & 0x00000004u) {
2377     target = stream->EnsureSpace(target);
2378     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_end(), target);
2379   }
2380 
2381   // optional .google.protobuf.ExtensionRangeOptions options = 3;
2382   if (cached_has_bits & 0x00000001u) {
2383     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2384       InternalWriteMessage(3, _Internal::options(this),
2385         _Internal::options(this).GetCachedSize(), target, stream);
2386   }
2387 
2388   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2389     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2390         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2391   }
2392   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DescriptorProto.ExtensionRange)
2393   return target;
2394 }
2395 
ByteSizeLong() const2396 size_t DescriptorProto_ExtensionRange::ByteSizeLong() const {
2397 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto.ExtensionRange)
2398   size_t total_size = 0;
2399 
2400   uint32_t cached_has_bits = 0;
2401   // Prevent compiler warnings about cached_has_bits being unused
2402   (void) cached_has_bits;
2403 
2404   cached_has_bits = _impl_._has_bits_[0];
2405   if (cached_has_bits & 0x00000007u) {
2406     // optional .google.protobuf.ExtensionRangeOptions options = 3;
2407     if (cached_has_bits & 0x00000001u) {
2408       total_size += 1 +
2409         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2410           *_impl_.options_);
2411     }
2412 
2413     // optional int32 start = 1;
2414     if (cached_has_bits & 0x00000002u) {
2415       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_start());
2416     }
2417 
2418     // optional int32 end = 2;
2419     if (cached_has_bits & 0x00000004u) {
2420       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_end());
2421     }
2422 
2423   }
2424   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2425 }
2426 
2427 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DescriptorProto_ExtensionRange::_class_data_ = {
2428     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
2429     DescriptorProto_ExtensionRange::MergeImpl
2430 };
GetClassData() const2431 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DescriptorProto_ExtensionRange::GetClassData() const { return &_class_data_; }
2432 
2433 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)2434 void DescriptorProto_ExtensionRange::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
2435   auto* const _this = static_cast<DescriptorProto_ExtensionRange*>(&to_msg);
2436   auto& from = static_cast<const DescriptorProto_ExtensionRange&>(from_msg);
2437   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto.ExtensionRange)
2438   GOOGLE_DCHECK_NE(&from, _this);
2439   uint32_t cached_has_bits = 0;
2440   (void) cached_has_bits;
2441 
2442   cached_has_bits = from._impl_._has_bits_[0];
2443   if (cached_has_bits & 0x00000007u) {
2444     if (cached_has_bits & 0x00000001u) {
2445       _this->_internal_mutable_options()->::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions::MergeFrom(
2446           from._internal_options());
2447     }
2448     if (cached_has_bits & 0x00000002u) {
2449       _this->_impl_.start_ = from._impl_.start_;
2450     }
2451     if (cached_has_bits & 0x00000004u) {
2452       _this->_impl_.end_ = from._impl_.end_;
2453     }
2454     _this->_impl_._has_bits_[0] |= cached_has_bits;
2455   }
2456   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2457 }
2458 
CopyFrom(const DescriptorProto_ExtensionRange & from)2459 void DescriptorProto_ExtensionRange::CopyFrom(const DescriptorProto_ExtensionRange& from) {
2460 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto.ExtensionRange)
2461   if (&from == this) return;
2462   Clear();
2463   MergeFrom(from);
2464 }
2465 
IsInitialized() const2466 bool DescriptorProto_ExtensionRange::IsInitialized() const {
2467   if (_internal_has_options()) {
2468     if (!_impl_.options_->IsInitialized()) return false;
2469   }
2470   return true;
2471 }
2472 
InternalSwap(DescriptorProto_ExtensionRange * other)2473 void DescriptorProto_ExtensionRange::InternalSwap(DescriptorProto_ExtensionRange* other) {
2474   using std::swap;
2475   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2476   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2477   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2478       PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_.end_)
2479       + sizeof(DescriptorProto_ExtensionRange::_impl_.end_)
2480       - PROTOBUF_FIELD_OFFSET(DescriptorProto_ExtensionRange, _impl_.options_)>(
2481           reinterpret_cast<char*>(&_impl_.options_),
2482           reinterpret_cast<char*>(&other->_impl_.options_));
2483 }
2484 
GetMetadata() const2485 ::PROTOBUF_NAMESPACE_ID::Metadata DescriptorProto_ExtensionRange::GetMetadata() const {
2486   return ::_pbi::AssignDescriptors(
2487       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
2488       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[2]);
2489 }
2490 
2491 // ===================================================================
2492 
2493 class DescriptorProto_ReservedRange::_Internal {
2494  public:
2495   using HasBits = decltype(std::declval<DescriptorProto_ReservedRange>()._impl_._has_bits_);
set_has_start(HasBits * has_bits)2496   static void set_has_start(HasBits* has_bits) {
2497     (*has_bits)[0] |= 1u;
2498   }
set_has_end(HasBits * has_bits)2499   static void set_has_end(HasBits* has_bits) {
2500     (*has_bits)[0] |= 2u;
2501   }
2502 };
2503 
DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)2504 DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2505                          bool is_message_owned)
2506   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2507   SharedCtor(arena, is_message_owned);
2508   // @@protoc_insertion_point(arena_constructor:google.protobuf.DescriptorProto.ReservedRange)
2509 }
DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange & from)2510 DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from)
2511   : ::PROTOBUF_NAMESPACE_ID::Message() {
2512   DescriptorProto_ReservedRange* const _this = this; (void)_this;
2513   new (&_impl_) Impl_{
2514       decltype(_impl_._has_bits_){from._impl_._has_bits_}
2515     , /*decltype(_impl_._cached_size_)*/{}
2516     , decltype(_impl_.start_){}
2517     , decltype(_impl_.end_){}};
2518 
2519   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2520   ::memcpy(&_impl_.start_, &from._impl_.start_,
2521     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.end_) -
2522     reinterpret_cast<char*>(&_impl_.start_)) + sizeof(_impl_.end_));
2523   // @@protoc_insertion_point(copy_constructor:google.protobuf.DescriptorProto.ReservedRange)
2524 }
2525 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)2526 inline void DescriptorProto_ReservedRange::SharedCtor(
2527     ::_pb::Arena* arena, bool is_message_owned) {
2528   (void)arena;
2529   (void)is_message_owned;
2530   new (&_impl_) Impl_{
2531       decltype(_impl_._has_bits_){}
2532     , /*decltype(_impl_._cached_size_)*/{}
2533     , decltype(_impl_.start_){0}
2534     , decltype(_impl_.end_){0}
2535   };
2536 }
2537 
~DescriptorProto_ReservedRange()2538 DescriptorProto_ReservedRange::~DescriptorProto_ReservedRange() {
2539   // @@protoc_insertion_point(destructor:google.protobuf.DescriptorProto.ReservedRange)
2540   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
2541   (void)arena;
2542     return;
2543   }
2544   SharedDtor();
2545 }
2546 
SharedDtor()2547 inline void DescriptorProto_ReservedRange::SharedDtor() {
2548   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2549 }
2550 
SetCachedSize(int size) const2551 void DescriptorProto_ReservedRange::SetCachedSize(int size) const {
2552   _impl_._cached_size_.Set(size);
2553 }
2554 
Clear()2555 void DescriptorProto_ReservedRange::Clear() {
2556 // @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto.ReservedRange)
2557   uint32_t cached_has_bits = 0;
2558   // Prevent compiler warnings about cached_has_bits being unused
2559   (void) cached_has_bits;
2560 
2561   cached_has_bits = _impl_._has_bits_[0];
2562   if (cached_has_bits & 0x00000003u) {
2563     ::memset(&_impl_.start_, 0, static_cast<size_t>(
2564         reinterpret_cast<char*>(&_impl_.end_) -
2565         reinterpret_cast<char*>(&_impl_.start_)) + sizeof(_impl_.end_));
2566   }
2567   _impl_._has_bits_.Clear();
2568   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2569 }
2570 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)2571 const char* DescriptorProto_ReservedRange::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2572 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2573   _Internal::HasBits has_bits{};
2574   while (!ctx->Done(&ptr)) {
2575     uint32_t tag;
2576     ptr = ::_pbi::ReadTag(ptr, &tag);
2577     switch (tag >> 3) {
2578       // optional int32 start = 1;
2579       case 1:
2580         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
2581           _Internal::set_has_start(&has_bits);
2582           _impl_.start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2583           CHK_(ptr);
2584         } else
2585           goto handle_unusual;
2586         continue;
2587       // optional int32 end = 2;
2588       case 2:
2589         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
2590           _Internal::set_has_end(&has_bits);
2591           _impl_.end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2592           CHK_(ptr);
2593         } else
2594           goto handle_unusual;
2595         continue;
2596       default:
2597         goto handle_unusual;
2598     }  // switch
2599   handle_unusual:
2600     if ((tag == 0) || ((tag & 7) == 4)) {
2601       CHK_(ptr);
2602       ctx->SetLastTag(tag);
2603       goto message_done;
2604     }
2605     ptr = UnknownFieldParse(
2606         tag,
2607         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2608         ptr, ctx);
2609     CHK_(ptr != nullptr);
2610   }  // while
2611 message_done:
2612   _impl_._has_bits_.Or(has_bits);
2613   return ptr;
2614 failure:
2615   ptr = nullptr;
2616   goto message_done;
2617 #undef CHK_
2618 }
2619 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2620 uint8_t* DescriptorProto_ReservedRange::_InternalSerialize(
2621     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2622   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto.ReservedRange)
2623   uint32_t cached_has_bits = 0;
2624   (void) cached_has_bits;
2625 
2626   cached_has_bits = _impl_._has_bits_[0];
2627   // optional int32 start = 1;
2628   if (cached_has_bits & 0x00000001u) {
2629     target = stream->EnsureSpace(target);
2630     target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_start(), target);
2631   }
2632 
2633   // optional int32 end = 2;
2634   if (cached_has_bits & 0x00000002u) {
2635     target = stream->EnsureSpace(target);
2636     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_end(), target);
2637   }
2638 
2639   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2640     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2641         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2642   }
2643   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DescriptorProto.ReservedRange)
2644   return target;
2645 }
2646 
ByteSizeLong() const2647 size_t DescriptorProto_ReservedRange::ByteSizeLong() const {
2648 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto.ReservedRange)
2649   size_t total_size = 0;
2650 
2651   uint32_t cached_has_bits = 0;
2652   // Prevent compiler warnings about cached_has_bits being unused
2653   (void) cached_has_bits;
2654 
2655   cached_has_bits = _impl_._has_bits_[0];
2656   if (cached_has_bits & 0x00000003u) {
2657     // optional int32 start = 1;
2658     if (cached_has_bits & 0x00000001u) {
2659       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_start());
2660     }
2661 
2662     // optional int32 end = 2;
2663     if (cached_has_bits & 0x00000002u) {
2664       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_end());
2665     }
2666 
2667   }
2668   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2669 }
2670 
2671 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DescriptorProto_ReservedRange::_class_data_ = {
2672     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
2673     DescriptorProto_ReservedRange::MergeImpl
2674 };
GetClassData() const2675 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DescriptorProto_ReservedRange::GetClassData() const { return &_class_data_; }
2676 
2677 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)2678 void DescriptorProto_ReservedRange::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
2679   auto* const _this = static_cast<DescriptorProto_ReservedRange*>(&to_msg);
2680   auto& from = static_cast<const DescriptorProto_ReservedRange&>(from_msg);
2681   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto.ReservedRange)
2682   GOOGLE_DCHECK_NE(&from, _this);
2683   uint32_t cached_has_bits = 0;
2684   (void) cached_has_bits;
2685 
2686   cached_has_bits = from._impl_._has_bits_[0];
2687   if (cached_has_bits & 0x00000003u) {
2688     if (cached_has_bits & 0x00000001u) {
2689       _this->_impl_.start_ = from._impl_.start_;
2690     }
2691     if (cached_has_bits & 0x00000002u) {
2692       _this->_impl_.end_ = from._impl_.end_;
2693     }
2694     _this->_impl_._has_bits_[0] |= cached_has_bits;
2695   }
2696   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2697 }
2698 
CopyFrom(const DescriptorProto_ReservedRange & from)2699 void DescriptorProto_ReservedRange::CopyFrom(const DescriptorProto_ReservedRange& from) {
2700 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto.ReservedRange)
2701   if (&from == this) return;
2702   Clear();
2703   MergeFrom(from);
2704 }
2705 
IsInitialized() const2706 bool DescriptorProto_ReservedRange::IsInitialized() const {
2707   return true;
2708 }
2709 
InternalSwap(DescriptorProto_ReservedRange * other)2710 void DescriptorProto_ReservedRange::InternalSwap(DescriptorProto_ReservedRange* other) {
2711   using std::swap;
2712   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2713   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2714   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2715       PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_.end_)
2716       + sizeof(DescriptorProto_ReservedRange::_impl_.end_)
2717       - PROTOBUF_FIELD_OFFSET(DescriptorProto_ReservedRange, _impl_.start_)>(
2718           reinterpret_cast<char*>(&_impl_.start_),
2719           reinterpret_cast<char*>(&other->_impl_.start_));
2720 }
2721 
GetMetadata() const2722 ::PROTOBUF_NAMESPACE_ID::Metadata DescriptorProto_ReservedRange::GetMetadata() const {
2723   return ::_pbi::AssignDescriptors(
2724       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
2725       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[3]);
2726 }
2727 
2728 // ===================================================================
2729 
2730 class DescriptorProto::_Internal {
2731  public:
2732   using HasBits = decltype(std::declval<DescriptorProto>()._impl_._has_bits_);
set_has_name(HasBits * has_bits)2733   static void set_has_name(HasBits* has_bits) {
2734     (*has_bits)[0] |= 1u;
2735   }
2736   static const ::PROTOBUF_NAMESPACE_ID::MessageOptions& options(const DescriptorProto* msg);
set_has_options(HasBits * has_bits)2737   static void set_has_options(HasBits* has_bits) {
2738     (*has_bits)[0] |= 2u;
2739   }
2740 };
2741 
2742 const ::PROTOBUF_NAMESPACE_ID::MessageOptions&
options(const DescriptorProto * msg)2743 DescriptorProto::_Internal::options(const DescriptorProto* msg) {
2744   return *msg->_impl_.options_;
2745 }
DescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)2746 DescriptorProto::DescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2747                          bool is_message_owned)
2748   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2749   SharedCtor(arena, is_message_owned);
2750   // @@protoc_insertion_point(arena_constructor:google.protobuf.DescriptorProto)
2751 }
DescriptorProto(const DescriptorProto & from)2752 DescriptorProto::DescriptorProto(const DescriptorProto& from)
2753   : ::PROTOBUF_NAMESPACE_ID::Message() {
2754   DescriptorProto* const _this = this; (void)_this;
2755   new (&_impl_) Impl_{
2756       decltype(_impl_._has_bits_){from._impl_._has_bits_}
2757     , /*decltype(_impl_._cached_size_)*/{}
2758     , decltype(_impl_.field_){from._impl_.field_}
2759     , decltype(_impl_.nested_type_){from._impl_.nested_type_}
2760     , decltype(_impl_.enum_type_){from._impl_.enum_type_}
2761     , decltype(_impl_.extension_range_){from._impl_.extension_range_}
2762     , decltype(_impl_.extension_){from._impl_.extension_}
2763     , decltype(_impl_.oneof_decl_){from._impl_.oneof_decl_}
2764     , decltype(_impl_.reserved_range_){from._impl_.reserved_range_}
2765     , decltype(_impl_.reserved_name_){from._impl_.reserved_name_}
2766     , decltype(_impl_.name_){}
2767     , decltype(_impl_.options_){nullptr}};
2768 
2769   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2770   _impl_.name_.InitDefault();
2771   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2772     _impl_.name_.Set("", GetArenaForAllocation());
2773   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2774   if (from._internal_has_name()) {
2775     _this->_impl_.name_.Set(from._internal_name(),
2776       _this->GetArenaForAllocation());
2777   }
2778   if (from._internal_has_options()) {
2779     _this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::MessageOptions(*from._impl_.options_);
2780   }
2781   // @@protoc_insertion_point(copy_constructor:google.protobuf.DescriptorProto)
2782 }
2783 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)2784 inline void DescriptorProto::SharedCtor(
2785     ::_pb::Arena* arena, bool is_message_owned) {
2786   (void)arena;
2787   (void)is_message_owned;
2788   new (&_impl_) Impl_{
2789       decltype(_impl_._has_bits_){}
2790     , /*decltype(_impl_._cached_size_)*/{}
2791     , decltype(_impl_.field_){arena}
2792     , decltype(_impl_.nested_type_){arena}
2793     , decltype(_impl_.enum_type_){arena}
2794     , decltype(_impl_.extension_range_){arena}
2795     , decltype(_impl_.extension_){arena}
2796     , decltype(_impl_.oneof_decl_){arena}
2797     , decltype(_impl_.reserved_range_){arena}
2798     , decltype(_impl_.reserved_name_){arena}
2799     , decltype(_impl_.name_){}
2800     , decltype(_impl_.options_){nullptr}
2801   };
2802   _impl_.name_.InitDefault();
2803   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2804     _impl_.name_.Set("", GetArenaForAllocation());
2805   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2806 }
2807 
~DescriptorProto()2808 DescriptorProto::~DescriptorProto() {
2809   // @@protoc_insertion_point(destructor:google.protobuf.DescriptorProto)
2810   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
2811   (void)arena;
2812     return;
2813   }
2814   SharedDtor();
2815 }
2816 
SharedDtor()2817 inline void DescriptorProto::SharedDtor() {
2818   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2819   _impl_.field_.~RepeatedPtrField();
2820   _impl_.nested_type_.~RepeatedPtrField();
2821   _impl_.enum_type_.~RepeatedPtrField();
2822   _impl_.extension_range_.~RepeatedPtrField();
2823   _impl_.extension_.~RepeatedPtrField();
2824   _impl_.oneof_decl_.~RepeatedPtrField();
2825   _impl_.reserved_range_.~RepeatedPtrField();
2826   _impl_.reserved_name_.~RepeatedPtrField();
2827   _impl_.name_.Destroy();
2828   if (this != internal_default_instance()) delete _impl_.options_;
2829 }
2830 
SetCachedSize(int size) const2831 void DescriptorProto::SetCachedSize(int size) const {
2832   _impl_._cached_size_.Set(size);
2833 }
2834 
Clear()2835 void DescriptorProto::Clear() {
2836 // @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto)
2837   uint32_t cached_has_bits = 0;
2838   // Prevent compiler warnings about cached_has_bits being unused
2839   (void) cached_has_bits;
2840 
2841   _impl_.field_.Clear();
2842   _impl_.nested_type_.Clear();
2843   _impl_.enum_type_.Clear();
2844   _impl_.extension_range_.Clear();
2845   _impl_.extension_.Clear();
2846   _impl_.oneof_decl_.Clear();
2847   _impl_.reserved_range_.Clear();
2848   _impl_.reserved_name_.Clear();
2849   cached_has_bits = _impl_._has_bits_[0];
2850   if (cached_has_bits & 0x00000003u) {
2851     if (cached_has_bits & 0x00000001u) {
2852       _impl_.name_.ClearNonDefaultToEmpty();
2853     }
2854     if (cached_has_bits & 0x00000002u) {
2855       GOOGLE_DCHECK(_impl_.options_ != nullptr);
2856       _impl_.options_->Clear();
2857     }
2858   }
2859   _impl_._has_bits_.Clear();
2860   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2861 }
2862 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)2863 const char* DescriptorProto::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2864 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2865   _Internal::HasBits has_bits{};
2866   while (!ctx->Done(&ptr)) {
2867     uint32_t tag;
2868     ptr = ::_pbi::ReadTag(ptr, &tag);
2869     switch (tag >> 3) {
2870       // optional string name = 1;
2871       case 1:
2872         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
2873           auto str = _internal_mutable_name();
2874           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2875           CHK_(ptr);
2876           #ifndef NDEBUG
2877           ::_pbi::VerifyUTF8(str, "google.protobuf.DescriptorProto.name");
2878           #endif  // !NDEBUG
2879         } else
2880           goto handle_unusual;
2881         continue;
2882       // repeated .google.protobuf.FieldDescriptorProto field = 2;
2883       case 2:
2884         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
2885           ptr -= 1;
2886           do {
2887             ptr += 1;
2888             ptr = ctx->ParseMessage(_internal_add_field(), ptr);
2889             CHK_(ptr);
2890             if (!ctx->DataAvailable(ptr)) break;
2891           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
2892         } else
2893           goto handle_unusual;
2894         continue;
2895       // repeated .google.protobuf.DescriptorProto nested_type = 3;
2896       case 3:
2897         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
2898           ptr -= 1;
2899           do {
2900             ptr += 1;
2901             ptr = ctx->ParseMessage(_internal_add_nested_type(), ptr);
2902             CHK_(ptr);
2903             if (!ctx->DataAvailable(ptr)) break;
2904           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
2905         } else
2906           goto handle_unusual;
2907         continue;
2908       // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
2909       case 4:
2910         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
2911           ptr -= 1;
2912           do {
2913             ptr += 1;
2914             ptr = ctx->ParseMessage(_internal_add_enum_type(), ptr);
2915             CHK_(ptr);
2916             if (!ctx->DataAvailable(ptr)) break;
2917           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr));
2918         } else
2919           goto handle_unusual;
2920         continue;
2921       // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
2922       case 5:
2923         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
2924           ptr -= 1;
2925           do {
2926             ptr += 1;
2927             ptr = ctx->ParseMessage(_internal_add_extension_range(), ptr);
2928             CHK_(ptr);
2929             if (!ctx->DataAvailable(ptr)) break;
2930           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr));
2931         } else
2932           goto handle_unusual;
2933         continue;
2934       // repeated .google.protobuf.FieldDescriptorProto extension = 6;
2935       case 6:
2936         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
2937           ptr -= 1;
2938           do {
2939             ptr += 1;
2940             ptr = ctx->ParseMessage(_internal_add_extension(), ptr);
2941             CHK_(ptr);
2942             if (!ctx->DataAvailable(ptr)) break;
2943           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
2944         } else
2945           goto handle_unusual;
2946         continue;
2947       // optional .google.protobuf.MessageOptions options = 7;
2948       case 7:
2949         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
2950           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
2951           CHK_(ptr);
2952         } else
2953           goto handle_unusual;
2954         continue;
2955       // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
2956       case 8:
2957         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
2958           ptr -= 1;
2959           do {
2960             ptr += 1;
2961             ptr = ctx->ParseMessage(_internal_add_oneof_decl(), ptr);
2962             CHK_(ptr);
2963             if (!ctx->DataAvailable(ptr)) break;
2964           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr));
2965         } else
2966           goto handle_unusual;
2967         continue;
2968       // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
2969       case 9:
2970         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
2971           ptr -= 1;
2972           do {
2973             ptr += 1;
2974             ptr = ctx->ParseMessage(_internal_add_reserved_range(), ptr);
2975             CHK_(ptr);
2976             if (!ctx->DataAvailable(ptr)) break;
2977           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr));
2978         } else
2979           goto handle_unusual;
2980         continue;
2981       // repeated string reserved_name = 10;
2982       case 10:
2983         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
2984           ptr -= 1;
2985           do {
2986             ptr += 1;
2987             auto str = _internal_add_reserved_name();
2988             ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2989             CHK_(ptr);
2990             #ifndef NDEBUG
2991             ::_pbi::VerifyUTF8(str, "google.protobuf.DescriptorProto.reserved_name");
2992             #endif  // !NDEBUG
2993             if (!ctx->DataAvailable(ptr)) break;
2994           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr));
2995         } else
2996           goto handle_unusual;
2997         continue;
2998       default:
2999         goto handle_unusual;
3000     }  // switch
3001   handle_unusual:
3002     if ((tag == 0) || ((tag & 7) == 4)) {
3003       CHK_(ptr);
3004       ctx->SetLastTag(tag);
3005       goto message_done;
3006     }
3007     ptr = UnknownFieldParse(
3008         tag,
3009         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
3010         ptr, ctx);
3011     CHK_(ptr != nullptr);
3012   }  // while
3013 message_done:
3014   _impl_._has_bits_.Or(has_bits);
3015   return ptr;
3016 failure:
3017   ptr = nullptr;
3018   goto message_done;
3019 #undef CHK_
3020 }
3021 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3022 uint8_t* DescriptorProto::_InternalSerialize(
3023     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3024   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto)
3025   uint32_t cached_has_bits = 0;
3026   (void) cached_has_bits;
3027 
3028   cached_has_bits = _impl_._has_bits_[0];
3029   // optional string name = 1;
3030   if (cached_has_bits & 0x00000001u) {
3031     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3032       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
3033       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3034       "google.protobuf.DescriptorProto.name");
3035     target = stream->WriteStringMaybeAliased(
3036         1, this->_internal_name(), target);
3037   }
3038 
3039   // repeated .google.protobuf.FieldDescriptorProto field = 2;
3040   for (unsigned i = 0,
3041       n = static_cast<unsigned>(this->_internal_field_size()); i < n; i++) {
3042     const auto& repfield = this->_internal_field(i);
3043     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3044         InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
3045   }
3046 
3047   // repeated .google.protobuf.DescriptorProto nested_type = 3;
3048   for (unsigned i = 0,
3049       n = static_cast<unsigned>(this->_internal_nested_type_size()); i < n; i++) {
3050     const auto& repfield = this->_internal_nested_type(i);
3051     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3052         InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
3053   }
3054 
3055   // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
3056   for (unsigned i = 0,
3057       n = static_cast<unsigned>(this->_internal_enum_type_size()); i < n; i++) {
3058     const auto& repfield = this->_internal_enum_type(i);
3059     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3060         InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream);
3061   }
3062 
3063   // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
3064   for (unsigned i = 0,
3065       n = static_cast<unsigned>(this->_internal_extension_range_size()); i < n; i++) {
3066     const auto& repfield = this->_internal_extension_range(i);
3067     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3068         InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream);
3069   }
3070 
3071   // repeated .google.protobuf.FieldDescriptorProto extension = 6;
3072   for (unsigned i = 0,
3073       n = static_cast<unsigned>(this->_internal_extension_size()); i < n; i++) {
3074     const auto& repfield = this->_internal_extension(i);
3075     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3076         InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream);
3077   }
3078 
3079   // optional .google.protobuf.MessageOptions options = 7;
3080   if (cached_has_bits & 0x00000002u) {
3081     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3082       InternalWriteMessage(7, _Internal::options(this),
3083         _Internal::options(this).GetCachedSize(), target, stream);
3084   }
3085 
3086   // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
3087   for (unsigned i = 0,
3088       n = static_cast<unsigned>(this->_internal_oneof_decl_size()); i < n; i++) {
3089     const auto& repfield = this->_internal_oneof_decl(i);
3090     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3091         InternalWriteMessage(8, repfield, repfield.GetCachedSize(), target, stream);
3092   }
3093 
3094   // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
3095   for (unsigned i = 0,
3096       n = static_cast<unsigned>(this->_internal_reserved_range_size()); i < n; i++) {
3097     const auto& repfield = this->_internal_reserved_range(i);
3098     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3099         InternalWriteMessage(9, repfield, repfield.GetCachedSize(), target, stream);
3100   }
3101 
3102   // repeated string reserved_name = 10;
3103   for (int i = 0, n = this->_internal_reserved_name_size(); i < n; i++) {
3104     const auto& s = this->_internal_reserved_name(i);
3105     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3106       s.data(), static_cast<int>(s.length()),
3107       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3108       "google.protobuf.DescriptorProto.reserved_name");
3109     target = stream->WriteString(10, s, target);
3110   }
3111 
3112   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3113     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3114         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
3115   }
3116   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DescriptorProto)
3117   return target;
3118 }
3119 
ByteSizeLong() const3120 size_t DescriptorProto::ByteSizeLong() const {
3121 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto)
3122   size_t total_size = 0;
3123 
3124   uint32_t cached_has_bits = 0;
3125   // Prevent compiler warnings about cached_has_bits being unused
3126   (void) cached_has_bits;
3127 
3128   // repeated .google.protobuf.FieldDescriptorProto field = 2;
3129   total_size += 1UL * this->_internal_field_size();
3130   for (const auto& msg : this->_impl_.field_) {
3131     total_size +=
3132       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3133   }
3134 
3135   // repeated .google.protobuf.DescriptorProto nested_type = 3;
3136   total_size += 1UL * this->_internal_nested_type_size();
3137   for (const auto& msg : this->_impl_.nested_type_) {
3138     total_size +=
3139       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3140   }
3141 
3142   // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
3143   total_size += 1UL * this->_internal_enum_type_size();
3144   for (const auto& msg : this->_impl_.enum_type_) {
3145     total_size +=
3146       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3147   }
3148 
3149   // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
3150   total_size += 1UL * this->_internal_extension_range_size();
3151   for (const auto& msg : this->_impl_.extension_range_) {
3152     total_size +=
3153       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3154   }
3155 
3156   // repeated .google.protobuf.FieldDescriptorProto extension = 6;
3157   total_size += 1UL * this->_internal_extension_size();
3158   for (const auto& msg : this->_impl_.extension_) {
3159     total_size +=
3160       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3161   }
3162 
3163   // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
3164   total_size += 1UL * this->_internal_oneof_decl_size();
3165   for (const auto& msg : this->_impl_.oneof_decl_) {
3166     total_size +=
3167       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3168   }
3169 
3170   // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
3171   total_size += 1UL * this->_internal_reserved_range_size();
3172   for (const auto& msg : this->_impl_.reserved_range_) {
3173     total_size +=
3174       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3175   }
3176 
3177   // repeated string reserved_name = 10;
3178   total_size += 1 *
3179       ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.reserved_name_.size());
3180   for (int i = 0, n = _impl_.reserved_name_.size(); i < n; i++) {
3181     total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3182       _impl_.reserved_name_.Get(i));
3183   }
3184 
3185   cached_has_bits = _impl_._has_bits_[0];
3186   if (cached_has_bits & 0x00000003u) {
3187     // optional string name = 1;
3188     if (cached_has_bits & 0x00000001u) {
3189       total_size += 1 +
3190         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3191           this->_internal_name());
3192     }
3193 
3194     // optional .google.protobuf.MessageOptions options = 7;
3195     if (cached_has_bits & 0x00000002u) {
3196       total_size += 1 +
3197         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3198           *_impl_.options_);
3199     }
3200 
3201   }
3202   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3203 }
3204 
3205 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DescriptorProto::_class_data_ = {
3206     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
3207     DescriptorProto::MergeImpl
3208 };
GetClassData() const3209 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DescriptorProto::GetClassData() const { return &_class_data_; }
3210 
3211 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)3212 void DescriptorProto::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
3213   auto* const _this = static_cast<DescriptorProto*>(&to_msg);
3214   auto& from = static_cast<const DescriptorProto&>(from_msg);
3215   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto)
3216   GOOGLE_DCHECK_NE(&from, _this);
3217   uint32_t cached_has_bits = 0;
3218   (void) cached_has_bits;
3219 
3220   _this->_impl_.field_.MergeFrom(from._impl_.field_);
3221   _this->_impl_.nested_type_.MergeFrom(from._impl_.nested_type_);
3222   _this->_impl_.enum_type_.MergeFrom(from._impl_.enum_type_);
3223   _this->_impl_.extension_range_.MergeFrom(from._impl_.extension_range_);
3224   _this->_impl_.extension_.MergeFrom(from._impl_.extension_);
3225   _this->_impl_.oneof_decl_.MergeFrom(from._impl_.oneof_decl_);
3226   _this->_impl_.reserved_range_.MergeFrom(from._impl_.reserved_range_);
3227   _this->_impl_.reserved_name_.MergeFrom(from._impl_.reserved_name_);
3228   cached_has_bits = from._impl_._has_bits_[0];
3229   if (cached_has_bits & 0x00000003u) {
3230     if (cached_has_bits & 0x00000001u) {
3231       _this->_internal_set_name(from._internal_name());
3232     }
3233     if (cached_has_bits & 0x00000002u) {
3234       _this->_internal_mutable_options()->::PROTOBUF_NAMESPACE_ID::MessageOptions::MergeFrom(
3235           from._internal_options());
3236     }
3237   }
3238   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3239 }
3240 
CopyFrom(const DescriptorProto & from)3241 void DescriptorProto::CopyFrom(const DescriptorProto& from) {
3242 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto)
3243   if (&from == this) return;
3244   Clear();
3245   MergeFrom(from);
3246 }
3247 
IsInitialized() const3248 bool DescriptorProto::IsInitialized() const {
3249   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.field_))
3250     return false;
3251   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.nested_type_))
3252     return false;
3253   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.enum_type_))
3254     return false;
3255   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.extension_range_))
3256     return false;
3257   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.extension_))
3258     return false;
3259   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.oneof_decl_))
3260     return false;
3261   if (_internal_has_options()) {
3262     if (!_impl_.options_->IsInitialized()) return false;
3263   }
3264   return true;
3265 }
3266 
InternalSwap(DescriptorProto * other)3267 void DescriptorProto::InternalSwap(DescriptorProto* other) {
3268   using std::swap;
3269   auto* lhs_arena = GetArenaForAllocation();
3270   auto* rhs_arena = other->GetArenaForAllocation();
3271   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3272   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3273   _impl_.field_.InternalSwap(&other->_impl_.field_);
3274   _impl_.nested_type_.InternalSwap(&other->_impl_.nested_type_);
3275   _impl_.enum_type_.InternalSwap(&other->_impl_.enum_type_);
3276   _impl_.extension_range_.InternalSwap(&other->_impl_.extension_range_);
3277   _impl_.extension_.InternalSwap(&other->_impl_.extension_);
3278   _impl_.oneof_decl_.InternalSwap(&other->_impl_.oneof_decl_);
3279   _impl_.reserved_range_.InternalSwap(&other->_impl_.reserved_range_);
3280   _impl_.reserved_name_.InternalSwap(&other->_impl_.reserved_name_);
3281   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3282       &_impl_.name_, lhs_arena,
3283       &other->_impl_.name_, rhs_arena
3284   );
3285   swap(_impl_.options_, other->_impl_.options_);
3286 }
3287 
GetMetadata() const3288 ::PROTOBUF_NAMESPACE_ID::Metadata DescriptorProto::GetMetadata() const {
3289   return ::_pbi::AssignDescriptors(
3290       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
3291       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[4]);
3292 }
3293 
3294 // ===================================================================
3295 
3296 class ExtensionRangeOptions::_Internal {
3297  public:
3298 };
3299 
ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)3300 ExtensionRangeOptions::ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3301                          bool is_message_owned)
3302   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
3303   SharedCtor(arena, is_message_owned);
3304   // @@protoc_insertion_point(arena_constructor:google.protobuf.ExtensionRangeOptions)
3305 }
ExtensionRangeOptions(const ExtensionRangeOptions & from)3306 ExtensionRangeOptions::ExtensionRangeOptions(const ExtensionRangeOptions& from)
3307   : ::PROTOBUF_NAMESPACE_ID::Message() {
3308   ExtensionRangeOptions* const _this = this; (void)_this;
3309   new (&_impl_) Impl_{
3310       /*decltype(_impl_._extensions_)*/{}
3311     , decltype(_impl_.uninterpreted_option_){from._impl_.uninterpreted_option_}
3312     , /*decltype(_impl_._cached_size_)*/{}};
3313 
3314   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3315   _impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
3316   // @@protoc_insertion_point(copy_constructor:google.protobuf.ExtensionRangeOptions)
3317 }
3318 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)3319 inline void ExtensionRangeOptions::SharedCtor(
3320     ::_pb::Arena* arena, bool is_message_owned) {
3321   (void)arena;
3322   (void)is_message_owned;
3323   new (&_impl_) Impl_{
3324       /*decltype(_impl_._extensions_)*/{::_pbi::ArenaInitialized(), arena}
3325     , decltype(_impl_.uninterpreted_option_){arena}
3326     , /*decltype(_impl_._cached_size_)*/{}
3327   };
3328 }
3329 
~ExtensionRangeOptions()3330 ExtensionRangeOptions::~ExtensionRangeOptions() {
3331   // @@protoc_insertion_point(destructor:google.protobuf.ExtensionRangeOptions)
3332   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
3333   (void)arena;
3334     return;
3335   }
3336   SharedDtor();
3337 }
3338 
SharedDtor()3339 inline void ExtensionRangeOptions::SharedDtor() {
3340   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3341   _impl_._extensions_.~ExtensionSet();
3342   _impl_.uninterpreted_option_.~RepeatedPtrField();
3343 }
3344 
SetCachedSize(int size) const3345 void ExtensionRangeOptions::SetCachedSize(int size) const {
3346   _impl_._cached_size_.Set(size);
3347 }
3348 
Clear()3349 void ExtensionRangeOptions::Clear() {
3350 // @@protoc_insertion_point(message_clear_start:google.protobuf.ExtensionRangeOptions)
3351   uint32_t cached_has_bits = 0;
3352   // Prevent compiler warnings about cached_has_bits being unused
3353   (void) cached_has_bits;
3354 
3355   _impl_._extensions_.Clear();
3356   _impl_.uninterpreted_option_.Clear();
3357   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3358 }
3359 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)3360 const char* ExtensionRangeOptions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3361 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3362   while (!ctx->Done(&ptr)) {
3363     uint32_t tag;
3364     ptr = ::_pbi::ReadTag(ptr, &tag);
3365     switch (tag >> 3) {
3366       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
3367       case 999:
3368         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
3369           ptr -= 2;
3370           do {
3371             ptr += 2;
3372             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
3373             CHK_(ptr);
3374             if (!ctx->DataAvailable(ptr)) break;
3375           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
3376         } else
3377           goto handle_unusual;
3378         continue;
3379       default:
3380         goto handle_unusual;
3381     }  // switch
3382   handle_unusual:
3383     if ((tag == 0) || ((tag & 7) == 4)) {
3384       CHK_(ptr);
3385       ctx->SetLastTag(tag);
3386       goto message_done;
3387     }
3388     if ((8000u <= tag)) {
3389       ptr = _impl_._extensions_.ParseField(tag, ptr, internal_default_instance(), &_internal_metadata_, ctx);
3390       CHK_(ptr != nullptr);
3391       continue;
3392     }
3393     ptr = UnknownFieldParse(
3394         tag,
3395         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
3396         ptr, ctx);
3397     CHK_(ptr != nullptr);
3398   }  // while
3399 message_done:
3400   return ptr;
3401 failure:
3402   ptr = nullptr;
3403   goto message_done;
3404 #undef CHK_
3405 }
3406 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3407 uint8_t* ExtensionRangeOptions::_InternalSerialize(
3408     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3409   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ExtensionRangeOptions)
3410   uint32_t cached_has_bits = 0;
3411   (void) cached_has_bits;
3412 
3413   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
3414   for (unsigned i = 0,
3415       n = static_cast<unsigned>(this->_internal_uninterpreted_option_size()); i < n; i++) {
3416     const auto& repfield = this->_internal_uninterpreted_option(i);
3417     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3418         InternalWriteMessage(999, repfield, repfield.GetCachedSize(), target, stream);
3419   }
3420 
3421   // Extension range [1000, 536870912)
3422   target = _impl_._extensions_._InternalSerialize(
3423   internal_default_instance(), 1000, 536870912, target, stream);
3424 
3425   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3426     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3427         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
3428   }
3429   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ExtensionRangeOptions)
3430   return target;
3431 }
3432 
ByteSizeLong() const3433 size_t ExtensionRangeOptions::ByteSizeLong() const {
3434 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.ExtensionRangeOptions)
3435   size_t total_size = 0;
3436 
3437   total_size += _impl_._extensions_.ByteSize();
3438 
3439   uint32_t cached_has_bits = 0;
3440   // Prevent compiler warnings about cached_has_bits being unused
3441   (void) cached_has_bits;
3442 
3443   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
3444   total_size += 2UL * this->_internal_uninterpreted_option_size();
3445   for (const auto& msg : this->_impl_.uninterpreted_option_) {
3446     total_size +=
3447       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3448   }
3449 
3450   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3451 }
3452 
3453 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ExtensionRangeOptions::_class_data_ = {
3454     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
3455     ExtensionRangeOptions::MergeImpl
3456 };
GetClassData() const3457 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ExtensionRangeOptions::GetClassData() const { return &_class_data_; }
3458 
3459 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)3460 void ExtensionRangeOptions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
3461   auto* const _this = static_cast<ExtensionRangeOptions*>(&to_msg);
3462   auto& from = static_cast<const ExtensionRangeOptions&>(from_msg);
3463   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ExtensionRangeOptions)
3464   GOOGLE_DCHECK_NE(&from, _this);
3465   uint32_t cached_has_bits = 0;
3466   (void) cached_has_bits;
3467 
3468   _this->_impl_.uninterpreted_option_.MergeFrom(from._impl_.uninterpreted_option_);
3469   _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
3470   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3471 }
3472 
CopyFrom(const ExtensionRangeOptions & from)3473 void ExtensionRangeOptions::CopyFrom(const ExtensionRangeOptions& from) {
3474 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ExtensionRangeOptions)
3475   if (&from == this) return;
3476   Clear();
3477   MergeFrom(from);
3478 }
3479 
IsInitialized() const3480 bool ExtensionRangeOptions::IsInitialized() const {
3481   if (!_impl_._extensions_.IsInitialized()) {
3482     return false;
3483   }
3484 
3485   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.uninterpreted_option_))
3486     return false;
3487   return true;
3488 }
3489 
InternalSwap(ExtensionRangeOptions * other)3490 void ExtensionRangeOptions::InternalSwap(ExtensionRangeOptions* other) {
3491   using std::swap;
3492   _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
3493   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3494   _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
3495 }
3496 
GetMetadata() const3497 ::PROTOBUF_NAMESPACE_ID::Metadata ExtensionRangeOptions::GetMetadata() const {
3498   return ::_pbi::AssignDescriptors(
3499       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
3500       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[5]);
3501 }
3502 
3503 // ===================================================================
3504 
3505 class FieldDescriptorProto::_Internal {
3506  public:
3507   using HasBits = decltype(std::declval<FieldDescriptorProto>()._impl_._has_bits_);
set_has_name(HasBits * has_bits)3508   static void set_has_name(HasBits* has_bits) {
3509     (*has_bits)[0] |= 1u;
3510   }
set_has_number(HasBits * has_bits)3511   static void set_has_number(HasBits* has_bits) {
3512     (*has_bits)[0] |= 64u;
3513   }
set_has_label(HasBits * has_bits)3514   static void set_has_label(HasBits* has_bits) {
3515     (*has_bits)[0] |= 512u;
3516   }
set_has_type(HasBits * has_bits)3517   static void set_has_type(HasBits* has_bits) {
3518     (*has_bits)[0] |= 1024u;
3519   }
set_has_type_name(HasBits * has_bits)3520   static void set_has_type_name(HasBits* has_bits) {
3521     (*has_bits)[0] |= 4u;
3522   }
set_has_extendee(HasBits * has_bits)3523   static void set_has_extendee(HasBits* has_bits) {
3524     (*has_bits)[0] |= 2u;
3525   }
set_has_default_value(HasBits * has_bits)3526   static void set_has_default_value(HasBits* has_bits) {
3527     (*has_bits)[0] |= 8u;
3528   }
set_has_oneof_index(HasBits * has_bits)3529   static void set_has_oneof_index(HasBits* has_bits) {
3530     (*has_bits)[0] |= 128u;
3531   }
set_has_json_name(HasBits * has_bits)3532   static void set_has_json_name(HasBits* has_bits) {
3533     (*has_bits)[0] |= 16u;
3534   }
3535   static const ::PROTOBUF_NAMESPACE_ID::FieldOptions& options(const FieldDescriptorProto* msg);
set_has_options(HasBits * has_bits)3536   static void set_has_options(HasBits* has_bits) {
3537     (*has_bits)[0] |= 32u;
3538   }
set_has_proto3_optional(HasBits * has_bits)3539   static void set_has_proto3_optional(HasBits* has_bits) {
3540     (*has_bits)[0] |= 256u;
3541   }
3542 };
3543 
3544 const ::PROTOBUF_NAMESPACE_ID::FieldOptions&
options(const FieldDescriptorProto * msg)3545 FieldDescriptorProto::_Internal::options(const FieldDescriptorProto* msg) {
3546   return *msg->_impl_.options_;
3547 }
FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)3548 FieldDescriptorProto::FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3549                          bool is_message_owned)
3550   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
3551   SharedCtor(arena, is_message_owned);
3552   // @@protoc_insertion_point(arena_constructor:google.protobuf.FieldDescriptorProto)
3553 }
FieldDescriptorProto(const FieldDescriptorProto & from)3554 FieldDescriptorProto::FieldDescriptorProto(const FieldDescriptorProto& from)
3555   : ::PROTOBUF_NAMESPACE_ID::Message() {
3556   FieldDescriptorProto* const _this = this; (void)_this;
3557   new (&_impl_) Impl_{
3558       decltype(_impl_._has_bits_){from._impl_._has_bits_}
3559     , /*decltype(_impl_._cached_size_)*/{}
3560     , decltype(_impl_.name_){}
3561     , decltype(_impl_.extendee_){}
3562     , decltype(_impl_.type_name_){}
3563     , decltype(_impl_.default_value_){}
3564     , decltype(_impl_.json_name_){}
3565     , decltype(_impl_.options_){nullptr}
3566     , decltype(_impl_.number_){}
3567     , decltype(_impl_.oneof_index_){}
3568     , decltype(_impl_.proto3_optional_){}
3569     , decltype(_impl_.label_){}
3570     , decltype(_impl_.type_){}};
3571 
3572   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3573   _impl_.name_.InitDefault();
3574   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3575     _impl_.name_.Set("", GetArenaForAllocation());
3576   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3577   if (from._internal_has_name()) {
3578     _this->_impl_.name_.Set(from._internal_name(),
3579       _this->GetArenaForAllocation());
3580   }
3581   _impl_.extendee_.InitDefault();
3582   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3583     _impl_.extendee_.Set("", GetArenaForAllocation());
3584   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3585   if (from._internal_has_extendee()) {
3586     _this->_impl_.extendee_.Set(from._internal_extendee(),
3587       _this->GetArenaForAllocation());
3588   }
3589   _impl_.type_name_.InitDefault();
3590   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3591     _impl_.type_name_.Set("", GetArenaForAllocation());
3592   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3593   if (from._internal_has_type_name()) {
3594     _this->_impl_.type_name_.Set(from._internal_type_name(),
3595       _this->GetArenaForAllocation());
3596   }
3597   _impl_.default_value_.InitDefault();
3598   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3599     _impl_.default_value_.Set("", GetArenaForAllocation());
3600   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3601   if (from._internal_has_default_value()) {
3602     _this->_impl_.default_value_.Set(from._internal_default_value(),
3603       _this->GetArenaForAllocation());
3604   }
3605   _impl_.json_name_.InitDefault();
3606   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3607     _impl_.json_name_.Set("", GetArenaForAllocation());
3608   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3609   if (from._internal_has_json_name()) {
3610     _this->_impl_.json_name_.Set(from._internal_json_name(),
3611       _this->GetArenaForAllocation());
3612   }
3613   if (from._internal_has_options()) {
3614     _this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::FieldOptions(*from._impl_.options_);
3615   }
3616   ::memcpy(&_impl_.number_, &from._impl_.number_,
3617     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.type_) -
3618     reinterpret_cast<char*>(&_impl_.number_)) + sizeof(_impl_.type_));
3619   // @@protoc_insertion_point(copy_constructor:google.protobuf.FieldDescriptorProto)
3620 }
3621 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)3622 inline void FieldDescriptorProto::SharedCtor(
3623     ::_pb::Arena* arena, bool is_message_owned) {
3624   (void)arena;
3625   (void)is_message_owned;
3626   new (&_impl_) Impl_{
3627       decltype(_impl_._has_bits_){}
3628     , /*decltype(_impl_._cached_size_)*/{}
3629     , decltype(_impl_.name_){}
3630     , decltype(_impl_.extendee_){}
3631     , decltype(_impl_.type_name_){}
3632     , decltype(_impl_.default_value_){}
3633     , decltype(_impl_.json_name_){}
3634     , decltype(_impl_.options_){nullptr}
3635     , decltype(_impl_.number_){0}
3636     , decltype(_impl_.oneof_index_){0}
3637     , decltype(_impl_.proto3_optional_){false}
3638     , decltype(_impl_.label_){1}
3639     , decltype(_impl_.type_){1}
3640   };
3641   _impl_.name_.InitDefault();
3642   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3643     _impl_.name_.Set("", GetArenaForAllocation());
3644   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3645   _impl_.extendee_.InitDefault();
3646   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3647     _impl_.extendee_.Set("", GetArenaForAllocation());
3648   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3649   _impl_.type_name_.InitDefault();
3650   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3651     _impl_.type_name_.Set("", GetArenaForAllocation());
3652   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3653   _impl_.default_value_.InitDefault();
3654   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3655     _impl_.default_value_.Set("", GetArenaForAllocation());
3656   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3657   _impl_.json_name_.InitDefault();
3658   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3659     _impl_.json_name_.Set("", GetArenaForAllocation());
3660   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3661 }
3662 
~FieldDescriptorProto()3663 FieldDescriptorProto::~FieldDescriptorProto() {
3664   // @@protoc_insertion_point(destructor:google.protobuf.FieldDescriptorProto)
3665   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
3666   (void)arena;
3667     return;
3668   }
3669   SharedDtor();
3670 }
3671 
SharedDtor()3672 inline void FieldDescriptorProto::SharedDtor() {
3673   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3674   _impl_.name_.Destroy();
3675   _impl_.extendee_.Destroy();
3676   _impl_.type_name_.Destroy();
3677   _impl_.default_value_.Destroy();
3678   _impl_.json_name_.Destroy();
3679   if (this != internal_default_instance()) delete _impl_.options_;
3680 }
3681 
SetCachedSize(int size) const3682 void FieldDescriptorProto::SetCachedSize(int size) const {
3683   _impl_._cached_size_.Set(size);
3684 }
3685 
Clear()3686 void FieldDescriptorProto::Clear() {
3687 // @@protoc_insertion_point(message_clear_start:google.protobuf.FieldDescriptorProto)
3688   uint32_t cached_has_bits = 0;
3689   // Prevent compiler warnings about cached_has_bits being unused
3690   (void) cached_has_bits;
3691 
3692   cached_has_bits = _impl_._has_bits_[0];
3693   if (cached_has_bits & 0x0000003fu) {
3694     if (cached_has_bits & 0x00000001u) {
3695       _impl_.name_.ClearNonDefaultToEmpty();
3696     }
3697     if (cached_has_bits & 0x00000002u) {
3698       _impl_.extendee_.ClearNonDefaultToEmpty();
3699     }
3700     if (cached_has_bits & 0x00000004u) {
3701       _impl_.type_name_.ClearNonDefaultToEmpty();
3702     }
3703     if (cached_has_bits & 0x00000008u) {
3704       _impl_.default_value_.ClearNonDefaultToEmpty();
3705     }
3706     if (cached_has_bits & 0x00000010u) {
3707       _impl_.json_name_.ClearNonDefaultToEmpty();
3708     }
3709     if (cached_has_bits & 0x00000020u) {
3710       GOOGLE_DCHECK(_impl_.options_ != nullptr);
3711       _impl_.options_->Clear();
3712     }
3713   }
3714   if (cached_has_bits & 0x000000c0u) {
3715     ::memset(&_impl_.number_, 0, static_cast<size_t>(
3716         reinterpret_cast<char*>(&_impl_.oneof_index_) -
3717         reinterpret_cast<char*>(&_impl_.number_)) + sizeof(_impl_.oneof_index_));
3718   }
3719   if (cached_has_bits & 0x00000700u) {
3720     _impl_.proto3_optional_ = false;
3721     _impl_.label_ = 1;
3722     _impl_.type_ = 1;
3723   }
3724   _impl_._has_bits_.Clear();
3725   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3726 }
3727 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)3728 const char* FieldDescriptorProto::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3729 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3730   _Internal::HasBits has_bits{};
3731   while (!ctx->Done(&ptr)) {
3732     uint32_t tag;
3733     ptr = ::_pbi::ReadTag(ptr, &tag);
3734     switch (tag >> 3) {
3735       // optional string name = 1;
3736       case 1:
3737         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
3738           auto str = _internal_mutable_name();
3739           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3740           CHK_(ptr);
3741           #ifndef NDEBUG
3742           ::_pbi::VerifyUTF8(str, "google.protobuf.FieldDescriptorProto.name");
3743           #endif  // !NDEBUG
3744         } else
3745           goto handle_unusual;
3746         continue;
3747       // optional string extendee = 2;
3748       case 2:
3749         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
3750           auto str = _internal_mutable_extendee();
3751           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3752           CHK_(ptr);
3753           #ifndef NDEBUG
3754           ::_pbi::VerifyUTF8(str, "google.protobuf.FieldDescriptorProto.extendee");
3755           #endif  // !NDEBUG
3756         } else
3757           goto handle_unusual;
3758         continue;
3759       // optional int32 number = 3;
3760       case 3:
3761         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
3762           _Internal::set_has_number(&has_bits);
3763           _impl_.number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3764           CHK_(ptr);
3765         } else
3766           goto handle_unusual;
3767         continue;
3768       // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
3769       case 4:
3770         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
3771           uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3772           CHK_(ptr);
3773           if (PROTOBUF_PREDICT_TRUE(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_IsValid(val))) {
3774             _internal_set_label(static_cast<::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label>(val));
3775           } else {
3776             ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields());
3777           }
3778         } else
3779           goto handle_unusual;
3780         continue;
3781       // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
3782       case 5:
3783         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
3784           uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3785           CHK_(ptr);
3786           if (PROTOBUF_PREDICT_TRUE(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_IsValid(val))) {
3787             _internal_set_type(static_cast<::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type>(val));
3788           } else {
3789             ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(5, val, mutable_unknown_fields());
3790           }
3791         } else
3792           goto handle_unusual;
3793         continue;
3794       // optional string type_name = 6;
3795       case 6:
3796         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
3797           auto str = _internal_mutable_type_name();
3798           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3799           CHK_(ptr);
3800           #ifndef NDEBUG
3801           ::_pbi::VerifyUTF8(str, "google.protobuf.FieldDescriptorProto.type_name");
3802           #endif  // !NDEBUG
3803         } else
3804           goto handle_unusual;
3805         continue;
3806       // optional string default_value = 7;
3807       case 7:
3808         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
3809           auto str = _internal_mutable_default_value();
3810           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3811           CHK_(ptr);
3812           #ifndef NDEBUG
3813           ::_pbi::VerifyUTF8(str, "google.protobuf.FieldDescriptorProto.default_value");
3814           #endif  // !NDEBUG
3815         } else
3816           goto handle_unusual;
3817         continue;
3818       // optional .google.protobuf.FieldOptions options = 8;
3819       case 8:
3820         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
3821           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
3822           CHK_(ptr);
3823         } else
3824           goto handle_unusual;
3825         continue;
3826       // optional int32 oneof_index = 9;
3827       case 9:
3828         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
3829           _Internal::set_has_oneof_index(&has_bits);
3830           _impl_.oneof_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3831           CHK_(ptr);
3832         } else
3833           goto handle_unusual;
3834         continue;
3835       // optional string json_name = 10;
3836       case 10:
3837         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
3838           auto str = _internal_mutable_json_name();
3839           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3840           CHK_(ptr);
3841           #ifndef NDEBUG
3842           ::_pbi::VerifyUTF8(str, "google.protobuf.FieldDescriptorProto.json_name");
3843           #endif  // !NDEBUG
3844         } else
3845           goto handle_unusual;
3846         continue;
3847       // optional bool proto3_optional = 17;
3848       case 17:
3849         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 136)) {
3850           _Internal::set_has_proto3_optional(&has_bits);
3851           _impl_.proto3_optional_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3852           CHK_(ptr);
3853         } else
3854           goto handle_unusual;
3855         continue;
3856       default:
3857         goto handle_unusual;
3858     }  // switch
3859   handle_unusual:
3860     if ((tag == 0) || ((tag & 7) == 4)) {
3861       CHK_(ptr);
3862       ctx->SetLastTag(tag);
3863       goto message_done;
3864     }
3865     ptr = UnknownFieldParse(
3866         tag,
3867         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
3868         ptr, ctx);
3869     CHK_(ptr != nullptr);
3870   }  // while
3871 message_done:
3872   _impl_._has_bits_.Or(has_bits);
3873   return ptr;
3874 failure:
3875   ptr = nullptr;
3876   goto message_done;
3877 #undef CHK_
3878 }
3879 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3880 uint8_t* FieldDescriptorProto::_InternalSerialize(
3881     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3882   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldDescriptorProto)
3883   uint32_t cached_has_bits = 0;
3884   (void) cached_has_bits;
3885 
3886   cached_has_bits = _impl_._has_bits_[0];
3887   // optional string name = 1;
3888   if (cached_has_bits & 0x00000001u) {
3889     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3890       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
3891       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3892       "google.protobuf.FieldDescriptorProto.name");
3893     target = stream->WriteStringMaybeAliased(
3894         1, this->_internal_name(), target);
3895   }
3896 
3897   // optional string extendee = 2;
3898   if (cached_has_bits & 0x00000002u) {
3899     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3900       this->_internal_extendee().data(), static_cast<int>(this->_internal_extendee().length()),
3901       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3902       "google.protobuf.FieldDescriptorProto.extendee");
3903     target = stream->WriteStringMaybeAliased(
3904         2, this->_internal_extendee(), target);
3905   }
3906 
3907   // optional int32 number = 3;
3908   if (cached_has_bits & 0x00000040u) {
3909     target = stream->EnsureSpace(target);
3910     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_number(), target);
3911   }
3912 
3913   // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
3914   if (cached_has_bits & 0x00000200u) {
3915     target = stream->EnsureSpace(target);
3916     target = ::_pbi::WireFormatLite::WriteEnumToArray(
3917       4, this->_internal_label(), target);
3918   }
3919 
3920   // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
3921   if (cached_has_bits & 0x00000400u) {
3922     target = stream->EnsureSpace(target);
3923     target = ::_pbi::WireFormatLite::WriteEnumToArray(
3924       5, this->_internal_type(), target);
3925   }
3926 
3927   // optional string type_name = 6;
3928   if (cached_has_bits & 0x00000004u) {
3929     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3930       this->_internal_type_name().data(), static_cast<int>(this->_internal_type_name().length()),
3931       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3932       "google.protobuf.FieldDescriptorProto.type_name");
3933     target = stream->WriteStringMaybeAliased(
3934         6, this->_internal_type_name(), target);
3935   }
3936 
3937   // optional string default_value = 7;
3938   if (cached_has_bits & 0x00000008u) {
3939     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3940       this->_internal_default_value().data(), static_cast<int>(this->_internal_default_value().length()),
3941       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3942       "google.protobuf.FieldDescriptorProto.default_value");
3943     target = stream->WriteStringMaybeAliased(
3944         7, this->_internal_default_value(), target);
3945   }
3946 
3947   // optional .google.protobuf.FieldOptions options = 8;
3948   if (cached_has_bits & 0x00000020u) {
3949     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3950       InternalWriteMessage(8, _Internal::options(this),
3951         _Internal::options(this).GetCachedSize(), target, stream);
3952   }
3953 
3954   // optional int32 oneof_index = 9;
3955   if (cached_has_bits & 0x00000080u) {
3956     target = stream->EnsureSpace(target);
3957     target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_oneof_index(), target);
3958   }
3959 
3960   // optional string json_name = 10;
3961   if (cached_has_bits & 0x00000010u) {
3962     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3963       this->_internal_json_name().data(), static_cast<int>(this->_internal_json_name().length()),
3964       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3965       "google.protobuf.FieldDescriptorProto.json_name");
3966     target = stream->WriteStringMaybeAliased(
3967         10, this->_internal_json_name(), target);
3968   }
3969 
3970   // optional bool proto3_optional = 17;
3971   if (cached_has_bits & 0x00000100u) {
3972     target = stream->EnsureSpace(target);
3973     target = ::_pbi::WireFormatLite::WriteBoolToArray(17, this->_internal_proto3_optional(), target);
3974   }
3975 
3976   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3977     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3978         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
3979   }
3980   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FieldDescriptorProto)
3981   return target;
3982 }
3983 
ByteSizeLong() const3984 size_t FieldDescriptorProto::ByteSizeLong() const {
3985 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldDescriptorProto)
3986   size_t total_size = 0;
3987 
3988   uint32_t cached_has_bits = 0;
3989   // Prevent compiler warnings about cached_has_bits being unused
3990   (void) cached_has_bits;
3991 
3992   cached_has_bits = _impl_._has_bits_[0];
3993   if (cached_has_bits & 0x000000ffu) {
3994     // optional string name = 1;
3995     if (cached_has_bits & 0x00000001u) {
3996       total_size += 1 +
3997         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3998           this->_internal_name());
3999     }
4000 
4001     // optional string extendee = 2;
4002     if (cached_has_bits & 0x00000002u) {
4003       total_size += 1 +
4004         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4005           this->_internal_extendee());
4006     }
4007 
4008     // optional string type_name = 6;
4009     if (cached_has_bits & 0x00000004u) {
4010       total_size += 1 +
4011         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4012           this->_internal_type_name());
4013     }
4014 
4015     // optional string default_value = 7;
4016     if (cached_has_bits & 0x00000008u) {
4017       total_size += 1 +
4018         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4019           this->_internal_default_value());
4020     }
4021 
4022     // optional string json_name = 10;
4023     if (cached_has_bits & 0x00000010u) {
4024       total_size += 1 +
4025         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4026           this->_internal_json_name());
4027     }
4028 
4029     // optional .google.protobuf.FieldOptions options = 8;
4030     if (cached_has_bits & 0x00000020u) {
4031       total_size += 1 +
4032         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
4033           *_impl_.options_);
4034     }
4035 
4036     // optional int32 number = 3;
4037     if (cached_has_bits & 0x00000040u) {
4038       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_number());
4039     }
4040 
4041     // optional int32 oneof_index = 9;
4042     if (cached_has_bits & 0x00000080u) {
4043       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_oneof_index());
4044     }
4045 
4046   }
4047   if (cached_has_bits & 0x00000700u) {
4048     // optional bool proto3_optional = 17;
4049     if (cached_has_bits & 0x00000100u) {
4050       total_size += 2 + 1;
4051     }
4052 
4053     // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
4054     if (cached_has_bits & 0x00000200u) {
4055       total_size += 1 +
4056         ::_pbi::WireFormatLite::EnumSize(this->_internal_label());
4057     }
4058 
4059     // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
4060     if (cached_has_bits & 0x00000400u) {
4061       total_size += 1 +
4062         ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
4063     }
4064 
4065   }
4066   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4067 }
4068 
4069 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FieldDescriptorProto::_class_data_ = {
4070     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
4071     FieldDescriptorProto::MergeImpl
4072 };
GetClassData() const4073 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FieldDescriptorProto::GetClassData() const { return &_class_data_; }
4074 
4075 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)4076 void FieldDescriptorProto::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
4077   auto* const _this = static_cast<FieldDescriptorProto*>(&to_msg);
4078   auto& from = static_cast<const FieldDescriptorProto&>(from_msg);
4079   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldDescriptorProto)
4080   GOOGLE_DCHECK_NE(&from, _this);
4081   uint32_t cached_has_bits = 0;
4082   (void) cached_has_bits;
4083 
4084   cached_has_bits = from._impl_._has_bits_[0];
4085   if (cached_has_bits & 0x000000ffu) {
4086     if (cached_has_bits & 0x00000001u) {
4087       _this->_internal_set_name(from._internal_name());
4088     }
4089     if (cached_has_bits & 0x00000002u) {
4090       _this->_internal_set_extendee(from._internal_extendee());
4091     }
4092     if (cached_has_bits & 0x00000004u) {
4093       _this->_internal_set_type_name(from._internal_type_name());
4094     }
4095     if (cached_has_bits & 0x00000008u) {
4096       _this->_internal_set_default_value(from._internal_default_value());
4097     }
4098     if (cached_has_bits & 0x00000010u) {
4099       _this->_internal_set_json_name(from._internal_json_name());
4100     }
4101     if (cached_has_bits & 0x00000020u) {
4102       _this->_internal_mutable_options()->::PROTOBUF_NAMESPACE_ID::FieldOptions::MergeFrom(
4103           from._internal_options());
4104     }
4105     if (cached_has_bits & 0x00000040u) {
4106       _this->_impl_.number_ = from._impl_.number_;
4107     }
4108     if (cached_has_bits & 0x00000080u) {
4109       _this->_impl_.oneof_index_ = from._impl_.oneof_index_;
4110     }
4111     _this->_impl_._has_bits_[0] |= cached_has_bits;
4112   }
4113   if (cached_has_bits & 0x00000700u) {
4114     if (cached_has_bits & 0x00000100u) {
4115       _this->_impl_.proto3_optional_ = from._impl_.proto3_optional_;
4116     }
4117     if (cached_has_bits & 0x00000200u) {
4118       _this->_impl_.label_ = from._impl_.label_;
4119     }
4120     if (cached_has_bits & 0x00000400u) {
4121       _this->_impl_.type_ = from._impl_.type_;
4122     }
4123     _this->_impl_._has_bits_[0] |= cached_has_bits;
4124   }
4125   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4126 }
4127 
CopyFrom(const FieldDescriptorProto & from)4128 void FieldDescriptorProto::CopyFrom(const FieldDescriptorProto& from) {
4129 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FieldDescriptorProto)
4130   if (&from == this) return;
4131   Clear();
4132   MergeFrom(from);
4133 }
4134 
IsInitialized() const4135 bool FieldDescriptorProto::IsInitialized() const {
4136   if (_internal_has_options()) {
4137     if (!_impl_.options_->IsInitialized()) return false;
4138   }
4139   return true;
4140 }
4141 
InternalSwap(FieldDescriptorProto * other)4142 void FieldDescriptorProto::InternalSwap(FieldDescriptorProto* other) {
4143   using std::swap;
4144   auto* lhs_arena = GetArenaForAllocation();
4145   auto* rhs_arena = other->GetArenaForAllocation();
4146   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4147   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4148   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4149       &_impl_.name_, lhs_arena,
4150       &other->_impl_.name_, rhs_arena
4151   );
4152   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4153       &_impl_.extendee_, lhs_arena,
4154       &other->_impl_.extendee_, rhs_arena
4155   );
4156   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4157       &_impl_.type_name_, lhs_arena,
4158       &other->_impl_.type_name_, rhs_arena
4159   );
4160   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4161       &_impl_.default_value_, lhs_arena,
4162       &other->_impl_.default_value_, rhs_arena
4163   );
4164   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4165       &_impl_.json_name_, lhs_arena,
4166       &other->_impl_.json_name_, rhs_arena
4167   );
4168   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
4169       PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.proto3_optional_)
4170       + sizeof(FieldDescriptorProto::_impl_.proto3_optional_)
4171       - PROTOBUF_FIELD_OFFSET(FieldDescriptorProto, _impl_.options_)>(
4172           reinterpret_cast<char*>(&_impl_.options_),
4173           reinterpret_cast<char*>(&other->_impl_.options_));
4174   swap(_impl_.label_, other->_impl_.label_);
4175   swap(_impl_.type_, other->_impl_.type_);
4176 }
4177 
GetMetadata() const4178 ::PROTOBUF_NAMESPACE_ID::Metadata FieldDescriptorProto::GetMetadata() const {
4179   return ::_pbi::AssignDescriptors(
4180       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
4181       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[6]);
4182 }
4183 
4184 // ===================================================================
4185 
4186 class OneofDescriptorProto::_Internal {
4187  public:
4188   using HasBits = decltype(std::declval<OneofDescriptorProto>()._impl_._has_bits_);
set_has_name(HasBits * has_bits)4189   static void set_has_name(HasBits* has_bits) {
4190     (*has_bits)[0] |= 1u;
4191   }
4192   static const ::PROTOBUF_NAMESPACE_ID::OneofOptions& options(const OneofDescriptorProto* msg);
set_has_options(HasBits * has_bits)4193   static void set_has_options(HasBits* has_bits) {
4194     (*has_bits)[0] |= 2u;
4195   }
4196 };
4197 
4198 const ::PROTOBUF_NAMESPACE_ID::OneofOptions&
options(const OneofDescriptorProto * msg)4199 OneofDescriptorProto::_Internal::options(const OneofDescriptorProto* msg) {
4200   return *msg->_impl_.options_;
4201 }
OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)4202 OneofDescriptorProto::OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4203                          bool is_message_owned)
4204   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
4205   SharedCtor(arena, is_message_owned);
4206   // @@protoc_insertion_point(arena_constructor:google.protobuf.OneofDescriptorProto)
4207 }
OneofDescriptorProto(const OneofDescriptorProto & from)4208 OneofDescriptorProto::OneofDescriptorProto(const OneofDescriptorProto& from)
4209   : ::PROTOBUF_NAMESPACE_ID::Message() {
4210   OneofDescriptorProto* const _this = this; (void)_this;
4211   new (&_impl_) Impl_{
4212       decltype(_impl_._has_bits_){from._impl_._has_bits_}
4213     , /*decltype(_impl_._cached_size_)*/{}
4214     , decltype(_impl_.name_){}
4215     , decltype(_impl_.options_){nullptr}};
4216 
4217   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4218   _impl_.name_.InitDefault();
4219   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4220     _impl_.name_.Set("", GetArenaForAllocation());
4221   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4222   if (from._internal_has_name()) {
4223     _this->_impl_.name_.Set(from._internal_name(),
4224       _this->GetArenaForAllocation());
4225   }
4226   if (from._internal_has_options()) {
4227     _this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::OneofOptions(*from._impl_.options_);
4228   }
4229   // @@protoc_insertion_point(copy_constructor:google.protobuf.OneofDescriptorProto)
4230 }
4231 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)4232 inline void OneofDescriptorProto::SharedCtor(
4233     ::_pb::Arena* arena, bool is_message_owned) {
4234   (void)arena;
4235   (void)is_message_owned;
4236   new (&_impl_) Impl_{
4237       decltype(_impl_._has_bits_){}
4238     , /*decltype(_impl_._cached_size_)*/{}
4239     , decltype(_impl_.name_){}
4240     , decltype(_impl_.options_){nullptr}
4241   };
4242   _impl_.name_.InitDefault();
4243   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4244     _impl_.name_.Set("", GetArenaForAllocation());
4245   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4246 }
4247 
~OneofDescriptorProto()4248 OneofDescriptorProto::~OneofDescriptorProto() {
4249   // @@protoc_insertion_point(destructor:google.protobuf.OneofDescriptorProto)
4250   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
4251   (void)arena;
4252     return;
4253   }
4254   SharedDtor();
4255 }
4256 
SharedDtor()4257 inline void OneofDescriptorProto::SharedDtor() {
4258   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4259   _impl_.name_.Destroy();
4260   if (this != internal_default_instance()) delete _impl_.options_;
4261 }
4262 
SetCachedSize(int size) const4263 void OneofDescriptorProto::SetCachedSize(int size) const {
4264   _impl_._cached_size_.Set(size);
4265 }
4266 
Clear()4267 void OneofDescriptorProto::Clear() {
4268 // @@protoc_insertion_point(message_clear_start:google.protobuf.OneofDescriptorProto)
4269   uint32_t cached_has_bits = 0;
4270   // Prevent compiler warnings about cached_has_bits being unused
4271   (void) cached_has_bits;
4272 
4273   cached_has_bits = _impl_._has_bits_[0];
4274   if (cached_has_bits & 0x00000003u) {
4275     if (cached_has_bits & 0x00000001u) {
4276       _impl_.name_.ClearNonDefaultToEmpty();
4277     }
4278     if (cached_has_bits & 0x00000002u) {
4279       GOOGLE_DCHECK(_impl_.options_ != nullptr);
4280       _impl_.options_->Clear();
4281     }
4282   }
4283   _impl_._has_bits_.Clear();
4284   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4285 }
4286 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)4287 const char* OneofDescriptorProto::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4288 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4289   _Internal::HasBits has_bits{};
4290   while (!ctx->Done(&ptr)) {
4291     uint32_t tag;
4292     ptr = ::_pbi::ReadTag(ptr, &tag);
4293     switch (tag >> 3) {
4294       // optional string name = 1;
4295       case 1:
4296         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
4297           auto str = _internal_mutable_name();
4298           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4299           CHK_(ptr);
4300           #ifndef NDEBUG
4301           ::_pbi::VerifyUTF8(str, "google.protobuf.OneofDescriptorProto.name");
4302           #endif  // !NDEBUG
4303         } else
4304           goto handle_unusual;
4305         continue;
4306       // optional .google.protobuf.OneofOptions options = 2;
4307       case 2:
4308         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
4309           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
4310           CHK_(ptr);
4311         } else
4312           goto handle_unusual;
4313         continue;
4314       default:
4315         goto handle_unusual;
4316     }  // switch
4317   handle_unusual:
4318     if ((tag == 0) || ((tag & 7) == 4)) {
4319       CHK_(ptr);
4320       ctx->SetLastTag(tag);
4321       goto message_done;
4322     }
4323     ptr = UnknownFieldParse(
4324         tag,
4325         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
4326         ptr, ctx);
4327     CHK_(ptr != nullptr);
4328   }  // while
4329 message_done:
4330   _impl_._has_bits_.Or(has_bits);
4331   return ptr;
4332 failure:
4333   ptr = nullptr;
4334   goto message_done;
4335 #undef CHK_
4336 }
4337 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4338 uint8_t* OneofDescriptorProto::_InternalSerialize(
4339     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4340   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.OneofDescriptorProto)
4341   uint32_t cached_has_bits = 0;
4342   (void) cached_has_bits;
4343 
4344   cached_has_bits = _impl_._has_bits_[0];
4345   // optional string name = 1;
4346   if (cached_has_bits & 0x00000001u) {
4347     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4348       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
4349       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4350       "google.protobuf.OneofDescriptorProto.name");
4351     target = stream->WriteStringMaybeAliased(
4352         1, this->_internal_name(), target);
4353   }
4354 
4355   // optional .google.protobuf.OneofOptions options = 2;
4356   if (cached_has_bits & 0x00000002u) {
4357     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
4358       InternalWriteMessage(2, _Internal::options(this),
4359         _Internal::options(this).GetCachedSize(), target, stream);
4360   }
4361 
4362   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4363     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4364         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
4365   }
4366   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.OneofDescriptorProto)
4367   return target;
4368 }
4369 
ByteSizeLong() const4370 size_t OneofDescriptorProto::ByteSizeLong() const {
4371 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.OneofDescriptorProto)
4372   size_t total_size = 0;
4373 
4374   uint32_t cached_has_bits = 0;
4375   // Prevent compiler warnings about cached_has_bits being unused
4376   (void) cached_has_bits;
4377 
4378   cached_has_bits = _impl_._has_bits_[0];
4379   if (cached_has_bits & 0x00000003u) {
4380     // optional string name = 1;
4381     if (cached_has_bits & 0x00000001u) {
4382       total_size += 1 +
4383         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4384           this->_internal_name());
4385     }
4386 
4387     // optional .google.protobuf.OneofOptions options = 2;
4388     if (cached_has_bits & 0x00000002u) {
4389       total_size += 1 +
4390         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
4391           *_impl_.options_);
4392     }
4393 
4394   }
4395   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4396 }
4397 
4398 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData OneofDescriptorProto::_class_data_ = {
4399     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
4400     OneofDescriptorProto::MergeImpl
4401 };
GetClassData() const4402 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OneofDescriptorProto::GetClassData() const { return &_class_data_; }
4403 
4404 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)4405 void OneofDescriptorProto::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
4406   auto* const _this = static_cast<OneofDescriptorProto*>(&to_msg);
4407   auto& from = static_cast<const OneofDescriptorProto&>(from_msg);
4408   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.OneofDescriptorProto)
4409   GOOGLE_DCHECK_NE(&from, _this);
4410   uint32_t cached_has_bits = 0;
4411   (void) cached_has_bits;
4412 
4413   cached_has_bits = from._impl_._has_bits_[0];
4414   if (cached_has_bits & 0x00000003u) {
4415     if (cached_has_bits & 0x00000001u) {
4416       _this->_internal_set_name(from._internal_name());
4417     }
4418     if (cached_has_bits & 0x00000002u) {
4419       _this->_internal_mutable_options()->::PROTOBUF_NAMESPACE_ID::OneofOptions::MergeFrom(
4420           from._internal_options());
4421     }
4422   }
4423   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4424 }
4425 
CopyFrom(const OneofDescriptorProto & from)4426 void OneofDescriptorProto::CopyFrom(const OneofDescriptorProto& from) {
4427 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.OneofDescriptorProto)
4428   if (&from == this) return;
4429   Clear();
4430   MergeFrom(from);
4431 }
4432 
IsInitialized() const4433 bool OneofDescriptorProto::IsInitialized() const {
4434   if (_internal_has_options()) {
4435     if (!_impl_.options_->IsInitialized()) return false;
4436   }
4437   return true;
4438 }
4439 
InternalSwap(OneofDescriptorProto * other)4440 void OneofDescriptorProto::InternalSwap(OneofDescriptorProto* other) {
4441   using std::swap;
4442   auto* lhs_arena = GetArenaForAllocation();
4443   auto* rhs_arena = other->GetArenaForAllocation();
4444   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4445   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4446   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4447       &_impl_.name_, lhs_arena,
4448       &other->_impl_.name_, rhs_arena
4449   );
4450   swap(_impl_.options_, other->_impl_.options_);
4451 }
4452 
GetMetadata() const4453 ::PROTOBUF_NAMESPACE_ID::Metadata OneofDescriptorProto::GetMetadata() const {
4454   return ::_pbi::AssignDescriptors(
4455       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
4456       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[7]);
4457 }
4458 
4459 // ===================================================================
4460 
4461 class EnumDescriptorProto_EnumReservedRange::_Internal {
4462  public:
4463   using HasBits = decltype(std::declval<EnumDescriptorProto_EnumReservedRange>()._impl_._has_bits_);
set_has_start(HasBits * has_bits)4464   static void set_has_start(HasBits* has_bits) {
4465     (*has_bits)[0] |= 1u;
4466   }
set_has_end(HasBits * has_bits)4467   static void set_has_end(HasBits* has_bits) {
4468     (*has_bits)[0] |= 2u;
4469   }
4470 };
4471 
EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)4472 EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4473                          bool is_message_owned)
4474   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
4475   SharedCtor(arena, is_message_owned);
4476   // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4477 }
EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange & from)4478 EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from)
4479   : ::PROTOBUF_NAMESPACE_ID::Message() {
4480   EnumDescriptorProto_EnumReservedRange* const _this = this; (void)_this;
4481   new (&_impl_) Impl_{
4482       decltype(_impl_._has_bits_){from._impl_._has_bits_}
4483     , /*decltype(_impl_._cached_size_)*/{}
4484     , decltype(_impl_.start_){}
4485     , decltype(_impl_.end_){}};
4486 
4487   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4488   ::memcpy(&_impl_.start_, &from._impl_.start_,
4489     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.end_) -
4490     reinterpret_cast<char*>(&_impl_.start_)) + sizeof(_impl_.end_));
4491   // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4492 }
4493 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)4494 inline void EnumDescriptorProto_EnumReservedRange::SharedCtor(
4495     ::_pb::Arena* arena, bool is_message_owned) {
4496   (void)arena;
4497   (void)is_message_owned;
4498   new (&_impl_) Impl_{
4499       decltype(_impl_._has_bits_){}
4500     , /*decltype(_impl_._cached_size_)*/{}
4501     , decltype(_impl_.start_){0}
4502     , decltype(_impl_.end_){0}
4503   };
4504 }
4505 
~EnumDescriptorProto_EnumReservedRange()4506 EnumDescriptorProto_EnumReservedRange::~EnumDescriptorProto_EnumReservedRange() {
4507   // @@protoc_insertion_point(destructor:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4508   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
4509   (void)arena;
4510     return;
4511   }
4512   SharedDtor();
4513 }
4514 
SharedDtor()4515 inline void EnumDescriptorProto_EnumReservedRange::SharedDtor() {
4516   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4517 }
4518 
SetCachedSize(int size) const4519 void EnumDescriptorProto_EnumReservedRange::SetCachedSize(int size) const {
4520   _impl_._cached_size_.Set(size);
4521 }
4522 
Clear()4523 void EnumDescriptorProto_EnumReservedRange::Clear() {
4524 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4525   uint32_t cached_has_bits = 0;
4526   // Prevent compiler warnings about cached_has_bits being unused
4527   (void) cached_has_bits;
4528 
4529   cached_has_bits = _impl_._has_bits_[0];
4530   if (cached_has_bits & 0x00000003u) {
4531     ::memset(&_impl_.start_, 0, static_cast<size_t>(
4532         reinterpret_cast<char*>(&_impl_.end_) -
4533         reinterpret_cast<char*>(&_impl_.start_)) + sizeof(_impl_.end_));
4534   }
4535   _impl_._has_bits_.Clear();
4536   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4537 }
4538 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)4539 const char* EnumDescriptorProto_EnumReservedRange::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4540 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4541   _Internal::HasBits has_bits{};
4542   while (!ctx->Done(&ptr)) {
4543     uint32_t tag;
4544     ptr = ::_pbi::ReadTag(ptr, &tag);
4545     switch (tag >> 3) {
4546       // optional int32 start = 1;
4547       case 1:
4548         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
4549           _Internal::set_has_start(&has_bits);
4550           _impl_.start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4551           CHK_(ptr);
4552         } else
4553           goto handle_unusual;
4554         continue;
4555       // optional int32 end = 2;
4556       case 2:
4557         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
4558           _Internal::set_has_end(&has_bits);
4559           _impl_.end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4560           CHK_(ptr);
4561         } else
4562           goto handle_unusual;
4563         continue;
4564       default:
4565         goto handle_unusual;
4566     }  // switch
4567   handle_unusual:
4568     if ((tag == 0) || ((tag & 7) == 4)) {
4569       CHK_(ptr);
4570       ctx->SetLastTag(tag);
4571       goto message_done;
4572     }
4573     ptr = UnknownFieldParse(
4574         tag,
4575         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
4576         ptr, ctx);
4577     CHK_(ptr != nullptr);
4578   }  // while
4579 message_done:
4580   _impl_._has_bits_.Or(has_bits);
4581   return ptr;
4582 failure:
4583   ptr = nullptr;
4584   goto message_done;
4585 #undef CHK_
4586 }
4587 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4588 uint8_t* EnumDescriptorProto_EnumReservedRange::_InternalSerialize(
4589     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4590   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4591   uint32_t cached_has_bits = 0;
4592   (void) cached_has_bits;
4593 
4594   cached_has_bits = _impl_._has_bits_[0];
4595   // optional int32 start = 1;
4596   if (cached_has_bits & 0x00000001u) {
4597     target = stream->EnsureSpace(target);
4598     target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_start(), target);
4599   }
4600 
4601   // optional int32 end = 2;
4602   if (cached_has_bits & 0x00000002u) {
4603     target = stream->EnsureSpace(target);
4604     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_end(), target);
4605   }
4606 
4607   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4608     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4609         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
4610   }
4611   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4612   return target;
4613 }
4614 
ByteSizeLong() const4615 size_t EnumDescriptorProto_EnumReservedRange::ByteSizeLong() const {
4616 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4617   size_t total_size = 0;
4618 
4619   uint32_t cached_has_bits = 0;
4620   // Prevent compiler warnings about cached_has_bits being unused
4621   (void) cached_has_bits;
4622 
4623   cached_has_bits = _impl_._has_bits_[0];
4624   if (cached_has_bits & 0x00000003u) {
4625     // optional int32 start = 1;
4626     if (cached_has_bits & 0x00000001u) {
4627       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_start());
4628     }
4629 
4630     // optional int32 end = 2;
4631     if (cached_has_bits & 0x00000002u) {
4632       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_end());
4633     }
4634 
4635   }
4636   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4637 }
4638 
4639 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EnumDescriptorProto_EnumReservedRange::_class_data_ = {
4640     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
4641     EnumDescriptorProto_EnumReservedRange::MergeImpl
4642 };
GetClassData() const4643 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EnumDescriptorProto_EnumReservedRange::GetClassData() const { return &_class_data_; }
4644 
4645 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)4646 void EnumDescriptorProto_EnumReservedRange::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
4647   auto* const _this = static_cast<EnumDescriptorProto_EnumReservedRange*>(&to_msg);
4648   auto& from = static_cast<const EnumDescriptorProto_EnumReservedRange&>(from_msg);
4649   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4650   GOOGLE_DCHECK_NE(&from, _this);
4651   uint32_t cached_has_bits = 0;
4652   (void) cached_has_bits;
4653 
4654   cached_has_bits = from._impl_._has_bits_[0];
4655   if (cached_has_bits & 0x00000003u) {
4656     if (cached_has_bits & 0x00000001u) {
4657       _this->_impl_.start_ = from._impl_.start_;
4658     }
4659     if (cached_has_bits & 0x00000002u) {
4660       _this->_impl_.end_ = from._impl_.end_;
4661     }
4662     _this->_impl_._has_bits_[0] |= cached_has_bits;
4663   }
4664   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4665 }
4666 
CopyFrom(const EnumDescriptorProto_EnumReservedRange & from)4667 void EnumDescriptorProto_EnumReservedRange::CopyFrom(const EnumDescriptorProto_EnumReservedRange& from) {
4668 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumDescriptorProto.EnumReservedRange)
4669   if (&from == this) return;
4670   Clear();
4671   MergeFrom(from);
4672 }
4673 
IsInitialized() const4674 bool EnumDescriptorProto_EnumReservedRange::IsInitialized() const {
4675   return true;
4676 }
4677 
InternalSwap(EnumDescriptorProto_EnumReservedRange * other)4678 void EnumDescriptorProto_EnumReservedRange::InternalSwap(EnumDescriptorProto_EnumReservedRange* other) {
4679   using std::swap;
4680   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4681   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4682   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
4683       PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_.end_)
4684       + sizeof(EnumDescriptorProto_EnumReservedRange::_impl_.end_)
4685       - PROTOBUF_FIELD_OFFSET(EnumDescriptorProto_EnumReservedRange, _impl_.start_)>(
4686           reinterpret_cast<char*>(&_impl_.start_),
4687           reinterpret_cast<char*>(&other->_impl_.start_));
4688 }
4689 
GetMetadata() const4690 ::PROTOBUF_NAMESPACE_ID::Metadata EnumDescriptorProto_EnumReservedRange::GetMetadata() const {
4691   return ::_pbi::AssignDescriptors(
4692       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
4693       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[8]);
4694 }
4695 
4696 // ===================================================================
4697 
4698 class EnumDescriptorProto::_Internal {
4699  public:
4700   using HasBits = decltype(std::declval<EnumDescriptorProto>()._impl_._has_bits_);
set_has_name(HasBits * has_bits)4701   static void set_has_name(HasBits* has_bits) {
4702     (*has_bits)[0] |= 1u;
4703   }
4704   static const ::PROTOBUF_NAMESPACE_ID::EnumOptions& options(const EnumDescriptorProto* msg);
set_has_options(HasBits * has_bits)4705   static void set_has_options(HasBits* has_bits) {
4706     (*has_bits)[0] |= 2u;
4707   }
4708 };
4709 
4710 const ::PROTOBUF_NAMESPACE_ID::EnumOptions&
options(const EnumDescriptorProto * msg)4711 EnumDescriptorProto::_Internal::options(const EnumDescriptorProto* msg) {
4712   return *msg->_impl_.options_;
4713 }
EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)4714 EnumDescriptorProto::EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4715                          bool is_message_owned)
4716   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
4717   SharedCtor(arena, is_message_owned);
4718   // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumDescriptorProto)
4719 }
EnumDescriptorProto(const EnumDescriptorProto & from)4720 EnumDescriptorProto::EnumDescriptorProto(const EnumDescriptorProto& from)
4721   : ::PROTOBUF_NAMESPACE_ID::Message() {
4722   EnumDescriptorProto* const _this = this; (void)_this;
4723   new (&_impl_) Impl_{
4724       decltype(_impl_._has_bits_){from._impl_._has_bits_}
4725     , /*decltype(_impl_._cached_size_)*/{}
4726     , decltype(_impl_.value_){from._impl_.value_}
4727     , decltype(_impl_.reserved_range_){from._impl_.reserved_range_}
4728     , decltype(_impl_.reserved_name_){from._impl_.reserved_name_}
4729     , decltype(_impl_.name_){}
4730     , decltype(_impl_.options_){nullptr}};
4731 
4732   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4733   _impl_.name_.InitDefault();
4734   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4735     _impl_.name_.Set("", GetArenaForAllocation());
4736   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4737   if (from._internal_has_name()) {
4738     _this->_impl_.name_.Set(from._internal_name(),
4739       _this->GetArenaForAllocation());
4740   }
4741   if (from._internal_has_options()) {
4742     _this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::EnumOptions(*from._impl_.options_);
4743   }
4744   // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumDescriptorProto)
4745 }
4746 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)4747 inline void EnumDescriptorProto::SharedCtor(
4748     ::_pb::Arena* arena, bool is_message_owned) {
4749   (void)arena;
4750   (void)is_message_owned;
4751   new (&_impl_) Impl_{
4752       decltype(_impl_._has_bits_){}
4753     , /*decltype(_impl_._cached_size_)*/{}
4754     , decltype(_impl_.value_){arena}
4755     , decltype(_impl_.reserved_range_){arena}
4756     , decltype(_impl_.reserved_name_){arena}
4757     , decltype(_impl_.name_){}
4758     , decltype(_impl_.options_){nullptr}
4759   };
4760   _impl_.name_.InitDefault();
4761   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4762     _impl_.name_.Set("", GetArenaForAllocation());
4763   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4764 }
4765 
~EnumDescriptorProto()4766 EnumDescriptorProto::~EnumDescriptorProto() {
4767   // @@protoc_insertion_point(destructor:google.protobuf.EnumDescriptorProto)
4768   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
4769   (void)arena;
4770     return;
4771   }
4772   SharedDtor();
4773 }
4774 
SharedDtor()4775 inline void EnumDescriptorProto::SharedDtor() {
4776   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4777   _impl_.value_.~RepeatedPtrField();
4778   _impl_.reserved_range_.~RepeatedPtrField();
4779   _impl_.reserved_name_.~RepeatedPtrField();
4780   _impl_.name_.Destroy();
4781   if (this != internal_default_instance()) delete _impl_.options_;
4782 }
4783 
SetCachedSize(int size) const4784 void EnumDescriptorProto::SetCachedSize(int size) const {
4785   _impl_._cached_size_.Set(size);
4786 }
4787 
Clear()4788 void EnumDescriptorProto::Clear() {
4789 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumDescriptorProto)
4790   uint32_t cached_has_bits = 0;
4791   // Prevent compiler warnings about cached_has_bits being unused
4792   (void) cached_has_bits;
4793 
4794   _impl_.value_.Clear();
4795   _impl_.reserved_range_.Clear();
4796   _impl_.reserved_name_.Clear();
4797   cached_has_bits = _impl_._has_bits_[0];
4798   if (cached_has_bits & 0x00000003u) {
4799     if (cached_has_bits & 0x00000001u) {
4800       _impl_.name_.ClearNonDefaultToEmpty();
4801     }
4802     if (cached_has_bits & 0x00000002u) {
4803       GOOGLE_DCHECK(_impl_.options_ != nullptr);
4804       _impl_.options_->Clear();
4805     }
4806   }
4807   _impl_._has_bits_.Clear();
4808   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4809 }
4810 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)4811 const char* EnumDescriptorProto::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4812 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4813   _Internal::HasBits has_bits{};
4814   while (!ctx->Done(&ptr)) {
4815     uint32_t tag;
4816     ptr = ::_pbi::ReadTag(ptr, &tag);
4817     switch (tag >> 3) {
4818       // optional string name = 1;
4819       case 1:
4820         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
4821           auto str = _internal_mutable_name();
4822           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4823           CHK_(ptr);
4824           #ifndef NDEBUG
4825           ::_pbi::VerifyUTF8(str, "google.protobuf.EnumDescriptorProto.name");
4826           #endif  // !NDEBUG
4827         } else
4828           goto handle_unusual;
4829         continue;
4830       // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
4831       case 2:
4832         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
4833           ptr -= 1;
4834           do {
4835             ptr += 1;
4836             ptr = ctx->ParseMessage(_internal_add_value(), ptr);
4837             CHK_(ptr);
4838             if (!ctx->DataAvailable(ptr)) break;
4839           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
4840         } else
4841           goto handle_unusual;
4842         continue;
4843       // optional .google.protobuf.EnumOptions options = 3;
4844       case 3:
4845         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
4846           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
4847           CHK_(ptr);
4848         } else
4849           goto handle_unusual;
4850         continue;
4851       // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
4852       case 4:
4853         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
4854           ptr -= 1;
4855           do {
4856             ptr += 1;
4857             ptr = ctx->ParseMessage(_internal_add_reserved_range(), ptr);
4858             CHK_(ptr);
4859             if (!ctx->DataAvailable(ptr)) break;
4860           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr));
4861         } else
4862           goto handle_unusual;
4863         continue;
4864       // repeated string reserved_name = 5;
4865       case 5:
4866         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
4867           ptr -= 1;
4868           do {
4869             ptr += 1;
4870             auto str = _internal_add_reserved_name();
4871             ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4872             CHK_(ptr);
4873             #ifndef NDEBUG
4874             ::_pbi::VerifyUTF8(str, "google.protobuf.EnumDescriptorProto.reserved_name");
4875             #endif  // !NDEBUG
4876             if (!ctx->DataAvailable(ptr)) break;
4877           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr));
4878         } else
4879           goto handle_unusual;
4880         continue;
4881       default:
4882         goto handle_unusual;
4883     }  // switch
4884   handle_unusual:
4885     if ((tag == 0) || ((tag & 7) == 4)) {
4886       CHK_(ptr);
4887       ctx->SetLastTag(tag);
4888       goto message_done;
4889     }
4890     ptr = UnknownFieldParse(
4891         tag,
4892         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
4893         ptr, ctx);
4894     CHK_(ptr != nullptr);
4895   }  // while
4896 message_done:
4897   _impl_._has_bits_.Or(has_bits);
4898   return ptr;
4899 failure:
4900   ptr = nullptr;
4901   goto message_done;
4902 #undef CHK_
4903 }
4904 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4905 uint8_t* EnumDescriptorProto::_InternalSerialize(
4906     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4907   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumDescriptorProto)
4908   uint32_t cached_has_bits = 0;
4909   (void) cached_has_bits;
4910 
4911   cached_has_bits = _impl_._has_bits_[0];
4912   // optional string name = 1;
4913   if (cached_has_bits & 0x00000001u) {
4914     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4915       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
4916       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4917       "google.protobuf.EnumDescriptorProto.name");
4918     target = stream->WriteStringMaybeAliased(
4919         1, this->_internal_name(), target);
4920   }
4921 
4922   // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
4923   for (unsigned i = 0,
4924       n = static_cast<unsigned>(this->_internal_value_size()); i < n; i++) {
4925     const auto& repfield = this->_internal_value(i);
4926     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
4927         InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
4928   }
4929 
4930   // optional .google.protobuf.EnumOptions options = 3;
4931   if (cached_has_bits & 0x00000002u) {
4932     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
4933       InternalWriteMessage(3, _Internal::options(this),
4934         _Internal::options(this).GetCachedSize(), target, stream);
4935   }
4936 
4937   // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
4938   for (unsigned i = 0,
4939       n = static_cast<unsigned>(this->_internal_reserved_range_size()); i < n; i++) {
4940     const auto& repfield = this->_internal_reserved_range(i);
4941     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
4942         InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream);
4943   }
4944 
4945   // repeated string reserved_name = 5;
4946   for (int i = 0, n = this->_internal_reserved_name_size(); i < n; i++) {
4947     const auto& s = this->_internal_reserved_name(i);
4948     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4949       s.data(), static_cast<int>(s.length()),
4950       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4951       "google.protobuf.EnumDescriptorProto.reserved_name");
4952     target = stream->WriteString(5, s, target);
4953   }
4954 
4955   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4956     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4957         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
4958   }
4959   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumDescriptorProto)
4960   return target;
4961 }
4962 
ByteSizeLong() const4963 size_t EnumDescriptorProto::ByteSizeLong() const {
4964 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumDescriptorProto)
4965   size_t total_size = 0;
4966 
4967   uint32_t cached_has_bits = 0;
4968   // Prevent compiler warnings about cached_has_bits being unused
4969   (void) cached_has_bits;
4970 
4971   // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
4972   total_size += 1UL * this->_internal_value_size();
4973   for (const auto& msg : this->_impl_.value_) {
4974     total_size +=
4975       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
4976   }
4977 
4978   // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
4979   total_size += 1UL * this->_internal_reserved_range_size();
4980   for (const auto& msg : this->_impl_.reserved_range_) {
4981     total_size +=
4982       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
4983   }
4984 
4985   // repeated string reserved_name = 5;
4986   total_size += 1 *
4987       ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.reserved_name_.size());
4988   for (int i = 0, n = _impl_.reserved_name_.size(); i < n; i++) {
4989     total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4990       _impl_.reserved_name_.Get(i));
4991   }
4992 
4993   cached_has_bits = _impl_._has_bits_[0];
4994   if (cached_has_bits & 0x00000003u) {
4995     // optional string name = 1;
4996     if (cached_has_bits & 0x00000001u) {
4997       total_size += 1 +
4998         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4999           this->_internal_name());
5000     }
5001 
5002     // optional .google.protobuf.EnumOptions options = 3;
5003     if (cached_has_bits & 0x00000002u) {
5004       total_size += 1 +
5005         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
5006           *_impl_.options_);
5007     }
5008 
5009   }
5010   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5011 }
5012 
5013 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EnumDescriptorProto::_class_data_ = {
5014     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
5015     EnumDescriptorProto::MergeImpl
5016 };
GetClassData() const5017 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EnumDescriptorProto::GetClassData() const { return &_class_data_; }
5018 
5019 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)5020 void EnumDescriptorProto::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
5021   auto* const _this = static_cast<EnumDescriptorProto*>(&to_msg);
5022   auto& from = static_cast<const EnumDescriptorProto&>(from_msg);
5023   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumDescriptorProto)
5024   GOOGLE_DCHECK_NE(&from, _this);
5025   uint32_t cached_has_bits = 0;
5026   (void) cached_has_bits;
5027 
5028   _this->_impl_.value_.MergeFrom(from._impl_.value_);
5029   _this->_impl_.reserved_range_.MergeFrom(from._impl_.reserved_range_);
5030   _this->_impl_.reserved_name_.MergeFrom(from._impl_.reserved_name_);
5031   cached_has_bits = from._impl_._has_bits_[0];
5032   if (cached_has_bits & 0x00000003u) {
5033     if (cached_has_bits & 0x00000001u) {
5034       _this->_internal_set_name(from._internal_name());
5035     }
5036     if (cached_has_bits & 0x00000002u) {
5037       _this->_internal_mutable_options()->::PROTOBUF_NAMESPACE_ID::EnumOptions::MergeFrom(
5038           from._internal_options());
5039     }
5040   }
5041   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5042 }
5043 
CopyFrom(const EnumDescriptorProto & from)5044 void EnumDescriptorProto::CopyFrom(const EnumDescriptorProto& from) {
5045 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumDescriptorProto)
5046   if (&from == this) return;
5047   Clear();
5048   MergeFrom(from);
5049 }
5050 
IsInitialized() const5051 bool EnumDescriptorProto::IsInitialized() const {
5052   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.value_))
5053     return false;
5054   if (_internal_has_options()) {
5055     if (!_impl_.options_->IsInitialized()) return false;
5056   }
5057   return true;
5058 }
5059 
InternalSwap(EnumDescriptorProto * other)5060 void EnumDescriptorProto::InternalSwap(EnumDescriptorProto* other) {
5061   using std::swap;
5062   auto* lhs_arena = GetArenaForAllocation();
5063   auto* rhs_arena = other->GetArenaForAllocation();
5064   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5065   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5066   _impl_.value_.InternalSwap(&other->_impl_.value_);
5067   _impl_.reserved_range_.InternalSwap(&other->_impl_.reserved_range_);
5068   _impl_.reserved_name_.InternalSwap(&other->_impl_.reserved_name_);
5069   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
5070       &_impl_.name_, lhs_arena,
5071       &other->_impl_.name_, rhs_arena
5072   );
5073   swap(_impl_.options_, other->_impl_.options_);
5074 }
5075 
GetMetadata() const5076 ::PROTOBUF_NAMESPACE_ID::Metadata EnumDescriptorProto::GetMetadata() const {
5077   return ::_pbi::AssignDescriptors(
5078       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
5079       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[9]);
5080 }
5081 
5082 // ===================================================================
5083 
5084 class EnumValueDescriptorProto::_Internal {
5085  public:
5086   using HasBits = decltype(std::declval<EnumValueDescriptorProto>()._impl_._has_bits_);
set_has_name(HasBits * has_bits)5087   static void set_has_name(HasBits* has_bits) {
5088     (*has_bits)[0] |= 1u;
5089   }
set_has_number(HasBits * has_bits)5090   static void set_has_number(HasBits* has_bits) {
5091     (*has_bits)[0] |= 4u;
5092   }
5093   static const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& options(const EnumValueDescriptorProto* msg);
set_has_options(HasBits * has_bits)5094   static void set_has_options(HasBits* has_bits) {
5095     (*has_bits)[0] |= 2u;
5096   }
5097 };
5098 
5099 const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions&
options(const EnumValueDescriptorProto * msg)5100 EnumValueDescriptorProto::_Internal::options(const EnumValueDescriptorProto* msg) {
5101   return *msg->_impl_.options_;
5102 }
EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)5103 EnumValueDescriptorProto::EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5104                          bool is_message_owned)
5105   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
5106   SharedCtor(arena, is_message_owned);
5107   // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumValueDescriptorProto)
5108 }
EnumValueDescriptorProto(const EnumValueDescriptorProto & from)5109 EnumValueDescriptorProto::EnumValueDescriptorProto(const EnumValueDescriptorProto& from)
5110   : ::PROTOBUF_NAMESPACE_ID::Message() {
5111   EnumValueDescriptorProto* const _this = this; (void)_this;
5112   new (&_impl_) Impl_{
5113       decltype(_impl_._has_bits_){from._impl_._has_bits_}
5114     , /*decltype(_impl_._cached_size_)*/{}
5115     , decltype(_impl_.name_){}
5116     , decltype(_impl_.options_){nullptr}
5117     , decltype(_impl_.number_){}};
5118 
5119   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5120   _impl_.name_.InitDefault();
5121   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5122     _impl_.name_.Set("", GetArenaForAllocation());
5123   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5124   if (from._internal_has_name()) {
5125     _this->_impl_.name_.Set(from._internal_name(),
5126       _this->GetArenaForAllocation());
5127   }
5128   if (from._internal_has_options()) {
5129     _this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::EnumValueOptions(*from._impl_.options_);
5130   }
5131   _this->_impl_.number_ = from._impl_.number_;
5132   // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumValueDescriptorProto)
5133 }
5134 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)5135 inline void EnumValueDescriptorProto::SharedCtor(
5136     ::_pb::Arena* arena, bool is_message_owned) {
5137   (void)arena;
5138   (void)is_message_owned;
5139   new (&_impl_) Impl_{
5140       decltype(_impl_._has_bits_){}
5141     , /*decltype(_impl_._cached_size_)*/{}
5142     , decltype(_impl_.name_){}
5143     , decltype(_impl_.options_){nullptr}
5144     , decltype(_impl_.number_){0}
5145   };
5146   _impl_.name_.InitDefault();
5147   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5148     _impl_.name_.Set("", GetArenaForAllocation());
5149   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5150 }
5151 
~EnumValueDescriptorProto()5152 EnumValueDescriptorProto::~EnumValueDescriptorProto() {
5153   // @@protoc_insertion_point(destructor:google.protobuf.EnumValueDescriptorProto)
5154   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
5155   (void)arena;
5156     return;
5157   }
5158   SharedDtor();
5159 }
5160 
SharedDtor()5161 inline void EnumValueDescriptorProto::SharedDtor() {
5162   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
5163   _impl_.name_.Destroy();
5164   if (this != internal_default_instance()) delete _impl_.options_;
5165 }
5166 
SetCachedSize(int size) const5167 void EnumValueDescriptorProto::SetCachedSize(int size) const {
5168   _impl_._cached_size_.Set(size);
5169 }
5170 
Clear()5171 void EnumValueDescriptorProto::Clear() {
5172 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumValueDescriptorProto)
5173   uint32_t cached_has_bits = 0;
5174   // Prevent compiler warnings about cached_has_bits being unused
5175   (void) cached_has_bits;
5176 
5177   cached_has_bits = _impl_._has_bits_[0];
5178   if (cached_has_bits & 0x00000003u) {
5179     if (cached_has_bits & 0x00000001u) {
5180       _impl_.name_.ClearNonDefaultToEmpty();
5181     }
5182     if (cached_has_bits & 0x00000002u) {
5183       GOOGLE_DCHECK(_impl_.options_ != nullptr);
5184       _impl_.options_->Clear();
5185     }
5186   }
5187   _impl_.number_ = 0;
5188   _impl_._has_bits_.Clear();
5189   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
5190 }
5191 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)5192 const char* EnumValueDescriptorProto::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
5193 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5194   _Internal::HasBits has_bits{};
5195   while (!ctx->Done(&ptr)) {
5196     uint32_t tag;
5197     ptr = ::_pbi::ReadTag(ptr, &tag);
5198     switch (tag >> 3) {
5199       // optional string name = 1;
5200       case 1:
5201         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
5202           auto str = _internal_mutable_name();
5203           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
5204           CHK_(ptr);
5205           #ifndef NDEBUG
5206           ::_pbi::VerifyUTF8(str, "google.protobuf.EnumValueDescriptorProto.name");
5207           #endif  // !NDEBUG
5208         } else
5209           goto handle_unusual;
5210         continue;
5211       // optional int32 number = 2;
5212       case 2:
5213         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
5214           _Internal::set_has_number(&has_bits);
5215           _impl_.number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5216           CHK_(ptr);
5217         } else
5218           goto handle_unusual;
5219         continue;
5220       // optional .google.protobuf.EnumValueOptions options = 3;
5221       case 3:
5222         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
5223           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
5224           CHK_(ptr);
5225         } else
5226           goto handle_unusual;
5227         continue;
5228       default:
5229         goto handle_unusual;
5230     }  // switch
5231   handle_unusual:
5232     if ((tag == 0) || ((tag & 7) == 4)) {
5233       CHK_(ptr);
5234       ctx->SetLastTag(tag);
5235       goto message_done;
5236     }
5237     ptr = UnknownFieldParse(
5238         tag,
5239         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
5240         ptr, ctx);
5241     CHK_(ptr != nullptr);
5242   }  // while
5243 message_done:
5244   _impl_._has_bits_.Or(has_bits);
5245   return ptr;
5246 failure:
5247   ptr = nullptr;
5248   goto message_done;
5249 #undef CHK_
5250 }
5251 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const5252 uint8_t* EnumValueDescriptorProto::_InternalSerialize(
5253     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5254   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValueDescriptorProto)
5255   uint32_t cached_has_bits = 0;
5256   (void) cached_has_bits;
5257 
5258   cached_has_bits = _impl_._has_bits_[0];
5259   // optional string name = 1;
5260   if (cached_has_bits & 0x00000001u) {
5261     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5262       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
5263       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5264       "google.protobuf.EnumValueDescriptorProto.name");
5265     target = stream->WriteStringMaybeAliased(
5266         1, this->_internal_name(), target);
5267   }
5268 
5269   // optional int32 number = 2;
5270   if (cached_has_bits & 0x00000004u) {
5271     target = stream->EnsureSpace(target);
5272     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_number(), target);
5273   }
5274 
5275   // optional .google.protobuf.EnumValueOptions options = 3;
5276   if (cached_has_bits & 0x00000002u) {
5277     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5278       InternalWriteMessage(3, _Internal::options(this),
5279         _Internal::options(this).GetCachedSize(), target, stream);
5280   }
5281 
5282   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5283     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5284         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
5285   }
5286   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumValueDescriptorProto)
5287   return target;
5288 }
5289 
ByteSizeLong() const5290 size_t EnumValueDescriptorProto::ByteSizeLong() const {
5291 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValueDescriptorProto)
5292   size_t total_size = 0;
5293 
5294   uint32_t cached_has_bits = 0;
5295   // Prevent compiler warnings about cached_has_bits being unused
5296   (void) cached_has_bits;
5297 
5298   cached_has_bits = _impl_._has_bits_[0];
5299   if (cached_has_bits & 0x00000007u) {
5300     // optional string name = 1;
5301     if (cached_has_bits & 0x00000001u) {
5302       total_size += 1 +
5303         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5304           this->_internal_name());
5305     }
5306 
5307     // optional .google.protobuf.EnumValueOptions options = 3;
5308     if (cached_has_bits & 0x00000002u) {
5309       total_size += 1 +
5310         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
5311           *_impl_.options_);
5312     }
5313 
5314     // optional int32 number = 2;
5315     if (cached_has_bits & 0x00000004u) {
5316       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_number());
5317     }
5318 
5319   }
5320   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5321 }
5322 
5323 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EnumValueDescriptorProto::_class_data_ = {
5324     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
5325     EnumValueDescriptorProto::MergeImpl
5326 };
GetClassData() const5327 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EnumValueDescriptorProto::GetClassData() const { return &_class_data_; }
5328 
5329 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)5330 void EnumValueDescriptorProto::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
5331   auto* const _this = static_cast<EnumValueDescriptorProto*>(&to_msg);
5332   auto& from = static_cast<const EnumValueDescriptorProto&>(from_msg);
5333   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumValueDescriptorProto)
5334   GOOGLE_DCHECK_NE(&from, _this);
5335   uint32_t cached_has_bits = 0;
5336   (void) cached_has_bits;
5337 
5338   cached_has_bits = from._impl_._has_bits_[0];
5339   if (cached_has_bits & 0x00000007u) {
5340     if (cached_has_bits & 0x00000001u) {
5341       _this->_internal_set_name(from._internal_name());
5342     }
5343     if (cached_has_bits & 0x00000002u) {
5344       _this->_internal_mutable_options()->::PROTOBUF_NAMESPACE_ID::EnumValueOptions::MergeFrom(
5345           from._internal_options());
5346     }
5347     if (cached_has_bits & 0x00000004u) {
5348       _this->_impl_.number_ = from._impl_.number_;
5349     }
5350     _this->_impl_._has_bits_[0] |= cached_has_bits;
5351   }
5352   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5353 }
5354 
CopyFrom(const EnumValueDescriptorProto & from)5355 void EnumValueDescriptorProto::CopyFrom(const EnumValueDescriptorProto& from) {
5356 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumValueDescriptorProto)
5357   if (&from == this) return;
5358   Clear();
5359   MergeFrom(from);
5360 }
5361 
IsInitialized() const5362 bool EnumValueDescriptorProto::IsInitialized() const {
5363   if (_internal_has_options()) {
5364     if (!_impl_.options_->IsInitialized()) return false;
5365   }
5366   return true;
5367 }
5368 
InternalSwap(EnumValueDescriptorProto * other)5369 void EnumValueDescriptorProto::InternalSwap(EnumValueDescriptorProto* other) {
5370   using std::swap;
5371   auto* lhs_arena = GetArenaForAllocation();
5372   auto* rhs_arena = other->GetArenaForAllocation();
5373   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5374   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5375   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
5376       &_impl_.name_, lhs_arena,
5377       &other->_impl_.name_, rhs_arena
5378   );
5379   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
5380       PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_.number_)
5381       + sizeof(EnumValueDescriptorProto::_impl_.number_)
5382       - PROTOBUF_FIELD_OFFSET(EnumValueDescriptorProto, _impl_.options_)>(
5383           reinterpret_cast<char*>(&_impl_.options_),
5384           reinterpret_cast<char*>(&other->_impl_.options_));
5385 }
5386 
GetMetadata() const5387 ::PROTOBUF_NAMESPACE_ID::Metadata EnumValueDescriptorProto::GetMetadata() const {
5388   return ::_pbi::AssignDescriptors(
5389       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
5390       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[10]);
5391 }
5392 
5393 // ===================================================================
5394 
5395 class ServiceDescriptorProto::_Internal {
5396  public:
5397   using HasBits = decltype(std::declval<ServiceDescriptorProto>()._impl_._has_bits_);
set_has_name(HasBits * has_bits)5398   static void set_has_name(HasBits* has_bits) {
5399     (*has_bits)[0] |= 1u;
5400   }
5401   static const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& options(const ServiceDescriptorProto* msg);
set_has_options(HasBits * has_bits)5402   static void set_has_options(HasBits* has_bits) {
5403     (*has_bits)[0] |= 2u;
5404   }
5405 };
5406 
5407 const ::PROTOBUF_NAMESPACE_ID::ServiceOptions&
options(const ServiceDescriptorProto * msg)5408 ServiceDescriptorProto::_Internal::options(const ServiceDescriptorProto* msg) {
5409   return *msg->_impl_.options_;
5410 }
ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)5411 ServiceDescriptorProto::ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5412                          bool is_message_owned)
5413   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
5414   SharedCtor(arena, is_message_owned);
5415   // @@protoc_insertion_point(arena_constructor:google.protobuf.ServiceDescriptorProto)
5416 }
ServiceDescriptorProto(const ServiceDescriptorProto & from)5417 ServiceDescriptorProto::ServiceDescriptorProto(const ServiceDescriptorProto& from)
5418   : ::PROTOBUF_NAMESPACE_ID::Message() {
5419   ServiceDescriptorProto* const _this = this; (void)_this;
5420   new (&_impl_) Impl_{
5421       decltype(_impl_._has_bits_){from._impl_._has_bits_}
5422     , /*decltype(_impl_._cached_size_)*/{}
5423     , decltype(_impl_.method_){from._impl_.method_}
5424     , decltype(_impl_.name_){}
5425     , decltype(_impl_.options_){nullptr}};
5426 
5427   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5428   _impl_.name_.InitDefault();
5429   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5430     _impl_.name_.Set("", GetArenaForAllocation());
5431   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5432   if (from._internal_has_name()) {
5433     _this->_impl_.name_.Set(from._internal_name(),
5434       _this->GetArenaForAllocation());
5435   }
5436   if (from._internal_has_options()) {
5437     _this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::ServiceOptions(*from._impl_.options_);
5438   }
5439   // @@protoc_insertion_point(copy_constructor:google.protobuf.ServiceDescriptorProto)
5440 }
5441 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)5442 inline void ServiceDescriptorProto::SharedCtor(
5443     ::_pb::Arena* arena, bool is_message_owned) {
5444   (void)arena;
5445   (void)is_message_owned;
5446   new (&_impl_) Impl_{
5447       decltype(_impl_._has_bits_){}
5448     , /*decltype(_impl_._cached_size_)*/{}
5449     , decltype(_impl_.method_){arena}
5450     , decltype(_impl_.name_){}
5451     , decltype(_impl_.options_){nullptr}
5452   };
5453   _impl_.name_.InitDefault();
5454   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5455     _impl_.name_.Set("", GetArenaForAllocation());
5456   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5457 }
5458 
~ServiceDescriptorProto()5459 ServiceDescriptorProto::~ServiceDescriptorProto() {
5460   // @@protoc_insertion_point(destructor:google.protobuf.ServiceDescriptorProto)
5461   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
5462   (void)arena;
5463     return;
5464   }
5465   SharedDtor();
5466 }
5467 
SharedDtor()5468 inline void ServiceDescriptorProto::SharedDtor() {
5469   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
5470   _impl_.method_.~RepeatedPtrField();
5471   _impl_.name_.Destroy();
5472   if (this != internal_default_instance()) delete _impl_.options_;
5473 }
5474 
SetCachedSize(int size) const5475 void ServiceDescriptorProto::SetCachedSize(int size) const {
5476   _impl_._cached_size_.Set(size);
5477 }
5478 
Clear()5479 void ServiceDescriptorProto::Clear() {
5480 // @@protoc_insertion_point(message_clear_start:google.protobuf.ServiceDescriptorProto)
5481   uint32_t cached_has_bits = 0;
5482   // Prevent compiler warnings about cached_has_bits being unused
5483   (void) cached_has_bits;
5484 
5485   _impl_.method_.Clear();
5486   cached_has_bits = _impl_._has_bits_[0];
5487   if (cached_has_bits & 0x00000003u) {
5488     if (cached_has_bits & 0x00000001u) {
5489       _impl_.name_.ClearNonDefaultToEmpty();
5490     }
5491     if (cached_has_bits & 0x00000002u) {
5492       GOOGLE_DCHECK(_impl_.options_ != nullptr);
5493       _impl_.options_->Clear();
5494     }
5495   }
5496   _impl_._has_bits_.Clear();
5497   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
5498 }
5499 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)5500 const char* ServiceDescriptorProto::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
5501 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5502   _Internal::HasBits has_bits{};
5503   while (!ctx->Done(&ptr)) {
5504     uint32_t tag;
5505     ptr = ::_pbi::ReadTag(ptr, &tag);
5506     switch (tag >> 3) {
5507       // optional string name = 1;
5508       case 1:
5509         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
5510           auto str = _internal_mutable_name();
5511           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
5512           CHK_(ptr);
5513           #ifndef NDEBUG
5514           ::_pbi::VerifyUTF8(str, "google.protobuf.ServiceDescriptorProto.name");
5515           #endif  // !NDEBUG
5516         } else
5517           goto handle_unusual;
5518         continue;
5519       // repeated .google.protobuf.MethodDescriptorProto method = 2;
5520       case 2:
5521         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
5522           ptr -= 1;
5523           do {
5524             ptr += 1;
5525             ptr = ctx->ParseMessage(_internal_add_method(), ptr);
5526             CHK_(ptr);
5527             if (!ctx->DataAvailable(ptr)) break;
5528           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
5529         } else
5530           goto handle_unusual;
5531         continue;
5532       // optional .google.protobuf.ServiceOptions options = 3;
5533       case 3:
5534         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
5535           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
5536           CHK_(ptr);
5537         } else
5538           goto handle_unusual;
5539         continue;
5540       default:
5541         goto handle_unusual;
5542     }  // switch
5543   handle_unusual:
5544     if ((tag == 0) || ((tag & 7) == 4)) {
5545       CHK_(ptr);
5546       ctx->SetLastTag(tag);
5547       goto message_done;
5548     }
5549     ptr = UnknownFieldParse(
5550         tag,
5551         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
5552         ptr, ctx);
5553     CHK_(ptr != nullptr);
5554   }  // while
5555 message_done:
5556   _impl_._has_bits_.Or(has_bits);
5557   return ptr;
5558 failure:
5559   ptr = nullptr;
5560   goto message_done;
5561 #undef CHK_
5562 }
5563 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const5564 uint8_t* ServiceDescriptorProto::_InternalSerialize(
5565     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5566   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ServiceDescriptorProto)
5567   uint32_t cached_has_bits = 0;
5568   (void) cached_has_bits;
5569 
5570   cached_has_bits = _impl_._has_bits_[0];
5571   // optional string name = 1;
5572   if (cached_has_bits & 0x00000001u) {
5573     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5574       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
5575       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5576       "google.protobuf.ServiceDescriptorProto.name");
5577     target = stream->WriteStringMaybeAliased(
5578         1, this->_internal_name(), target);
5579   }
5580 
5581   // repeated .google.protobuf.MethodDescriptorProto method = 2;
5582   for (unsigned i = 0,
5583       n = static_cast<unsigned>(this->_internal_method_size()); i < n; i++) {
5584     const auto& repfield = this->_internal_method(i);
5585     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5586         InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
5587   }
5588 
5589   // optional .google.protobuf.ServiceOptions options = 3;
5590   if (cached_has_bits & 0x00000002u) {
5591     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5592       InternalWriteMessage(3, _Internal::options(this),
5593         _Internal::options(this).GetCachedSize(), target, stream);
5594   }
5595 
5596   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5597     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5598         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
5599   }
5600   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ServiceDescriptorProto)
5601   return target;
5602 }
5603 
ByteSizeLong() const5604 size_t ServiceDescriptorProto::ByteSizeLong() const {
5605 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.ServiceDescriptorProto)
5606   size_t total_size = 0;
5607 
5608   uint32_t cached_has_bits = 0;
5609   // Prevent compiler warnings about cached_has_bits being unused
5610   (void) cached_has_bits;
5611 
5612   // repeated .google.protobuf.MethodDescriptorProto method = 2;
5613   total_size += 1UL * this->_internal_method_size();
5614   for (const auto& msg : this->_impl_.method_) {
5615     total_size +=
5616       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
5617   }
5618 
5619   cached_has_bits = _impl_._has_bits_[0];
5620   if (cached_has_bits & 0x00000003u) {
5621     // optional string name = 1;
5622     if (cached_has_bits & 0x00000001u) {
5623       total_size += 1 +
5624         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5625           this->_internal_name());
5626     }
5627 
5628     // optional .google.protobuf.ServiceOptions options = 3;
5629     if (cached_has_bits & 0x00000002u) {
5630       total_size += 1 +
5631         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
5632           *_impl_.options_);
5633     }
5634 
5635   }
5636   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5637 }
5638 
5639 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ServiceDescriptorProto::_class_data_ = {
5640     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
5641     ServiceDescriptorProto::MergeImpl
5642 };
GetClassData() const5643 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ServiceDescriptorProto::GetClassData() const { return &_class_data_; }
5644 
5645 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)5646 void ServiceDescriptorProto::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
5647   auto* const _this = static_cast<ServiceDescriptorProto*>(&to_msg);
5648   auto& from = static_cast<const ServiceDescriptorProto&>(from_msg);
5649   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ServiceDescriptorProto)
5650   GOOGLE_DCHECK_NE(&from, _this);
5651   uint32_t cached_has_bits = 0;
5652   (void) cached_has_bits;
5653 
5654   _this->_impl_.method_.MergeFrom(from._impl_.method_);
5655   cached_has_bits = from._impl_._has_bits_[0];
5656   if (cached_has_bits & 0x00000003u) {
5657     if (cached_has_bits & 0x00000001u) {
5658       _this->_internal_set_name(from._internal_name());
5659     }
5660     if (cached_has_bits & 0x00000002u) {
5661       _this->_internal_mutable_options()->::PROTOBUF_NAMESPACE_ID::ServiceOptions::MergeFrom(
5662           from._internal_options());
5663     }
5664   }
5665   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5666 }
5667 
CopyFrom(const ServiceDescriptorProto & from)5668 void ServiceDescriptorProto::CopyFrom(const ServiceDescriptorProto& from) {
5669 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ServiceDescriptorProto)
5670   if (&from == this) return;
5671   Clear();
5672   MergeFrom(from);
5673 }
5674 
IsInitialized() const5675 bool ServiceDescriptorProto::IsInitialized() const {
5676   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.method_))
5677     return false;
5678   if (_internal_has_options()) {
5679     if (!_impl_.options_->IsInitialized()) return false;
5680   }
5681   return true;
5682 }
5683 
InternalSwap(ServiceDescriptorProto * other)5684 void ServiceDescriptorProto::InternalSwap(ServiceDescriptorProto* other) {
5685   using std::swap;
5686   auto* lhs_arena = GetArenaForAllocation();
5687   auto* rhs_arena = other->GetArenaForAllocation();
5688   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5689   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5690   _impl_.method_.InternalSwap(&other->_impl_.method_);
5691   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
5692       &_impl_.name_, lhs_arena,
5693       &other->_impl_.name_, rhs_arena
5694   );
5695   swap(_impl_.options_, other->_impl_.options_);
5696 }
5697 
GetMetadata() const5698 ::PROTOBUF_NAMESPACE_ID::Metadata ServiceDescriptorProto::GetMetadata() const {
5699   return ::_pbi::AssignDescriptors(
5700       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
5701       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[11]);
5702 }
5703 
5704 // ===================================================================
5705 
5706 class MethodDescriptorProto::_Internal {
5707  public:
5708   using HasBits = decltype(std::declval<MethodDescriptorProto>()._impl_._has_bits_);
set_has_name(HasBits * has_bits)5709   static void set_has_name(HasBits* has_bits) {
5710     (*has_bits)[0] |= 1u;
5711   }
set_has_input_type(HasBits * has_bits)5712   static void set_has_input_type(HasBits* has_bits) {
5713     (*has_bits)[0] |= 2u;
5714   }
set_has_output_type(HasBits * has_bits)5715   static void set_has_output_type(HasBits* has_bits) {
5716     (*has_bits)[0] |= 4u;
5717   }
5718   static const ::PROTOBUF_NAMESPACE_ID::MethodOptions& options(const MethodDescriptorProto* msg);
set_has_options(HasBits * has_bits)5719   static void set_has_options(HasBits* has_bits) {
5720     (*has_bits)[0] |= 8u;
5721   }
set_has_client_streaming(HasBits * has_bits)5722   static void set_has_client_streaming(HasBits* has_bits) {
5723     (*has_bits)[0] |= 16u;
5724   }
set_has_server_streaming(HasBits * has_bits)5725   static void set_has_server_streaming(HasBits* has_bits) {
5726     (*has_bits)[0] |= 32u;
5727   }
5728 };
5729 
5730 const ::PROTOBUF_NAMESPACE_ID::MethodOptions&
options(const MethodDescriptorProto * msg)5731 MethodDescriptorProto::_Internal::options(const MethodDescriptorProto* msg) {
5732   return *msg->_impl_.options_;
5733 }
MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)5734 MethodDescriptorProto::MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5735                          bool is_message_owned)
5736   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
5737   SharedCtor(arena, is_message_owned);
5738   // @@protoc_insertion_point(arena_constructor:google.protobuf.MethodDescriptorProto)
5739 }
MethodDescriptorProto(const MethodDescriptorProto & from)5740 MethodDescriptorProto::MethodDescriptorProto(const MethodDescriptorProto& from)
5741   : ::PROTOBUF_NAMESPACE_ID::Message() {
5742   MethodDescriptorProto* const _this = this; (void)_this;
5743   new (&_impl_) Impl_{
5744       decltype(_impl_._has_bits_){from._impl_._has_bits_}
5745     , /*decltype(_impl_._cached_size_)*/{}
5746     , decltype(_impl_.name_){}
5747     , decltype(_impl_.input_type_){}
5748     , decltype(_impl_.output_type_){}
5749     , decltype(_impl_.options_){nullptr}
5750     , decltype(_impl_.client_streaming_){}
5751     , decltype(_impl_.server_streaming_){}};
5752 
5753   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5754   _impl_.name_.InitDefault();
5755   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5756     _impl_.name_.Set("", GetArenaForAllocation());
5757   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5758   if (from._internal_has_name()) {
5759     _this->_impl_.name_.Set(from._internal_name(),
5760       _this->GetArenaForAllocation());
5761   }
5762   _impl_.input_type_.InitDefault();
5763   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5764     _impl_.input_type_.Set("", GetArenaForAllocation());
5765   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5766   if (from._internal_has_input_type()) {
5767     _this->_impl_.input_type_.Set(from._internal_input_type(),
5768       _this->GetArenaForAllocation());
5769   }
5770   _impl_.output_type_.InitDefault();
5771   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5772     _impl_.output_type_.Set("", GetArenaForAllocation());
5773   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5774   if (from._internal_has_output_type()) {
5775     _this->_impl_.output_type_.Set(from._internal_output_type(),
5776       _this->GetArenaForAllocation());
5777   }
5778   if (from._internal_has_options()) {
5779     _this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::MethodOptions(*from._impl_.options_);
5780   }
5781   ::memcpy(&_impl_.client_streaming_, &from._impl_.client_streaming_,
5782     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.server_streaming_) -
5783     reinterpret_cast<char*>(&_impl_.client_streaming_)) + sizeof(_impl_.server_streaming_));
5784   // @@protoc_insertion_point(copy_constructor:google.protobuf.MethodDescriptorProto)
5785 }
5786 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)5787 inline void MethodDescriptorProto::SharedCtor(
5788     ::_pb::Arena* arena, bool is_message_owned) {
5789   (void)arena;
5790   (void)is_message_owned;
5791   new (&_impl_) Impl_{
5792       decltype(_impl_._has_bits_){}
5793     , /*decltype(_impl_._cached_size_)*/{}
5794     , decltype(_impl_.name_){}
5795     , decltype(_impl_.input_type_){}
5796     , decltype(_impl_.output_type_){}
5797     , decltype(_impl_.options_){nullptr}
5798     , decltype(_impl_.client_streaming_){false}
5799     , decltype(_impl_.server_streaming_){false}
5800   };
5801   _impl_.name_.InitDefault();
5802   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5803     _impl_.name_.Set("", GetArenaForAllocation());
5804   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5805   _impl_.input_type_.InitDefault();
5806   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5807     _impl_.input_type_.Set("", GetArenaForAllocation());
5808   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5809   _impl_.output_type_.InitDefault();
5810   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5811     _impl_.output_type_.Set("", GetArenaForAllocation());
5812   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5813 }
5814 
~MethodDescriptorProto()5815 MethodDescriptorProto::~MethodDescriptorProto() {
5816   // @@protoc_insertion_point(destructor:google.protobuf.MethodDescriptorProto)
5817   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
5818   (void)arena;
5819     return;
5820   }
5821   SharedDtor();
5822 }
5823 
SharedDtor()5824 inline void MethodDescriptorProto::SharedDtor() {
5825   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
5826   _impl_.name_.Destroy();
5827   _impl_.input_type_.Destroy();
5828   _impl_.output_type_.Destroy();
5829   if (this != internal_default_instance()) delete _impl_.options_;
5830 }
5831 
SetCachedSize(int size) const5832 void MethodDescriptorProto::SetCachedSize(int size) const {
5833   _impl_._cached_size_.Set(size);
5834 }
5835 
Clear()5836 void MethodDescriptorProto::Clear() {
5837 // @@protoc_insertion_point(message_clear_start:google.protobuf.MethodDescriptorProto)
5838   uint32_t cached_has_bits = 0;
5839   // Prevent compiler warnings about cached_has_bits being unused
5840   (void) cached_has_bits;
5841 
5842   cached_has_bits = _impl_._has_bits_[0];
5843   if (cached_has_bits & 0x0000000fu) {
5844     if (cached_has_bits & 0x00000001u) {
5845       _impl_.name_.ClearNonDefaultToEmpty();
5846     }
5847     if (cached_has_bits & 0x00000002u) {
5848       _impl_.input_type_.ClearNonDefaultToEmpty();
5849     }
5850     if (cached_has_bits & 0x00000004u) {
5851       _impl_.output_type_.ClearNonDefaultToEmpty();
5852     }
5853     if (cached_has_bits & 0x00000008u) {
5854       GOOGLE_DCHECK(_impl_.options_ != nullptr);
5855       _impl_.options_->Clear();
5856     }
5857   }
5858   ::memset(&_impl_.client_streaming_, 0, static_cast<size_t>(
5859       reinterpret_cast<char*>(&_impl_.server_streaming_) -
5860       reinterpret_cast<char*>(&_impl_.client_streaming_)) + sizeof(_impl_.server_streaming_));
5861   _impl_._has_bits_.Clear();
5862   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
5863 }
5864 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)5865 const char* MethodDescriptorProto::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
5866 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5867   _Internal::HasBits has_bits{};
5868   while (!ctx->Done(&ptr)) {
5869     uint32_t tag;
5870     ptr = ::_pbi::ReadTag(ptr, &tag);
5871     switch (tag >> 3) {
5872       // optional string name = 1;
5873       case 1:
5874         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
5875           auto str = _internal_mutable_name();
5876           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
5877           CHK_(ptr);
5878           #ifndef NDEBUG
5879           ::_pbi::VerifyUTF8(str, "google.protobuf.MethodDescriptorProto.name");
5880           #endif  // !NDEBUG
5881         } else
5882           goto handle_unusual;
5883         continue;
5884       // optional string input_type = 2;
5885       case 2:
5886         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
5887           auto str = _internal_mutable_input_type();
5888           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
5889           CHK_(ptr);
5890           #ifndef NDEBUG
5891           ::_pbi::VerifyUTF8(str, "google.protobuf.MethodDescriptorProto.input_type");
5892           #endif  // !NDEBUG
5893         } else
5894           goto handle_unusual;
5895         continue;
5896       // optional string output_type = 3;
5897       case 3:
5898         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
5899           auto str = _internal_mutable_output_type();
5900           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
5901           CHK_(ptr);
5902           #ifndef NDEBUG
5903           ::_pbi::VerifyUTF8(str, "google.protobuf.MethodDescriptorProto.output_type");
5904           #endif  // !NDEBUG
5905         } else
5906           goto handle_unusual;
5907         continue;
5908       // optional .google.protobuf.MethodOptions options = 4;
5909       case 4:
5910         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
5911           ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
5912           CHK_(ptr);
5913         } else
5914           goto handle_unusual;
5915         continue;
5916       // optional bool client_streaming = 5 [default = false];
5917       case 5:
5918         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
5919           _Internal::set_has_client_streaming(&has_bits);
5920           _impl_.client_streaming_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5921           CHK_(ptr);
5922         } else
5923           goto handle_unusual;
5924         continue;
5925       // optional bool server_streaming = 6 [default = false];
5926       case 6:
5927         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
5928           _Internal::set_has_server_streaming(&has_bits);
5929           _impl_.server_streaming_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5930           CHK_(ptr);
5931         } else
5932           goto handle_unusual;
5933         continue;
5934       default:
5935         goto handle_unusual;
5936     }  // switch
5937   handle_unusual:
5938     if ((tag == 0) || ((tag & 7) == 4)) {
5939       CHK_(ptr);
5940       ctx->SetLastTag(tag);
5941       goto message_done;
5942     }
5943     ptr = UnknownFieldParse(
5944         tag,
5945         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
5946         ptr, ctx);
5947     CHK_(ptr != nullptr);
5948   }  // while
5949 message_done:
5950   _impl_._has_bits_.Or(has_bits);
5951   return ptr;
5952 failure:
5953   ptr = nullptr;
5954   goto message_done;
5955 #undef CHK_
5956 }
5957 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const5958 uint8_t* MethodDescriptorProto::_InternalSerialize(
5959     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5960   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MethodDescriptorProto)
5961   uint32_t cached_has_bits = 0;
5962   (void) cached_has_bits;
5963 
5964   cached_has_bits = _impl_._has_bits_[0];
5965   // optional string name = 1;
5966   if (cached_has_bits & 0x00000001u) {
5967     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5968       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
5969       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5970       "google.protobuf.MethodDescriptorProto.name");
5971     target = stream->WriteStringMaybeAliased(
5972         1, this->_internal_name(), target);
5973   }
5974 
5975   // optional string input_type = 2;
5976   if (cached_has_bits & 0x00000002u) {
5977     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5978       this->_internal_input_type().data(), static_cast<int>(this->_internal_input_type().length()),
5979       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5980       "google.protobuf.MethodDescriptorProto.input_type");
5981     target = stream->WriteStringMaybeAliased(
5982         2, this->_internal_input_type(), target);
5983   }
5984 
5985   // optional string output_type = 3;
5986   if (cached_has_bits & 0x00000004u) {
5987     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5988       this->_internal_output_type().data(), static_cast<int>(this->_internal_output_type().length()),
5989       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5990       "google.protobuf.MethodDescriptorProto.output_type");
5991     target = stream->WriteStringMaybeAliased(
5992         3, this->_internal_output_type(), target);
5993   }
5994 
5995   // optional .google.protobuf.MethodOptions options = 4;
5996   if (cached_has_bits & 0x00000008u) {
5997     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5998       InternalWriteMessage(4, _Internal::options(this),
5999         _Internal::options(this).GetCachedSize(), target, stream);
6000   }
6001 
6002   // optional bool client_streaming = 5 [default = false];
6003   if (cached_has_bits & 0x00000010u) {
6004     target = stream->EnsureSpace(target);
6005     target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_client_streaming(), target);
6006   }
6007 
6008   // optional bool server_streaming = 6 [default = false];
6009   if (cached_has_bits & 0x00000020u) {
6010     target = stream->EnsureSpace(target);
6011     target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_server_streaming(), target);
6012   }
6013 
6014   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6015     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6016         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
6017   }
6018   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.MethodDescriptorProto)
6019   return target;
6020 }
6021 
ByteSizeLong() const6022 size_t MethodDescriptorProto::ByteSizeLong() const {
6023 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.MethodDescriptorProto)
6024   size_t total_size = 0;
6025 
6026   uint32_t cached_has_bits = 0;
6027   // Prevent compiler warnings about cached_has_bits being unused
6028   (void) cached_has_bits;
6029 
6030   cached_has_bits = _impl_._has_bits_[0];
6031   if (cached_has_bits & 0x0000003fu) {
6032     // optional string name = 1;
6033     if (cached_has_bits & 0x00000001u) {
6034       total_size += 1 +
6035         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6036           this->_internal_name());
6037     }
6038 
6039     // optional string input_type = 2;
6040     if (cached_has_bits & 0x00000002u) {
6041       total_size += 1 +
6042         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6043           this->_internal_input_type());
6044     }
6045 
6046     // optional string output_type = 3;
6047     if (cached_has_bits & 0x00000004u) {
6048       total_size += 1 +
6049         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6050           this->_internal_output_type());
6051     }
6052 
6053     // optional .google.protobuf.MethodOptions options = 4;
6054     if (cached_has_bits & 0x00000008u) {
6055       total_size += 1 +
6056         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
6057           *_impl_.options_);
6058     }
6059 
6060     // optional bool client_streaming = 5 [default = false];
6061     if (cached_has_bits & 0x00000010u) {
6062       total_size += 1 + 1;
6063     }
6064 
6065     // optional bool server_streaming = 6 [default = false];
6066     if (cached_has_bits & 0x00000020u) {
6067       total_size += 1 + 1;
6068     }
6069 
6070   }
6071   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
6072 }
6073 
6074 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MethodDescriptorProto::_class_data_ = {
6075     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
6076     MethodDescriptorProto::MergeImpl
6077 };
GetClassData() const6078 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MethodDescriptorProto::GetClassData() const { return &_class_data_; }
6079 
6080 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)6081 void MethodDescriptorProto::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
6082   auto* const _this = static_cast<MethodDescriptorProto*>(&to_msg);
6083   auto& from = static_cast<const MethodDescriptorProto&>(from_msg);
6084   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MethodDescriptorProto)
6085   GOOGLE_DCHECK_NE(&from, _this);
6086   uint32_t cached_has_bits = 0;
6087   (void) cached_has_bits;
6088 
6089   cached_has_bits = from._impl_._has_bits_[0];
6090   if (cached_has_bits & 0x0000003fu) {
6091     if (cached_has_bits & 0x00000001u) {
6092       _this->_internal_set_name(from._internal_name());
6093     }
6094     if (cached_has_bits & 0x00000002u) {
6095       _this->_internal_set_input_type(from._internal_input_type());
6096     }
6097     if (cached_has_bits & 0x00000004u) {
6098       _this->_internal_set_output_type(from._internal_output_type());
6099     }
6100     if (cached_has_bits & 0x00000008u) {
6101       _this->_internal_mutable_options()->::PROTOBUF_NAMESPACE_ID::MethodOptions::MergeFrom(
6102           from._internal_options());
6103     }
6104     if (cached_has_bits & 0x00000010u) {
6105       _this->_impl_.client_streaming_ = from._impl_.client_streaming_;
6106     }
6107     if (cached_has_bits & 0x00000020u) {
6108       _this->_impl_.server_streaming_ = from._impl_.server_streaming_;
6109     }
6110     _this->_impl_._has_bits_[0] |= cached_has_bits;
6111   }
6112   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6113 }
6114 
CopyFrom(const MethodDescriptorProto & from)6115 void MethodDescriptorProto::CopyFrom(const MethodDescriptorProto& from) {
6116 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MethodDescriptorProto)
6117   if (&from == this) return;
6118   Clear();
6119   MergeFrom(from);
6120 }
6121 
IsInitialized() const6122 bool MethodDescriptorProto::IsInitialized() const {
6123   if (_internal_has_options()) {
6124     if (!_impl_.options_->IsInitialized()) return false;
6125   }
6126   return true;
6127 }
6128 
InternalSwap(MethodDescriptorProto * other)6129 void MethodDescriptorProto::InternalSwap(MethodDescriptorProto* other) {
6130   using std::swap;
6131   auto* lhs_arena = GetArenaForAllocation();
6132   auto* rhs_arena = other->GetArenaForAllocation();
6133   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6134   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6135   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
6136       &_impl_.name_, lhs_arena,
6137       &other->_impl_.name_, rhs_arena
6138   );
6139   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
6140       &_impl_.input_type_, lhs_arena,
6141       &other->_impl_.input_type_, rhs_arena
6142   );
6143   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
6144       &_impl_.output_type_, lhs_arena,
6145       &other->_impl_.output_type_, rhs_arena
6146   );
6147   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
6148       PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.server_streaming_)
6149       + sizeof(MethodDescriptorProto::_impl_.server_streaming_)
6150       - PROTOBUF_FIELD_OFFSET(MethodDescriptorProto, _impl_.options_)>(
6151           reinterpret_cast<char*>(&_impl_.options_),
6152           reinterpret_cast<char*>(&other->_impl_.options_));
6153 }
6154 
GetMetadata() const6155 ::PROTOBUF_NAMESPACE_ID::Metadata MethodDescriptorProto::GetMetadata() const {
6156   return ::_pbi::AssignDescriptors(
6157       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
6158       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[12]);
6159 }
6160 
6161 // ===================================================================
6162 
6163 class FileOptions::_Internal {
6164  public:
6165   using HasBits = decltype(std::declval<FileOptions>()._impl_._has_bits_);
set_has_java_package(HasBits * has_bits)6166   static void set_has_java_package(HasBits* has_bits) {
6167     (*has_bits)[0] |= 1u;
6168   }
set_has_java_outer_classname(HasBits * has_bits)6169   static void set_has_java_outer_classname(HasBits* has_bits) {
6170     (*has_bits)[0] |= 2u;
6171   }
set_has_java_multiple_files(HasBits * has_bits)6172   static void set_has_java_multiple_files(HasBits* has_bits) {
6173     (*has_bits)[0] |= 1024u;
6174   }
set_has_java_generate_equals_and_hash(HasBits * has_bits)6175   static void set_has_java_generate_equals_and_hash(HasBits* has_bits) {
6176     (*has_bits)[0] |= 2048u;
6177   }
set_has_java_string_check_utf8(HasBits * has_bits)6178   static void set_has_java_string_check_utf8(HasBits* has_bits) {
6179     (*has_bits)[0] |= 4096u;
6180   }
set_has_optimize_for(HasBits * has_bits)6181   static void set_has_optimize_for(HasBits* has_bits) {
6182     (*has_bits)[0] |= 262144u;
6183   }
set_has_go_package(HasBits * has_bits)6184   static void set_has_go_package(HasBits* has_bits) {
6185     (*has_bits)[0] |= 4u;
6186   }
set_has_cc_generic_services(HasBits * has_bits)6187   static void set_has_cc_generic_services(HasBits* has_bits) {
6188     (*has_bits)[0] |= 8192u;
6189   }
set_has_java_generic_services(HasBits * has_bits)6190   static void set_has_java_generic_services(HasBits* has_bits) {
6191     (*has_bits)[0] |= 16384u;
6192   }
set_has_py_generic_services(HasBits * has_bits)6193   static void set_has_py_generic_services(HasBits* has_bits) {
6194     (*has_bits)[0] |= 32768u;
6195   }
set_has_php_generic_services(HasBits * has_bits)6196   static void set_has_php_generic_services(HasBits* has_bits) {
6197     (*has_bits)[0] |= 65536u;
6198   }
set_has_deprecated(HasBits * has_bits)6199   static void set_has_deprecated(HasBits* has_bits) {
6200     (*has_bits)[0] |= 131072u;
6201   }
set_has_cc_enable_arenas(HasBits * has_bits)6202   static void set_has_cc_enable_arenas(HasBits* has_bits) {
6203     (*has_bits)[0] |= 524288u;
6204   }
set_has_objc_class_prefix(HasBits * has_bits)6205   static void set_has_objc_class_prefix(HasBits* has_bits) {
6206     (*has_bits)[0] |= 8u;
6207   }
set_has_csharp_namespace(HasBits * has_bits)6208   static void set_has_csharp_namespace(HasBits* has_bits) {
6209     (*has_bits)[0] |= 16u;
6210   }
set_has_swift_prefix(HasBits * has_bits)6211   static void set_has_swift_prefix(HasBits* has_bits) {
6212     (*has_bits)[0] |= 32u;
6213   }
set_has_php_class_prefix(HasBits * has_bits)6214   static void set_has_php_class_prefix(HasBits* has_bits) {
6215     (*has_bits)[0] |= 64u;
6216   }
set_has_php_namespace(HasBits * has_bits)6217   static void set_has_php_namespace(HasBits* has_bits) {
6218     (*has_bits)[0] |= 128u;
6219   }
set_has_php_metadata_namespace(HasBits * has_bits)6220   static void set_has_php_metadata_namespace(HasBits* has_bits) {
6221     (*has_bits)[0] |= 256u;
6222   }
set_has_ruby_package(HasBits * has_bits)6223   static void set_has_ruby_package(HasBits* has_bits) {
6224     (*has_bits)[0] |= 512u;
6225   }
6226 };
6227 
FileOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)6228 FileOptions::FileOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6229                          bool is_message_owned)
6230   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
6231   SharedCtor(arena, is_message_owned);
6232   // @@protoc_insertion_point(arena_constructor:google.protobuf.FileOptions)
6233 }
FileOptions(const FileOptions & from)6234 FileOptions::FileOptions(const FileOptions& from)
6235   : ::PROTOBUF_NAMESPACE_ID::Message() {
6236   FileOptions* const _this = this; (void)_this;
6237   new (&_impl_) Impl_{
6238       /*decltype(_impl_._extensions_)*/{}
6239     , decltype(_impl_._has_bits_){from._impl_._has_bits_}
6240     , /*decltype(_impl_._cached_size_)*/{}
6241     , decltype(_impl_.uninterpreted_option_){from._impl_.uninterpreted_option_}
6242     , decltype(_impl_.java_package_){}
6243     , decltype(_impl_.java_outer_classname_){}
6244     , decltype(_impl_.go_package_){}
6245     , decltype(_impl_.objc_class_prefix_){}
6246     , decltype(_impl_.csharp_namespace_){}
6247     , decltype(_impl_.swift_prefix_){}
6248     , decltype(_impl_.php_class_prefix_){}
6249     , decltype(_impl_.php_namespace_){}
6250     , decltype(_impl_.php_metadata_namespace_){}
6251     , decltype(_impl_.ruby_package_){}
6252     , decltype(_impl_.java_multiple_files_){}
6253     , decltype(_impl_.java_generate_equals_and_hash_){}
6254     , decltype(_impl_.java_string_check_utf8_){}
6255     , decltype(_impl_.cc_generic_services_){}
6256     , decltype(_impl_.java_generic_services_){}
6257     , decltype(_impl_.py_generic_services_){}
6258     , decltype(_impl_.php_generic_services_){}
6259     , decltype(_impl_.deprecated_){}
6260     , decltype(_impl_.optimize_for_){}
6261     , decltype(_impl_.cc_enable_arenas_){}};
6262 
6263   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6264   _impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
6265   _impl_.java_package_.InitDefault();
6266   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6267     _impl_.java_package_.Set("", GetArenaForAllocation());
6268   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6269   if (from._internal_has_java_package()) {
6270     _this->_impl_.java_package_.Set(from._internal_java_package(),
6271       _this->GetArenaForAllocation());
6272   }
6273   _impl_.java_outer_classname_.InitDefault();
6274   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6275     _impl_.java_outer_classname_.Set("", GetArenaForAllocation());
6276   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6277   if (from._internal_has_java_outer_classname()) {
6278     _this->_impl_.java_outer_classname_.Set(from._internal_java_outer_classname(),
6279       _this->GetArenaForAllocation());
6280   }
6281   _impl_.go_package_.InitDefault();
6282   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6283     _impl_.go_package_.Set("", GetArenaForAllocation());
6284   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6285   if (from._internal_has_go_package()) {
6286     _this->_impl_.go_package_.Set(from._internal_go_package(),
6287       _this->GetArenaForAllocation());
6288   }
6289   _impl_.objc_class_prefix_.InitDefault();
6290   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6291     _impl_.objc_class_prefix_.Set("", GetArenaForAllocation());
6292   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6293   if (from._internal_has_objc_class_prefix()) {
6294     _this->_impl_.objc_class_prefix_.Set(from._internal_objc_class_prefix(),
6295       _this->GetArenaForAllocation());
6296   }
6297   _impl_.csharp_namespace_.InitDefault();
6298   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6299     _impl_.csharp_namespace_.Set("", GetArenaForAllocation());
6300   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6301   if (from._internal_has_csharp_namespace()) {
6302     _this->_impl_.csharp_namespace_.Set(from._internal_csharp_namespace(),
6303       _this->GetArenaForAllocation());
6304   }
6305   _impl_.swift_prefix_.InitDefault();
6306   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6307     _impl_.swift_prefix_.Set("", GetArenaForAllocation());
6308   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6309   if (from._internal_has_swift_prefix()) {
6310     _this->_impl_.swift_prefix_.Set(from._internal_swift_prefix(),
6311       _this->GetArenaForAllocation());
6312   }
6313   _impl_.php_class_prefix_.InitDefault();
6314   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6315     _impl_.php_class_prefix_.Set("", GetArenaForAllocation());
6316   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6317   if (from._internal_has_php_class_prefix()) {
6318     _this->_impl_.php_class_prefix_.Set(from._internal_php_class_prefix(),
6319       _this->GetArenaForAllocation());
6320   }
6321   _impl_.php_namespace_.InitDefault();
6322   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6323     _impl_.php_namespace_.Set("", GetArenaForAllocation());
6324   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6325   if (from._internal_has_php_namespace()) {
6326     _this->_impl_.php_namespace_.Set(from._internal_php_namespace(),
6327       _this->GetArenaForAllocation());
6328   }
6329   _impl_.php_metadata_namespace_.InitDefault();
6330   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6331     _impl_.php_metadata_namespace_.Set("", GetArenaForAllocation());
6332   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6333   if (from._internal_has_php_metadata_namespace()) {
6334     _this->_impl_.php_metadata_namespace_.Set(from._internal_php_metadata_namespace(),
6335       _this->GetArenaForAllocation());
6336   }
6337   _impl_.ruby_package_.InitDefault();
6338   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6339     _impl_.ruby_package_.Set("", GetArenaForAllocation());
6340   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6341   if (from._internal_has_ruby_package()) {
6342     _this->_impl_.ruby_package_.Set(from._internal_ruby_package(),
6343       _this->GetArenaForAllocation());
6344   }
6345   ::memcpy(&_impl_.java_multiple_files_, &from._impl_.java_multiple_files_,
6346     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.cc_enable_arenas_) -
6347     reinterpret_cast<char*>(&_impl_.java_multiple_files_)) + sizeof(_impl_.cc_enable_arenas_));
6348   // @@protoc_insertion_point(copy_constructor:google.protobuf.FileOptions)
6349 }
6350 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)6351 inline void FileOptions::SharedCtor(
6352     ::_pb::Arena* arena, bool is_message_owned) {
6353   (void)arena;
6354   (void)is_message_owned;
6355   new (&_impl_) Impl_{
6356       /*decltype(_impl_._extensions_)*/{::_pbi::ArenaInitialized(), arena}
6357     , decltype(_impl_._has_bits_){}
6358     , /*decltype(_impl_._cached_size_)*/{}
6359     , decltype(_impl_.uninterpreted_option_){arena}
6360     , decltype(_impl_.java_package_){}
6361     , decltype(_impl_.java_outer_classname_){}
6362     , decltype(_impl_.go_package_){}
6363     , decltype(_impl_.objc_class_prefix_){}
6364     , decltype(_impl_.csharp_namespace_){}
6365     , decltype(_impl_.swift_prefix_){}
6366     , decltype(_impl_.php_class_prefix_){}
6367     , decltype(_impl_.php_namespace_){}
6368     , decltype(_impl_.php_metadata_namespace_){}
6369     , decltype(_impl_.ruby_package_){}
6370     , decltype(_impl_.java_multiple_files_){false}
6371     , decltype(_impl_.java_generate_equals_and_hash_){false}
6372     , decltype(_impl_.java_string_check_utf8_){false}
6373     , decltype(_impl_.cc_generic_services_){false}
6374     , decltype(_impl_.java_generic_services_){false}
6375     , decltype(_impl_.py_generic_services_){false}
6376     , decltype(_impl_.php_generic_services_){false}
6377     , decltype(_impl_.deprecated_){false}
6378     , decltype(_impl_.optimize_for_){1}
6379     , decltype(_impl_.cc_enable_arenas_){true}
6380   };
6381   _impl_.java_package_.InitDefault();
6382   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6383     _impl_.java_package_.Set("", GetArenaForAllocation());
6384   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6385   _impl_.java_outer_classname_.InitDefault();
6386   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6387     _impl_.java_outer_classname_.Set("", GetArenaForAllocation());
6388   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6389   _impl_.go_package_.InitDefault();
6390   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6391     _impl_.go_package_.Set("", GetArenaForAllocation());
6392   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6393   _impl_.objc_class_prefix_.InitDefault();
6394   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6395     _impl_.objc_class_prefix_.Set("", GetArenaForAllocation());
6396   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6397   _impl_.csharp_namespace_.InitDefault();
6398   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6399     _impl_.csharp_namespace_.Set("", GetArenaForAllocation());
6400   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6401   _impl_.swift_prefix_.InitDefault();
6402   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6403     _impl_.swift_prefix_.Set("", GetArenaForAllocation());
6404   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6405   _impl_.php_class_prefix_.InitDefault();
6406   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6407     _impl_.php_class_prefix_.Set("", GetArenaForAllocation());
6408   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6409   _impl_.php_namespace_.InitDefault();
6410   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6411     _impl_.php_namespace_.Set("", GetArenaForAllocation());
6412   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6413   _impl_.php_metadata_namespace_.InitDefault();
6414   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6415     _impl_.php_metadata_namespace_.Set("", GetArenaForAllocation());
6416   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6417   _impl_.ruby_package_.InitDefault();
6418   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6419     _impl_.ruby_package_.Set("", GetArenaForAllocation());
6420   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6421 }
6422 
~FileOptions()6423 FileOptions::~FileOptions() {
6424   // @@protoc_insertion_point(destructor:google.protobuf.FileOptions)
6425   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
6426   (void)arena;
6427     return;
6428   }
6429   SharedDtor();
6430 }
6431 
SharedDtor()6432 inline void FileOptions::SharedDtor() {
6433   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
6434   _impl_._extensions_.~ExtensionSet();
6435   _impl_.uninterpreted_option_.~RepeatedPtrField();
6436   _impl_.java_package_.Destroy();
6437   _impl_.java_outer_classname_.Destroy();
6438   _impl_.go_package_.Destroy();
6439   _impl_.objc_class_prefix_.Destroy();
6440   _impl_.csharp_namespace_.Destroy();
6441   _impl_.swift_prefix_.Destroy();
6442   _impl_.php_class_prefix_.Destroy();
6443   _impl_.php_namespace_.Destroy();
6444   _impl_.php_metadata_namespace_.Destroy();
6445   _impl_.ruby_package_.Destroy();
6446 }
6447 
SetCachedSize(int size) const6448 void FileOptions::SetCachedSize(int size) const {
6449   _impl_._cached_size_.Set(size);
6450 }
6451 
Clear()6452 void FileOptions::Clear() {
6453 // @@protoc_insertion_point(message_clear_start:google.protobuf.FileOptions)
6454   uint32_t cached_has_bits = 0;
6455   // Prevent compiler warnings about cached_has_bits being unused
6456   (void) cached_has_bits;
6457 
6458   _impl_._extensions_.Clear();
6459   _impl_.uninterpreted_option_.Clear();
6460   cached_has_bits = _impl_._has_bits_[0];
6461   if (cached_has_bits & 0x000000ffu) {
6462     if (cached_has_bits & 0x00000001u) {
6463       _impl_.java_package_.ClearNonDefaultToEmpty();
6464     }
6465     if (cached_has_bits & 0x00000002u) {
6466       _impl_.java_outer_classname_.ClearNonDefaultToEmpty();
6467     }
6468     if (cached_has_bits & 0x00000004u) {
6469       _impl_.go_package_.ClearNonDefaultToEmpty();
6470     }
6471     if (cached_has_bits & 0x00000008u) {
6472       _impl_.objc_class_prefix_.ClearNonDefaultToEmpty();
6473     }
6474     if (cached_has_bits & 0x00000010u) {
6475       _impl_.csharp_namespace_.ClearNonDefaultToEmpty();
6476     }
6477     if (cached_has_bits & 0x00000020u) {
6478       _impl_.swift_prefix_.ClearNonDefaultToEmpty();
6479     }
6480     if (cached_has_bits & 0x00000040u) {
6481       _impl_.php_class_prefix_.ClearNonDefaultToEmpty();
6482     }
6483     if (cached_has_bits & 0x00000080u) {
6484       _impl_.php_namespace_.ClearNonDefaultToEmpty();
6485     }
6486   }
6487   if (cached_has_bits & 0x00000300u) {
6488     if (cached_has_bits & 0x00000100u) {
6489       _impl_.php_metadata_namespace_.ClearNonDefaultToEmpty();
6490     }
6491     if (cached_has_bits & 0x00000200u) {
6492       _impl_.ruby_package_.ClearNonDefaultToEmpty();
6493     }
6494   }
6495   if (cached_has_bits & 0x0000fc00u) {
6496     ::memset(&_impl_.java_multiple_files_, 0, static_cast<size_t>(
6497         reinterpret_cast<char*>(&_impl_.py_generic_services_) -
6498         reinterpret_cast<char*>(&_impl_.java_multiple_files_)) + sizeof(_impl_.py_generic_services_));
6499   }
6500   if (cached_has_bits & 0x000f0000u) {
6501     ::memset(&_impl_.php_generic_services_, 0, static_cast<size_t>(
6502         reinterpret_cast<char*>(&_impl_.deprecated_) -
6503         reinterpret_cast<char*>(&_impl_.php_generic_services_)) + sizeof(_impl_.deprecated_));
6504     _impl_.optimize_for_ = 1;
6505     _impl_.cc_enable_arenas_ = true;
6506   }
6507   _impl_._has_bits_.Clear();
6508   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
6509 }
6510 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)6511 const char* FileOptions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
6512 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6513   _Internal::HasBits has_bits{};
6514   while (!ctx->Done(&ptr)) {
6515     uint32_t tag;
6516     ptr = ::_pbi::ReadTag(ptr, &tag);
6517     switch (tag >> 3) {
6518       // optional string java_package = 1;
6519       case 1:
6520         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
6521           auto str = _internal_mutable_java_package();
6522           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6523           CHK_(ptr);
6524           #ifndef NDEBUG
6525           ::_pbi::VerifyUTF8(str, "google.protobuf.FileOptions.java_package");
6526           #endif  // !NDEBUG
6527         } else
6528           goto handle_unusual;
6529         continue;
6530       // optional string java_outer_classname = 8;
6531       case 8:
6532         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
6533           auto str = _internal_mutable_java_outer_classname();
6534           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6535           CHK_(ptr);
6536           #ifndef NDEBUG
6537           ::_pbi::VerifyUTF8(str, "google.protobuf.FileOptions.java_outer_classname");
6538           #endif  // !NDEBUG
6539         } else
6540           goto handle_unusual;
6541         continue;
6542       // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
6543       case 9:
6544         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
6545           uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6546           CHK_(ptr);
6547           if (PROTOBUF_PREDICT_TRUE(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_IsValid(val))) {
6548             _internal_set_optimize_for(static_cast<::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode>(val));
6549           } else {
6550             ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(9, val, mutable_unknown_fields());
6551           }
6552         } else
6553           goto handle_unusual;
6554         continue;
6555       // optional bool java_multiple_files = 10 [default = false];
6556       case 10:
6557         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
6558           _Internal::set_has_java_multiple_files(&has_bits);
6559           _impl_.java_multiple_files_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6560           CHK_(ptr);
6561         } else
6562           goto handle_unusual;
6563         continue;
6564       // optional string go_package = 11;
6565       case 11:
6566         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) {
6567           auto str = _internal_mutable_go_package();
6568           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6569           CHK_(ptr);
6570           #ifndef NDEBUG
6571           ::_pbi::VerifyUTF8(str, "google.protobuf.FileOptions.go_package");
6572           #endif  // !NDEBUG
6573         } else
6574           goto handle_unusual;
6575         continue;
6576       // optional bool cc_generic_services = 16 [default = false];
6577       case 16:
6578         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 128)) {
6579           _Internal::set_has_cc_generic_services(&has_bits);
6580           _impl_.cc_generic_services_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6581           CHK_(ptr);
6582         } else
6583           goto handle_unusual;
6584         continue;
6585       // optional bool java_generic_services = 17 [default = false];
6586       case 17:
6587         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 136)) {
6588           _Internal::set_has_java_generic_services(&has_bits);
6589           _impl_.java_generic_services_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6590           CHK_(ptr);
6591         } else
6592           goto handle_unusual;
6593         continue;
6594       // optional bool py_generic_services = 18 [default = false];
6595       case 18:
6596         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 144)) {
6597           _Internal::set_has_py_generic_services(&has_bits);
6598           _impl_.py_generic_services_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6599           CHK_(ptr);
6600         } else
6601           goto handle_unusual;
6602         continue;
6603       // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
6604       case 20:
6605         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 160)) {
6606           _Internal::set_has_java_generate_equals_and_hash(&has_bits);
6607           _impl_.java_generate_equals_and_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6608           CHK_(ptr);
6609         } else
6610           goto handle_unusual;
6611         continue;
6612       // optional bool deprecated = 23 [default = false];
6613       case 23:
6614         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 184)) {
6615           _Internal::set_has_deprecated(&has_bits);
6616           _impl_.deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6617           CHK_(ptr);
6618         } else
6619           goto handle_unusual;
6620         continue;
6621       // optional bool java_string_check_utf8 = 27 [default = false];
6622       case 27:
6623         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 216)) {
6624           _Internal::set_has_java_string_check_utf8(&has_bits);
6625           _impl_.java_string_check_utf8_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6626           CHK_(ptr);
6627         } else
6628           goto handle_unusual;
6629         continue;
6630       // optional bool cc_enable_arenas = 31 [default = true];
6631       case 31:
6632         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 248)) {
6633           _Internal::set_has_cc_enable_arenas(&has_bits);
6634           _impl_.cc_enable_arenas_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6635           CHK_(ptr);
6636         } else
6637           goto handle_unusual;
6638         continue;
6639       // optional string objc_class_prefix = 36;
6640       case 36:
6641         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
6642           auto str = _internal_mutable_objc_class_prefix();
6643           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6644           CHK_(ptr);
6645           #ifndef NDEBUG
6646           ::_pbi::VerifyUTF8(str, "google.protobuf.FileOptions.objc_class_prefix");
6647           #endif  // !NDEBUG
6648         } else
6649           goto handle_unusual;
6650         continue;
6651       // optional string csharp_namespace = 37;
6652       case 37:
6653         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
6654           auto str = _internal_mutable_csharp_namespace();
6655           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6656           CHK_(ptr);
6657           #ifndef NDEBUG
6658           ::_pbi::VerifyUTF8(str, "google.protobuf.FileOptions.csharp_namespace");
6659           #endif  // !NDEBUG
6660         } else
6661           goto handle_unusual;
6662         continue;
6663       // optional string swift_prefix = 39;
6664       case 39:
6665         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
6666           auto str = _internal_mutable_swift_prefix();
6667           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6668           CHK_(ptr);
6669           #ifndef NDEBUG
6670           ::_pbi::VerifyUTF8(str, "google.protobuf.FileOptions.swift_prefix");
6671           #endif  // !NDEBUG
6672         } else
6673           goto handle_unusual;
6674         continue;
6675       // optional string php_class_prefix = 40;
6676       case 40:
6677         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
6678           auto str = _internal_mutable_php_class_prefix();
6679           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6680           CHK_(ptr);
6681           #ifndef NDEBUG
6682           ::_pbi::VerifyUTF8(str, "google.protobuf.FileOptions.php_class_prefix");
6683           #endif  // !NDEBUG
6684         } else
6685           goto handle_unusual;
6686         continue;
6687       // optional string php_namespace = 41;
6688       case 41:
6689         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
6690           auto str = _internal_mutable_php_namespace();
6691           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6692           CHK_(ptr);
6693           #ifndef NDEBUG
6694           ::_pbi::VerifyUTF8(str, "google.protobuf.FileOptions.php_namespace");
6695           #endif  // !NDEBUG
6696         } else
6697           goto handle_unusual;
6698         continue;
6699       // optional bool php_generic_services = 42 [default = false];
6700       case 42:
6701         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
6702           _Internal::set_has_php_generic_services(&has_bits);
6703           _impl_.php_generic_services_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6704           CHK_(ptr);
6705         } else
6706           goto handle_unusual;
6707         continue;
6708       // optional string php_metadata_namespace = 44;
6709       case 44:
6710         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 98)) {
6711           auto str = _internal_mutable_php_metadata_namespace();
6712           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6713           CHK_(ptr);
6714           #ifndef NDEBUG
6715           ::_pbi::VerifyUTF8(str, "google.protobuf.FileOptions.php_metadata_namespace");
6716           #endif  // !NDEBUG
6717         } else
6718           goto handle_unusual;
6719         continue;
6720       // optional string ruby_package = 45;
6721       case 45:
6722         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 106)) {
6723           auto str = _internal_mutable_ruby_package();
6724           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6725           CHK_(ptr);
6726           #ifndef NDEBUG
6727           ::_pbi::VerifyUTF8(str, "google.protobuf.FileOptions.ruby_package");
6728           #endif  // !NDEBUG
6729         } else
6730           goto handle_unusual;
6731         continue;
6732       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6733       case 999:
6734         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
6735           ptr -= 2;
6736           do {
6737             ptr += 2;
6738             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
6739             CHK_(ptr);
6740             if (!ctx->DataAvailable(ptr)) break;
6741           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
6742         } else
6743           goto handle_unusual;
6744         continue;
6745       default:
6746         goto handle_unusual;
6747     }  // switch
6748   handle_unusual:
6749     if ((tag == 0) || ((tag & 7) == 4)) {
6750       CHK_(ptr);
6751       ctx->SetLastTag(tag);
6752       goto message_done;
6753     }
6754     if ((8000u <= tag)) {
6755       ptr = _impl_._extensions_.ParseField(tag, ptr, internal_default_instance(), &_internal_metadata_, ctx);
6756       CHK_(ptr != nullptr);
6757       continue;
6758     }
6759     ptr = UnknownFieldParse(
6760         tag,
6761         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
6762         ptr, ctx);
6763     CHK_(ptr != nullptr);
6764   }  // while
6765 message_done:
6766   _impl_._has_bits_.Or(has_bits);
6767   return ptr;
6768 failure:
6769   ptr = nullptr;
6770   goto message_done;
6771 #undef CHK_
6772 }
6773 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const6774 uint8_t* FileOptions::_InternalSerialize(
6775     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6776   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileOptions)
6777   uint32_t cached_has_bits = 0;
6778   (void) cached_has_bits;
6779 
6780   cached_has_bits = _impl_._has_bits_[0];
6781   // optional string java_package = 1;
6782   if (cached_has_bits & 0x00000001u) {
6783     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6784       this->_internal_java_package().data(), static_cast<int>(this->_internal_java_package().length()),
6785       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6786       "google.protobuf.FileOptions.java_package");
6787     target = stream->WriteStringMaybeAliased(
6788         1, this->_internal_java_package(), target);
6789   }
6790 
6791   // optional string java_outer_classname = 8;
6792   if (cached_has_bits & 0x00000002u) {
6793     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6794       this->_internal_java_outer_classname().data(), static_cast<int>(this->_internal_java_outer_classname().length()),
6795       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6796       "google.protobuf.FileOptions.java_outer_classname");
6797     target = stream->WriteStringMaybeAliased(
6798         8, this->_internal_java_outer_classname(), target);
6799   }
6800 
6801   // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
6802   if (cached_has_bits & 0x00040000u) {
6803     target = stream->EnsureSpace(target);
6804     target = ::_pbi::WireFormatLite::WriteEnumToArray(
6805       9, this->_internal_optimize_for(), target);
6806   }
6807 
6808   // optional bool java_multiple_files = 10 [default = false];
6809   if (cached_has_bits & 0x00000400u) {
6810     target = stream->EnsureSpace(target);
6811     target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_java_multiple_files(), target);
6812   }
6813 
6814   // optional string go_package = 11;
6815   if (cached_has_bits & 0x00000004u) {
6816     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6817       this->_internal_go_package().data(), static_cast<int>(this->_internal_go_package().length()),
6818       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6819       "google.protobuf.FileOptions.go_package");
6820     target = stream->WriteStringMaybeAliased(
6821         11, this->_internal_go_package(), target);
6822   }
6823 
6824   // optional bool cc_generic_services = 16 [default = false];
6825   if (cached_has_bits & 0x00002000u) {
6826     target = stream->EnsureSpace(target);
6827     target = ::_pbi::WireFormatLite::WriteBoolToArray(16, this->_internal_cc_generic_services(), target);
6828   }
6829 
6830   // optional bool java_generic_services = 17 [default = false];
6831   if (cached_has_bits & 0x00004000u) {
6832     target = stream->EnsureSpace(target);
6833     target = ::_pbi::WireFormatLite::WriteBoolToArray(17, this->_internal_java_generic_services(), target);
6834   }
6835 
6836   // optional bool py_generic_services = 18 [default = false];
6837   if (cached_has_bits & 0x00008000u) {
6838     target = stream->EnsureSpace(target);
6839     target = ::_pbi::WireFormatLite::WriteBoolToArray(18, this->_internal_py_generic_services(), target);
6840   }
6841 
6842   // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
6843   if (cached_has_bits & 0x00000800u) {
6844     target = stream->EnsureSpace(target);
6845     target = ::_pbi::WireFormatLite::WriteBoolToArray(20, this->_internal_java_generate_equals_and_hash(), target);
6846   }
6847 
6848   // optional bool deprecated = 23 [default = false];
6849   if (cached_has_bits & 0x00020000u) {
6850     target = stream->EnsureSpace(target);
6851     target = ::_pbi::WireFormatLite::WriteBoolToArray(23, this->_internal_deprecated(), target);
6852   }
6853 
6854   // optional bool java_string_check_utf8 = 27 [default = false];
6855   if (cached_has_bits & 0x00001000u) {
6856     target = stream->EnsureSpace(target);
6857     target = ::_pbi::WireFormatLite::WriteBoolToArray(27, this->_internal_java_string_check_utf8(), target);
6858   }
6859 
6860   // optional bool cc_enable_arenas = 31 [default = true];
6861   if (cached_has_bits & 0x00080000u) {
6862     target = stream->EnsureSpace(target);
6863     target = ::_pbi::WireFormatLite::WriteBoolToArray(31, this->_internal_cc_enable_arenas(), target);
6864   }
6865 
6866   // optional string objc_class_prefix = 36;
6867   if (cached_has_bits & 0x00000008u) {
6868     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6869       this->_internal_objc_class_prefix().data(), static_cast<int>(this->_internal_objc_class_prefix().length()),
6870       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6871       "google.protobuf.FileOptions.objc_class_prefix");
6872     target = stream->WriteStringMaybeAliased(
6873         36, this->_internal_objc_class_prefix(), target);
6874   }
6875 
6876   // optional string csharp_namespace = 37;
6877   if (cached_has_bits & 0x00000010u) {
6878     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6879       this->_internal_csharp_namespace().data(), static_cast<int>(this->_internal_csharp_namespace().length()),
6880       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6881       "google.protobuf.FileOptions.csharp_namespace");
6882     target = stream->WriteStringMaybeAliased(
6883         37, this->_internal_csharp_namespace(), target);
6884   }
6885 
6886   // optional string swift_prefix = 39;
6887   if (cached_has_bits & 0x00000020u) {
6888     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6889       this->_internal_swift_prefix().data(), static_cast<int>(this->_internal_swift_prefix().length()),
6890       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6891       "google.protobuf.FileOptions.swift_prefix");
6892     target = stream->WriteStringMaybeAliased(
6893         39, this->_internal_swift_prefix(), target);
6894   }
6895 
6896   // optional string php_class_prefix = 40;
6897   if (cached_has_bits & 0x00000040u) {
6898     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6899       this->_internal_php_class_prefix().data(), static_cast<int>(this->_internal_php_class_prefix().length()),
6900       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6901       "google.protobuf.FileOptions.php_class_prefix");
6902     target = stream->WriteStringMaybeAliased(
6903         40, this->_internal_php_class_prefix(), target);
6904   }
6905 
6906   // optional string php_namespace = 41;
6907   if (cached_has_bits & 0x00000080u) {
6908     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6909       this->_internal_php_namespace().data(), static_cast<int>(this->_internal_php_namespace().length()),
6910       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6911       "google.protobuf.FileOptions.php_namespace");
6912     target = stream->WriteStringMaybeAliased(
6913         41, this->_internal_php_namespace(), target);
6914   }
6915 
6916   // optional bool php_generic_services = 42 [default = false];
6917   if (cached_has_bits & 0x00010000u) {
6918     target = stream->EnsureSpace(target);
6919     target = ::_pbi::WireFormatLite::WriteBoolToArray(42, this->_internal_php_generic_services(), target);
6920   }
6921 
6922   // optional string php_metadata_namespace = 44;
6923   if (cached_has_bits & 0x00000100u) {
6924     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6925       this->_internal_php_metadata_namespace().data(), static_cast<int>(this->_internal_php_metadata_namespace().length()),
6926       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6927       "google.protobuf.FileOptions.php_metadata_namespace");
6928     target = stream->WriteStringMaybeAliased(
6929         44, this->_internal_php_metadata_namespace(), target);
6930   }
6931 
6932   // optional string ruby_package = 45;
6933   if (cached_has_bits & 0x00000200u) {
6934     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6935       this->_internal_ruby_package().data(), static_cast<int>(this->_internal_ruby_package().length()),
6936       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6937       "google.protobuf.FileOptions.ruby_package");
6938     target = stream->WriteStringMaybeAliased(
6939         45, this->_internal_ruby_package(), target);
6940   }
6941 
6942   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6943   for (unsigned i = 0,
6944       n = static_cast<unsigned>(this->_internal_uninterpreted_option_size()); i < n; i++) {
6945     const auto& repfield = this->_internal_uninterpreted_option(i);
6946     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
6947         InternalWriteMessage(999, repfield, repfield.GetCachedSize(), target, stream);
6948   }
6949 
6950   // Extension range [1000, 536870912)
6951   target = _impl_._extensions_._InternalSerialize(
6952   internal_default_instance(), 1000, 536870912, target, stream);
6953 
6954   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6955     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6956         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
6957   }
6958   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FileOptions)
6959   return target;
6960 }
6961 
ByteSizeLong() const6962 size_t FileOptions::ByteSizeLong() const {
6963 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileOptions)
6964   size_t total_size = 0;
6965 
6966   total_size += _impl_._extensions_.ByteSize();
6967 
6968   uint32_t cached_has_bits = 0;
6969   // Prevent compiler warnings about cached_has_bits being unused
6970   (void) cached_has_bits;
6971 
6972   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6973   total_size += 2UL * this->_internal_uninterpreted_option_size();
6974   for (const auto& msg : this->_impl_.uninterpreted_option_) {
6975     total_size +=
6976       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
6977   }
6978 
6979   cached_has_bits = _impl_._has_bits_[0];
6980   if (cached_has_bits & 0x000000ffu) {
6981     // optional string java_package = 1;
6982     if (cached_has_bits & 0x00000001u) {
6983       total_size += 1 +
6984         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6985           this->_internal_java_package());
6986     }
6987 
6988     // optional string java_outer_classname = 8;
6989     if (cached_has_bits & 0x00000002u) {
6990       total_size += 1 +
6991         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6992           this->_internal_java_outer_classname());
6993     }
6994 
6995     // optional string go_package = 11;
6996     if (cached_has_bits & 0x00000004u) {
6997       total_size += 1 +
6998         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6999           this->_internal_go_package());
7000     }
7001 
7002     // optional string objc_class_prefix = 36;
7003     if (cached_has_bits & 0x00000008u) {
7004       total_size += 2 +
7005         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7006           this->_internal_objc_class_prefix());
7007     }
7008 
7009     // optional string csharp_namespace = 37;
7010     if (cached_has_bits & 0x00000010u) {
7011       total_size += 2 +
7012         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7013           this->_internal_csharp_namespace());
7014     }
7015 
7016     // optional string swift_prefix = 39;
7017     if (cached_has_bits & 0x00000020u) {
7018       total_size += 2 +
7019         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7020           this->_internal_swift_prefix());
7021     }
7022 
7023     // optional string php_class_prefix = 40;
7024     if (cached_has_bits & 0x00000040u) {
7025       total_size += 2 +
7026         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7027           this->_internal_php_class_prefix());
7028     }
7029 
7030     // optional string php_namespace = 41;
7031     if (cached_has_bits & 0x00000080u) {
7032       total_size += 2 +
7033         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7034           this->_internal_php_namespace());
7035     }
7036 
7037   }
7038   if (cached_has_bits & 0x0000ff00u) {
7039     // optional string php_metadata_namespace = 44;
7040     if (cached_has_bits & 0x00000100u) {
7041       total_size += 2 +
7042         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7043           this->_internal_php_metadata_namespace());
7044     }
7045 
7046     // optional string ruby_package = 45;
7047     if (cached_has_bits & 0x00000200u) {
7048       total_size += 2 +
7049         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7050           this->_internal_ruby_package());
7051     }
7052 
7053     // optional bool java_multiple_files = 10 [default = false];
7054     if (cached_has_bits & 0x00000400u) {
7055       total_size += 1 + 1;
7056     }
7057 
7058     // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
7059     if (cached_has_bits & 0x00000800u) {
7060       total_size += 2 + 1;
7061     }
7062 
7063     // optional bool java_string_check_utf8 = 27 [default = false];
7064     if (cached_has_bits & 0x00001000u) {
7065       total_size += 2 + 1;
7066     }
7067 
7068     // optional bool cc_generic_services = 16 [default = false];
7069     if (cached_has_bits & 0x00002000u) {
7070       total_size += 2 + 1;
7071     }
7072 
7073     // optional bool java_generic_services = 17 [default = false];
7074     if (cached_has_bits & 0x00004000u) {
7075       total_size += 2 + 1;
7076     }
7077 
7078     // optional bool py_generic_services = 18 [default = false];
7079     if (cached_has_bits & 0x00008000u) {
7080       total_size += 2 + 1;
7081     }
7082 
7083   }
7084   if (cached_has_bits & 0x000f0000u) {
7085     // optional bool php_generic_services = 42 [default = false];
7086     if (cached_has_bits & 0x00010000u) {
7087       total_size += 2 + 1;
7088     }
7089 
7090     // optional bool deprecated = 23 [default = false];
7091     if (cached_has_bits & 0x00020000u) {
7092       total_size += 2 + 1;
7093     }
7094 
7095     // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
7096     if (cached_has_bits & 0x00040000u) {
7097       total_size += 1 +
7098         ::_pbi::WireFormatLite::EnumSize(this->_internal_optimize_for());
7099     }
7100 
7101     // optional bool cc_enable_arenas = 31 [default = true];
7102     if (cached_has_bits & 0x00080000u) {
7103       total_size += 2 + 1;
7104     }
7105 
7106   }
7107   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7108 }
7109 
7110 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FileOptions::_class_data_ = {
7111     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
7112     FileOptions::MergeImpl
7113 };
GetClassData() const7114 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FileOptions::GetClassData() const { return &_class_data_; }
7115 
7116 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)7117 void FileOptions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
7118   auto* const _this = static_cast<FileOptions*>(&to_msg);
7119   auto& from = static_cast<const FileOptions&>(from_msg);
7120   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileOptions)
7121   GOOGLE_DCHECK_NE(&from, _this);
7122   uint32_t cached_has_bits = 0;
7123   (void) cached_has_bits;
7124 
7125   _this->_impl_.uninterpreted_option_.MergeFrom(from._impl_.uninterpreted_option_);
7126   cached_has_bits = from._impl_._has_bits_[0];
7127   if (cached_has_bits & 0x000000ffu) {
7128     if (cached_has_bits & 0x00000001u) {
7129       _this->_internal_set_java_package(from._internal_java_package());
7130     }
7131     if (cached_has_bits & 0x00000002u) {
7132       _this->_internal_set_java_outer_classname(from._internal_java_outer_classname());
7133     }
7134     if (cached_has_bits & 0x00000004u) {
7135       _this->_internal_set_go_package(from._internal_go_package());
7136     }
7137     if (cached_has_bits & 0x00000008u) {
7138       _this->_internal_set_objc_class_prefix(from._internal_objc_class_prefix());
7139     }
7140     if (cached_has_bits & 0x00000010u) {
7141       _this->_internal_set_csharp_namespace(from._internal_csharp_namespace());
7142     }
7143     if (cached_has_bits & 0x00000020u) {
7144       _this->_internal_set_swift_prefix(from._internal_swift_prefix());
7145     }
7146     if (cached_has_bits & 0x00000040u) {
7147       _this->_internal_set_php_class_prefix(from._internal_php_class_prefix());
7148     }
7149     if (cached_has_bits & 0x00000080u) {
7150       _this->_internal_set_php_namespace(from._internal_php_namespace());
7151     }
7152   }
7153   if (cached_has_bits & 0x0000ff00u) {
7154     if (cached_has_bits & 0x00000100u) {
7155       _this->_internal_set_php_metadata_namespace(from._internal_php_metadata_namespace());
7156     }
7157     if (cached_has_bits & 0x00000200u) {
7158       _this->_internal_set_ruby_package(from._internal_ruby_package());
7159     }
7160     if (cached_has_bits & 0x00000400u) {
7161       _this->_impl_.java_multiple_files_ = from._impl_.java_multiple_files_;
7162     }
7163     if (cached_has_bits & 0x00000800u) {
7164       _this->_impl_.java_generate_equals_and_hash_ = from._impl_.java_generate_equals_and_hash_;
7165     }
7166     if (cached_has_bits & 0x00001000u) {
7167       _this->_impl_.java_string_check_utf8_ = from._impl_.java_string_check_utf8_;
7168     }
7169     if (cached_has_bits & 0x00002000u) {
7170       _this->_impl_.cc_generic_services_ = from._impl_.cc_generic_services_;
7171     }
7172     if (cached_has_bits & 0x00004000u) {
7173       _this->_impl_.java_generic_services_ = from._impl_.java_generic_services_;
7174     }
7175     if (cached_has_bits & 0x00008000u) {
7176       _this->_impl_.py_generic_services_ = from._impl_.py_generic_services_;
7177     }
7178     _this->_impl_._has_bits_[0] |= cached_has_bits;
7179   }
7180   if (cached_has_bits & 0x000f0000u) {
7181     if (cached_has_bits & 0x00010000u) {
7182       _this->_impl_.php_generic_services_ = from._impl_.php_generic_services_;
7183     }
7184     if (cached_has_bits & 0x00020000u) {
7185       _this->_impl_.deprecated_ = from._impl_.deprecated_;
7186     }
7187     if (cached_has_bits & 0x00040000u) {
7188       _this->_impl_.optimize_for_ = from._impl_.optimize_for_;
7189     }
7190     if (cached_has_bits & 0x00080000u) {
7191       _this->_impl_.cc_enable_arenas_ = from._impl_.cc_enable_arenas_;
7192     }
7193     _this->_impl_._has_bits_[0] |= cached_has_bits;
7194   }
7195   _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
7196   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
7197 }
7198 
CopyFrom(const FileOptions & from)7199 void FileOptions::CopyFrom(const FileOptions& from) {
7200 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileOptions)
7201   if (&from == this) return;
7202   Clear();
7203   MergeFrom(from);
7204 }
7205 
IsInitialized() const7206 bool FileOptions::IsInitialized() const {
7207   if (!_impl_._extensions_.IsInitialized()) {
7208     return false;
7209   }
7210 
7211   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.uninterpreted_option_))
7212     return false;
7213   return true;
7214 }
7215 
InternalSwap(FileOptions * other)7216 void FileOptions::InternalSwap(FileOptions* other) {
7217   using std::swap;
7218   _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
7219   auto* lhs_arena = GetArenaForAllocation();
7220   auto* rhs_arena = other->GetArenaForAllocation();
7221   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7222   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7223   _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
7224   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7225       &_impl_.java_package_, lhs_arena,
7226       &other->_impl_.java_package_, rhs_arena
7227   );
7228   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7229       &_impl_.java_outer_classname_, lhs_arena,
7230       &other->_impl_.java_outer_classname_, rhs_arena
7231   );
7232   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7233       &_impl_.go_package_, lhs_arena,
7234       &other->_impl_.go_package_, rhs_arena
7235   );
7236   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7237       &_impl_.objc_class_prefix_, lhs_arena,
7238       &other->_impl_.objc_class_prefix_, rhs_arena
7239   );
7240   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7241       &_impl_.csharp_namespace_, lhs_arena,
7242       &other->_impl_.csharp_namespace_, rhs_arena
7243   );
7244   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7245       &_impl_.swift_prefix_, lhs_arena,
7246       &other->_impl_.swift_prefix_, rhs_arena
7247   );
7248   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7249       &_impl_.php_class_prefix_, lhs_arena,
7250       &other->_impl_.php_class_prefix_, rhs_arena
7251   );
7252   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7253       &_impl_.php_namespace_, lhs_arena,
7254       &other->_impl_.php_namespace_, rhs_arena
7255   );
7256   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7257       &_impl_.php_metadata_namespace_, lhs_arena,
7258       &other->_impl_.php_metadata_namespace_, rhs_arena
7259   );
7260   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7261       &_impl_.ruby_package_, lhs_arena,
7262       &other->_impl_.ruby_package_, rhs_arena
7263   );
7264   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
7265       PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.deprecated_)
7266       + sizeof(FileOptions::_impl_.deprecated_)
7267       - PROTOBUF_FIELD_OFFSET(FileOptions, _impl_.java_multiple_files_)>(
7268           reinterpret_cast<char*>(&_impl_.java_multiple_files_),
7269           reinterpret_cast<char*>(&other->_impl_.java_multiple_files_));
7270   swap(_impl_.optimize_for_, other->_impl_.optimize_for_);
7271   swap(_impl_.cc_enable_arenas_, other->_impl_.cc_enable_arenas_);
7272 }
7273 
GetMetadata() const7274 ::PROTOBUF_NAMESPACE_ID::Metadata FileOptions::GetMetadata() const {
7275   return ::_pbi::AssignDescriptors(
7276       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
7277       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[13]);
7278 }
7279 
7280 // ===================================================================
7281 
7282 class MessageOptions::_Internal {
7283  public:
7284   using HasBits = decltype(std::declval<MessageOptions>()._impl_._has_bits_);
set_has_message_set_wire_format(HasBits * has_bits)7285   static void set_has_message_set_wire_format(HasBits* has_bits) {
7286     (*has_bits)[0] |= 1u;
7287   }
set_has_no_standard_descriptor_accessor(HasBits * has_bits)7288   static void set_has_no_standard_descriptor_accessor(HasBits* has_bits) {
7289     (*has_bits)[0] |= 2u;
7290   }
set_has_deprecated(HasBits * has_bits)7291   static void set_has_deprecated(HasBits* has_bits) {
7292     (*has_bits)[0] |= 4u;
7293   }
set_has_map_entry(HasBits * has_bits)7294   static void set_has_map_entry(HasBits* has_bits) {
7295     (*has_bits)[0] |= 8u;
7296   }
7297 };
7298 
MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)7299 MessageOptions::MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7300                          bool is_message_owned)
7301   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
7302   SharedCtor(arena, is_message_owned);
7303   // @@protoc_insertion_point(arena_constructor:google.protobuf.MessageOptions)
7304 }
MessageOptions(const MessageOptions & from)7305 MessageOptions::MessageOptions(const MessageOptions& from)
7306   : ::PROTOBUF_NAMESPACE_ID::Message() {
7307   MessageOptions* const _this = this; (void)_this;
7308   new (&_impl_) Impl_{
7309       /*decltype(_impl_._extensions_)*/{}
7310     , decltype(_impl_._has_bits_){from._impl_._has_bits_}
7311     , /*decltype(_impl_._cached_size_)*/{}
7312     , decltype(_impl_.uninterpreted_option_){from._impl_.uninterpreted_option_}
7313     , decltype(_impl_.message_set_wire_format_){}
7314     , decltype(_impl_.no_standard_descriptor_accessor_){}
7315     , decltype(_impl_.deprecated_){}
7316     , decltype(_impl_.map_entry_){}};
7317 
7318   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
7319   _impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
7320   ::memcpy(&_impl_.message_set_wire_format_, &from._impl_.message_set_wire_format_,
7321     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.map_entry_) -
7322     reinterpret_cast<char*>(&_impl_.message_set_wire_format_)) + sizeof(_impl_.map_entry_));
7323   // @@protoc_insertion_point(copy_constructor:google.protobuf.MessageOptions)
7324 }
7325 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)7326 inline void MessageOptions::SharedCtor(
7327     ::_pb::Arena* arena, bool is_message_owned) {
7328   (void)arena;
7329   (void)is_message_owned;
7330   new (&_impl_) Impl_{
7331       /*decltype(_impl_._extensions_)*/{::_pbi::ArenaInitialized(), arena}
7332     , decltype(_impl_._has_bits_){}
7333     , /*decltype(_impl_._cached_size_)*/{}
7334     , decltype(_impl_.uninterpreted_option_){arena}
7335     , decltype(_impl_.message_set_wire_format_){false}
7336     , decltype(_impl_.no_standard_descriptor_accessor_){false}
7337     , decltype(_impl_.deprecated_){false}
7338     , decltype(_impl_.map_entry_){false}
7339   };
7340 }
7341 
~MessageOptions()7342 MessageOptions::~MessageOptions() {
7343   // @@protoc_insertion_point(destructor:google.protobuf.MessageOptions)
7344   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
7345   (void)arena;
7346     return;
7347   }
7348   SharedDtor();
7349 }
7350 
SharedDtor()7351 inline void MessageOptions::SharedDtor() {
7352   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
7353   _impl_._extensions_.~ExtensionSet();
7354   _impl_.uninterpreted_option_.~RepeatedPtrField();
7355 }
7356 
SetCachedSize(int size) const7357 void MessageOptions::SetCachedSize(int size) const {
7358   _impl_._cached_size_.Set(size);
7359 }
7360 
Clear()7361 void MessageOptions::Clear() {
7362 // @@protoc_insertion_point(message_clear_start:google.protobuf.MessageOptions)
7363   uint32_t cached_has_bits = 0;
7364   // Prevent compiler warnings about cached_has_bits being unused
7365   (void) cached_has_bits;
7366 
7367   _impl_._extensions_.Clear();
7368   _impl_.uninterpreted_option_.Clear();
7369   ::memset(&_impl_.message_set_wire_format_, 0, static_cast<size_t>(
7370       reinterpret_cast<char*>(&_impl_.map_entry_) -
7371       reinterpret_cast<char*>(&_impl_.message_set_wire_format_)) + sizeof(_impl_.map_entry_));
7372   _impl_._has_bits_.Clear();
7373   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
7374 }
7375 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)7376 const char* MessageOptions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
7377 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7378   _Internal::HasBits has_bits{};
7379   while (!ctx->Done(&ptr)) {
7380     uint32_t tag;
7381     ptr = ::_pbi::ReadTag(ptr, &tag);
7382     switch (tag >> 3) {
7383       // optional bool message_set_wire_format = 1 [default = false];
7384       case 1:
7385         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
7386           _Internal::set_has_message_set_wire_format(&has_bits);
7387           _impl_.message_set_wire_format_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7388           CHK_(ptr);
7389         } else
7390           goto handle_unusual;
7391         continue;
7392       // optional bool no_standard_descriptor_accessor = 2 [default = false];
7393       case 2:
7394         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
7395           _Internal::set_has_no_standard_descriptor_accessor(&has_bits);
7396           _impl_.no_standard_descriptor_accessor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7397           CHK_(ptr);
7398         } else
7399           goto handle_unusual;
7400         continue;
7401       // optional bool deprecated = 3 [default = false];
7402       case 3:
7403         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
7404           _Internal::set_has_deprecated(&has_bits);
7405           _impl_.deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7406           CHK_(ptr);
7407         } else
7408           goto handle_unusual;
7409         continue;
7410       // optional bool map_entry = 7;
7411       case 7:
7412         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
7413           _Internal::set_has_map_entry(&has_bits);
7414           _impl_.map_entry_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7415           CHK_(ptr);
7416         } else
7417           goto handle_unusual;
7418         continue;
7419       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7420       case 999:
7421         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
7422           ptr -= 2;
7423           do {
7424             ptr += 2;
7425             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
7426             CHK_(ptr);
7427             if (!ctx->DataAvailable(ptr)) break;
7428           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
7429         } else
7430           goto handle_unusual;
7431         continue;
7432       default:
7433         goto handle_unusual;
7434     }  // switch
7435   handle_unusual:
7436     if ((tag == 0) || ((tag & 7) == 4)) {
7437       CHK_(ptr);
7438       ctx->SetLastTag(tag);
7439       goto message_done;
7440     }
7441     if ((8000u <= tag)) {
7442       ptr = _impl_._extensions_.ParseField(tag, ptr, internal_default_instance(), &_internal_metadata_, ctx);
7443       CHK_(ptr != nullptr);
7444       continue;
7445     }
7446     ptr = UnknownFieldParse(
7447         tag,
7448         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
7449         ptr, ctx);
7450     CHK_(ptr != nullptr);
7451   }  // while
7452 message_done:
7453   _impl_._has_bits_.Or(has_bits);
7454   return ptr;
7455 failure:
7456   ptr = nullptr;
7457   goto message_done;
7458 #undef CHK_
7459 }
7460 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const7461 uint8_t* MessageOptions::_InternalSerialize(
7462     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7463   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MessageOptions)
7464   uint32_t cached_has_bits = 0;
7465   (void) cached_has_bits;
7466 
7467   cached_has_bits = _impl_._has_bits_[0];
7468   // optional bool message_set_wire_format = 1 [default = false];
7469   if (cached_has_bits & 0x00000001u) {
7470     target = stream->EnsureSpace(target);
7471     target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_message_set_wire_format(), target);
7472   }
7473 
7474   // optional bool no_standard_descriptor_accessor = 2 [default = false];
7475   if (cached_has_bits & 0x00000002u) {
7476     target = stream->EnsureSpace(target);
7477     target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_no_standard_descriptor_accessor(), target);
7478   }
7479 
7480   // optional bool deprecated = 3 [default = false];
7481   if (cached_has_bits & 0x00000004u) {
7482     target = stream->EnsureSpace(target);
7483     target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_deprecated(), target);
7484   }
7485 
7486   // optional bool map_entry = 7;
7487   if (cached_has_bits & 0x00000008u) {
7488     target = stream->EnsureSpace(target);
7489     target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_map_entry(), target);
7490   }
7491 
7492   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7493   for (unsigned i = 0,
7494       n = static_cast<unsigned>(this->_internal_uninterpreted_option_size()); i < n; i++) {
7495     const auto& repfield = this->_internal_uninterpreted_option(i);
7496     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7497         InternalWriteMessage(999, repfield, repfield.GetCachedSize(), target, stream);
7498   }
7499 
7500   // Extension range [1000, 536870912)
7501   target = _impl_._extensions_._InternalSerialize(
7502   internal_default_instance(), 1000, 536870912, target, stream);
7503 
7504   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7505     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7506         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
7507   }
7508   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.MessageOptions)
7509   return target;
7510 }
7511 
ByteSizeLong() const7512 size_t MessageOptions::ByteSizeLong() const {
7513 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.MessageOptions)
7514   size_t total_size = 0;
7515 
7516   total_size += _impl_._extensions_.ByteSize();
7517 
7518   uint32_t cached_has_bits = 0;
7519   // Prevent compiler warnings about cached_has_bits being unused
7520   (void) cached_has_bits;
7521 
7522   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7523   total_size += 2UL * this->_internal_uninterpreted_option_size();
7524   for (const auto& msg : this->_impl_.uninterpreted_option_) {
7525     total_size +=
7526       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
7527   }
7528 
7529   cached_has_bits = _impl_._has_bits_[0];
7530   if (cached_has_bits & 0x0000000fu) {
7531     // optional bool message_set_wire_format = 1 [default = false];
7532     if (cached_has_bits & 0x00000001u) {
7533       total_size += 1 + 1;
7534     }
7535 
7536     // optional bool no_standard_descriptor_accessor = 2 [default = false];
7537     if (cached_has_bits & 0x00000002u) {
7538       total_size += 1 + 1;
7539     }
7540 
7541     // optional bool deprecated = 3 [default = false];
7542     if (cached_has_bits & 0x00000004u) {
7543       total_size += 1 + 1;
7544     }
7545 
7546     // optional bool map_entry = 7;
7547     if (cached_has_bits & 0x00000008u) {
7548       total_size += 1 + 1;
7549     }
7550 
7551   }
7552   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7553 }
7554 
7555 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MessageOptions::_class_data_ = {
7556     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
7557     MessageOptions::MergeImpl
7558 };
GetClassData() const7559 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MessageOptions::GetClassData() const { return &_class_data_; }
7560 
7561 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)7562 void MessageOptions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
7563   auto* const _this = static_cast<MessageOptions*>(&to_msg);
7564   auto& from = static_cast<const MessageOptions&>(from_msg);
7565   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MessageOptions)
7566   GOOGLE_DCHECK_NE(&from, _this);
7567   uint32_t cached_has_bits = 0;
7568   (void) cached_has_bits;
7569 
7570   _this->_impl_.uninterpreted_option_.MergeFrom(from._impl_.uninterpreted_option_);
7571   cached_has_bits = from._impl_._has_bits_[0];
7572   if (cached_has_bits & 0x0000000fu) {
7573     if (cached_has_bits & 0x00000001u) {
7574       _this->_impl_.message_set_wire_format_ = from._impl_.message_set_wire_format_;
7575     }
7576     if (cached_has_bits & 0x00000002u) {
7577       _this->_impl_.no_standard_descriptor_accessor_ = from._impl_.no_standard_descriptor_accessor_;
7578     }
7579     if (cached_has_bits & 0x00000004u) {
7580       _this->_impl_.deprecated_ = from._impl_.deprecated_;
7581     }
7582     if (cached_has_bits & 0x00000008u) {
7583       _this->_impl_.map_entry_ = from._impl_.map_entry_;
7584     }
7585     _this->_impl_._has_bits_[0] |= cached_has_bits;
7586   }
7587   _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
7588   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
7589 }
7590 
CopyFrom(const MessageOptions & from)7591 void MessageOptions::CopyFrom(const MessageOptions& from) {
7592 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MessageOptions)
7593   if (&from == this) return;
7594   Clear();
7595   MergeFrom(from);
7596 }
7597 
IsInitialized() const7598 bool MessageOptions::IsInitialized() const {
7599   if (!_impl_._extensions_.IsInitialized()) {
7600     return false;
7601   }
7602 
7603   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.uninterpreted_option_))
7604     return false;
7605   return true;
7606 }
7607 
InternalSwap(MessageOptions * other)7608 void MessageOptions::InternalSwap(MessageOptions* other) {
7609   using std::swap;
7610   _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
7611   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7612   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7613   _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
7614   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
7615       PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.map_entry_)
7616       + sizeof(MessageOptions::_impl_.map_entry_)
7617       - PROTOBUF_FIELD_OFFSET(MessageOptions, _impl_.message_set_wire_format_)>(
7618           reinterpret_cast<char*>(&_impl_.message_set_wire_format_),
7619           reinterpret_cast<char*>(&other->_impl_.message_set_wire_format_));
7620 }
7621 
GetMetadata() const7622 ::PROTOBUF_NAMESPACE_ID::Metadata MessageOptions::GetMetadata() const {
7623   return ::_pbi::AssignDescriptors(
7624       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
7625       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[14]);
7626 }
7627 
7628 // ===================================================================
7629 
7630 class FieldOptions::_Internal {
7631  public:
7632   using HasBits = decltype(std::declval<FieldOptions>()._impl_._has_bits_);
set_has_ctype(HasBits * has_bits)7633   static void set_has_ctype(HasBits* has_bits) {
7634     (*has_bits)[0] |= 1u;
7635   }
set_has_packed(HasBits * has_bits)7636   static void set_has_packed(HasBits* has_bits) {
7637     (*has_bits)[0] |= 4u;
7638   }
set_has_jstype(HasBits * has_bits)7639   static void set_has_jstype(HasBits* has_bits) {
7640     (*has_bits)[0] |= 2u;
7641   }
set_has_lazy(HasBits * has_bits)7642   static void set_has_lazy(HasBits* has_bits) {
7643     (*has_bits)[0] |= 8u;
7644   }
set_has_unverified_lazy(HasBits * has_bits)7645   static void set_has_unverified_lazy(HasBits* has_bits) {
7646     (*has_bits)[0] |= 16u;
7647   }
set_has_deprecated(HasBits * has_bits)7648   static void set_has_deprecated(HasBits* has_bits) {
7649     (*has_bits)[0] |= 32u;
7650   }
set_has_weak(HasBits * has_bits)7651   static void set_has_weak(HasBits* has_bits) {
7652     (*has_bits)[0] |= 64u;
7653   }
7654 };
7655 
FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)7656 FieldOptions::FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7657                          bool is_message_owned)
7658   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
7659   SharedCtor(arena, is_message_owned);
7660   // @@protoc_insertion_point(arena_constructor:google.protobuf.FieldOptions)
7661 }
FieldOptions(const FieldOptions & from)7662 FieldOptions::FieldOptions(const FieldOptions& from)
7663   : ::PROTOBUF_NAMESPACE_ID::Message() {
7664   FieldOptions* const _this = this; (void)_this;
7665   new (&_impl_) Impl_{
7666       /*decltype(_impl_._extensions_)*/{}
7667     , decltype(_impl_._has_bits_){from._impl_._has_bits_}
7668     , /*decltype(_impl_._cached_size_)*/{}
7669     , decltype(_impl_.uninterpreted_option_){from._impl_.uninterpreted_option_}
7670     , decltype(_impl_.ctype_){}
7671     , decltype(_impl_.jstype_){}
7672     , decltype(_impl_.packed_){}
7673     , decltype(_impl_.lazy_){}
7674     , decltype(_impl_.unverified_lazy_){}
7675     , decltype(_impl_.deprecated_){}
7676     , decltype(_impl_.weak_){}};
7677 
7678   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
7679   _impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
7680   ::memcpy(&_impl_.ctype_, &from._impl_.ctype_,
7681     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.weak_) -
7682     reinterpret_cast<char*>(&_impl_.ctype_)) + sizeof(_impl_.weak_));
7683   // @@protoc_insertion_point(copy_constructor:google.protobuf.FieldOptions)
7684 }
7685 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)7686 inline void FieldOptions::SharedCtor(
7687     ::_pb::Arena* arena, bool is_message_owned) {
7688   (void)arena;
7689   (void)is_message_owned;
7690   new (&_impl_) Impl_{
7691       /*decltype(_impl_._extensions_)*/{::_pbi::ArenaInitialized(), arena}
7692     , decltype(_impl_._has_bits_){}
7693     , /*decltype(_impl_._cached_size_)*/{}
7694     , decltype(_impl_.uninterpreted_option_){arena}
7695     , decltype(_impl_.ctype_){0}
7696     , decltype(_impl_.jstype_){0}
7697     , decltype(_impl_.packed_){false}
7698     , decltype(_impl_.lazy_){false}
7699     , decltype(_impl_.unverified_lazy_){false}
7700     , decltype(_impl_.deprecated_){false}
7701     , decltype(_impl_.weak_){false}
7702   };
7703 }
7704 
~FieldOptions()7705 FieldOptions::~FieldOptions() {
7706   // @@protoc_insertion_point(destructor:google.protobuf.FieldOptions)
7707   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
7708   (void)arena;
7709     return;
7710   }
7711   SharedDtor();
7712 }
7713 
SharedDtor()7714 inline void FieldOptions::SharedDtor() {
7715   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
7716   _impl_._extensions_.~ExtensionSet();
7717   _impl_.uninterpreted_option_.~RepeatedPtrField();
7718 }
7719 
SetCachedSize(int size) const7720 void FieldOptions::SetCachedSize(int size) const {
7721   _impl_._cached_size_.Set(size);
7722 }
7723 
Clear()7724 void FieldOptions::Clear() {
7725 // @@protoc_insertion_point(message_clear_start:google.protobuf.FieldOptions)
7726   uint32_t cached_has_bits = 0;
7727   // Prevent compiler warnings about cached_has_bits being unused
7728   (void) cached_has_bits;
7729 
7730   _impl_._extensions_.Clear();
7731   _impl_.uninterpreted_option_.Clear();
7732   cached_has_bits = _impl_._has_bits_[0];
7733   if (cached_has_bits & 0x0000007fu) {
7734     ::memset(&_impl_.ctype_, 0, static_cast<size_t>(
7735         reinterpret_cast<char*>(&_impl_.weak_) -
7736         reinterpret_cast<char*>(&_impl_.ctype_)) + sizeof(_impl_.weak_));
7737   }
7738   _impl_._has_bits_.Clear();
7739   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
7740 }
7741 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)7742 const char* FieldOptions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
7743 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7744   _Internal::HasBits has_bits{};
7745   while (!ctx->Done(&ptr)) {
7746     uint32_t tag;
7747     ptr = ::_pbi::ReadTag(ptr, &tag);
7748     switch (tag >> 3) {
7749       // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
7750       case 1:
7751         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
7752           uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7753           CHK_(ptr);
7754           if (PROTOBUF_PREDICT_TRUE(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType_IsValid(val))) {
7755             _internal_set_ctype(static_cast<::PROTOBUF_NAMESPACE_ID::FieldOptions_CType>(val));
7756           } else {
7757             ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields());
7758           }
7759         } else
7760           goto handle_unusual;
7761         continue;
7762       // optional bool packed = 2;
7763       case 2:
7764         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
7765           _Internal::set_has_packed(&has_bits);
7766           _impl_.packed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7767           CHK_(ptr);
7768         } else
7769           goto handle_unusual;
7770         continue;
7771       // optional bool deprecated = 3 [default = false];
7772       case 3:
7773         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
7774           _Internal::set_has_deprecated(&has_bits);
7775           _impl_.deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7776           CHK_(ptr);
7777         } else
7778           goto handle_unusual;
7779         continue;
7780       // optional bool lazy = 5 [default = false];
7781       case 5:
7782         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
7783           _Internal::set_has_lazy(&has_bits);
7784           _impl_.lazy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7785           CHK_(ptr);
7786         } else
7787           goto handle_unusual;
7788         continue;
7789       // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
7790       case 6:
7791         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
7792           uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7793           CHK_(ptr);
7794           if (PROTOBUF_PREDICT_TRUE(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_IsValid(val))) {
7795             _internal_set_jstype(static_cast<::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType>(val));
7796           } else {
7797             ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(6, val, mutable_unknown_fields());
7798           }
7799         } else
7800           goto handle_unusual;
7801         continue;
7802       // optional bool weak = 10 [default = false];
7803       case 10:
7804         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
7805           _Internal::set_has_weak(&has_bits);
7806           _impl_.weak_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7807           CHK_(ptr);
7808         } else
7809           goto handle_unusual;
7810         continue;
7811       // optional bool unverified_lazy = 15 [default = false];
7812       case 15:
7813         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 120)) {
7814           _Internal::set_has_unverified_lazy(&has_bits);
7815           _impl_.unverified_lazy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7816           CHK_(ptr);
7817         } else
7818           goto handle_unusual;
7819         continue;
7820       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7821       case 999:
7822         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
7823           ptr -= 2;
7824           do {
7825             ptr += 2;
7826             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
7827             CHK_(ptr);
7828             if (!ctx->DataAvailable(ptr)) break;
7829           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
7830         } else
7831           goto handle_unusual;
7832         continue;
7833       default:
7834         goto handle_unusual;
7835     }  // switch
7836   handle_unusual:
7837     if ((tag == 0) || ((tag & 7) == 4)) {
7838       CHK_(ptr);
7839       ctx->SetLastTag(tag);
7840       goto message_done;
7841     }
7842     if ((8000u <= tag)) {
7843       ptr = _impl_._extensions_.ParseField(tag, ptr, internal_default_instance(), &_internal_metadata_, ctx);
7844       CHK_(ptr != nullptr);
7845       continue;
7846     }
7847     ptr = UnknownFieldParse(
7848         tag,
7849         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
7850         ptr, ctx);
7851     CHK_(ptr != nullptr);
7852   }  // while
7853 message_done:
7854   _impl_._has_bits_.Or(has_bits);
7855   return ptr;
7856 failure:
7857   ptr = nullptr;
7858   goto message_done;
7859 #undef CHK_
7860 }
7861 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const7862 uint8_t* FieldOptions::_InternalSerialize(
7863     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7864   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldOptions)
7865   uint32_t cached_has_bits = 0;
7866   (void) cached_has_bits;
7867 
7868   cached_has_bits = _impl_._has_bits_[0];
7869   // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
7870   if (cached_has_bits & 0x00000001u) {
7871     target = stream->EnsureSpace(target);
7872     target = ::_pbi::WireFormatLite::WriteEnumToArray(
7873       1, this->_internal_ctype(), target);
7874   }
7875 
7876   // optional bool packed = 2;
7877   if (cached_has_bits & 0x00000004u) {
7878     target = stream->EnsureSpace(target);
7879     target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_packed(), target);
7880   }
7881 
7882   // optional bool deprecated = 3 [default = false];
7883   if (cached_has_bits & 0x00000020u) {
7884     target = stream->EnsureSpace(target);
7885     target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_deprecated(), target);
7886   }
7887 
7888   // optional bool lazy = 5 [default = false];
7889   if (cached_has_bits & 0x00000008u) {
7890     target = stream->EnsureSpace(target);
7891     target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_lazy(), target);
7892   }
7893 
7894   // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
7895   if (cached_has_bits & 0x00000002u) {
7896     target = stream->EnsureSpace(target);
7897     target = ::_pbi::WireFormatLite::WriteEnumToArray(
7898       6, this->_internal_jstype(), target);
7899   }
7900 
7901   // optional bool weak = 10 [default = false];
7902   if (cached_has_bits & 0x00000040u) {
7903     target = stream->EnsureSpace(target);
7904     target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_weak(), target);
7905   }
7906 
7907   // optional bool unverified_lazy = 15 [default = false];
7908   if (cached_has_bits & 0x00000010u) {
7909     target = stream->EnsureSpace(target);
7910     target = ::_pbi::WireFormatLite::WriteBoolToArray(15, this->_internal_unverified_lazy(), target);
7911   }
7912 
7913   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7914   for (unsigned i = 0,
7915       n = static_cast<unsigned>(this->_internal_uninterpreted_option_size()); i < n; i++) {
7916     const auto& repfield = this->_internal_uninterpreted_option(i);
7917     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7918         InternalWriteMessage(999, repfield, repfield.GetCachedSize(), target, stream);
7919   }
7920 
7921   // Extension range [1000, 536870912)
7922   target = _impl_._extensions_._InternalSerialize(
7923   internal_default_instance(), 1000, 536870912, target, stream);
7924 
7925   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7926     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7927         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
7928   }
7929   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FieldOptions)
7930   return target;
7931 }
7932 
ByteSizeLong() const7933 size_t FieldOptions::ByteSizeLong() const {
7934 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldOptions)
7935   size_t total_size = 0;
7936 
7937   total_size += _impl_._extensions_.ByteSize();
7938 
7939   uint32_t cached_has_bits = 0;
7940   // Prevent compiler warnings about cached_has_bits being unused
7941   (void) cached_has_bits;
7942 
7943   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7944   total_size += 2UL * this->_internal_uninterpreted_option_size();
7945   for (const auto& msg : this->_impl_.uninterpreted_option_) {
7946     total_size +=
7947       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
7948   }
7949 
7950   cached_has_bits = _impl_._has_bits_[0];
7951   if (cached_has_bits & 0x0000007fu) {
7952     // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
7953     if (cached_has_bits & 0x00000001u) {
7954       total_size += 1 +
7955         ::_pbi::WireFormatLite::EnumSize(this->_internal_ctype());
7956     }
7957 
7958     // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
7959     if (cached_has_bits & 0x00000002u) {
7960       total_size += 1 +
7961         ::_pbi::WireFormatLite::EnumSize(this->_internal_jstype());
7962     }
7963 
7964     // optional bool packed = 2;
7965     if (cached_has_bits & 0x00000004u) {
7966       total_size += 1 + 1;
7967     }
7968 
7969     // optional bool lazy = 5 [default = false];
7970     if (cached_has_bits & 0x00000008u) {
7971       total_size += 1 + 1;
7972     }
7973 
7974     // optional bool unverified_lazy = 15 [default = false];
7975     if (cached_has_bits & 0x00000010u) {
7976       total_size += 1 + 1;
7977     }
7978 
7979     // optional bool deprecated = 3 [default = false];
7980     if (cached_has_bits & 0x00000020u) {
7981       total_size += 1 + 1;
7982     }
7983 
7984     // optional bool weak = 10 [default = false];
7985     if (cached_has_bits & 0x00000040u) {
7986       total_size += 1 + 1;
7987     }
7988 
7989   }
7990   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7991 }
7992 
7993 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FieldOptions::_class_data_ = {
7994     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
7995     FieldOptions::MergeImpl
7996 };
GetClassData() const7997 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FieldOptions::GetClassData() const { return &_class_data_; }
7998 
7999 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)8000 void FieldOptions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
8001   auto* const _this = static_cast<FieldOptions*>(&to_msg);
8002   auto& from = static_cast<const FieldOptions&>(from_msg);
8003   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldOptions)
8004   GOOGLE_DCHECK_NE(&from, _this);
8005   uint32_t cached_has_bits = 0;
8006   (void) cached_has_bits;
8007 
8008   _this->_impl_.uninterpreted_option_.MergeFrom(from._impl_.uninterpreted_option_);
8009   cached_has_bits = from._impl_._has_bits_[0];
8010   if (cached_has_bits & 0x0000007fu) {
8011     if (cached_has_bits & 0x00000001u) {
8012       _this->_impl_.ctype_ = from._impl_.ctype_;
8013     }
8014     if (cached_has_bits & 0x00000002u) {
8015       _this->_impl_.jstype_ = from._impl_.jstype_;
8016     }
8017     if (cached_has_bits & 0x00000004u) {
8018       _this->_impl_.packed_ = from._impl_.packed_;
8019     }
8020     if (cached_has_bits & 0x00000008u) {
8021       _this->_impl_.lazy_ = from._impl_.lazy_;
8022     }
8023     if (cached_has_bits & 0x00000010u) {
8024       _this->_impl_.unverified_lazy_ = from._impl_.unverified_lazy_;
8025     }
8026     if (cached_has_bits & 0x00000020u) {
8027       _this->_impl_.deprecated_ = from._impl_.deprecated_;
8028     }
8029     if (cached_has_bits & 0x00000040u) {
8030       _this->_impl_.weak_ = from._impl_.weak_;
8031     }
8032     _this->_impl_._has_bits_[0] |= cached_has_bits;
8033   }
8034   _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
8035   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8036 }
8037 
CopyFrom(const FieldOptions & from)8038 void FieldOptions::CopyFrom(const FieldOptions& from) {
8039 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FieldOptions)
8040   if (&from == this) return;
8041   Clear();
8042   MergeFrom(from);
8043 }
8044 
IsInitialized() const8045 bool FieldOptions::IsInitialized() const {
8046   if (!_impl_._extensions_.IsInitialized()) {
8047     return false;
8048   }
8049 
8050   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.uninterpreted_option_))
8051     return false;
8052   return true;
8053 }
8054 
InternalSwap(FieldOptions * other)8055 void FieldOptions::InternalSwap(FieldOptions* other) {
8056   using std::swap;
8057   _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
8058   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8059   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8060   _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
8061   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
8062       PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.weak_)
8063       + sizeof(FieldOptions::_impl_.weak_)
8064       - PROTOBUF_FIELD_OFFSET(FieldOptions, _impl_.ctype_)>(
8065           reinterpret_cast<char*>(&_impl_.ctype_),
8066           reinterpret_cast<char*>(&other->_impl_.ctype_));
8067 }
8068 
GetMetadata() const8069 ::PROTOBUF_NAMESPACE_ID::Metadata FieldOptions::GetMetadata() const {
8070   return ::_pbi::AssignDescriptors(
8071       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
8072       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[15]);
8073 }
8074 
8075 // ===================================================================
8076 
8077 class OneofOptions::_Internal {
8078  public:
8079 };
8080 
OneofOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)8081 OneofOptions::OneofOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8082                          bool is_message_owned)
8083   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
8084   SharedCtor(arena, is_message_owned);
8085   // @@protoc_insertion_point(arena_constructor:google.protobuf.OneofOptions)
8086 }
OneofOptions(const OneofOptions & from)8087 OneofOptions::OneofOptions(const OneofOptions& from)
8088   : ::PROTOBUF_NAMESPACE_ID::Message() {
8089   OneofOptions* const _this = this; (void)_this;
8090   new (&_impl_) Impl_{
8091       /*decltype(_impl_._extensions_)*/{}
8092     , decltype(_impl_.uninterpreted_option_){from._impl_.uninterpreted_option_}
8093     , /*decltype(_impl_._cached_size_)*/{}};
8094 
8095   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8096   _impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
8097   // @@protoc_insertion_point(copy_constructor:google.protobuf.OneofOptions)
8098 }
8099 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)8100 inline void OneofOptions::SharedCtor(
8101     ::_pb::Arena* arena, bool is_message_owned) {
8102   (void)arena;
8103   (void)is_message_owned;
8104   new (&_impl_) Impl_{
8105       /*decltype(_impl_._extensions_)*/{::_pbi::ArenaInitialized(), arena}
8106     , decltype(_impl_.uninterpreted_option_){arena}
8107     , /*decltype(_impl_._cached_size_)*/{}
8108   };
8109 }
8110 
~OneofOptions()8111 OneofOptions::~OneofOptions() {
8112   // @@protoc_insertion_point(destructor:google.protobuf.OneofOptions)
8113   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
8114   (void)arena;
8115     return;
8116   }
8117   SharedDtor();
8118 }
8119 
SharedDtor()8120 inline void OneofOptions::SharedDtor() {
8121   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8122   _impl_._extensions_.~ExtensionSet();
8123   _impl_.uninterpreted_option_.~RepeatedPtrField();
8124 }
8125 
SetCachedSize(int size) const8126 void OneofOptions::SetCachedSize(int size) const {
8127   _impl_._cached_size_.Set(size);
8128 }
8129 
Clear()8130 void OneofOptions::Clear() {
8131 // @@protoc_insertion_point(message_clear_start:google.protobuf.OneofOptions)
8132   uint32_t cached_has_bits = 0;
8133   // Prevent compiler warnings about cached_has_bits being unused
8134   (void) cached_has_bits;
8135 
8136   _impl_._extensions_.Clear();
8137   _impl_.uninterpreted_option_.Clear();
8138   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
8139 }
8140 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)8141 const char* OneofOptions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8142 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8143   while (!ctx->Done(&ptr)) {
8144     uint32_t tag;
8145     ptr = ::_pbi::ReadTag(ptr, &tag);
8146     switch (tag >> 3) {
8147       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8148       case 999:
8149         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
8150           ptr -= 2;
8151           do {
8152             ptr += 2;
8153             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
8154             CHK_(ptr);
8155             if (!ctx->DataAvailable(ptr)) break;
8156           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
8157         } else
8158           goto handle_unusual;
8159         continue;
8160       default:
8161         goto handle_unusual;
8162     }  // switch
8163   handle_unusual:
8164     if ((tag == 0) || ((tag & 7) == 4)) {
8165       CHK_(ptr);
8166       ctx->SetLastTag(tag);
8167       goto message_done;
8168     }
8169     if ((8000u <= tag)) {
8170       ptr = _impl_._extensions_.ParseField(tag, ptr, internal_default_instance(), &_internal_metadata_, ctx);
8171       CHK_(ptr != nullptr);
8172       continue;
8173     }
8174     ptr = UnknownFieldParse(
8175         tag,
8176         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
8177         ptr, ctx);
8178     CHK_(ptr != nullptr);
8179   }  // while
8180 message_done:
8181   return ptr;
8182 failure:
8183   ptr = nullptr;
8184   goto message_done;
8185 #undef CHK_
8186 }
8187 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const8188 uint8_t* OneofOptions::_InternalSerialize(
8189     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8190   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.OneofOptions)
8191   uint32_t cached_has_bits = 0;
8192   (void) cached_has_bits;
8193 
8194   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8195   for (unsigned i = 0,
8196       n = static_cast<unsigned>(this->_internal_uninterpreted_option_size()); i < n; i++) {
8197     const auto& repfield = this->_internal_uninterpreted_option(i);
8198     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
8199         InternalWriteMessage(999, repfield, repfield.GetCachedSize(), target, stream);
8200   }
8201 
8202   // Extension range [1000, 536870912)
8203   target = _impl_._extensions_._InternalSerialize(
8204   internal_default_instance(), 1000, 536870912, target, stream);
8205 
8206   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8207     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8208         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
8209   }
8210   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.OneofOptions)
8211   return target;
8212 }
8213 
ByteSizeLong() const8214 size_t OneofOptions::ByteSizeLong() const {
8215 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.OneofOptions)
8216   size_t total_size = 0;
8217 
8218   total_size += _impl_._extensions_.ByteSize();
8219 
8220   uint32_t cached_has_bits = 0;
8221   // Prevent compiler warnings about cached_has_bits being unused
8222   (void) cached_has_bits;
8223 
8224   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8225   total_size += 2UL * this->_internal_uninterpreted_option_size();
8226   for (const auto& msg : this->_impl_.uninterpreted_option_) {
8227     total_size +=
8228       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
8229   }
8230 
8231   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8232 }
8233 
8234 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData OneofOptions::_class_data_ = {
8235     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
8236     OneofOptions::MergeImpl
8237 };
GetClassData() const8238 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OneofOptions::GetClassData() const { return &_class_data_; }
8239 
8240 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)8241 void OneofOptions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
8242   auto* const _this = static_cast<OneofOptions*>(&to_msg);
8243   auto& from = static_cast<const OneofOptions&>(from_msg);
8244   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.OneofOptions)
8245   GOOGLE_DCHECK_NE(&from, _this);
8246   uint32_t cached_has_bits = 0;
8247   (void) cached_has_bits;
8248 
8249   _this->_impl_.uninterpreted_option_.MergeFrom(from._impl_.uninterpreted_option_);
8250   _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
8251   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8252 }
8253 
CopyFrom(const OneofOptions & from)8254 void OneofOptions::CopyFrom(const OneofOptions& from) {
8255 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.OneofOptions)
8256   if (&from == this) return;
8257   Clear();
8258   MergeFrom(from);
8259 }
8260 
IsInitialized() const8261 bool OneofOptions::IsInitialized() const {
8262   if (!_impl_._extensions_.IsInitialized()) {
8263     return false;
8264   }
8265 
8266   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.uninterpreted_option_))
8267     return false;
8268   return true;
8269 }
8270 
InternalSwap(OneofOptions * other)8271 void OneofOptions::InternalSwap(OneofOptions* other) {
8272   using std::swap;
8273   _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
8274   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8275   _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
8276 }
8277 
GetMetadata() const8278 ::PROTOBUF_NAMESPACE_ID::Metadata OneofOptions::GetMetadata() const {
8279   return ::_pbi::AssignDescriptors(
8280       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
8281       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[16]);
8282 }
8283 
8284 // ===================================================================
8285 
8286 class EnumOptions::_Internal {
8287  public:
8288   using HasBits = decltype(std::declval<EnumOptions>()._impl_._has_bits_);
set_has_allow_alias(HasBits * has_bits)8289   static void set_has_allow_alias(HasBits* has_bits) {
8290     (*has_bits)[0] |= 1u;
8291   }
set_has_deprecated(HasBits * has_bits)8292   static void set_has_deprecated(HasBits* has_bits) {
8293     (*has_bits)[0] |= 2u;
8294   }
8295 };
8296 
EnumOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)8297 EnumOptions::EnumOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8298                          bool is_message_owned)
8299   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
8300   SharedCtor(arena, is_message_owned);
8301   // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumOptions)
8302 }
EnumOptions(const EnumOptions & from)8303 EnumOptions::EnumOptions(const EnumOptions& from)
8304   : ::PROTOBUF_NAMESPACE_ID::Message() {
8305   EnumOptions* const _this = this; (void)_this;
8306   new (&_impl_) Impl_{
8307       /*decltype(_impl_._extensions_)*/{}
8308     , decltype(_impl_._has_bits_){from._impl_._has_bits_}
8309     , /*decltype(_impl_._cached_size_)*/{}
8310     , decltype(_impl_.uninterpreted_option_){from._impl_.uninterpreted_option_}
8311     , decltype(_impl_.allow_alias_){}
8312     , decltype(_impl_.deprecated_){}};
8313 
8314   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8315   _impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
8316   ::memcpy(&_impl_.allow_alias_, &from._impl_.allow_alias_,
8317     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.deprecated_) -
8318     reinterpret_cast<char*>(&_impl_.allow_alias_)) + sizeof(_impl_.deprecated_));
8319   // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumOptions)
8320 }
8321 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)8322 inline void EnumOptions::SharedCtor(
8323     ::_pb::Arena* arena, bool is_message_owned) {
8324   (void)arena;
8325   (void)is_message_owned;
8326   new (&_impl_) Impl_{
8327       /*decltype(_impl_._extensions_)*/{::_pbi::ArenaInitialized(), arena}
8328     , decltype(_impl_._has_bits_){}
8329     , /*decltype(_impl_._cached_size_)*/{}
8330     , decltype(_impl_.uninterpreted_option_){arena}
8331     , decltype(_impl_.allow_alias_){false}
8332     , decltype(_impl_.deprecated_){false}
8333   };
8334 }
8335 
~EnumOptions()8336 EnumOptions::~EnumOptions() {
8337   // @@protoc_insertion_point(destructor:google.protobuf.EnumOptions)
8338   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
8339   (void)arena;
8340     return;
8341   }
8342   SharedDtor();
8343 }
8344 
SharedDtor()8345 inline void EnumOptions::SharedDtor() {
8346   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8347   _impl_._extensions_.~ExtensionSet();
8348   _impl_.uninterpreted_option_.~RepeatedPtrField();
8349 }
8350 
SetCachedSize(int size) const8351 void EnumOptions::SetCachedSize(int size) const {
8352   _impl_._cached_size_.Set(size);
8353 }
8354 
Clear()8355 void EnumOptions::Clear() {
8356 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumOptions)
8357   uint32_t cached_has_bits = 0;
8358   // Prevent compiler warnings about cached_has_bits being unused
8359   (void) cached_has_bits;
8360 
8361   _impl_._extensions_.Clear();
8362   _impl_.uninterpreted_option_.Clear();
8363   ::memset(&_impl_.allow_alias_, 0, static_cast<size_t>(
8364       reinterpret_cast<char*>(&_impl_.deprecated_) -
8365       reinterpret_cast<char*>(&_impl_.allow_alias_)) + sizeof(_impl_.deprecated_));
8366   _impl_._has_bits_.Clear();
8367   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
8368 }
8369 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)8370 const char* EnumOptions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8371 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8372   _Internal::HasBits has_bits{};
8373   while (!ctx->Done(&ptr)) {
8374     uint32_t tag;
8375     ptr = ::_pbi::ReadTag(ptr, &tag);
8376     switch (tag >> 3) {
8377       // optional bool allow_alias = 2;
8378       case 2:
8379         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
8380           _Internal::set_has_allow_alias(&has_bits);
8381           _impl_.allow_alias_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8382           CHK_(ptr);
8383         } else
8384           goto handle_unusual;
8385         continue;
8386       // optional bool deprecated = 3 [default = false];
8387       case 3:
8388         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
8389           _Internal::set_has_deprecated(&has_bits);
8390           _impl_.deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8391           CHK_(ptr);
8392         } else
8393           goto handle_unusual;
8394         continue;
8395       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8396       case 999:
8397         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
8398           ptr -= 2;
8399           do {
8400             ptr += 2;
8401             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
8402             CHK_(ptr);
8403             if (!ctx->DataAvailable(ptr)) break;
8404           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
8405         } else
8406           goto handle_unusual;
8407         continue;
8408       default:
8409         goto handle_unusual;
8410     }  // switch
8411   handle_unusual:
8412     if ((tag == 0) || ((tag & 7) == 4)) {
8413       CHK_(ptr);
8414       ctx->SetLastTag(tag);
8415       goto message_done;
8416     }
8417     if ((8000u <= tag)) {
8418       ptr = _impl_._extensions_.ParseField(tag, ptr, internal_default_instance(), &_internal_metadata_, ctx);
8419       CHK_(ptr != nullptr);
8420       continue;
8421     }
8422     ptr = UnknownFieldParse(
8423         tag,
8424         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
8425         ptr, ctx);
8426     CHK_(ptr != nullptr);
8427   }  // while
8428 message_done:
8429   _impl_._has_bits_.Or(has_bits);
8430   return ptr;
8431 failure:
8432   ptr = nullptr;
8433   goto message_done;
8434 #undef CHK_
8435 }
8436 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const8437 uint8_t* EnumOptions::_InternalSerialize(
8438     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8439   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumOptions)
8440   uint32_t cached_has_bits = 0;
8441   (void) cached_has_bits;
8442 
8443   cached_has_bits = _impl_._has_bits_[0];
8444   // optional bool allow_alias = 2;
8445   if (cached_has_bits & 0x00000001u) {
8446     target = stream->EnsureSpace(target);
8447     target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_allow_alias(), target);
8448   }
8449 
8450   // optional bool deprecated = 3 [default = false];
8451   if (cached_has_bits & 0x00000002u) {
8452     target = stream->EnsureSpace(target);
8453     target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_deprecated(), target);
8454   }
8455 
8456   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8457   for (unsigned i = 0,
8458       n = static_cast<unsigned>(this->_internal_uninterpreted_option_size()); i < n; i++) {
8459     const auto& repfield = this->_internal_uninterpreted_option(i);
8460     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
8461         InternalWriteMessage(999, repfield, repfield.GetCachedSize(), target, stream);
8462   }
8463 
8464   // Extension range [1000, 536870912)
8465   target = _impl_._extensions_._InternalSerialize(
8466   internal_default_instance(), 1000, 536870912, target, stream);
8467 
8468   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8469     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8470         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
8471   }
8472   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumOptions)
8473   return target;
8474 }
8475 
ByteSizeLong() const8476 size_t EnumOptions::ByteSizeLong() const {
8477 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumOptions)
8478   size_t total_size = 0;
8479 
8480   total_size += _impl_._extensions_.ByteSize();
8481 
8482   uint32_t cached_has_bits = 0;
8483   // Prevent compiler warnings about cached_has_bits being unused
8484   (void) cached_has_bits;
8485 
8486   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8487   total_size += 2UL * this->_internal_uninterpreted_option_size();
8488   for (const auto& msg : this->_impl_.uninterpreted_option_) {
8489     total_size +=
8490       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
8491   }
8492 
8493   cached_has_bits = _impl_._has_bits_[0];
8494   if (cached_has_bits & 0x00000003u) {
8495     // optional bool allow_alias = 2;
8496     if (cached_has_bits & 0x00000001u) {
8497       total_size += 1 + 1;
8498     }
8499 
8500     // optional bool deprecated = 3 [default = false];
8501     if (cached_has_bits & 0x00000002u) {
8502       total_size += 1 + 1;
8503     }
8504 
8505   }
8506   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8507 }
8508 
8509 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EnumOptions::_class_data_ = {
8510     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
8511     EnumOptions::MergeImpl
8512 };
GetClassData() const8513 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EnumOptions::GetClassData() const { return &_class_data_; }
8514 
8515 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)8516 void EnumOptions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
8517   auto* const _this = static_cast<EnumOptions*>(&to_msg);
8518   auto& from = static_cast<const EnumOptions&>(from_msg);
8519   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumOptions)
8520   GOOGLE_DCHECK_NE(&from, _this);
8521   uint32_t cached_has_bits = 0;
8522   (void) cached_has_bits;
8523 
8524   _this->_impl_.uninterpreted_option_.MergeFrom(from._impl_.uninterpreted_option_);
8525   cached_has_bits = from._impl_._has_bits_[0];
8526   if (cached_has_bits & 0x00000003u) {
8527     if (cached_has_bits & 0x00000001u) {
8528       _this->_impl_.allow_alias_ = from._impl_.allow_alias_;
8529     }
8530     if (cached_has_bits & 0x00000002u) {
8531       _this->_impl_.deprecated_ = from._impl_.deprecated_;
8532     }
8533     _this->_impl_._has_bits_[0] |= cached_has_bits;
8534   }
8535   _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
8536   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8537 }
8538 
CopyFrom(const EnumOptions & from)8539 void EnumOptions::CopyFrom(const EnumOptions& from) {
8540 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumOptions)
8541   if (&from == this) return;
8542   Clear();
8543   MergeFrom(from);
8544 }
8545 
IsInitialized() const8546 bool EnumOptions::IsInitialized() const {
8547   if (!_impl_._extensions_.IsInitialized()) {
8548     return false;
8549   }
8550 
8551   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.uninterpreted_option_))
8552     return false;
8553   return true;
8554 }
8555 
InternalSwap(EnumOptions * other)8556 void EnumOptions::InternalSwap(EnumOptions* other) {
8557   using std::swap;
8558   _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
8559   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8560   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8561   _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
8562   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
8563       PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.deprecated_)
8564       + sizeof(EnumOptions::_impl_.deprecated_)
8565       - PROTOBUF_FIELD_OFFSET(EnumOptions, _impl_.allow_alias_)>(
8566           reinterpret_cast<char*>(&_impl_.allow_alias_),
8567           reinterpret_cast<char*>(&other->_impl_.allow_alias_));
8568 }
8569 
GetMetadata() const8570 ::PROTOBUF_NAMESPACE_ID::Metadata EnumOptions::GetMetadata() const {
8571   return ::_pbi::AssignDescriptors(
8572       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
8573       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[17]);
8574 }
8575 
8576 // ===================================================================
8577 
8578 class EnumValueOptions::_Internal {
8579  public:
8580   using HasBits = decltype(std::declval<EnumValueOptions>()._impl_._has_bits_);
set_has_deprecated(HasBits * has_bits)8581   static void set_has_deprecated(HasBits* has_bits) {
8582     (*has_bits)[0] |= 1u;
8583   }
8584 };
8585 
EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)8586 EnumValueOptions::EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8587                          bool is_message_owned)
8588   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
8589   SharedCtor(arena, is_message_owned);
8590   // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumValueOptions)
8591 }
EnumValueOptions(const EnumValueOptions & from)8592 EnumValueOptions::EnumValueOptions(const EnumValueOptions& from)
8593   : ::PROTOBUF_NAMESPACE_ID::Message() {
8594   EnumValueOptions* const _this = this; (void)_this;
8595   new (&_impl_) Impl_{
8596       /*decltype(_impl_._extensions_)*/{}
8597     , decltype(_impl_._has_bits_){from._impl_._has_bits_}
8598     , /*decltype(_impl_._cached_size_)*/{}
8599     , decltype(_impl_.uninterpreted_option_){from._impl_.uninterpreted_option_}
8600     , decltype(_impl_.deprecated_){}};
8601 
8602   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8603   _impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
8604   _this->_impl_.deprecated_ = from._impl_.deprecated_;
8605   // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumValueOptions)
8606 }
8607 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)8608 inline void EnumValueOptions::SharedCtor(
8609     ::_pb::Arena* arena, bool is_message_owned) {
8610   (void)arena;
8611   (void)is_message_owned;
8612   new (&_impl_) Impl_{
8613       /*decltype(_impl_._extensions_)*/{::_pbi::ArenaInitialized(), arena}
8614     , decltype(_impl_._has_bits_){}
8615     , /*decltype(_impl_._cached_size_)*/{}
8616     , decltype(_impl_.uninterpreted_option_){arena}
8617     , decltype(_impl_.deprecated_){false}
8618   };
8619 }
8620 
~EnumValueOptions()8621 EnumValueOptions::~EnumValueOptions() {
8622   // @@protoc_insertion_point(destructor:google.protobuf.EnumValueOptions)
8623   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
8624   (void)arena;
8625     return;
8626   }
8627   SharedDtor();
8628 }
8629 
SharedDtor()8630 inline void EnumValueOptions::SharedDtor() {
8631   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8632   _impl_._extensions_.~ExtensionSet();
8633   _impl_.uninterpreted_option_.~RepeatedPtrField();
8634 }
8635 
SetCachedSize(int size) const8636 void EnumValueOptions::SetCachedSize(int size) const {
8637   _impl_._cached_size_.Set(size);
8638 }
8639 
Clear()8640 void EnumValueOptions::Clear() {
8641 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumValueOptions)
8642   uint32_t cached_has_bits = 0;
8643   // Prevent compiler warnings about cached_has_bits being unused
8644   (void) cached_has_bits;
8645 
8646   _impl_._extensions_.Clear();
8647   _impl_.uninterpreted_option_.Clear();
8648   _impl_.deprecated_ = false;
8649   _impl_._has_bits_.Clear();
8650   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
8651 }
8652 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)8653 const char* EnumValueOptions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8654 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8655   _Internal::HasBits has_bits{};
8656   while (!ctx->Done(&ptr)) {
8657     uint32_t tag;
8658     ptr = ::_pbi::ReadTag(ptr, &tag);
8659     switch (tag >> 3) {
8660       // optional bool deprecated = 1 [default = false];
8661       case 1:
8662         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
8663           _Internal::set_has_deprecated(&has_bits);
8664           _impl_.deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8665           CHK_(ptr);
8666         } else
8667           goto handle_unusual;
8668         continue;
8669       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8670       case 999:
8671         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
8672           ptr -= 2;
8673           do {
8674             ptr += 2;
8675             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
8676             CHK_(ptr);
8677             if (!ctx->DataAvailable(ptr)) break;
8678           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
8679         } else
8680           goto handle_unusual;
8681         continue;
8682       default:
8683         goto handle_unusual;
8684     }  // switch
8685   handle_unusual:
8686     if ((tag == 0) || ((tag & 7) == 4)) {
8687       CHK_(ptr);
8688       ctx->SetLastTag(tag);
8689       goto message_done;
8690     }
8691     if ((8000u <= tag)) {
8692       ptr = _impl_._extensions_.ParseField(tag, ptr, internal_default_instance(), &_internal_metadata_, ctx);
8693       CHK_(ptr != nullptr);
8694       continue;
8695     }
8696     ptr = UnknownFieldParse(
8697         tag,
8698         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
8699         ptr, ctx);
8700     CHK_(ptr != nullptr);
8701   }  // while
8702 message_done:
8703   _impl_._has_bits_.Or(has_bits);
8704   return ptr;
8705 failure:
8706   ptr = nullptr;
8707   goto message_done;
8708 #undef CHK_
8709 }
8710 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const8711 uint8_t* EnumValueOptions::_InternalSerialize(
8712     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8713   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValueOptions)
8714   uint32_t cached_has_bits = 0;
8715   (void) cached_has_bits;
8716 
8717   cached_has_bits = _impl_._has_bits_[0];
8718   // optional bool deprecated = 1 [default = false];
8719   if (cached_has_bits & 0x00000001u) {
8720     target = stream->EnsureSpace(target);
8721     target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_deprecated(), target);
8722   }
8723 
8724   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8725   for (unsigned i = 0,
8726       n = static_cast<unsigned>(this->_internal_uninterpreted_option_size()); i < n; i++) {
8727     const auto& repfield = this->_internal_uninterpreted_option(i);
8728     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
8729         InternalWriteMessage(999, repfield, repfield.GetCachedSize(), target, stream);
8730   }
8731 
8732   // Extension range [1000, 536870912)
8733   target = _impl_._extensions_._InternalSerialize(
8734   internal_default_instance(), 1000, 536870912, target, stream);
8735 
8736   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8737     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8738         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
8739   }
8740   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumValueOptions)
8741   return target;
8742 }
8743 
ByteSizeLong() const8744 size_t EnumValueOptions::ByteSizeLong() const {
8745 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValueOptions)
8746   size_t total_size = 0;
8747 
8748   total_size += _impl_._extensions_.ByteSize();
8749 
8750   uint32_t cached_has_bits = 0;
8751   // Prevent compiler warnings about cached_has_bits being unused
8752   (void) cached_has_bits;
8753 
8754   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8755   total_size += 2UL * this->_internal_uninterpreted_option_size();
8756   for (const auto& msg : this->_impl_.uninterpreted_option_) {
8757     total_size +=
8758       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
8759   }
8760 
8761   // optional bool deprecated = 1 [default = false];
8762   cached_has_bits = _impl_._has_bits_[0];
8763   if (cached_has_bits & 0x00000001u) {
8764     total_size += 1 + 1;
8765   }
8766 
8767   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8768 }
8769 
8770 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EnumValueOptions::_class_data_ = {
8771     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
8772     EnumValueOptions::MergeImpl
8773 };
GetClassData() const8774 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EnumValueOptions::GetClassData() const { return &_class_data_; }
8775 
8776 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)8777 void EnumValueOptions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
8778   auto* const _this = static_cast<EnumValueOptions*>(&to_msg);
8779   auto& from = static_cast<const EnumValueOptions&>(from_msg);
8780   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumValueOptions)
8781   GOOGLE_DCHECK_NE(&from, _this);
8782   uint32_t cached_has_bits = 0;
8783   (void) cached_has_bits;
8784 
8785   _this->_impl_.uninterpreted_option_.MergeFrom(from._impl_.uninterpreted_option_);
8786   if (from._internal_has_deprecated()) {
8787     _this->_internal_set_deprecated(from._internal_deprecated());
8788   }
8789   _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
8790   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8791 }
8792 
CopyFrom(const EnumValueOptions & from)8793 void EnumValueOptions::CopyFrom(const EnumValueOptions& from) {
8794 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumValueOptions)
8795   if (&from == this) return;
8796   Clear();
8797   MergeFrom(from);
8798 }
8799 
IsInitialized() const8800 bool EnumValueOptions::IsInitialized() const {
8801   if (!_impl_._extensions_.IsInitialized()) {
8802     return false;
8803   }
8804 
8805   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.uninterpreted_option_))
8806     return false;
8807   return true;
8808 }
8809 
InternalSwap(EnumValueOptions * other)8810 void EnumValueOptions::InternalSwap(EnumValueOptions* other) {
8811   using std::swap;
8812   _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
8813   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8814   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8815   _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
8816   swap(_impl_.deprecated_, other->_impl_.deprecated_);
8817 }
8818 
GetMetadata() const8819 ::PROTOBUF_NAMESPACE_ID::Metadata EnumValueOptions::GetMetadata() const {
8820   return ::_pbi::AssignDescriptors(
8821       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
8822       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[18]);
8823 }
8824 
8825 // ===================================================================
8826 
8827 class ServiceOptions::_Internal {
8828  public:
8829   using HasBits = decltype(std::declval<ServiceOptions>()._impl_._has_bits_);
set_has_deprecated(HasBits * has_bits)8830   static void set_has_deprecated(HasBits* has_bits) {
8831     (*has_bits)[0] |= 1u;
8832   }
8833 };
8834 
ServiceOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)8835 ServiceOptions::ServiceOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8836                          bool is_message_owned)
8837   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
8838   SharedCtor(arena, is_message_owned);
8839   // @@protoc_insertion_point(arena_constructor:google.protobuf.ServiceOptions)
8840 }
ServiceOptions(const ServiceOptions & from)8841 ServiceOptions::ServiceOptions(const ServiceOptions& from)
8842   : ::PROTOBUF_NAMESPACE_ID::Message() {
8843   ServiceOptions* const _this = this; (void)_this;
8844   new (&_impl_) Impl_{
8845       /*decltype(_impl_._extensions_)*/{}
8846     , decltype(_impl_._has_bits_){from._impl_._has_bits_}
8847     , /*decltype(_impl_._cached_size_)*/{}
8848     , decltype(_impl_.uninterpreted_option_){from._impl_.uninterpreted_option_}
8849     , decltype(_impl_.deprecated_){}};
8850 
8851   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8852   _impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
8853   _this->_impl_.deprecated_ = from._impl_.deprecated_;
8854   // @@protoc_insertion_point(copy_constructor:google.protobuf.ServiceOptions)
8855 }
8856 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)8857 inline void ServiceOptions::SharedCtor(
8858     ::_pb::Arena* arena, bool is_message_owned) {
8859   (void)arena;
8860   (void)is_message_owned;
8861   new (&_impl_) Impl_{
8862       /*decltype(_impl_._extensions_)*/{::_pbi::ArenaInitialized(), arena}
8863     , decltype(_impl_._has_bits_){}
8864     , /*decltype(_impl_._cached_size_)*/{}
8865     , decltype(_impl_.uninterpreted_option_){arena}
8866     , decltype(_impl_.deprecated_){false}
8867   };
8868 }
8869 
~ServiceOptions()8870 ServiceOptions::~ServiceOptions() {
8871   // @@protoc_insertion_point(destructor:google.protobuf.ServiceOptions)
8872   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
8873   (void)arena;
8874     return;
8875   }
8876   SharedDtor();
8877 }
8878 
SharedDtor()8879 inline void ServiceOptions::SharedDtor() {
8880   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8881   _impl_._extensions_.~ExtensionSet();
8882   _impl_.uninterpreted_option_.~RepeatedPtrField();
8883 }
8884 
SetCachedSize(int size) const8885 void ServiceOptions::SetCachedSize(int size) const {
8886   _impl_._cached_size_.Set(size);
8887 }
8888 
Clear()8889 void ServiceOptions::Clear() {
8890 // @@protoc_insertion_point(message_clear_start:google.protobuf.ServiceOptions)
8891   uint32_t cached_has_bits = 0;
8892   // Prevent compiler warnings about cached_has_bits being unused
8893   (void) cached_has_bits;
8894 
8895   _impl_._extensions_.Clear();
8896   _impl_.uninterpreted_option_.Clear();
8897   _impl_.deprecated_ = false;
8898   _impl_._has_bits_.Clear();
8899   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
8900 }
8901 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)8902 const char* ServiceOptions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8903 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8904   _Internal::HasBits has_bits{};
8905   while (!ctx->Done(&ptr)) {
8906     uint32_t tag;
8907     ptr = ::_pbi::ReadTag(ptr, &tag);
8908     switch (tag >> 3) {
8909       // optional bool deprecated = 33 [default = false];
8910       case 33:
8911         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
8912           _Internal::set_has_deprecated(&has_bits);
8913           _impl_.deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8914           CHK_(ptr);
8915         } else
8916           goto handle_unusual;
8917         continue;
8918       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8919       case 999:
8920         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
8921           ptr -= 2;
8922           do {
8923             ptr += 2;
8924             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
8925             CHK_(ptr);
8926             if (!ctx->DataAvailable(ptr)) break;
8927           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
8928         } else
8929           goto handle_unusual;
8930         continue;
8931       default:
8932         goto handle_unusual;
8933     }  // switch
8934   handle_unusual:
8935     if ((tag == 0) || ((tag & 7) == 4)) {
8936       CHK_(ptr);
8937       ctx->SetLastTag(tag);
8938       goto message_done;
8939     }
8940     if ((8000u <= tag)) {
8941       ptr = _impl_._extensions_.ParseField(tag, ptr, internal_default_instance(), &_internal_metadata_, ctx);
8942       CHK_(ptr != nullptr);
8943       continue;
8944     }
8945     ptr = UnknownFieldParse(
8946         tag,
8947         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
8948         ptr, ctx);
8949     CHK_(ptr != nullptr);
8950   }  // while
8951 message_done:
8952   _impl_._has_bits_.Or(has_bits);
8953   return ptr;
8954 failure:
8955   ptr = nullptr;
8956   goto message_done;
8957 #undef CHK_
8958 }
8959 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const8960 uint8_t* ServiceOptions::_InternalSerialize(
8961     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8962   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ServiceOptions)
8963   uint32_t cached_has_bits = 0;
8964   (void) cached_has_bits;
8965 
8966   cached_has_bits = _impl_._has_bits_[0];
8967   // optional bool deprecated = 33 [default = false];
8968   if (cached_has_bits & 0x00000001u) {
8969     target = stream->EnsureSpace(target);
8970     target = ::_pbi::WireFormatLite::WriteBoolToArray(33, this->_internal_deprecated(), target);
8971   }
8972 
8973   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8974   for (unsigned i = 0,
8975       n = static_cast<unsigned>(this->_internal_uninterpreted_option_size()); i < n; i++) {
8976     const auto& repfield = this->_internal_uninterpreted_option(i);
8977     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
8978         InternalWriteMessage(999, repfield, repfield.GetCachedSize(), target, stream);
8979   }
8980 
8981   // Extension range [1000, 536870912)
8982   target = _impl_._extensions_._InternalSerialize(
8983   internal_default_instance(), 1000, 536870912, target, stream);
8984 
8985   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8986     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8987         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
8988   }
8989   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ServiceOptions)
8990   return target;
8991 }
8992 
ByteSizeLong() const8993 size_t ServiceOptions::ByteSizeLong() const {
8994 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.ServiceOptions)
8995   size_t total_size = 0;
8996 
8997   total_size += _impl_._extensions_.ByteSize();
8998 
8999   uint32_t cached_has_bits = 0;
9000   // Prevent compiler warnings about cached_has_bits being unused
9001   (void) cached_has_bits;
9002 
9003   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
9004   total_size += 2UL * this->_internal_uninterpreted_option_size();
9005   for (const auto& msg : this->_impl_.uninterpreted_option_) {
9006     total_size +=
9007       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
9008   }
9009 
9010   // optional bool deprecated = 33 [default = false];
9011   cached_has_bits = _impl_._has_bits_[0];
9012   if (cached_has_bits & 0x00000001u) {
9013     total_size += 2 + 1;
9014   }
9015 
9016   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
9017 }
9018 
9019 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ServiceOptions::_class_data_ = {
9020     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
9021     ServiceOptions::MergeImpl
9022 };
GetClassData() const9023 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ServiceOptions::GetClassData() const { return &_class_data_; }
9024 
9025 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)9026 void ServiceOptions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
9027   auto* const _this = static_cast<ServiceOptions*>(&to_msg);
9028   auto& from = static_cast<const ServiceOptions&>(from_msg);
9029   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ServiceOptions)
9030   GOOGLE_DCHECK_NE(&from, _this);
9031   uint32_t cached_has_bits = 0;
9032   (void) cached_has_bits;
9033 
9034   _this->_impl_.uninterpreted_option_.MergeFrom(from._impl_.uninterpreted_option_);
9035   if (from._internal_has_deprecated()) {
9036     _this->_internal_set_deprecated(from._internal_deprecated());
9037   }
9038   _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
9039   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
9040 }
9041 
CopyFrom(const ServiceOptions & from)9042 void ServiceOptions::CopyFrom(const ServiceOptions& from) {
9043 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ServiceOptions)
9044   if (&from == this) return;
9045   Clear();
9046   MergeFrom(from);
9047 }
9048 
IsInitialized() const9049 bool ServiceOptions::IsInitialized() const {
9050   if (!_impl_._extensions_.IsInitialized()) {
9051     return false;
9052   }
9053 
9054   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.uninterpreted_option_))
9055     return false;
9056   return true;
9057 }
9058 
InternalSwap(ServiceOptions * other)9059 void ServiceOptions::InternalSwap(ServiceOptions* other) {
9060   using std::swap;
9061   _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
9062   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9063   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9064   _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
9065   swap(_impl_.deprecated_, other->_impl_.deprecated_);
9066 }
9067 
GetMetadata() const9068 ::PROTOBUF_NAMESPACE_ID::Metadata ServiceOptions::GetMetadata() const {
9069   return ::_pbi::AssignDescriptors(
9070       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
9071       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[19]);
9072 }
9073 
9074 // ===================================================================
9075 
9076 class MethodOptions::_Internal {
9077  public:
9078   using HasBits = decltype(std::declval<MethodOptions>()._impl_._has_bits_);
set_has_deprecated(HasBits * has_bits)9079   static void set_has_deprecated(HasBits* has_bits) {
9080     (*has_bits)[0] |= 1u;
9081   }
set_has_idempotency_level(HasBits * has_bits)9082   static void set_has_idempotency_level(HasBits* has_bits) {
9083     (*has_bits)[0] |= 2u;
9084   }
9085 };
9086 
MethodOptions(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)9087 MethodOptions::MethodOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9088                          bool is_message_owned)
9089   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
9090   SharedCtor(arena, is_message_owned);
9091   // @@protoc_insertion_point(arena_constructor:google.protobuf.MethodOptions)
9092 }
MethodOptions(const MethodOptions & from)9093 MethodOptions::MethodOptions(const MethodOptions& from)
9094   : ::PROTOBUF_NAMESPACE_ID::Message() {
9095   MethodOptions* const _this = this; (void)_this;
9096   new (&_impl_) Impl_{
9097       /*decltype(_impl_._extensions_)*/{}
9098     , decltype(_impl_._has_bits_){from._impl_._has_bits_}
9099     , /*decltype(_impl_._cached_size_)*/{}
9100     , decltype(_impl_.uninterpreted_option_){from._impl_.uninterpreted_option_}
9101     , decltype(_impl_.deprecated_){}
9102     , decltype(_impl_.idempotency_level_){}};
9103 
9104   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
9105   _impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
9106   ::memcpy(&_impl_.deprecated_, &from._impl_.deprecated_,
9107     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.idempotency_level_) -
9108     reinterpret_cast<char*>(&_impl_.deprecated_)) + sizeof(_impl_.idempotency_level_));
9109   // @@protoc_insertion_point(copy_constructor:google.protobuf.MethodOptions)
9110 }
9111 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)9112 inline void MethodOptions::SharedCtor(
9113     ::_pb::Arena* arena, bool is_message_owned) {
9114   (void)arena;
9115   (void)is_message_owned;
9116   new (&_impl_) Impl_{
9117       /*decltype(_impl_._extensions_)*/{::_pbi::ArenaInitialized(), arena}
9118     , decltype(_impl_._has_bits_){}
9119     , /*decltype(_impl_._cached_size_)*/{}
9120     , decltype(_impl_.uninterpreted_option_){arena}
9121     , decltype(_impl_.deprecated_){false}
9122     , decltype(_impl_.idempotency_level_){0}
9123   };
9124 }
9125 
~MethodOptions()9126 MethodOptions::~MethodOptions() {
9127   // @@protoc_insertion_point(destructor:google.protobuf.MethodOptions)
9128   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
9129   (void)arena;
9130     return;
9131   }
9132   SharedDtor();
9133 }
9134 
SharedDtor()9135 inline void MethodOptions::SharedDtor() {
9136   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
9137   _impl_._extensions_.~ExtensionSet();
9138   _impl_.uninterpreted_option_.~RepeatedPtrField();
9139 }
9140 
SetCachedSize(int size) const9141 void MethodOptions::SetCachedSize(int size) const {
9142   _impl_._cached_size_.Set(size);
9143 }
9144 
Clear()9145 void MethodOptions::Clear() {
9146 // @@protoc_insertion_point(message_clear_start:google.protobuf.MethodOptions)
9147   uint32_t cached_has_bits = 0;
9148   // Prevent compiler warnings about cached_has_bits being unused
9149   (void) cached_has_bits;
9150 
9151   _impl_._extensions_.Clear();
9152   _impl_.uninterpreted_option_.Clear();
9153   cached_has_bits = _impl_._has_bits_[0];
9154   if (cached_has_bits & 0x00000003u) {
9155     ::memset(&_impl_.deprecated_, 0, static_cast<size_t>(
9156         reinterpret_cast<char*>(&_impl_.idempotency_level_) -
9157         reinterpret_cast<char*>(&_impl_.deprecated_)) + sizeof(_impl_.idempotency_level_));
9158   }
9159   _impl_._has_bits_.Clear();
9160   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
9161 }
9162 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)9163 const char* MethodOptions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
9164 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9165   _Internal::HasBits has_bits{};
9166   while (!ctx->Done(&ptr)) {
9167     uint32_t tag;
9168     ptr = ::_pbi::ReadTag(ptr, &tag);
9169     switch (tag >> 3) {
9170       // optional bool deprecated = 33 [default = false];
9171       case 33:
9172         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
9173           _Internal::set_has_deprecated(&has_bits);
9174           _impl_.deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9175           CHK_(ptr);
9176         } else
9177           goto handle_unusual;
9178         continue;
9179       // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
9180       case 34:
9181         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
9182           uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9183           CHK_(ptr);
9184           if (PROTOBUF_PREDICT_TRUE(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_IsValid(val))) {
9185             _internal_set_idempotency_level(static_cast<::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel>(val));
9186           } else {
9187             ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(34, val, mutable_unknown_fields());
9188           }
9189         } else
9190           goto handle_unusual;
9191         continue;
9192       // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
9193       case 999:
9194         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
9195           ptr -= 2;
9196           do {
9197             ptr += 2;
9198             ptr = ctx->ParseMessage(_internal_add_uninterpreted_option(), ptr);
9199             CHK_(ptr);
9200             if (!ctx->DataAvailable(ptr)) break;
9201           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<7994>(ptr));
9202         } else
9203           goto handle_unusual;
9204         continue;
9205       default:
9206         goto handle_unusual;
9207     }  // switch
9208   handle_unusual:
9209     if ((tag == 0) || ((tag & 7) == 4)) {
9210       CHK_(ptr);
9211       ctx->SetLastTag(tag);
9212       goto message_done;
9213     }
9214     if ((8000u <= tag)) {
9215       ptr = _impl_._extensions_.ParseField(tag, ptr, internal_default_instance(), &_internal_metadata_, ctx);
9216       CHK_(ptr != nullptr);
9217       continue;
9218     }
9219     ptr = UnknownFieldParse(
9220         tag,
9221         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
9222         ptr, ctx);
9223     CHK_(ptr != nullptr);
9224   }  // while
9225 message_done:
9226   _impl_._has_bits_.Or(has_bits);
9227   return ptr;
9228 failure:
9229   ptr = nullptr;
9230   goto message_done;
9231 #undef CHK_
9232 }
9233 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const9234 uint8_t* MethodOptions::_InternalSerialize(
9235     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9236   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MethodOptions)
9237   uint32_t cached_has_bits = 0;
9238   (void) cached_has_bits;
9239 
9240   cached_has_bits = _impl_._has_bits_[0];
9241   // optional bool deprecated = 33 [default = false];
9242   if (cached_has_bits & 0x00000001u) {
9243     target = stream->EnsureSpace(target);
9244     target = ::_pbi::WireFormatLite::WriteBoolToArray(33, this->_internal_deprecated(), target);
9245   }
9246 
9247   // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
9248   if (cached_has_bits & 0x00000002u) {
9249     target = stream->EnsureSpace(target);
9250     target = ::_pbi::WireFormatLite::WriteEnumToArray(
9251       34, this->_internal_idempotency_level(), target);
9252   }
9253 
9254   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
9255   for (unsigned i = 0,
9256       n = static_cast<unsigned>(this->_internal_uninterpreted_option_size()); i < n; i++) {
9257     const auto& repfield = this->_internal_uninterpreted_option(i);
9258     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
9259         InternalWriteMessage(999, repfield, repfield.GetCachedSize(), target, stream);
9260   }
9261 
9262   // Extension range [1000, 536870912)
9263   target = _impl_._extensions_._InternalSerialize(
9264   internal_default_instance(), 1000, 536870912, target, stream);
9265 
9266   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9267     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9268         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
9269   }
9270   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.MethodOptions)
9271   return target;
9272 }
9273 
ByteSizeLong() const9274 size_t MethodOptions::ByteSizeLong() const {
9275 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.MethodOptions)
9276   size_t total_size = 0;
9277 
9278   total_size += _impl_._extensions_.ByteSize();
9279 
9280   uint32_t cached_has_bits = 0;
9281   // Prevent compiler warnings about cached_has_bits being unused
9282   (void) cached_has_bits;
9283 
9284   // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
9285   total_size += 2UL * this->_internal_uninterpreted_option_size();
9286   for (const auto& msg : this->_impl_.uninterpreted_option_) {
9287     total_size +=
9288       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
9289   }
9290 
9291   cached_has_bits = _impl_._has_bits_[0];
9292   if (cached_has_bits & 0x00000003u) {
9293     // optional bool deprecated = 33 [default = false];
9294     if (cached_has_bits & 0x00000001u) {
9295       total_size += 2 + 1;
9296     }
9297 
9298     // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
9299     if (cached_has_bits & 0x00000002u) {
9300       total_size += 2 +
9301         ::_pbi::WireFormatLite::EnumSize(this->_internal_idempotency_level());
9302     }
9303 
9304   }
9305   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
9306 }
9307 
9308 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MethodOptions::_class_data_ = {
9309     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
9310     MethodOptions::MergeImpl
9311 };
GetClassData() const9312 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MethodOptions::GetClassData() const { return &_class_data_; }
9313 
9314 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)9315 void MethodOptions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
9316   auto* const _this = static_cast<MethodOptions*>(&to_msg);
9317   auto& from = static_cast<const MethodOptions&>(from_msg);
9318   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MethodOptions)
9319   GOOGLE_DCHECK_NE(&from, _this);
9320   uint32_t cached_has_bits = 0;
9321   (void) cached_has_bits;
9322 
9323   _this->_impl_.uninterpreted_option_.MergeFrom(from._impl_.uninterpreted_option_);
9324   cached_has_bits = from._impl_._has_bits_[0];
9325   if (cached_has_bits & 0x00000003u) {
9326     if (cached_has_bits & 0x00000001u) {
9327       _this->_impl_.deprecated_ = from._impl_.deprecated_;
9328     }
9329     if (cached_has_bits & 0x00000002u) {
9330       _this->_impl_.idempotency_level_ = from._impl_.idempotency_level_;
9331     }
9332     _this->_impl_._has_bits_[0] |= cached_has_bits;
9333   }
9334   _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_);
9335   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
9336 }
9337 
CopyFrom(const MethodOptions & from)9338 void MethodOptions::CopyFrom(const MethodOptions& from) {
9339 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MethodOptions)
9340   if (&from == this) return;
9341   Clear();
9342   MergeFrom(from);
9343 }
9344 
IsInitialized() const9345 bool MethodOptions::IsInitialized() const {
9346   if (!_impl_._extensions_.IsInitialized()) {
9347     return false;
9348   }
9349 
9350   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.uninterpreted_option_))
9351     return false;
9352   return true;
9353 }
9354 
InternalSwap(MethodOptions * other)9355 void MethodOptions::InternalSwap(MethodOptions* other) {
9356   using std::swap;
9357   _impl_._extensions_.InternalSwap(&other->_impl_._extensions_);
9358   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9359   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9360   _impl_.uninterpreted_option_.InternalSwap(&other->_impl_.uninterpreted_option_);
9361   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
9362       PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.idempotency_level_)
9363       + sizeof(MethodOptions::_impl_.idempotency_level_)
9364       - PROTOBUF_FIELD_OFFSET(MethodOptions, _impl_.deprecated_)>(
9365           reinterpret_cast<char*>(&_impl_.deprecated_),
9366           reinterpret_cast<char*>(&other->_impl_.deprecated_));
9367 }
9368 
GetMetadata() const9369 ::PROTOBUF_NAMESPACE_ID::Metadata MethodOptions::GetMetadata() const {
9370   return ::_pbi::AssignDescriptors(
9371       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
9372       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[20]);
9373 }
9374 
9375 // ===================================================================
9376 
9377 class UninterpretedOption_NamePart::_Internal {
9378  public:
9379   using HasBits = decltype(std::declval<UninterpretedOption_NamePart>()._impl_._has_bits_);
set_has_name_part(HasBits * has_bits)9380   static void set_has_name_part(HasBits* has_bits) {
9381     (*has_bits)[0] |= 1u;
9382   }
set_has_is_extension(HasBits * has_bits)9383   static void set_has_is_extension(HasBits* has_bits) {
9384     (*has_bits)[0] |= 2u;
9385   }
MissingRequiredFields(const HasBits & has_bits)9386   static bool MissingRequiredFields(const HasBits& has_bits) {
9387     return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
9388   }
9389 };
9390 
UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)9391 UninterpretedOption_NamePart::UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9392                          bool is_message_owned)
9393   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
9394   SharedCtor(arena, is_message_owned);
9395   // @@protoc_insertion_point(arena_constructor:google.protobuf.UninterpretedOption.NamePart)
9396 }
UninterpretedOption_NamePart(const UninterpretedOption_NamePart & from)9397 UninterpretedOption_NamePart::UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from)
9398   : ::PROTOBUF_NAMESPACE_ID::Message() {
9399   UninterpretedOption_NamePart* const _this = this; (void)_this;
9400   new (&_impl_) Impl_{
9401       decltype(_impl_._has_bits_){from._impl_._has_bits_}
9402     , /*decltype(_impl_._cached_size_)*/{}
9403     , decltype(_impl_.name_part_){}
9404     , decltype(_impl_.is_extension_){}};
9405 
9406   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
9407   _impl_.name_part_.InitDefault();
9408   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9409     _impl_.name_part_.Set("", GetArenaForAllocation());
9410   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9411   if (from._internal_has_name_part()) {
9412     _this->_impl_.name_part_.Set(from._internal_name_part(),
9413       _this->GetArenaForAllocation());
9414   }
9415   _this->_impl_.is_extension_ = from._impl_.is_extension_;
9416   // @@protoc_insertion_point(copy_constructor:google.protobuf.UninterpretedOption.NamePart)
9417 }
9418 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)9419 inline void UninterpretedOption_NamePart::SharedCtor(
9420     ::_pb::Arena* arena, bool is_message_owned) {
9421   (void)arena;
9422   (void)is_message_owned;
9423   new (&_impl_) Impl_{
9424       decltype(_impl_._has_bits_){}
9425     , /*decltype(_impl_._cached_size_)*/{}
9426     , decltype(_impl_.name_part_){}
9427     , decltype(_impl_.is_extension_){false}
9428   };
9429   _impl_.name_part_.InitDefault();
9430   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9431     _impl_.name_part_.Set("", GetArenaForAllocation());
9432   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9433 }
9434 
~UninterpretedOption_NamePart()9435 UninterpretedOption_NamePart::~UninterpretedOption_NamePart() {
9436   // @@protoc_insertion_point(destructor:google.protobuf.UninterpretedOption.NamePart)
9437   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
9438   (void)arena;
9439     return;
9440   }
9441   SharedDtor();
9442 }
9443 
SharedDtor()9444 inline void UninterpretedOption_NamePart::SharedDtor() {
9445   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
9446   _impl_.name_part_.Destroy();
9447 }
9448 
SetCachedSize(int size) const9449 void UninterpretedOption_NamePart::SetCachedSize(int size) const {
9450   _impl_._cached_size_.Set(size);
9451 }
9452 
Clear()9453 void UninterpretedOption_NamePart::Clear() {
9454 // @@protoc_insertion_point(message_clear_start:google.protobuf.UninterpretedOption.NamePart)
9455   uint32_t cached_has_bits = 0;
9456   // Prevent compiler warnings about cached_has_bits being unused
9457   (void) cached_has_bits;
9458 
9459   cached_has_bits = _impl_._has_bits_[0];
9460   if (cached_has_bits & 0x00000001u) {
9461     _impl_.name_part_.ClearNonDefaultToEmpty();
9462   }
9463   _impl_.is_extension_ = false;
9464   _impl_._has_bits_.Clear();
9465   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
9466 }
9467 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)9468 const char* UninterpretedOption_NamePart::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
9469 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9470   _Internal::HasBits has_bits{};
9471   while (!ctx->Done(&ptr)) {
9472     uint32_t tag;
9473     ptr = ::_pbi::ReadTag(ptr, &tag);
9474     switch (tag >> 3) {
9475       // required string name_part = 1;
9476       case 1:
9477         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
9478           auto str = _internal_mutable_name_part();
9479           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
9480           CHK_(ptr);
9481           #ifndef NDEBUG
9482           ::_pbi::VerifyUTF8(str, "google.protobuf.UninterpretedOption.NamePart.name_part");
9483           #endif  // !NDEBUG
9484         } else
9485           goto handle_unusual;
9486         continue;
9487       // required bool is_extension = 2;
9488       case 2:
9489         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
9490           _Internal::set_has_is_extension(&has_bits);
9491           _impl_.is_extension_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9492           CHK_(ptr);
9493         } else
9494           goto handle_unusual;
9495         continue;
9496       default:
9497         goto handle_unusual;
9498     }  // switch
9499   handle_unusual:
9500     if ((tag == 0) || ((tag & 7) == 4)) {
9501       CHK_(ptr);
9502       ctx->SetLastTag(tag);
9503       goto message_done;
9504     }
9505     ptr = UnknownFieldParse(
9506         tag,
9507         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
9508         ptr, ctx);
9509     CHK_(ptr != nullptr);
9510   }  // while
9511 message_done:
9512   _impl_._has_bits_.Or(has_bits);
9513   return ptr;
9514 failure:
9515   ptr = nullptr;
9516   goto message_done;
9517 #undef CHK_
9518 }
9519 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const9520 uint8_t* UninterpretedOption_NamePart::_InternalSerialize(
9521     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9522   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UninterpretedOption.NamePart)
9523   uint32_t cached_has_bits = 0;
9524   (void) cached_has_bits;
9525 
9526   cached_has_bits = _impl_._has_bits_[0];
9527   // required string name_part = 1;
9528   if (cached_has_bits & 0x00000001u) {
9529     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
9530       this->_internal_name_part().data(), static_cast<int>(this->_internal_name_part().length()),
9531       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
9532       "google.protobuf.UninterpretedOption.NamePart.name_part");
9533     target = stream->WriteStringMaybeAliased(
9534         1, this->_internal_name_part(), target);
9535   }
9536 
9537   // required bool is_extension = 2;
9538   if (cached_has_bits & 0x00000002u) {
9539     target = stream->EnsureSpace(target);
9540     target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_is_extension(), target);
9541   }
9542 
9543   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9544     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9545         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
9546   }
9547   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UninterpretedOption.NamePart)
9548   return target;
9549 }
9550 
RequiredFieldsByteSizeFallback() const9551 size_t UninterpretedOption_NamePart::RequiredFieldsByteSizeFallback() const {
9552 // @@protoc_insertion_point(required_fields_byte_size_fallback_start:google.protobuf.UninterpretedOption.NamePart)
9553   size_t total_size = 0;
9554 
9555   if (_internal_has_name_part()) {
9556     // required string name_part = 1;
9557     total_size += 1 +
9558       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
9559         this->_internal_name_part());
9560   }
9561 
9562   if (_internal_has_is_extension()) {
9563     // required bool is_extension = 2;
9564     total_size += 1 + 1;
9565   }
9566 
9567   return total_size;
9568 }
ByteSizeLong() const9569 size_t UninterpretedOption_NamePart::ByteSizeLong() const {
9570 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.UninterpretedOption.NamePart)
9571   size_t total_size = 0;
9572 
9573   if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
9574     // required string name_part = 1;
9575     total_size += 1 +
9576       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
9577         this->_internal_name_part());
9578 
9579     // required bool is_extension = 2;
9580     total_size += 1 + 1;
9581 
9582   } else {
9583     total_size += RequiredFieldsByteSizeFallback();
9584   }
9585   uint32_t cached_has_bits = 0;
9586   // Prevent compiler warnings about cached_has_bits being unused
9587   (void) cached_has_bits;
9588 
9589   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
9590 }
9591 
9592 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UninterpretedOption_NamePart::_class_data_ = {
9593     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
9594     UninterpretedOption_NamePart::MergeImpl
9595 };
GetClassData() const9596 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UninterpretedOption_NamePart::GetClassData() const { return &_class_data_; }
9597 
9598 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)9599 void UninterpretedOption_NamePart::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
9600   auto* const _this = static_cast<UninterpretedOption_NamePart*>(&to_msg);
9601   auto& from = static_cast<const UninterpretedOption_NamePart&>(from_msg);
9602   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UninterpretedOption.NamePart)
9603   GOOGLE_DCHECK_NE(&from, _this);
9604   uint32_t cached_has_bits = 0;
9605   (void) cached_has_bits;
9606 
9607   cached_has_bits = from._impl_._has_bits_[0];
9608   if (cached_has_bits & 0x00000003u) {
9609     if (cached_has_bits & 0x00000001u) {
9610       _this->_internal_set_name_part(from._internal_name_part());
9611     }
9612     if (cached_has_bits & 0x00000002u) {
9613       _this->_impl_.is_extension_ = from._impl_.is_extension_;
9614     }
9615     _this->_impl_._has_bits_[0] |= cached_has_bits;
9616   }
9617   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
9618 }
9619 
CopyFrom(const UninterpretedOption_NamePart & from)9620 void UninterpretedOption_NamePart::CopyFrom(const UninterpretedOption_NamePart& from) {
9621 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UninterpretedOption.NamePart)
9622   if (&from == this) return;
9623   Clear();
9624   MergeFrom(from);
9625 }
9626 
IsInitialized() const9627 bool UninterpretedOption_NamePart::IsInitialized() const {
9628   if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
9629   return true;
9630 }
9631 
InternalSwap(UninterpretedOption_NamePart * other)9632 void UninterpretedOption_NamePart::InternalSwap(UninterpretedOption_NamePart* other) {
9633   using std::swap;
9634   auto* lhs_arena = GetArenaForAllocation();
9635   auto* rhs_arena = other->GetArenaForAllocation();
9636   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9637   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9638   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
9639       &_impl_.name_part_, lhs_arena,
9640       &other->_impl_.name_part_, rhs_arena
9641   );
9642   swap(_impl_.is_extension_, other->_impl_.is_extension_);
9643 }
9644 
GetMetadata() const9645 ::PROTOBUF_NAMESPACE_ID::Metadata UninterpretedOption_NamePart::GetMetadata() const {
9646   return ::_pbi::AssignDescriptors(
9647       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
9648       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[21]);
9649 }
9650 
9651 // ===================================================================
9652 
9653 class UninterpretedOption::_Internal {
9654  public:
9655   using HasBits = decltype(std::declval<UninterpretedOption>()._impl_._has_bits_);
set_has_identifier_value(HasBits * has_bits)9656   static void set_has_identifier_value(HasBits* has_bits) {
9657     (*has_bits)[0] |= 1u;
9658   }
set_has_positive_int_value(HasBits * has_bits)9659   static void set_has_positive_int_value(HasBits* has_bits) {
9660     (*has_bits)[0] |= 8u;
9661   }
set_has_negative_int_value(HasBits * has_bits)9662   static void set_has_negative_int_value(HasBits* has_bits) {
9663     (*has_bits)[0] |= 16u;
9664   }
set_has_double_value(HasBits * has_bits)9665   static void set_has_double_value(HasBits* has_bits) {
9666     (*has_bits)[0] |= 32u;
9667   }
set_has_string_value(HasBits * has_bits)9668   static void set_has_string_value(HasBits* has_bits) {
9669     (*has_bits)[0] |= 2u;
9670   }
set_has_aggregate_value(HasBits * has_bits)9671   static void set_has_aggregate_value(HasBits* has_bits) {
9672     (*has_bits)[0] |= 4u;
9673   }
9674 };
9675 
UninterpretedOption(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)9676 UninterpretedOption::UninterpretedOption(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9677                          bool is_message_owned)
9678   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
9679   SharedCtor(arena, is_message_owned);
9680   // @@protoc_insertion_point(arena_constructor:google.protobuf.UninterpretedOption)
9681 }
UninterpretedOption(const UninterpretedOption & from)9682 UninterpretedOption::UninterpretedOption(const UninterpretedOption& from)
9683   : ::PROTOBUF_NAMESPACE_ID::Message() {
9684   UninterpretedOption* const _this = this; (void)_this;
9685   new (&_impl_) Impl_{
9686       decltype(_impl_._has_bits_){from._impl_._has_bits_}
9687     , /*decltype(_impl_._cached_size_)*/{}
9688     , decltype(_impl_.name_){from._impl_.name_}
9689     , decltype(_impl_.identifier_value_){}
9690     , decltype(_impl_.string_value_){}
9691     , decltype(_impl_.aggregate_value_){}
9692     , decltype(_impl_.positive_int_value_){}
9693     , decltype(_impl_.negative_int_value_){}
9694     , decltype(_impl_.double_value_){}};
9695 
9696   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
9697   _impl_.identifier_value_.InitDefault();
9698   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9699     _impl_.identifier_value_.Set("", GetArenaForAllocation());
9700   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9701   if (from._internal_has_identifier_value()) {
9702     _this->_impl_.identifier_value_.Set(from._internal_identifier_value(),
9703       _this->GetArenaForAllocation());
9704   }
9705   _impl_.string_value_.InitDefault();
9706   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9707     _impl_.string_value_.Set("", GetArenaForAllocation());
9708   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9709   if (from._internal_has_string_value()) {
9710     _this->_impl_.string_value_.Set(from._internal_string_value(),
9711       _this->GetArenaForAllocation());
9712   }
9713   _impl_.aggregate_value_.InitDefault();
9714   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9715     _impl_.aggregate_value_.Set("", GetArenaForAllocation());
9716   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9717   if (from._internal_has_aggregate_value()) {
9718     _this->_impl_.aggregate_value_.Set(from._internal_aggregate_value(),
9719       _this->GetArenaForAllocation());
9720   }
9721   ::memcpy(&_impl_.positive_int_value_, &from._impl_.positive_int_value_,
9722     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.double_value_) -
9723     reinterpret_cast<char*>(&_impl_.positive_int_value_)) + sizeof(_impl_.double_value_));
9724   // @@protoc_insertion_point(copy_constructor:google.protobuf.UninterpretedOption)
9725 }
9726 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)9727 inline void UninterpretedOption::SharedCtor(
9728     ::_pb::Arena* arena, bool is_message_owned) {
9729   (void)arena;
9730   (void)is_message_owned;
9731   new (&_impl_) Impl_{
9732       decltype(_impl_._has_bits_){}
9733     , /*decltype(_impl_._cached_size_)*/{}
9734     , decltype(_impl_.name_){arena}
9735     , decltype(_impl_.identifier_value_){}
9736     , decltype(_impl_.string_value_){}
9737     , decltype(_impl_.aggregate_value_){}
9738     , decltype(_impl_.positive_int_value_){uint64_t{0u}}
9739     , decltype(_impl_.negative_int_value_){int64_t{0}}
9740     , decltype(_impl_.double_value_){0}
9741   };
9742   _impl_.identifier_value_.InitDefault();
9743   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9744     _impl_.identifier_value_.Set("", GetArenaForAllocation());
9745   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9746   _impl_.string_value_.InitDefault();
9747   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9748     _impl_.string_value_.Set("", GetArenaForAllocation());
9749   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9750   _impl_.aggregate_value_.InitDefault();
9751   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9752     _impl_.aggregate_value_.Set("", GetArenaForAllocation());
9753   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9754 }
9755 
~UninterpretedOption()9756 UninterpretedOption::~UninterpretedOption() {
9757   // @@protoc_insertion_point(destructor:google.protobuf.UninterpretedOption)
9758   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
9759   (void)arena;
9760     return;
9761   }
9762   SharedDtor();
9763 }
9764 
SharedDtor()9765 inline void UninterpretedOption::SharedDtor() {
9766   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
9767   _impl_.name_.~RepeatedPtrField();
9768   _impl_.identifier_value_.Destroy();
9769   _impl_.string_value_.Destroy();
9770   _impl_.aggregate_value_.Destroy();
9771 }
9772 
SetCachedSize(int size) const9773 void UninterpretedOption::SetCachedSize(int size) const {
9774   _impl_._cached_size_.Set(size);
9775 }
9776 
Clear()9777 void UninterpretedOption::Clear() {
9778 // @@protoc_insertion_point(message_clear_start:google.protobuf.UninterpretedOption)
9779   uint32_t cached_has_bits = 0;
9780   // Prevent compiler warnings about cached_has_bits being unused
9781   (void) cached_has_bits;
9782 
9783   _impl_.name_.Clear();
9784   cached_has_bits = _impl_._has_bits_[0];
9785   if (cached_has_bits & 0x00000007u) {
9786     if (cached_has_bits & 0x00000001u) {
9787       _impl_.identifier_value_.ClearNonDefaultToEmpty();
9788     }
9789     if (cached_has_bits & 0x00000002u) {
9790       _impl_.string_value_.ClearNonDefaultToEmpty();
9791     }
9792     if (cached_has_bits & 0x00000004u) {
9793       _impl_.aggregate_value_.ClearNonDefaultToEmpty();
9794     }
9795   }
9796   if (cached_has_bits & 0x00000038u) {
9797     ::memset(&_impl_.positive_int_value_, 0, static_cast<size_t>(
9798         reinterpret_cast<char*>(&_impl_.double_value_) -
9799         reinterpret_cast<char*>(&_impl_.positive_int_value_)) + sizeof(_impl_.double_value_));
9800   }
9801   _impl_._has_bits_.Clear();
9802   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
9803 }
9804 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)9805 const char* UninterpretedOption::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
9806 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9807   _Internal::HasBits has_bits{};
9808   while (!ctx->Done(&ptr)) {
9809     uint32_t tag;
9810     ptr = ::_pbi::ReadTag(ptr, &tag);
9811     switch (tag >> 3) {
9812       // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
9813       case 2:
9814         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
9815           ptr -= 1;
9816           do {
9817             ptr += 1;
9818             ptr = ctx->ParseMessage(_internal_add_name(), ptr);
9819             CHK_(ptr);
9820             if (!ctx->DataAvailable(ptr)) break;
9821           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
9822         } else
9823           goto handle_unusual;
9824         continue;
9825       // optional string identifier_value = 3;
9826       case 3:
9827         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
9828           auto str = _internal_mutable_identifier_value();
9829           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
9830           CHK_(ptr);
9831           #ifndef NDEBUG
9832           ::_pbi::VerifyUTF8(str, "google.protobuf.UninterpretedOption.identifier_value");
9833           #endif  // !NDEBUG
9834         } else
9835           goto handle_unusual;
9836         continue;
9837       // optional uint64 positive_int_value = 4;
9838       case 4:
9839         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
9840           _Internal::set_has_positive_int_value(&has_bits);
9841           _impl_.positive_int_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9842           CHK_(ptr);
9843         } else
9844           goto handle_unusual;
9845         continue;
9846       // optional int64 negative_int_value = 5;
9847       case 5:
9848         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
9849           _Internal::set_has_negative_int_value(&has_bits);
9850           _impl_.negative_int_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9851           CHK_(ptr);
9852         } else
9853           goto handle_unusual;
9854         continue;
9855       // optional double double_value = 6;
9856       case 6:
9857         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 49)) {
9858           _Internal::set_has_double_value(&has_bits);
9859           _impl_.double_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
9860           ptr += sizeof(double);
9861         } else
9862           goto handle_unusual;
9863         continue;
9864       // optional bytes string_value = 7;
9865       case 7:
9866         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
9867           auto str = _internal_mutable_string_value();
9868           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
9869           CHK_(ptr);
9870         } else
9871           goto handle_unusual;
9872         continue;
9873       // optional string aggregate_value = 8;
9874       case 8:
9875         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
9876           auto str = _internal_mutable_aggregate_value();
9877           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
9878           CHK_(ptr);
9879           #ifndef NDEBUG
9880           ::_pbi::VerifyUTF8(str, "google.protobuf.UninterpretedOption.aggregate_value");
9881           #endif  // !NDEBUG
9882         } else
9883           goto handle_unusual;
9884         continue;
9885       default:
9886         goto handle_unusual;
9887     }  // switch
9888   handle_unusual:
9889     if ((tag == 0) || ((tag & 7) == 4)) {
9890       CHK_(ptr);
9891       ctx->SetLastTag(tag);
9892       goto message_done;
9893     }
9894     ptr = UnknownFieldParse(
9895         tag,
9896         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
9897         ptr, ctx);
9898     CHK_(ptr != nullptr);
9899   }  // while
9900 message_done:
9901   _impl_._has_bits_.Or(has_bits);
9902   return ptr;
9903 failure:
9904   ptr = nullptr;
9905   goto message_done;
9906 #undef CHK_
9907 }
9908 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const9909 uint8_t* UninterpretedOption::_InternalSerialize(
9910     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9911   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UninterpretedOption)
9912   uint32_t cached_has_bits = 0;
9913   (void) cached_has_bits;
9914 
9915   // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
9916   for (unsigned i = 0,
9917       n = static_cast<unsigned>(this->_internal_name_size()); i < n; i++) {
9918     const auto& repfield = this->_internal_name(i);
9919     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
9920         InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
9921   }
9922 
9923   cached_has_bits = _impl_._has_bits_[0];
9924   // optional string identifier_value = 3;
9925   if (cached_has_bits & 0x00000001u) {
9926     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
9927       this->_internal_identifier_value().data(), static_cast<int>(this->_internal_identifier_value().length()),
9928       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
9929       "google.protobuf.UninterpretedOption.identifier_value");
9930     target = stream->WriteStringMaybeAliased(
9931         3, this->_internal_identifier_value(), target);
9932   }
9933 
9934   // optional uint64 positive_int_value = 4;
9935   if (cached_has_bits & 0x00000008u) {
9936     target = stream->EnsureSpace(target);
9937     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_positive_int_value(), target);
9938   }
9939 
9940   // optional int64 negative_int_value = 5;
9941   if (cached_has_bits & 0x00000010u) {
9942     target = stream->EnsureSpace(target);
9943     target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_negative_int_value(), target);
9944   }
9945 
9946   // optional double double_value = 6;
9947   if (cached_has_bits & 0x00000020u) {
9948     target = stream->EnsureSpace(target);
9949     target = ::_pbi::WireFormatLite::WriteDoubleToArray(6, this->_internal_double_value(), target);
9950   }
9951 
9952   // optional bytes string_value = 7;
9953   if (cached_has_bits & 0x00000002u) {
9954     target = stream->WriteBytesMaybeAliased(
9955         7, this->_internal_string_value(), target);
9956   }
9957 
9958   // optional string aggregate_value = 8;
9959   if (cached_has_bits & 0x00000004u) {
9960     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
9961       this->_internal_aggregate_value().data(), static_cast<int>(this->_internal_aggregate_value().length()),
9962       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
9963       "google.protobuf.UninterpretedOption.aggregate_value");
9964     target = stream->WriteStringMaybeAliased(
9965         8, this->_internal_aggregate_value(), target);
9966   }
9967 
9968   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9969     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9970         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
9971   }
9972   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UninterpretedOption)
9973   return target;
9974 }
9975 
ByteSizeLong() const9976 size_t UninterpretedOption::ByteSizeLong() const {
9977 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.UninterpretedOption)
9978   size_t total_size = 0;
9979 
9980   uint32_t cached_has_bits = 0;
9981   // Prevent compiler warnings about cached_has_bits being unused
9982   (void) cached_has_bits;
9983 
9984   // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
9985   total_size += 1UL * this->_internal_name_size();
9986   for (const auto& msg : this->_impl_.name_) {
9987     total_size +=
9988       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
9989   }
9990 
9991   cached_has_bits = _impl_._has_bits_[0];
9992   if (cached_has_bits & 0x0000003fu) {
9993     // optional string identifier_value = 3;
9994     if (cached_has_bits & 0x00000001u) {
9995       total_size += 1 +
9996         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
9997           this->_internal_identifier_value());
9998     }
9999 
10000     // optional bytes string_value = 7;
10001     if (cached_has_bits & 0x00000002u) {
10002       total_size += 1 +
10003         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
10004           this->_internal_string_value());
10005     }
10006 
10007     // optional string aggregate_value = 8;
10008     if (cached_has_bits & 0x00000004u) {
10009       total_size += 1 +
10010         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
10011           this->_internal_aggregate_value());
10012     }
10013 
10014     // optional uint64 positive_int_value = 4;
10015     if (cached_has_bits & 0x00000008u) {
10016       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_positive_int_value());
10017     }
10018 
10019     // optional int64 negative_int_value = 5;
10020     if (cached_has_bits & 0x00000010u) {
10021       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_negative_int_value());
10022     }
10023 
10024     // optional double double_value = 6;
10025     if (cached_has_bits & 0x00000020u) {
10026       total_size += 1 + 8;
10027     }
10028 
10029   }
10030   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
10031 }
10032 
10033 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UninterpretedOption::_class_data_ = {
10034     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
10035     UninterpretedOption::MergeImpl
10036 };
GetClassData() const10037 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UninterpretedOption::GetClassData() const { return &_class_data_; }
10038 
10039 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)10040 void UninterpretedOption::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
10041   auto* const _this = static_cast<UninterpretedOption*>(&to_msg);
10042   auto& from = static_cast<const UninterpretedOption&>(from_msg);
10043   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UninterpretedOption)
10044   GOOGLE_DCHECK_NE(&from, _this);
10045   uint32_t cached_has_bits = 0;
10046   (void) cached_has_bits;
10047 
10048   _this->_impl_.name_.MergeFrom(from._impl_.name_);
10049   cached_has_bits = from._impl_._has_bits_[0];
10050   if (cached_has_bits & 0x0000003fu) {
10051     if (cached_has_bits & 0x00000001u) {
10052       _this->_internal_set_identifier_value(from._internal_identifier_value());
10053     }
10054     if (cached_has_bits & 0x00000002u) {
10055       _this->_internal_set_string_value(from._internal_string_value());
10056     }
10057     if (cached_has_bits & 0x00000004u) {
10058       _this->_internal_set_aggregate_value(from._internal_aggregate_value());
10059     }
10060     if (cached_has_bits & 0x00000008u) {
10061       _this->_impl_.positive_int_value_ = from._impl_.positive_int_value_;
10062     }
10063     if (cached_has_bits & 0x00000010u) {
10064       _this->_impl_.negative_int_value_ = from._impl_.negative_int_value_;
10065     }
10066     if (cached_has_bits & 0x00000020u) {
10067       _this->_impl_.double_value_ = from._impl_.double_value_;
10068     }
10069     _this->_impl_._has_bits_[0] |= cached_has_bits;
10070   }
10071   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
10072 }
10073 
CopyFrom(const UninterpretedOption & from)10074 void UninterpretedOption::CopyFrom(const UninterpretedOption& from) {
10075 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UninterpretedOption)
10076   if (&from == this) return;
10077   Clear();
10078   MergeFrom(from);
10079 }
10080 
IsInitialized() const10081 bool UninterpretedOption::IsInitialized() const {
10082   if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.name_))
10083     return false;
10084   return true;
10085 }
10086 
InternalSwap(UninterpretedOption * other)10087 void UninterpretedOption::InternalSwap(UninterpretedOption* other) {
10088   using std::swap;
10089   auto* lhs_arena = GetArenaForAllocation();
10090   auto* rhs_arena = other->GetArenaForAllocation();
10091   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10092   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10093   _impl_.name_.InternalSwap(&other->_impl_.name_);
10094   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
10095       &_impl_.identifier_value_, lhs_arena,
10096       &other->_impl_.identifier_value_, rhs_arena
10097   );
10098   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
10099       &_impl_.string_value_, lhs_arena,
10100       &other->_impl_.string_value_, rhs_arena
10101   );
10102   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
10103       &_impl_.aggregate_value_, lhs_arena,
10104       &other->_impl_.aggregate_value_, rhs_arena
10105   );
10106   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
10107       PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.double_value_)
10108       + sizeof(UninterpretedOption::_impl_.double_value_)
10109       - PROTOBUF_FIELD_OFFSET(UninterpretedOption, _impl_.positive_int_value_)>(
10110           reinterpret_cast<char*>(&_impl_.positive_int_value_),
10111           reinterpret_cast<char*>(&other->_impl_.positive_int_value_));
10112 }
10113 
GetMetadata() const10114 ::PROTOBUF_NAMESPACE_ID::Metadata UninterpretedOption::GetMetadata() const {
10115   return ::_pbi::AssignDescriptors(
10116       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
10117       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[22]);
10118 }
10119 
10120 // ===================================================================
10121 
10122 class SourceCodeInfo_Location::_Internal {
10123  public:
10124   using HasBits = decltype(std::declval<SourceCodeInfo_Location>()._impl_._has_bits_);
set_has_leading_comments(HasBits * has_bits)10125   static void set_has_leading_comments(HasBits* has_bits) {
10126     (*has_bits)[0] |= 1u;
10127   }
set_has_trailing_comments(HasBits * has_bits)10128   static void set_has_trailing_comments(HasBits* has_bits) {
10129     (*has_bits)[0] |= 2u;
10130   }
10131 };
10132 
SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)10133 SourceCodeInfo_Location::SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10134                          bool is_message_owned)
10135   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
10136   SharedCtor(arena, is_message_owned);
10137   // @@protoc_insertion_point(arena_constructor:google.protobuf.SourceCodeInfo.Location)
10138 }
SourceCodeInfo_Location(const SourceCodeInfo_Location & from)10139 SourceCodeInfo_Location::SourceCodeInfo_Location(const SourceCodeInfo_Location& from)
10140   : ::PROTOBUF_NAMESPACE_ID::Message() {
10141   SourceCodeInfo_Location* const _this = this; (void)_this;
10142   new (&_impl_) Impl_{
10143       decltype(_impl_._has_bits_){from._impl_._has_bits_}
10144     , /*decltype(_impl_._cached_size_)*/{}
10145     , decltype(_impl_.path_){from._impl_.path_}
10146     , /*decltype(_impl_._path_cached_byte_size_)*/{0}
10147     , decltype(_impl_.span_){from._impl_.span_}
10148     , /*decltype(_impl_._span_cached_byte_size_)*/{0}
10149     , decltype(_impl_.leading_detached_comments_){from._impl_.leading_detached_comments_}
10150     , decltype(_impl_.leading_comments_){}
10151     , decltype(_impl_.trailing_comments_){}};
10152 
10153   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
10154   _impl_.leading_comments_.InitDefault();
10155   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
10156     _impl_.leading_comments_.Set("", GetArenaForAllocation());
10157   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
10158   if (from._internal_has_leading_comments()) {
10159     _this->_impl_.leading_comments_.Set(from._internal_leading_comments(),
10160       _this->GetArenaForAllocation());
10161   }
10162   _impl_.trailing_comments_.InitDefault();
10163   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
10164     _impl_.trailing_comments_.Set("", GetArenaForAllocation());
10165   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
10166   if (from._internal_has_trailing_comments()) {
10167     _this->_impl_.trailing_comments_.Set(from._internal_trailing_comments(),
10168       _this->GetArenaForAllocation());
10169   }
10170   // @@protoc_insertion_point(copy_constructor:google.protobuf.SourceCodeInfo.Location)
10171 }
10172 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)10173 inline void SourceCodeInfo_Location::SharedCtor(
10174     ::_pb::Arena* arena, bool is_message_owned) {
10175   (void)arena;
10176   (void)is_message_owned;
10177   new (&_impl_) Impl_{
10178       decltype(_impl_._has_bits_){}
10179     , /*decltype(_impl_._cached_size_)*/{}
10180     , decltype(_impl_.path_){arena}
10181     , /*decltype(_impl_._path_cached_byte_size_)*/{0}
10182     , decltype(_impl_.span_){arena}
10183     , /*decltype(_impl_._span_cached_byte_size_)*/{0}
10184     , decltype(_impl_.leading_detached_comments_){arena}
10185     , decltype(_impl_.leading_comments_){}
10186     , decltype(_impl_.trailing_comments_){}
10187   };
10188   _impl_.leading_comments_.InitDefault();
10189   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
10190     _impl_.leading_comments_.Set("", GetArenaForAllocation());
10191   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
10192   _impl_.trailing_comments_.InitDefault();
10193   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
10194     _impl_.trailing_comments_.Set("", GetArenaForAllocation());
10195   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
10196 }
10197 
~SourceCodeInfo_Location()10198 SourceCodeInfo_Location::~SourceCodeInfo_Location() {
10199   // @@protoc_insertion_point(destructor:google.protobuf.SourceCodeInfo.Location)
10200   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
10201   (void)arena;
10202     return;
10203   }
10204   SharedDtor();
10205 }
10206 
SharedDtor()10207 inline void SourceCodeInfo_Location::SharedDtor() {
10208   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
10209   _impl_.path_.~RepeatedField();
10210   _impl_.span_.~RepeatedField();
10211   _impl_.leading_detached_comments_.~RepeatedPtrField();
10212   _impl_.leading_comments_.Destroy();
10213   _impl_.trailing_comments_.Destroy();
10214 }
10215 
SetCachedSize(int size) const10216 void SourceCodeInfo_Location::SetCachedSize(int size) const {
10217   _impl_._cached_size_.Set(size);
10218 }
10219 
Clear()10220 void SourceCodeInfo_Location::Clear() {
10221 // @@protoc_insertion_point(message_clear_start:google.protobuf.SourceCodeInfo.Location)
10222   uint32_t cached_has_bits = 0;
10223   // Prevent compiler warnings about cached_has_bits being unused
10224   (void) cached_has_bits;
10225 
10226   _impl_.path_.Clear();
10227   _impl_.span_.Clear();
10228   _impl_.leading_detached_comments_.Clear();
10229   cached_has_bits = _impl_._has_bits_[0];
10230   if (cached_has_bits & 0x00000003u) {
10231     if (cached_has_bits & 0x00000001u) {
10232       _impl_.leading_comments_.ClearNonDefaultToEmpty();
10233     }
10234     if (cached_has_bits & 0x00000002u) {
10235       _impl_.trailing_comments_.ClearNonDefaultToEmpty();
10236     }
10237   }
10238   _impl_._has_bits_.Clear();
10239   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
10240 }
10241 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)10242 const char* SourceCodeInfo_Location::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
10243 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
10244   _Internal::HasBits has_bits{};
10245   while (!ctx->Done(&ptr)) {
10246     uint32_t tag;
10247     ptr = ::_pbi::ReadTag(ptr, &tag);
10248     switch (tag >> 3) {
10249       // repeated int32 path = 1 [packed = true];
10250       case 1:
10251         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
10252           ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_path(), ptr, ctx);
10253           CHK_(ptr);
10254         } else if (static_cast<uint8_t>(tag) == 8) {
10255           _internal_add_path(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr));
10256           CHK_(ptr);
10257         } else
10258           goto handle_unusual;
10259         continue;
10260       // repeated int32 span = 2 [packed = true];
10261       case 2:
10262         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
10263           ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_span(), ptr, ctx);
10264           CHK_(ptr);
10265         } else if (static_cast<uint8_t>(tag) == 16) {
10266           _internal_add_span(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr));
10267           CHK_(ptr);
10268         } else
10269           goto handle_unusual;
10270         continue;
10271       // optional string leading_comments = 3;
10272       case 3:
10273         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
10274           auto str = _internal_mutable_leading_comments();
10275           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
10276           CHK_(ptr);
10277           #ifndef NDEBUG
10278           ::_pbi::VerifyUTF8(str, "google.protobuf.SourceCodeInfo.Location.leading_comments");
10279           #endif  // !NDEBUG
10280         } else
10281           goto handle_unusual;
10282         continue;
10283       // optional string trailing_comments = 4;
10284       case 4:
10285         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
10286           auto str = _internal_mutable_trailing_comments();
10287           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
10288           CHK_(ptr);
10289           #ifndef NDEBUG
10290           ::_pbi::VerifyUTF8(str, "google.protobuf.SourceCodeInfo.Location.trailing_comments");
10291           #endif  // !NDEBUG
10292         } else
10293           goto handle_unusual;
10294         continue;
10295       // repeated string leading_detached_comments = 6;
10296       case 6:
10297         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
10298           ptr -= 1;
10299           do {
10300             ptr += 1;
10301             auto str = _internal_add_leading_detached_comments();
10302             ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
10303             CHK_(ptr);
10304             #ifndef NDEBUG
10305             ::_pbi::VerifyUTF8(str, "google.protobuf.SourceCodeInfo.Location.leading_detached_comments");
10306             #endif  // !NDEBUG
10307             if (!ctx->DataAvailable(ptr)) break;
10308           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
10309         } else
10310           goto handle_unusual;
10311         continue;
10312       default:
10313         goto handle_unusual;
10314     }  // switch
10315   handle_unusual:
10316     if ((tag == 0) || ((tag & 7) == 4)) {
10317       CHK_(ptr);
10318       ctx->SetLastTag(tag);
10319       goto message_done;
10320     }
10321     ptr = UnknownFieldParse(
10322         tag,
10323         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
10324         ptr, ctx);
10325     CHK_(ptr != nullptr);
10326   }  // while
10327 message_done:
10328   _impl_._has_bits_.Or(has_bits);
10329   return ptr;
10330 failure:
10331   ptr = nullptr;
10332   goto message_done;
10333 #undef CHK_
10334 }
10335 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const10336 uint8_t* SourceCodeInfo_Location::_InternalSerialize(
10337     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
10338   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceCodeInfo.Location)
10339   uint32_t cached_has_bits = 0;
10340   (void) cached_has_bits;
10341 
10342   // repeated int32 path = 1 [packed = true];
10343   {
10344     int byte_size = _impl_._path_cached_byte_size_.load(std::memory_order_relaxed);
10345     if (byte_size > 0) {
10346       target = stream->WriteInt32Packed(
10347           1, _internal_path(), byte_size, target);
10348     }
10349   }
10350 
10351   // repeated int32 span = 2 [packed = true];
10352   {
10353     int byte_size = _impl_._span_cached_byte_size_.load(std::memory_order_relaxed);
10354     if (byte_size > 0) {
10355       target = stream->WriteInt32Packed(
10356           2, _internal_span(), byte_size, target);
10357     }
10358   }
10359 
10360   cached_has_bits = _impl_._has_bits_[0];
10361   // optional string leading_comments = 3;
10362   if (cached_has_bits & 0x00000001u) {
10363     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
10364       this->_internal_leading_comments().data(), static_cast<int>(this->_internal_leading_comments().length()),
10365       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
10366       "google.protobuf.SourceCodeInfo.Location.leading_comments");
10367     target = stream->WriteStringMaybeAliased(
10368         3, this->_internal_leading_comments(), target);
10369   }
10370 
10371   // optional string trailing_comments = 4;
10372   if (cached_has_bits & 0x00000002u) {
10373     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
10374       this->_internal_trailing_comments().data(), static_cast<int>(this->_internal_trailing_comments().length()),
10375       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
10376       "google.protobuf.SourceCodeInfo.Location.trailing_comments");
10377     target = stream->WriteStringMaybeAliased(
10378         4, this->_internal_trailing_comments(), target);
10379   }
10380 
10381   // repeated string leading_detached_comments = 6;
10382   for (int i = 0, n = this->_internal_leading_detached_comments_size(); i < n; i++) {
10383     const auto& s = this->_internal_leading_detached_comments(i);
10384     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
10385       s.data(), static_cast<int>(s.length()),
10386       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
10387       "google.protobuf.SourceCodeInfo.Location.leading_detached_comments");
10388     target = stream->WriteString(6, s, target);
10389   }
10390 
10391   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10392     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
10393         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
10394   }
10395   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.SourceCodeInfo.Location)
10396   return target;
10397 }
10398 
ByteSizeLong() const10399 size_t SourceCodeInfo_Location::ByteSizeLong() const {
10400 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceCodeInfo.Location)
10401   size_t total_size = 0;
10402 
10403   uint32_t cached_has_bits = 0;
10404   // Prevent compiler warnings about cached_has_bits being unused
10405   (void) cached_has_bits;
10406 
10407   // repeated int32 path = 1 [packed = true];
10408   {
10409     size_t data_size = ::_pbi::WireFormatLite::
10410       Int32Size(this->_impl_.path_);
10411     if (data_size > 0) {
10412       total_size += 1 +
10413         ::_pbi::WireFormatLite::Int32Size(static_cast<int32_t>(data_size));
10414     }
10415     int cached_size = ::_pbi::ToCachedSize(data_size);
10416     _impl_._path_cached_byte_size_.store(cached_size,
10417                                     std::memory_order_relaxed);
10418     total_size += data_size;
10419   }
10420 
10421   // repeated int32 span = 2 [packed = true];
10422   {
10423     size_t data_size = ::_pbi::WireFormatLite::
10424       Int32Size(this->_impl_.span_);
10425     if (data_size > 0) {
10426       total_size += 1 +
10427         ::_pbi::WireFormatLite::Int32Size(static_cast<int32_t>(data_size));
10428     }
10429     int cached_size = ::_pbi::ToCachedSize(data_size);
10430     _impl_._span_cached_byte_size_.store(cached_size,
10431                                     std::memory_order_relaxed);
10432     total_size += data_size;
10433   }
10434 
10435   // repeated string leading_detached_comments = 6;
10436   total_size += 1 *
10437       ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.leading_detached_comments_.size());
10438   for (int i = 0, n = _impl_.leading_detached_comments_.size(); i < n; i++) {
10439     total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
10440       _impl_.leading_detached_comments_.Get(i));
10441   }
10442 
10443   cached_has_bits = _impl_._has_bits_[0];
10444   if (cached_has_bits & 0x00000003u) {
10445     // optional string leading_comments = 3;
10446     if (cached_has_bits & 0x00000001u) {
10447       total_size += 1 +
10448         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
10449           this->_internal_leading_comments());
10450     }
10451 
10452     // optional string trailing_comments = 4;
10453     if (cached_has_bits & 0x00000002u) {
10454       total_size += 1 +
10455         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
10456           this->_internal_trailing_comments());
10457     }
10458 
10459   }
10460   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
10461 }
10462 
10463 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SourceCodeInfo_Location::_class_data_ = {
10464     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
10465     SourceCodeInfo_Location::MergeImpl
10466 };
GetClassData() const10467 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SourceCodeInfo_Location::GetClassData() const { return &_class_data_; }
10468 
10469 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)10470 void SourceCodeInfo_Location::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
10471   auto* const _this = static_cast<SourceCodeInfo_Location*>(&to_msg);
10472   auto& from = static_cast<const SourceCodeInfo_Location&>(from_msg);
10473   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.SourceCodeInfo.Location)
10474   GOOGLE_DCHECK_NE(&from, _this);
10475   uint32_t cached_has_bits = 0;
10476   (void) cached_has_bits;
10477 
10478   _this->_impl_.path_.MergeFrom(from._impl_.path_);
10479   _this->_impl_.span_.MergeFrom(from._impl_.span_);
10480   _this->_impl_.leading_detached_comments_.MergeFrom(from._impl_.leading_detached_comments_);
10481   cached_has_bits = from._impl_._has_bits_[0];
10482   if (cached_has_bits & 0x00000003u) {
10483     if (cached_has_bits & 0x00000001u) {
10484       _this->_internal_set_leading_comments(from._internal_leading_comments());
10485     }
10486     if (cached_has_bits & 0x00000002u) {
10487       _this->_internal_set_trailing_comments(from._internal_trailing_comments());
10488     }
10489   }
10490   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
10491 }
10492 
CopyFrom(const SourceCodeInfo_Location & from)10493 void SourceCodeInfo_Location::CopyFrom(const SourceCodeInfo_Location& from) {
10494 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.SourceCodeInfo.Location)
10495   if (&from == this) return;
10496   Clear();
10497   MergeFrom(from);
10498 }
10499 
IsInitialized() const10500 bool SourceCodeInfo_Location::IsInitialized() const {
10501   return true;
10502 }
10503 
InternalSwap(SourceCodeInfo_Location * other)10504 void SourceCodeInfo_Location::InternalSwap(SourceCodeInfo_Location* other) {
10505   using std::swap;
10506   auto* lhs_arena = GetArenaForAllocation();
10507   auto* rhs_arena = other->GetArenaForAllocation();
10508   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10509   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10510   _impl_.path_.InternalSwap(&other->_impl_.path_);
10511   _impl_.span_.InternalSwap(&other->_impl_.span_);
10512   _impl_.leading_detached_comments_.InternalSwap(&other->_impl_.leading_detached_comments_);
10513   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
10514       &_impl_.leading_comments_, lhs_arena,
10515       &other->_impl_.leading_comments_, rhs_arena
10516   );
10517   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
10518       &_impl_.trailing_comments_, lhs_arena,
10519       &other->_impl_.trailing_comments_, rhs_arena
10520   );
10521 }
10522 
GetMetadata() const10523 ::PROTOBUF_NAMESPACE_ID::Metadata SourceCodeInfo_Location::GetMetadata() const {
10524   return ::_pbi::AssignDescriptors(
10525       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
10526       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[23]);
10527 }
10528 
10529 // ===================================================================
10530 
10531 class SourceCodeInfo::_Internal {
10532  public:
10533 };
10534 
SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)10535 SourceCodeInfo::SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10536                          bool is_message_owned)
10537   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
10538   SharedCtor(arena, is_message_owned);
10539   // @@protoc_insertion_point(arena_constructor:google.protobuf.SourceCodeInfo)
10540 }
SourceCodeInfo(const SourceCodeInfo & from)10541 SourceCodeInfo::SourceCodeInfo(const SourceCodeInfo& from)
10542   : ::PROTOBUF_NAMESPACE_ID::Message() {
10543   SourceCodeInfo* const _this = this; (void)_this;
10544   new (&_impl_) Impl_{
10545       decltype(_impl_.location_){from._impl_.location_}
10546     , /*decltype(_impl_._cached_size_)*/{}};
10547 
10548   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
10549   // @@protoc_insertion_point(copy_constructor:google.protobuf.SourceCodeInfo)
10550 }
10551 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)10552 inline void SourceCodeInfo::SharedCtor(
10553     ::_pb::Arena* arena, bool is_message_owned) {
10554   (void)arena;
10555   (void)is_message_owned;
10556   new (&_impl_) Impl_{
10557       decltype(_impl_.location_){arena}
10558     , /*decltype(_impl_._cached_size_)*/{}
10559   };
10560 }
10561 
~SourceCodeInfo()10562 SourceCodeInfo::~SourceCodeInfo() {
10563   // @@protoc_insertion_point(destructor:google.protobuf.SourceCodeInfo)
10564   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
10565   (void)arena;
10566     return;
10567   }
10568   SharedDtor();
10569 }
10570 
SharedDtor()10571 inline void SourceCodeInfo::SharedDtor() {
10572   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
10573   _impl_.location_.~RepeatedPtrField();
10574 }
10575 
SetCachedSize(int size) const10576 void SourceCodeInfo::SetCachedSize(int size) const {
10577   _impl_._cached_size_.Set(size);
10578 }
10579 
Clear()10580 void SourceCodeInfo::Clear() {
10581 // @@protoc_insertion_point(message_clear_start:google.protobuf.SourceCodeInfo)
10582   uint32_t cached_has_bits = 0;
10583   // Prevent compiler warnings about cached_has_bits being unused
10584   (void) cached_has_bits;
10585 
10586   _impl_.location_.Clear();
10587   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
10588 }
10589 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)10590 const char* SourceCodeInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
10591 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
10592   while (!ctx->Done(&ptr)) {
10593     uint32_t tag;
10594     ptr = ::_pbi::ReadTag(ptr, &tag);
10595     switch (tag >> 3) {
10596       // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
10597       case 1:
10598         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
10599           ptr -= 1;
10600           do {
10601             ptr += 1;
10602             ptr = ctx->ParseMessage(_internal_add_location(), ptr);
10603             CHK_(ptr);
10604             if (!ctx->DataAvailable(ptr)) break;
10605           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
10606         } else
10607           goto handle_unusual;
10608         continue;
10609       default:
10610         goto handle_unusual;
10611     }  // switch
10612   handle_unusual:
10613     if ((tag == 0) || ((tag & 7) == 4)) {
10614       CHK_(ptr);
10615       ctx->SetLastTag(tag);
10616       goto message_done;
10617     }
10618     ptr = UnknownFieldParse(
10619         tag,
10620         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
10621         ptr, ctx);
10622     CHK_(ptr != nullptr);
10623   }  // while
10624 message_done:
10625   return ptr;
10626 failure:
10627   ptr = nullptr;
10628   goto message_done;
10629 #undef CHK_
10630 }
10631 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const10632 uint8_t* SourceCodeInfo::_InternalSerialize(
10633     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
10634   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceCodeInfo)
10635   uint32_t cached_has_bits = 0;
10636   (void) cached_has_bits;
10637 
10638   // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
10639   for (unsigned i = 0,
10640       n = static_cast<unsigned>(this->_internal_location_size()); i < n; i++) {
10641     const auto& repfield = this->_internal_location(i);
10642     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
10643         InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
10644   }
10645 
10646   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10647     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
10648         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
10649   }
10650   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.SourceCodeInfo)
10651   return target;
10652 }
10653 
ByteSizeLong() const10654 size_t SourceCodeInfo::ByteSizeLong() const {
10655 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceCodeInfo)
10656   size_t total_size = 0;
10657 
10658   uint32_t cached_has_bits = 0;
10659   // Prevent compiler warnings about cached_has_bits being unused
10660   (void) cached_has_bits;
10661 
10662   // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
10663   total_size += 1UL * this->_internal_location_size();
10664   for (const auto& msg : this->_impl_.location_) {
10665     total_size +=
10666       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
10667   }
10668 
10669   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
10670 }
10671 
10672 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SourceCodeInfo::_class_data_ = {
10673     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
10674     SourceCodeInfo::MergeImpl
10675 };
GetClassData() const10676 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SourceCodeInfo::GetClassData() const { return &_class_data_; }
10677 
10678 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)10679 void SourceCodeInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
10680   auto* const _this = static_cast<SourceCodeInfo*>(&to_msg);
10681   auto& from = static_cast<const SourceCodeInfo&>(from_msg);
10682   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.SourceCodeInfo)
10683   GOOGLE_DCHECK_NE(&from, _this);
10684   uint32_t cached_has_bits = 0;
10685   (void) cached_has_bits;
10686 
10687   _this->_impl_.location_.MergeFrom(from._impl_.location_);
10688   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
10689 }
10690 
CopyFrom(const SourceCodeInfo & from)10691 void SourceCodeInfo::CopyFrom(const SourceCodeInfo& from) {
10692 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.SourceCodeInfo)
10693   if (&from == this) return;
10694   Clear();
10695   MergeFrom(from);
10696 }
10697 
IsInitialized() const10698 bool SourceCodeInfo::IsInitialized() const {
10699   return true;
10700 }
10701 
InternalSwap(SourceCodeInfo * other)10702 void SourceCodeInfo::InternalSwap(SourceCodeInfo* other) {
10703   using std::swap;
10704   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10705   _impl_.location_.InternalSwap(&other->_impl_.location_);
10706 }
10707 
GetMetadata() const10708 ::PROTOBUF_NAMESPACE_ID::Metadata SourceCodeInfo::GetMetadata() const {
10709   return ::_pbi::AssignDescriptors(
10710       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
10711       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[24]);
10712 }
10713 
10714 // ===================================================================
10715 
10716 class GeneratedCodeInfo_Annotation::_Internal {
10717  public:
10718   using HasBits = decltype(std::declval<GeneratedCodeInfo_Annotation>()._impl_._has_bits_);
set_has_source_file(HasBits * has_bits)10719   static void set_has_source_file(HasBits* has_bits) {
10720     (*has_bits)[0] |= 1u;
10721   }
set_has_begin(HasBits * has_bits)10722   static void set_has_begin(HasBits* has_bits) {
10723     (*has_bits)[0] |= 2u;
10724   }
set_has_end(HasBits * has_bits)10725   static void set_has_end(HasBits* has_bits) {
10726     (*has_bits)[0] |= 4u;
10727   }
10728 };
10729 
GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)10730 GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10731                          bool is_message_owned)
10732   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
10733   SharedCtor(arena, is_message_owned);
10734   // @@protoc_insertion_point(arena_constructor:google.protobuf.GeneratedCodeInfo.Annotation)
10735 }
GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation & from)10736 GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from)
10737   : ::PROTOBUF_NAMESPACE_ID::Message() {
10738   GeneratedCodeInfo_Annotation* const _this = this; (void)_this;
10739   new (&_impl_) Impl_{
10740       decltype(_impl_._has_bits_){from._impl_._has_bits_}
10741     , /*decltype(_impl_._cached_size_)*/{}
10742     , decltype(_impl_.path_){from._impl_.path_}
10743     , /*decltype(_impl_._path_cached_byte_size_)*/{0}
10744     , decltype(_impl_.source_file_){}
10745     , decltype(_impl_.begin_){}
10746     , decltype(_impl_.end_){}};
10747 
10748   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
10749   _impl_.source_file_.InitDefault();
10750   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
10751     _impl_.source_file_.Set("", GetArenaForAllocation());
10752   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
10753   if (from._internal_has_source_file()) {
10754     _this->_impl_.source_file_.Set(from._internal_source_file(),
10755       _this->GetArenaForAllocation());
10756   }
10757   ::memcpy(&_impl_.begin_, &from._impl_.begin_,
10758     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.end_) -
10759     reinterpret_cast<char*>(&_impl_.begin_)) + sizeof(_impl_.end_));
10760   // @@protoc_insertion_point(copy_constructor:google.protobuf.GeneratedCodeInfo.Annotation)
10761 }
10762 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)10763 inline void GeneratedCodeInfo_Annotation::SharedCtor(
10764     ::_pb::Arena* arena, bool is_message_owned) {
10765   (void)arena;
10766   (void)is_message_owned;
10767   new (&_impl_) Impl_{
10768       decltype(_impl_._has_bits_){}
10769     , /*decltype(_impl_._cached_size_)*/{}
10770     , decltype(_impl_.path_){arena}
10771     , /*decltype(_impl_._path_cached_byte_size_)*/{0}
10772     , decltype(_impl_.source_file_){}
10773     , decltype(_impl_.begin_){0}
10774     , decltype(_impl_.end_){0}
10775   };
10776   _impl_.source_file_.InitDefault();
10777   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
10778     _impl_.source_file_.Set("", GetArenaForAllocation());
10779   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
10780 }
10781 
~GeneratedCodeInfo_Annotation()10782 GeneratedCodeInfo_Annotation::~GeneratedCodeInfo_Annotation() {
10783   // @@protoc_insertion_point(destructor:google.protobuf.GeneratedCodeInfo.Annotation)
10784   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
10785   (void)arena;
10786     return;
10787   }
10788   SharedDtor();
10789 }
10790 
SharedDtor()10791 inline void GeneratedCodeInfo_Annotation::SharedDtor() {
10792   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
10793   _impl_.path_.~RepeatedField();
10794   _impl_.source_file_.Destroy();
10795 }
10796 
SetCachedSize(int size) const10797 void GeneratedCodeInfo_Annotation::SetCachedSize(int size) const {
10798   _impl_._cached_size_.Set(size);
10799 }
10800 
Clear()10801 void GeneratedCodeInfo_Annotation::Clear() {
10802 // @@protoc_insertion_point(message_clear_start:google.protobuf.GeneratedCodeInfo.Annotation)
10803   uint32_t cached_has_bits = 0;
10804   // Prevent compiler warnings about cached_has_bits being unused
10805   (void) cached_has_bits;
10806 
10807   _impl_.path_.Clear();
10808   cached_has_bits = _impl_._has_bits_[0];
10809   if (cached_has_bits & 0x00000001u) {
10810     _impl_.source_file_.ClearNonDefaultToEmpty();
10811   }
10812   if (cached_has_bits & 0x00000006u) {
10813     ::memset(&_impl_.begin_, 0, static_cast<size_t>(
10814         reinterpret_cast<char*>(&_impl_.end_) -
10815         reinterpret_cast<char*>(&_impl_.begin_)) + sizeof(_impl_.end_));
10816   }
10817   _impl_._has_bits_.Clear();
10818   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
10819 }
10820 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)10821 const char* GeneratedCodeInfo_Annotation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
10822 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
10823   _Internal::HasBits has_bits{};
10824   while (!ctx->Done(&ptr)) {
10825     uint32_t tag;
10826     ptr = ::_pbi::ReadTag(ptr, &tag);
10827     switch (tag >> 3) {
10828       // repeated int32 path = 1 [packed = true];
10829       case 1:
10830         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
10831           ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_path(), ptr, ctx);
10832           CHK_(ptr);
10833         } else if (static_cast<uint8_t>(tag) == 8) {
10834           _internal_add_path(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr));
10835           CHK_(ptr);
10836         } else
10837           goto handle_unusual;
10838         continue;
10839       // optional string source_file = 2;
10840       case 2:
10841         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
10842           auto str = _internal_mutable_source_file();
10843           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
10844           CHK_(ptr);
10845           #ifndef NDEBUG
10846           ::_pbi::VerifyUTF8(str, "google.protobuf.GeneratedCodeInfo.Annotation.source_file");
10847           #endif  // !NDEBUG
10848         } else
10849           goto handle_unusual;
10850         continue;
10851       // optional int32 begin = 3;
10852       case 3:
10853         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
10854           _Internal::set_has_begin(&has_bits);
10855           _impl_.begin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10856           CHK_(ptr);
10857         } else
10858           goto handle_unusual;
10859         continue;
10860       // optional int32 end = 4;
10861       case 4:
10862         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
10863           _Internal::set_has_end(&has_bits);
10864           _impl_.end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10865           CHK_(ptr);
10866         } else
10867           goto handle_unusual;
10868         continue;
10869       default:
10870         goto handle_unusual;
10871     }  // switch
10872   handle_unusual:
10873     if ((tag == 0) || ((tag & 7) == 4)) {
10874       CHK_(ptr);
10875       ctx->SetLastTag(tag);
10876       goto message_done;
10877     }
10878     ptr = UnknownFieldParse(
10879         tag,
10880         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
10881         ptr, ctx);
10882     CHK_(ptr != nullptr);
10883   }  // while
10884 message_done:
10885   _impl_._has_bits_.Or(has_bits);
10886   return ptr;
10887 failure:
10888   ptr = nullptr;
10889   goto message_done;
10890 #undef CHK_
10891 }
10892 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const10893 uint8_t* GeneratedCodeInfo_Annotation::_InternalSerialize(
10894     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
10895   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.GeneratedCodeInfo.Annotation)
10896   uint32_t cached_has_bits = 0;
10897   (void) cached_has_bits;
10898 
10899   // repeated int32 path = 1 [packed = true];
10900   {
10901     int byte_size = _impl_._path_cached_byte_size_.load(std::memory_order_relaxed);
10902     if (byte_size > 0) {
10903       target = stream->WriteInt32Packed(
10904           1, _internal_path(), byte_size, target);
10905     }
10906   }
10907 
10908   cached_has_bits = _impl_._has_bits_[0];
10909   // optional string source_file = 2;
10910   if (cached_has_bits & 0x00000001u) {
10911     ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
10912       this->_internal_source_file().data(), static_cast<int>(this->_internal_source_file().length()),
10913       ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
10914       "google.protobuf.GeneratedCodeInfo.Annotation.source_file");
10915     target = stream->WriteStringMaybeAliased(
10916         2, this->_internal_source_file(), target);
10917   }
10918 
10919   // optional int32 begin = 3;
10920   if (cached_has_bits & 0x00000002u) {
10921     target = stream->EnsureSpace(target);
10922     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_begin(), target);
10923   }
10924 
10925   // optional int32 end = 4;
10926   if (cached_has_bits & 0x00000004u) {
10927     target = stream->EnsureSpace(target);
10928     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_end(), target);
10929   }
10930 
10931   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10932     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
10933         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
10934   }
10935   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.GeneratedCodeInfo.Annotation)
10936   return target;
10937 }
10938 
ByteSizeLong() const10939 size_t GeneratedCodeInfo_Annotation::ByteSizeLong() const {
10940 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.GeneratedCodeInfo.Annotation)
10941   size_t total_size = 0;
10942 
10943   uint32_t cached_has_bits = 0;
10944   // Prevent compiler warnings about cached_has_bits being unused
10945   (void) cached_has_bits;
10946 
10947   // repeated int32 path = 1 [packed = true];
10948   {
10949     size_t data_size = ::_pbi::WireFormatLite::
10950       Int32Size(this->_impl_.path_);
10951     if (data_size > 0) {
10952       total_size += 1 +
10953         ::_pbi::WireFormatLite::Int32Size(static_cast<int32_t>(data_size));
10954     }
10955     int cached_size = ::_pbi::ToCachedSize(data_size);
10956     _impl_._path_cached_byte_size_.store(cached_size,
10957                                     std::memory_order_relaxed);
10958     total_size += data_size;
10959   }
10960 
10961   cached_has_bits = _impl_._has_bits_[0];
10962   if (cached_has_bits & 0x00000007u) {
10963     // optional string source_file = 2;
10964     if (cached_has_bits & 0x00000001u) {
10965       total_size += 1 +
10966         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
10967           this->_internal_source_file());
10968     }
10969 
10970     // optional int32 begin = 3;
10971     if (cached_has_bits & 0x00000002u) {
10972       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_begin());
10973     }
10974 
10975     // optional int32 end = 4;
10976     if (cached_has_bits & 0x00000004u) {
10977       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_end());
10978     }
10979 
10980   }
10981   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
10982 }
10983 
10984 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GeneratedCodeInfo_Annotation::_class_data_ = {
10985     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
10986     GeneratedCodeInfo_Annotation::MergeImpl
10987 };
GetClassData() const10988 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GeneratedCodeInfo_Annotation::GetClassData() const { return &_class_data_; }
10989 
10990 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)10991 void GeneratedCodeInfo_Annotation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
10992   auto* const _this = static_cast<GeneratedCodeInfo_Annotation*>(&to_msg);
10993   auto& from = static_cast<const GeneratedCodeInfo_Annotation&>(from_msg);
10994   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.GeneratedCodeInfo.Annotation)
10995   GOOGLE_DCHECK_NE(&from, _this);
10996   uint32_t cached_has_bits = 0;
10997   (void) cached_has_bits;
10998 
10999   _this->_impl_.path_.MergeFrom(from._impl_.path_);
11000   cached_has_bits = from._impl_._has_bits_[0];
11001   if (cached_has_bits & 0x00000007u) {
11002     if (cached_has_bits & 0x00000001u) {
11003       _this->_internal_set_source_file(from._internal_source_file());
11004     }
11005     if (cached_has_bits & 0x00000002u) {
11006       _this->_impl_.begin_ = from._impl_.begin_;
11007     }
11008     if (cached_has_bits & 0x00000004u) {
11009       _this->_impl_.end_ = from._impl_.end_;
11010     }
11011     _this->_impl_._has_bits_[0] |= cached_has_bits;
11012   }
11013   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
11014 }
11015 
CopyFrom(const GeneratedCodeInfo_Annotation & from)11016 void GeneratedCodeInfo_Annotation::CopyFrom(const GeneratedCodeInfo_Annotation& from) {
11017 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.GeneratedCodeInfo.Annotation)
11018   if (&from == this) return;
11019   Clear();
11020   MergeFrom(from);
11021 }
11022 
IsInitialized() const11023 bool GeneratedCodeInfo_Annotation::IsInitialized() const {
11024   return true;
11025 }
11026 
InternalSwap(GeneratedCodeInfo_Annotation * other)11027 void GeneratedCodeInfo_Annotation::InternalSwap(GeneratedCodeInfo_Annotation* other) {
11028   using std::swap;
11029   auto* lhs_arena = GetArenaForAllocation();
11030   auto* rhs_arena = other->GetArenaForAllocation();
11031   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11032   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
11033   _impl_.path_.InternalSwap(&other->_impl_.path_);
11034   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
11035       &_impl_.source_file_, lhs_arena,
11036       &other->_impl_.source_file_, rhs_arena
11037   );
11038   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
11039       PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.end_)
11040       + sizeof(GeneratedCodeInfo_Annotation::_impl_.end_)
11041       - PROTOBUF_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _impl_.begin_)>(
11042           reinterpret_cast<char*>(&_impl_.begin_),
11043           reinterpret_cast<char*>(&other->_impl_.begin_));
11044 }
11045 
GetMetadata() const11046 ::PROTOBUF_NAMESPACE_ID::Metadata GeneratedCodeInfo_Annotation::GetMetadata() const {
11047   return ::_pbi::AssignDescriptors(
11048       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
11049       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[25]);
11050 }
11051 
11052 // ===================================================================
11053 
11054 class GeneratedCodeInfo::_Internal {
11055  public:
11056 };
11057 
GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)11058 GeneratedCodeInfo::GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
11059                          bool is_message_owned)
11060   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
11061   SharedCtor(arena, is_message_owned);
11062   // @@protoc_insertion_point(arena_constructor:google.protobuf.GeneratedCodeInfo)
11063 }
GeneratedCodeInfo(const GeneratedCodeInfo & from)11064 GeneratedCodeInfo::GeneratedCodeInfo(const GeneratedCodeInfo& from)
11065   : ::PROTOBUF_NAMESPACE_ID::Message() {
11066   GeneratedCodeInfo* const _this = this; (void)_this;
11067   new (&_impl_) Impl_{
11068       decltype(_impl_.annotation_){from._impl_.annotation_}
11069     , /*decltype(_impl_._cached_size_)*/{}};
11070 
11071   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
11072   // @@protoc_insertion_point(copy_constructor:google.protobuf.GeneratedCodeInfo)
11073 }
11074 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)11075 inline void GeneratedCodeInfo::SharedCtor(
11076     ::_pb::Arena* arena, bool is_message_owned) {
11077   (void)arena;
11078   (void)is_message_owned;
11079   new (&_impl_) Impl_{
11080       decltype(_impl_.annotation_){arena}
11081     , /*decltype(_impl_._cached_size_)*/{}
11082   };
11083 }
11084 
~GeneratedCodeInfo()11085 GeneratedCodeInfo::~GeneratedCodeInfo() {
11086   // @@protoc_insertion_point(destructor:google.protobuf.GeneratedCodeInfo)
11087   if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
11088   (void)arena;
11089     return;
11090   }
11091   SharedDtor();
11092 }
11093 
SharedDtor()11094 inline void GeneratedCodeInfo::SharedDtor() {
11095   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
11096   _impl_.annotation_.~RepeatedPtrField();
11097 }
11098 
SetCachedSize(int size) const11099 void GeneratedCodeInfo::SetCachedSize(int size) const {
11100   _impl_._cached_size_.Set(size);
11101 }
11102 
Clear()11103 void GeneratedCodeInfo::Clear() {
11104 // @@protoc_insertion_point(message_clear_start:google.protobuf.GeneratedCodeInfo)
11105   uint32_t cached_has_bits = 0;
11106   // Prevent compiler warnings about cached_has_bits being unused
11107   (void) cached_has_bits;
11108 
11109   _impl_.annotation_.Clear();
11110   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
11111 }
11112 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)11113 const char* GeneratedCodeInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
11114 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
11115   while (!ctx->Done(&ptr)) {
11116     uint32_t tag;
11117     ptr = ::_pbi::ReadTag(ptr, &tag);
11118     switch (tag >> 3) {
11119       // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
11120       case 1:
11121         if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
11122           ptr -= 1;
11123           do {
11124             ptr += 1;
11125             ptr = ctx->ParseMessage(_internal_add_annotation(), ptr);
11126             CHK_(ptr);
11127             if (!ctx->DataAvailable(ptr)) break;
11128           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
11129         } else
11130           goto handle_unusual;
11131         continue;
11132       default:
11133         goto handle_unusual;
11134     }  // switch
11135   handle_unusual:
11136     if ((tag == 0) || ((tag & 7) == 4)) {
11137       CHK_(ptr);
11138       ctx->SetLastTag(tag);
11139       goto message_done;
11140     }
11141     ptr = UnknownFieldParse(
11142         tag,
11143         _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
11144         ptr, ctx);
11145     CHK_(ptr != nullptr);
11146   }  // while
11147 message_done:
11148   return ptr;
11149 failure:
11150   ptr = nullptr;
11151   goto message_done;
11152 #undef CHK_
11153 }
11154 
_InternalSerialize(uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const11155 uint8_t* GeneratedCodeInfo::_InternalSerialize(
11156     uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
11157   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.GeneratedCodeInfo)
11158   uint32_t cached_has_bits = 0;
11159   (void) cached_has_bits;
11160 
11161   // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
11162   for (unsigned i = 0,
11163       n = static_cast<unsigned>(this->_internal_annotation_size()); i < n; i++) {
11164     const auto& repfield = this->_internal_annotation(i);
11165     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
11166         InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
11167   }
11168 
11169   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11170     target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
11171         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
11172   }
11173   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.GeneratedCodeInfo)
11174   return target;
11175 }
11176 
ByteSizeLong() const11177 size_t GeneratedCodeInfo::ByteSizeLong() const {
11178 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.GeneratedCodeInfo)
11179   size_t total_size = 0;
11180 
11181   uint32_t cached_has_bits = 0;
11182   // Prevent compiler warnings about cached_has_bits being unused
11183   (void) cached_has_bits;
11184 
11185   // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
11186   total_size += 1UL * this->_internal_annotation_size();
11187   for (const auto& msg : this->_impl_.annotation_) {
11188     total_size +=
11189       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
11190   }
11191 
11192   return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
11193 }
11194 
11195 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GeneratedCodeInfo::_class_data_ = {
11196     ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
11197     GeneratedCodeInfo::MergeImpl
11198 };
GetClassData() const11199 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GeneratedCodeInfo::GetClassData() const { return &_class_data_; }
11200 
11201 
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message & to_msg,const::PROTOBUF_NAMESPACE_ID::Message & from_msg)11202 void GeneratedCodeInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
11203   auto* const _this = static_cast<GeneratedCodeInfo*>(&to_msg);
11204   auto& from = static_cast<const GeneratedCodeInfo&>(from_msg);
11205   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.GeneratedCodeInfo)
11206   GOOGLE_DCHECK_NE(&from, _this);
11207   uint32_t cached_has_bits = 0;
11208   (void) cached_has_bits;
11209 
11210   _this->_impl_.annotation_.MergeFrom(from._impl_.annotation_);
11211   _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
11212 }
11213 
CopyFrom(const GeneratedCodeInfo & from)11214 void GeneratedCodeInfo::CopyFrom(const GeneratedCodeInfo& from) {
11215 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.GeneratedCodeInfo)
11216   if (&from == this) return;
11217   Clear();
11218   MergeFrom(from);
11219 }
11220 
IsInitialized() const11221 bool GeneratedCodeInfo::IsInitialized() const {
11222   return true;
11223 }
11224 
InternalSwap(GeneratedCodeInfo * other)11225 void GeneratedCodeInfo::InternalSwap(GeneratedCodeInfo* other) {
11226   using std::swap;
11227   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11228   _impl_.annotation_.InternalSwap(&other->_impl_.annotation_);
11229 }
11230 
GetMetadata() const11231 ::PROTOBUF_NAMESPACE_ID::Metadata GeneratedCodeInfo::GetMetadata() const {
11232   return ::_pbi::AssignDescriptors(
11233       &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_getter, &descriptor_table_google_2fprotobuf_2fdescriptor_2eproto_once,
11234       file_level_metadata_google_2fprotobuf_2fdescriptor_2eproto[26]);
11235 }
11236 
11237 // @@protoc_insertion_point(namespace_scope)
11238 PROTOBUF_NAMESPACE_CLOSE
11239 PROTOBUF_NAMESPACE_OPEN
11240 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::FileDescriptorSet*
CreateMaybeMessage(Arena * arena)11241 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::FileDescriptorSet >(Arena* arena) {
11242   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::FileDescriptorSet >(arena);
11243 }
11244 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto*
CreateMaybeMessage(Arena * arena)11245 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >(Arena* arena) {
11246   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >(arena);
11247 }
11248 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange*
CreateMaybeMessage(Arena * arena)11249 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >(Arena* arena) {
11250   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >(arena);
11251 }
11252 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange*
CreateMaybeMessage(Arena * arena)11253 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >(Arena* arena) {
11254   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >(arena);
11255 }
11256 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::DescriptorProto*
CreateMaybeMessage(Arena * arena)11257 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >(Arena* arena) {
11258   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >(arena);
11259 }
11260 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions*
CreateMaybeMessage(Arena * arena)11261 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions >(Arena* arena) {
11262   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions >(arena);
11263 }
11264 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto*
CreateMaybeMessage(Arena * arena)11265 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >(Arena* arena) {
11266   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >(arena);
11267 }
11268 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto*
CreateMaybeMessage(Arena * arena)11269 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >(Arena* arena) {
11270   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >(arena);
11271 }
11272 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange*
CreateMaybeMessage(Arena * arena)11273 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >(Arena* arena) {
11274   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >(arena);
11275 }
11276 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto*
CreateMaybeMessage(Arena * arena)11277 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >(Arena* arena) {
11278   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >(arena);
11279 }
11280 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto*
CreateMaybeMessage(Arena * arena)11281 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >(Arena* arena) {
11282   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >(arena);
11283 }
11284 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto*
CreateMaybeMessage(Arena * arena)11285 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >(Arena* arena) {
11286   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >(arena);
11287 }
11288 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto*
CreateMaybeMessage(Arena * arena)11289 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >(Arena* arena) {
11290   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >(arena);
11291 }
11292 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::FileOptions*
CreateMaybeMessage(Arena * arena)11293 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::FileOptions >(Arena* arena) {
11294   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::FileOptions >(arena);
11295 }
11296 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::MessageOptions*
CreateMaybeMessage(Arena * arena)11297 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::MessageOptions >(Arena* arena) {
11298   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::MessageOptions >(arena);
11299 }
11300 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::FieldOptions*
CreateMaybeMessage(Arena * arena)11301 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::FieldOptions >(Arena* arena) {
11302   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::FieldOptions >(arena);
11303 }
11304 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::OneofOptions*
CreateMaybeMessage(Arena * arena)11305 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::OneofOptions >(Arena* arena) {
11306   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::OneofOptions >(arena);
11307 }
11308 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::EnumOptions*
CreateMaybeMessage(Arena * arena)11309 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::EnumOptions >(Arena* arena) {
11310   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::EnumOptions >(arena);
11311 }
11312 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::EnumValueOptions*
CreateMaybeMessage(Arena * arena)11313 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions >(Arena* arena) {
11314   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions >(arena);
11315 }
11316 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::ServiceOptions*
CreateMaybeMessage(Arena * arena)11317 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::ServiceOptions >(Arena* arena) {
11318   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::ServiceOptions >(arena);
11319 }
11320 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::MethodOptions*
CreateMaybeMessage(Arena * arena)11321 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::MethodOptions >(Arena* arena) {
11322   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::MethodOptions >(arena);
11323 }
11324 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart*
CreateMaybeMessage(Arena * arena)11325 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >(Arena* arena) {
11326   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >(arena);
11327 }
11328 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::UninterpretedOption*
CreateMaybeMessage(Arena * arena)11329 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >(Arena* arena) {
11330   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >(arena);
11331 }
11332 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location*
CreateMaybeMessage(Arena * arena)11333 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >(Arena* arena) {
11334   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >(arena);
11335 }
11336 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo*
CreateMaybeMessage(Arena * arena)11337 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo >(Arena* arena) {
11338   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo >(arena);
11339 }
11340 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation*
CreateMaybeMessage(Arena * arena)11341 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >(Arena* arena) {
11342   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >(arena);
11343 }
11344 template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo*
CreateMaybeMessage(Arena * arena)11345 Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo >(Arena* arena) {
11346   return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo >(arena);
11347 }
11348 PROTOBUF_NAMESPACE_CLOSE
11349 
11350 // @@protoc_insertion_point(global_scope)
11351 #include <google/protobuf/port_undef.inc>
11352