• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: google/protobuf/type.proto
3 
4 #include <google/protobuf/type.pb.h>
5 
6 #include <algorithm>
7 
8 #include <google/protobuf/io/coded_stream.h>
9 #include <google/protobuf/extension_set.h>
10 #include <google/protobuf/wire_format_lite.h>
11 #include <google/protobuf/descriptor.h>
12 #include <google/protobuf/generated_message_reflection.h>
13 #include <google/protobuf/reflection_ops.h>
14 #include <google/protobuf/wire_format.h>
15 // @@protoc_insertion_point(includes)
16 #include <google/protobuf/port_def.inc>
17 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fany_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Any_google_2fprotobuf_2fany_2eproto;
18 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftype_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EnumValue_google_2fprotobuf_2ftype_2eproto;
19 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftype_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Field_google_2fprotobuf_2ftype_2eproto;
20 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftype_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Option_google_2fprotobuf_2ftype_2eproto;
21 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fsource_5fcontext_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto;
22 PROTOBUF_NAMESPACE_OPEN
23 class TypeDefaultTypeInternal {
24  public:
25   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Type> _instance;
26 } _Type_default_instance_;
27 class FieldDefaultTypeInternal {
28  public:
29   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Field> _instance;
30 } _Field_default_instance_;
31 class EnumDefaultTypeInternal {
32  public:
33   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Enum> _instance;
34 } _Enum_default_instance_;
35 class EnumValueDefaultTypeInternal {
36  public:
37   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EnumValue> _instance;
38 } _EnumValue_default_instance_;
39 class OptionDefaultTypeInternal {
40  public:
41   ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Option> _instance;
42 } _Option_default_instance_;
43 PROTOBUF_NAMESPACE_CLOSE
InitDefaultsscc_info_Enum_google_2fprotobuf_2ftype_2eproto()44 static void InitDefaultsscc_info_Enum_google_2fprotobuf_2ftype_2eproto() {
45   GOOGLE_PROTOBUF_VERIFY_VERSION;
46 
47   {
48     void* ptr = &PROTOBUF_NAMESPACE_ID::_Enum_default_instance_;
49     new (ptr) PROTOBUF_NAMESPACE_ID::Enum();
50     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
51   }
52   PROTOBUF_NAMESPACE_ID::Enum::InitAsDefaultInstance();
53 }
54 
55 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_Enum_google_2fprotobuf_2ftype_2eproto =
56     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, 0, InitDefaultsscc_info_Enum_google_2fprotobuf_2ftype_2eproto}, {
57       &scc_info_EnumValue_google_2fprotobuf_2ftype_2eproto.base,
58       &scc_info_Option_google_2fprotobuf_2ftype_2eproto.base,
59       &scc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto.base,}};
60 
InitDefaultsscc_info_EnumValue_google_2fprotobuf_2ftype_2eproto()61 static void InitDefaultsscc_info_EnumValue_google_2fprotobuf_2ftype_2eproto() {
62   GOOGLE_PROTOBUF_VERIFY_VERSION;
63 
64   {
65     void* ptr = &PROTOBUF_NAMESPACE_ID::_EnumValue_default_instance_;
66     new (ptr) PROTOBUF_NAMESPACE_ID::EnumValue();
67     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
68   }
69   PROTOBUF_NAMESPACE_ID::EnumValue::InitAsDefaultInstance();
70 }
71 
72 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EnumValue_google_2fprotobuf_2ftype_2eproto =
73     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_EnumValue_google_2fprotobuf_2ftype_2eproto}, {
74       &scc_info_Option_google_2fprotobuf_2ftype_2eproto.base,}};
75 
InitDefaultsscc_info_Field_google_2fprotobuf_2ftype_2eproto()76 static void InitDefaultsscc_info_Field_google_2fprotobuf_2ftype_2eproto() {
77   GOOGLE_PROTOBUF_VERIFY_VERSION;
78 
79   {
80     void* ptr = &PROTOBUF_NAMESPACE_ID::_Field_default_instance_;
81     new (ptr) PROTOBUF_NAMESPACE_ID::Field();
82     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
83   }
84   PROTOBUF_NAMESPACE_ID::Field::InitAsDefaultInstance();
85 }
86 
87 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Field_google_2fprotobuf_2ftype_2eproto =
88     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Field_google_2fprotobuf_2ftype_2eproto}, {
89       &scc_info_Option_google_2fprotobuf_2ftype_2eproto.base,}};
90 
InitDefaultsscc_info_Option_google_2fprotobuf_2ftype_2eproto()91 static void InitDefaultsscc_info_Option_google_2fprotobuf_2ftype_2eproto() {
92   GOOGLE_PROTOBUF_VERIFY_VERSION;
93 
94   {
95     void* ptr = &PROTOBUF_NAMESPACE_ID::_Option_default_instance_;
96     new (ptr) PROTOBUF_NAMESPACE_ID::Option();
97     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
98   }
99   PROTOBUF_NAMESPACE_ID::Option::InitAsDefaultInstance();
100 }
101 
102 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Option_google_2fprotobuf_2ftype_2eproto =
103     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Option_google_2fprotobuf_2ftype_2eproto}, {
104       &scc_info_Any_google_2fprotobuf_2fany_2eproto.base,}};
105 
InitDefaultsscc_info_Type_google_2fprotobuf_2ftype_2eproto()106 static void InitDefaultsscc_info_Type_google_2fprotobuf_2ftype_2eproto() {
107   GOOGLE_PROTOBUF_VERIFY_VERSION;
108 
109   {
110     void* ptr = &PROTOBUF_NAMESPACE_ID::_Type_default_instance_;
111     new (ptr) PROTOBUF_NAMESPACE_ID::Type();
112     ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
113   }
114   PROTOBUF_NAMESPACE_ID::Type::InitAsDefaultInstance();
115 }
116 
117 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_Type_google_2fprotobuf_2ftype_2eproto =
118     {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, 0, InitDefaultsscc_info_Type_google_2fprotobuf_2ftype_2eproto}, {
119       &scc_info_Field_google_2fprotobuf_2ftype_2eproto.base,
120       &scc_info_Option_google_2fprotobuf_2ftype_2eproto.base,
121       &scc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto.base,}};
122 
123 static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fprotobuf_2ftype_2eproto[5];
124 static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_google_2fprotobuf_2ftype_2eproto[3];
125 static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_google_2fprotobuf_2ftype_2eproto = nullptr;
126 
127 const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2ftype_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
128   ~0u,  // no _has_bits_
129   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Type, _internal_metadata_),
130   ~0u,  // no _extensions_
131   ~0u,  // no _oneof_case_
132   ~0u,  // no _weak_field_map_
133   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Type, name_),
134   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Type, fields_),
135   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Type, oneofs_),
136   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Type, options_),
137   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Type, source_context_),
138   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Type, syntax_),
139   ~0u,  // no _has_bits_
140   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Field, _internal_metadata_),
141   ~0u,  // no _extensions_
142   ~0u,  // no _oneof_case_
143   ~0u,  // no _weak_field_map_
144   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Field, kind_),
145   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Field, cardinality_),
146   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Field, number_),
147   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Field, name_),
148   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Field, type_url_),
149   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Field, oneof_index_),
150   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Field, packed_),
151   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Field, options_),
152   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Field, json_name_),
153   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Field, default_value_),
154   ~0u,  // no _has_bits_
155   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Enum, _internal_metadata_),
156   ~0u,  // no _extensions_
157   ~0u,  // no _oneof_case_
158   ~0u,  // no _weak_field_map_
159   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Enum, name_),
160   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Enum, enumvalue_),
161   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Enum, options_),
162   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Enum, source_context_),
163   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Enum, syntax_),
164   ~0u,  // no _has_bits_
165   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValue, _internal_metadata_),
166   ~0u,  // no _extensions_
167   ~0u,  // no _oneof_case_
168   ~0u,  // no _weak_field_map_
169   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValue, name_),
170   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValue, number_),
171   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValue, options_),
172   ~0u,  // no _has_bits_
173   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Option, _internal_metadata_),
174   ~0u,  // no _extensions_
175   ~0u,  // no _oneof_case_
176   ~0u,  // no _weak_field_map_
177   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Option, name_),
178   PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Option, value_),
179 };
180 static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
181   { 0, -1, sizeof(PROTOBUF_NAMESPACE_ID::Type)},
182   { 11, -1, sizeof(PROTOBUF_NAMESPACE_ID::Field)},
183   { 26, -1, sizeof(PROTOBUF_NAMESPACE_ID::Enum)},
184   { 36, -1, sizeof(PROTOBUF_NAMESPACE_ID::EnumValue)},
185   { 44, -1, sizeof(PROTOBUF_NAMESPACE_ID::Option)},
186 };
187 
188 static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
189   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_Type_default_instance_),
190   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_Field_default_instance_),
191   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_Enum_default_instance_),
192   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_EnumValue_default_instance_),
193   reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_Option_default_instance_),
194 };
195 
196 const char descriptor_table_protodef_google_2fprotobuf_2ftype_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
197   "\n\032google/protobuf/type.proto\022\017google.pro"
198   "tobuf\032\031google/protobuf/any.proto\032$google"
199   "/protobuf/source_context.proto\"\327\001\n\004Type\022"
200   "\014\n\004name\030\001 \001(\t\022&\n\006fields\030\002 \003(\0132\026.google.p"
201   "rotobuf.Field\022\016\n\006oneofs\030\003 \003(\t\022(\n\007options"
202   "\030\004 \003(\0132\027.google.protobuf.Option\0226\n\016sourc"
203   "e_context\030\005 \001(\0132\036.google.protobuf.Source"
204   "Context\022\'\n\006syntax\030\006 \001(\0162\027.google.protobu"
205   "f.Syntax\"\325\005\n\005Field\022)\n\004kind\030\001 \001(\0162\033.googl"
206   "e.protobuf.Field.Kind\0227\n\013cardinality\030\002 \001"
207   "(\0162\".google.protobuf.Field.Cardinality\022\016"
208   "\n\006number\030\003 \001(\005\022\014\n\004name\030\004 \001(\t\022\020\n\010type_url"
209   "\030\006 \001(\t\022\023\n\013oneof_index\030\007 \001(\005\022\016\n\006packed\030\010 "
210   "\001(\010\022(\n\007options\030\t \003(\0132\027.google.protobuf.O"
211   "ption\022\021\n\tjson_name\030\n \001(\t\022\025\n\rdefault_valu"
212   "e\030\013 \001(\t\"\310\002\n\004Kind\022\020\n\014TYPE_UNKNOWN\020\000\022\017\n\013TY"
213   "PE_DOUBLE\020\001\022\016\n\nTYPE_FLOAT\020\002\022\016\n\nTYPE_INT6"
214   "4\020\003\022\017\n\013TYPE_UINT64\020\004\022\016\n\nTYPE_INT32\020\005\022\020\n\014"
215   "TYPE_FIXED64\020\006\022\020\n\014TYPE_FIXED32\020\007\022\r\n\tTYPE"
216   "_BOOL\020\010\022\017\n\013TYPE_STRING\020\t\022\016\n\nTYPE_GROUP\020\n"
217   "\022\020\n\014TYPE_MESSAGE\020\013\022\016\n\nTYPE_BYTES\020\014\022\017\n\013TY"
218   "PE_UINT32\020\r\022\r\n\tTYPE_ENUM\020\016\022\021\n\rTYPE_SFIXE"
219   "D32\020\017\022\021\n\rTYPE_SFIXED64\020\020\022\017\n\013TYPE_SINT32\020"
220   "\021\022\017\n\013TYPE_SINT64\020\022\"t\n\013Cardinality\022\027\n\023CAR"
221   "DINALITY_UNKNOWN\020\000\022\030\n\024CARDINALITY_OPTION"
222   "AL\020\001\022\030\n\024CARDINALITY_REQUIRED\020\002\022\030\n\024CARDIN"
223   "ALITY_REPEATED\020\003\"\316\001\n\004Enum\022\014\n\004name\030\001 \001(\t\022"
224   "-\n\tenumvalue\030\002 \003(\0132\032.google.protobuf.Enu"
225   "mValue\022(\n\007options\030\003 \003(\0132\027.google.protobu"
226   "f.Option\0226\n\016source_context\030\004 \001(\0132\036.googl"
227   "e.protobuf.SourceContext\022\'\n\006syntax\030\005 \001(\016"
228   "2\027.google.protobuf.Syntax\"S\n\tEnumValue\022\014"
229   "\n\004name\030\001 \001(\t\022\016\n\006number\030\002 \001(\005\022(\n\007options\030"
230   "\003 \003(\0132\027.google.protobuf.Option\";\n\006Option"
231   "\022\014\n\004name\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.google.p"
232   "rotobuf.Any*.\n\006Syntax\022\021\n\rSYNTAX_PROTO2\020\000"
233   "\022\021\n\rSYNTAX_PROTO3\020\001B}\n\023com.google.protob"
234   "ufB\tTypeProtoP\001Z/google.golang.org/genpr"
235   "oto/protobuf/ptype;ptype\370\001\001\242\002\003GPB\252\002\036Goog"
236   "le.Protobuf.WellKnownTypesb\006proto3"
237   ;
238 static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_google_2fprotobuf_2ftype_2eproto_deps[2] = {
239   &::descriptor_table_google_2fprotobuf_2fany_2eproto,
240   &::descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto,
241 };
242 static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_google_2fprotobuf_2ftype_2eproto_sccs[5] = {
243   &scc_info_Enum_google_2fprotobuf_2ftype_2eproto.base,
244   &scc_info_EnumValue_google_2fprotobuf_2ftype_2eproto.base,
245   &scc_info_Field_google_2fprotobuf_2ftype_2eproto.base,
246   &scc_info_Option_google_2fprotobuf_2ftype_2eproto.base,
247   &scc_info_Type_google_2fprotobuf_2ftype_2eproto.base,
248 };
249 static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2fprotobuf_2ftype_2eproto_once;
250 const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftype_2eproto = {
251   false, false, descriptor_table_protodef_google_2fprotobuf_2ftype_2eproto, "google/protobuf/type.proto", 1594,
252   &descriptor_table_google_2fprotobuf_2ftype_2eproto_once, descriptor_table_google_2fprotobuf_2ftype_2eproto_sccs, descriptor_table_google_2fprotobuf_2ftype_2eproto_deps, 5, 2,
253   schemas, file_default_instances, TableStruct_google_2fprotobuf_2ftype_2eproto::offsets,
254   file_level_metadata_google_2fprotobuf_2ftype_2eproto, 5, file_level_enum_descriptors_google_2fprotobuf_2ftype_2eproto, file_level_service_descriptors_google_2fprotobuf_2ftype_2eproto,
255 };
256 
257 // Force running AddDescriptors() at dynamic initialization time.
258 static bool dynamic_init_dummy_google_2fprotobuf_2ftype_2eproto = (static_cast<void>(::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_google_2fprotobuf_2ftype_2eproto)), true);
259 PROTOBUF_NAMESPACE_OPEN
Field_Kind_descriptor()260 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Field_Kind_descriptor() {
261   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2ftype_2eproto);
262   return file_level_enum_descriptors_google_2fprotobuf_2ftype_2eproto[0];
263 }
Field_Kind_IsValid(int value)264 bool Field_Kind_IsValid(int value) {
265   switch (value) {
266     case 0:
267     case 1:
268     case 2:
269     case 3:
270     case 4:
271     case 5:
272     case 6:
273     case 7:
274     case 8:
275     case 9:
276     case 10:
277     case 11:
278     case 12:
279     case 13:
280     case 14:
281     case 15:
282     case 16:
283     case 17:
284     case 18:
285       return true;
286     default:
287       return false;
288   }
289 }
290 
291 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
292 constexpr Field_Kind Field::TYPE_UNKNOWN;
293 constexpr Field_Kind Field::TYPE_DOUBLE;
294 constexpr Field_Kind Field::TYPE_FLOAT;
295 constexpr Field_Kind Field::TYPE_INT64;
296 constexpr Field_Kind Field::TYPE_UINT64;
297 constexpr Field_Kind Field::TYPE_INT32;
298 constexpr Field_Kind Field::TYPE_FIXED64;
299 constexpr Field_Kind Field::TYPE_FIXED32;
300 constexpr Field_Kind Field::TYPE_BOOL;
301 constexpr Field_Kind Field::TYPE_STRING;
302 constexpr Field_Kind Field::TYPE_GROUP;
303 constexpr Field_Kind Field::TYPE_MESSAGE;
304 constexpr Field_Kind Field::TYPE_BYTES;
305 constexpr Field_Kind Field::TYPE_UINT32;
306 constexpr Field_Kind Field::TYPE_ENUM;
307 constexpr Field_Kind Field::TYPE_SFIXED32;
308 constexpr Field_Kind Field::TYPE_SFIXED64;
309 constexpr Field_Kind Field::TYPE_SINT32;
310 constexpr Field_Kind Field::TYPE_SINT64;
311 constexpr Field_Kind Field::Kind_MIN;
312 constexpr Field_Kind Field::Kind_MAX;
313 constexpr int Field::Kind_ARRAYSIZE;
314 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
Field_Cardinality_descriptor()315 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Field_Cardinality_descriptor() {
316   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2ftype_2eproto);
317   return file_level_enum_descriptors_google_2fprotobuf_2ftype_2eproto[1];
318 }
Field_Cardinality_IsValid(int value)319 bool Field_Cardinality_IsValid(int value) {
320   switch (value) {
321     case 0:
322     case 1:
323     case 2:
324     case 3:
325       return true;
326     default:
327       return false;
328   }
329 }
330 
331 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
332 constexpr Field_Cardinality Field::CARDINALITY_UNKNOWN;
333 constexpr Field_Cardinality Field::CARDINALITY_OPTIONAL;
334 constexpr Field_Cardinality Field::CARDINALITY_REQUIRED;
335 constexpr Field_Cardinality Field::CARDINALITY_REPEATED;
336 constexpr Field_Cardinality Field::Cardinality_MIN;
337 constexpr Field_Cardinality Field::Cardinality_MAX;
338 constexpr int Field::Cardinality_ARRAYSIZE;
339 #endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
Syntax_descriptor()340 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Syntax_descriptor() {
341   ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2ftype_2eproto);
342   return file_level_enum_descriptors_google_2fprotobuf_2ftype_2eproto[2];
343 }
Syntax_IsValid(int value)344 bool Syntax_IsValid(int value) {
345   switch (value) {
346     case 0:
347     case 1:
348       return true;
349     default:
350       return false;
351   }
352 }
353 
354 
355 // ===================================================================
356 
InitAsDefaultInstance()357 void Type::InitAsDefaultInstance() {
358   PROTOBUF_NAMESPACE_ID::_Type_default_instance_._instance.get_mutable()->source_context_ = const_cast< PROTOBUF_NAMESPACE_ID::SourceContext*>(
359       PROTOBUF_NAMESPACE_ID::SourceContext::internal_default_instance());
360 }
361 class Type::_Internal {
362  public:
363   static const PROTOBUF_NAMESPACE_ID::SourceContext& source_context(const Type* msg);
364 };
365 
366 const PROTOBUF_NAMESPACE_ID::SourceContext&
source_context(const Type * msg)367 Type::_Internal::source_context(const Type* msg) {
368   return *msg->source_context_;
369 }
clear_source_context()370 void Type::clear_source_context() {
371   if (GetArena() == nullptr && source_context_ != nullptr) {
372     delete source_context_;
373   }
374   source_context_ = nullptr;
375 }
Type(::PROTOBUF_NAMESPACE_ID::Arena * arena)376 Type::Type(::PROTOBUF_NAMESPACE_ID::Arena* arena)
377   : ::PROTOBUF_NAMESPACE_ID::Message(arena),
378   fields_(arena),
379   oneofs_(arena),
380   options_(arena) {
381   SharedCtor();
382   RegisterArenaDtor(arena);
383   // @@protoc_insertion_point(arena_constructor:google.protobuf.Type)
384 }
Type(const Type & from)385 Type::Type(const Type& from)
386   : ::PROTOBUF_NAMESPACE_ID::Message(),
387       fields_(from.fields_),
388       oneofs_(from.oneofs_),
389       options_(from.options_) {
390   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
391   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
392   if (!from._internal_name().empty()) {
393     name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
394       GetArena());
395   }
396   if (from._internal_has_source_context()) {
397     source_context_ = new PROTOBUF_NAMESPACE_ID::SourceContext(*from.source_context_);
398   } else {
399     source_context_ = nullptr;
400   }
401   syntax_ = from.syntax_;
402   // @@protoc_insertion_point(copy_constructor:google.protobuf.Type)
403 }
404 
SharedCtor()405 void Type::SharedCtor() {
406   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Type_google_2fprotobuf_2ftype_2eproto.base);
407   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
408   ::memset(&source_context_, 0, static_cast<size_t>(
409       reinterpret_cast<char*>(&syntax_) -
410       reinterpret_cast<char*>(&source_context_)) + sizeof(syntax_));
411 }
412 
~Type()413 Type::~Type() {
414   // @@protoc_insertion_point(destructor:google.protobuf.Type)
415   SharedDtor();
416   _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
417 }
418 
SharedDtor()419 void Type::SharedDtor() {
420   GOOGLE_DCHECK(GetArena() == nullptr);
421   name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
422   if (this != internal_default_instance()) delete source_context_;
423 }
424 
ArenaDtor(void * object)425 void Type::ArenaDtor(void* object) {
426   Type* _this = reinterpret_cast< Type* >(object);
427   (void)_this;
428 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)429 void Type::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
430 }
SetCachedSize(int size) const431 void Type::SetCachedSize(int size) const {
432   _cached_size_.Set(size);
433 }
default_instance()434 const Type& Type::default_instance() {
435   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Type_google_2fprotobuf_2ftype_2eproto.base);
436   return *internal_default_instance();
437 }
438 
439 
Clear()440 void Type::Clear() {
441 // @@protoc_insertion_point(message_clear_start:google.protobuf.Type)
442   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
443   // Prevent compiler warnings about cached_has_bits being unused
444   (void) cached_has_bits;
445 
446   fields_.Clear();
447   oneofs_.Clear();
448   options_.Clear();
449   name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
450   if (GetArena() == nullptr && source_context_ != nullptr) {
451     delete source_context_;
452   }
453   source_context_ = nullptr;
454   syntax_ = 0;
455   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
456 }
457 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)458 const char* Type::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
459 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
460   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
461   while (!ctx->Done(&ptr)) {
462     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
463     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
464     CHK_(ptr);
465     switch (tag >> 3) {
466       // string name = 1;
467       case 1:
468         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
469           auto str = _internal_mutable_name();
470           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
471           CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Type.name"));
472           CHK_(ptr);
473         } else goto handle_unusual;
474         continue;
475       // repeated .google.protobuf.Field fields = 2;
476       case 2:
477         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
478           ptr -= 1;
479           do {
480             ptr += 1;
481             ptr = ctx->ParseMessage(_internal_add_fields(), ptr);
482             CHK_(ptr);
483             if (!ctx->DataAvailable(ptr)) break;
484           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
485         } else goto handle_unusual;
486         continue;
487       // repeated string oneofs = 3;
488       case 3:
489         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
490           ptr -= 1;
491           do {
492             ptr += 1;
493             auto str = _internal_add_oneofs();
494             ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
495             CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Type.oneofs"));
496             CHK_(ptr);
497             if (!ctx->DataAvailable(ptr)) break;
498           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
499         } else goto handle_unusual;
500         continue;
501       // repeated .google.protobuf.Option options = 4;
502       case 4:
503         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
504           ptr -= 1;
505           do {
506             ptr += 1;
507             ptr = ctx->ParseMessage(_internal_add_options(), ptr);
508             CHK_(ptr);
509             if (!ctx->DataAvailable(ptr)) break;
510           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr));
511         } else goto handle_unusual;
512         continue;
513       // .google.protobuf.SourceContext source_context = 5;
514       case 5:
515         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
516           ptr = ctx->ParseMessage(_internal_mutable_source_context(), ptr);
517           CHK_(ptr);
518         } else goto handle_unusual;
519         continue;
520       // .google.protobuf.Syntax syntax = 6;
521       case 6:
522         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
523           ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
524           CHK_(ptr);
525           _internal_set_syntax(static_cast<PROTOBUF_NAMESPACE_ID::Syntax>(val));
526         } else goto handle_unusual;
527         continue;
528       default: {
529       handle_unusual:
530         if ((tag & 7) == 4 || tag == 0) {
531           ctx->SetLastTag(tag);
532           goto success;
533         }
534         ptr = UnknownFieldParse(tag,
535             _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
536             ptr, ctx);
537         CHK_(ptr != nullptr);
538         continue;
539       }
540     }  // switch
541   }  // while
542 success:
543   return ptr;
544 failure:
545   ptr = nullptr;
546   goto success;
547 #undef CHK_
548 }
549 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const550 ::PROTOBUF_NAMESPACE_ID::uint8* Type::_InternalSerialize(
551     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
552   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Type)
553   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
554   (void) cached_has_bits;
555 
556   // string name = 1;
557   if (this->name().size() > 0) {
558     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
559       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
560       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
561       "google.protobuf.Type.name");
562     target = stream->WriteStringMaybeAliased(
563         1, this->_internal_name(), target);
564   }
565 
566   // repeated .google.protobuf.Field fields = 2;
567   for (unsigned int i = 0,
568       n = static_cast<unsigned int>(this->_internal_fields_size()); i < n; i++) {
569     target = stream->EnsureSpace(target);
570     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
571       InternalWriteMessage(2, this->_internal_fields(i), target, stream);
572   }
573 
574   // repeated string oneofs = 3;
575   for (int i = 0, n = this->_internal_oneofs_size(); i < n; i++) {
576     const auto& s = this->_internal_oneofs(i);
577     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
578       s.data(), static_cast<int>(s.length()),
579       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
580       "google.protobuf.Type.oneofs");
581     target = stream->WriteString(3, s, target);
582   }
583 
584   // repeated .google.protobuf.Option options = 4;
585   for (unsigned int i = 0,
586       n = static_cast<unsigned int>(this->_internal_options_size()); i < n; i++) {
587     target = stream->EnsureSpace(target);
588     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
589       InternalWriteMessage(4, this->_internal_options(i), target, stream);
590   }
591 
592   // .google.protobuf.SourceContext source_context = 5;
593   if (this->has_source_context()) {
594     target = stream->EnsureSpace(target);
595     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
596       InternalWriteMessage(
597         5, _Internal::source_context(this), target, stream);
598   }
599 
600   // .google.protobuf.Syntax syntax = 6;
601   if (this->syntax() != 0) {
602     target = stream->EnsureSpace(target);
603     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
604       6, this->_internal_syntax(), target);
605   }
606 
607   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
608     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
609         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
610   }
611   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Type)
612   return target;
613 }
614 
ByteSizeLong() const615 size_t Type::ByteSizeLong() const {
616 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Type)
617   size_t total_size = 0;
618 
619   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
620   // Prevent compiler warnings about cached_has_bits being unused
621   (void) cached_has_bits;
622 
623   // repeated .google.protobuf.Field fields = 2;
624   total_size += 1UL * this->_internal_fields_size();
625   for (const auto& msg : this->fields_) {
626     total_size +=
627       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
628   }
629 
630   // repeated string oneofs = 3;
631   total_size += 1 *
632       ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(oneofs_.size());
633   for (int i = 0, n = oneofs_.size(); i < n; i++) {
634     total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
635       oneofs_.Get(i));
636   }
637 
638   // repeated .google.protobuf.Option options = 4;
639   total_size += 1UL * this->_internal_options_size();
640   for (const auto& msg : this->options_) {
641     total_size +=
642       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
643   }
644 
645   // string name = 1;
646   if (this->name().size() > 0) {
647     total_size += 1 +
648       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
649         this->_internal_name());
650   }
651 
652   // .google.protobuf.SourceContext source_context = 5;
653   if (this->has_source_context()) {
654     total_size += 1 +
655       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
656         *source_context_);
657   }
658 
659   // .google.protobuf.Syntax syntax = 6;
660   if (this->syntax() != 0) {
661     total_size += 1 +
662       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_syntax());
663   }
664 
665   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
666     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
667         _internal_metadata_, total_size, &_cached_size_);
668   }
669   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
670   SetCachedSize(cached_size);
671   return total_size;
672 }
673 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)674 void Type::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
675 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.Type)
676   GOOGLE_DCHECK_NE(&from, this);
677   const Type* source =
678       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Type>(
679           &from);
680   if (source == nullptr) {
681   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.Type)
682     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
683   } else {
684   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.Type)
685     MergeFrom(*source);
686   }
687 }
688 
MergeFrom(const Type & from)689 void Type::MergeFrom(const Type& from) {
690 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Type)
691   GOOGLE_DCHECK_NE(&from, this);
692   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
693   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
694   (void) cached_has_bits;
695 
696   fields_.MergeFrom(from.fields_);
697   oneofs_.MergeFrom(from.oneofs_);
698   options_.MergeFrom(from.options_);
699   if (from.name().size() > 0) {
700     _internal_set_name(from._internal_name());
701   }
702   if (from.has_source_context()) {
703     _internal_mutable_source_context()->PROTOBUF_NAMESPACE_ID::SourceContext::MergeFrom(from._internal_source_context());
704   }
705   if (from.syntax() != 0) {
706     _internal_set_syntax(from._internal_syntax());
707   }
708 }
709 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)710 void Type::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
711 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.Type)
712   if (&from == this) return;
713   Clear();
714   MergeFrom(from);
715 }
716 
CopyFrom(const Type & from)717 void Type::CopyFrom(const Type& from) {
718 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Type)
719   if (&from == this) return;
720   Clear();
721   MergeFrom(from);
722 }
723 
IsInitialized() const724 bool Type::IsInitialized() const {
725   return true;
726 }
727 
InternalSwap(Type * other)728 void Type::InternalSwap(Type* other) {
729   using std::swap;
730   _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
731   fields_.InternalSwap(&other->fields_);
732   oneofs_.InternalSwap(&other->oneofs_);
733   options_.InternalSwap(&other->options_);
734   name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
735   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
736       PROTOBUF_FIELD_OFFSET(Type, syntax_)
737       + sizeof(Type::syntax_)
738       - PROTOBUF_FIELD_OFFSET(Type, source_context_)>(
739           reinterpret_cast<char*>(&source_context_),
740           reinterpret_cast<char*>(&other->source_context_));
741 }
742 
GetMetadata() const743 ::PROTOBUF_NAMESPACE_ID::Metadata Type::GetMetadata() const {
744   return GetMetadataStatic();
745 }
746 
747 
748 // ===================================================================
749 
InitAsDefaultInstance()750 void Field::InitAsDefaultInstance() {
751 }
752 class Field::_Internal {
753  public:
754 };
755 
Field(::PROTOBUF_NAMESPACE_ID::Arena * arena)756 Field::Field(::PROTOBUF_NAMESPACE_ID::Arena* arena)
757   : ::PROTOBUF_NAMESPACE_ID::Message(arena),
758   options_(arena) {
759   SharedCtor();
760   RegisterArenaDtor(arena);
761   // @@protoc_insertion_point(arena_constructor:google.protobuf.Field)
762 }
Field(const Field & from)763 Field::Field(const Field& from)
764   : ::PROTOBUF_NAMESPACE_ID::Message(),
765       options_(from.options_) {
766   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
767   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
768   if (!from._internal_name().empty()) {
769     name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
770       GetArena());
771   }
772   type_url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
773   if (!from._internal_type_url().empty()) {
774     type_url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_type_url(),
775       GetArena());
776   }
777   json_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
778   if (!from._internal_json_name().empty()) {
779     json_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_json_name(),
780       GetArena());
781   }
782   default_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
783   if (!from._internal_default_value().empty()) {
784     default_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_default_value(),
785       GetArena());
786   }
787   ::memcpy(&kind_, &from.kind_,
788     static_cast<size_t>(reinterpret_cast<char*>(&packed_) -
789     reinterpret_cast<char*>(&kind_)) + sizeof(packed_));
790   // @@protoc_insertion_point(copy_constructor:google.protobuf.Field)
791 }
792 
SharedCtor()793 void Field::SharedCtor() {
794   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Field_google_2fprotobuf_2ftype_2eproto.base);
795   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
796   type_url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
797   json_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
798   default_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
799   ::memset(&kind_, 0, static_cast<size_t>(
800       reinterpret_cast<char*>(&packed_) -
801       reinterpret_cast<char*>(&kind_)) + sizeof(packed_));
802 }
803 
~Field()804 Field::~Field() {
805   // @@protoc_insertion_point(destructor:google.protobuf.Field)
806   SharedDtor();
807   _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
808 }
809 
SharedDtor()810 void Field::SharedDtor() {
811   GOOGLE_DCHECK(GetArena() == nullptr);
812   name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
813   type_url_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
814   json_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
815   default_value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
816 }
817 
ArenaDtor(void * object)818 void Field::ArenaDtor(void* object) {
819   Field* _this = reinterpret_cast< Field* >(object);
820   (void)_this;
821 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)822 void Field::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
823 }
SetCachedSize(int size) const824 void Field::SetCachedSize(int size) const {
825   _cached_size_.Set(size);
826 }
default_instance()827 const Field& Field::default_instance() {
828   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Field_google_2fprotobuf_2ftype_2eproto.base);
829   return *internal_default_instance();
830 }
831 
832 
Clear()833 void Field::Clear() {
834 // @@protoc_insertion_point(message_clear_start:google.protobuf.Field)
835   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
836   // Prevent compiler warnings about cached_has_bits being unused
837   (void) cached_has_bits;
838 
839   options_.Clear();
840   name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
841   type_url_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
842   json_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
843   default_value_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
844   ::memset(&kind_, 0, static_cast<size_t>(
845       reinterpret_cast<char*>(&packed_) -
846       reinterpret_cast<char*>(&kind_)) + sizeof(packed_));
847   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
848 }
849 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)850 const char* Field::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
851 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
852   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
853   while (!ctx->Done(&ptr)) {
854     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
855     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
856     CHK_(ptr);
857     switch (tag >> 3) {
858       // .google.protobuf.Field.Kind kind = 1;
859       case 1:
860         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
861           ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
862           CHK_(ptr);
863           _internal_set_kind(static_cast<PROTOBUF_NAMESPACE_ID::Field_Kind>(val));
864         } else goto handle_unusual;
865         continue;
866       // .google.protobuf.Field.Cardinality cardinality = 2;
867       case 2:
868         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
869           ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
870           CHK_(ptr);
871           _internal_set_cardinality(static_cast<PROTOBUF_NAMESPACE_ID::Field_Cardinality>(val));
872         } else goto handle_unusual;
873         continue;
874       // int32 number = 3;
875       case 3:
876         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
877           number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
878           CHK_(ptr);
879         } else goto handle_unusual;
880         continue;
881       // string name = 4;
882       case 4:
883         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
884           auto str = _internal_mutable_name();
885           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
886           CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Field.name"));
887           CHK_(ptr);
888         } else goto handle_unusual;
889         continue;
890       // string type_url = 6;
891       case 6:
892         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
893           auto str = _internal_mutable_type_url();
894           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
895           CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Field.type_url"));
896           CHK_(ptr);
897         } else goto handle_unusual;
898         continue;
899       // int32 oneof_index = 7;
900       case 7:
901         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
902           oneof_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
903           CHK_(ptr);
904         } else goto handle_unusual;
905         continue;
906       // bool packed = 8;
907       case 8:
908         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) {
909           packed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
910           CHK_(ptr);
911         } else goto handle_unusual;
912         continue;
913       // repeated .google.protobuf.Option options = 9;
914       case 9:
915         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
916           ptr -= 1;
917           do {
918             ptr += 1;
919             ptr = ctx->ParseMessage(_internal_add_options(), ptr);
920             CHK_(ptr);
921             if (!ctx->DataAvailable(ptr)) break;
922           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr));
923         } else goto handle_unusual;
924         continue;
925       // string json_name = 10;
926       case 10:
927         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
928           auto str = _internal_mutable_json_name();
929           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
930           CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Field.json_name"));
931           CHK_(ptr);
932         } else goto handle_unusual;
933         continue;
934       // string default_value = 11;
935       case 11:
936         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) {
937           auto str = _internal_mutable_default_value();
938           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
939           CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Field.default_value"));
940           CHK_(ptr);
941         } else goto handle_unusual;
942         continue;
943       default: {
944       handle_unusual:
945         if ((tag & 7) == 4 || tag == 0) {
946           ctx->SetLastTag(tag);
947           goto success;
948         }
949         ptr = UnknownFieldParse(tag,
950             _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
951             ptr, ctx);
952         CHK_(ptr != nullptr);
953         continue;
954       }
955     }  // switch
956   }  // while
957 success:
958   return ptr;
959 failure:
960   ptr = nullptr;
961   goto success;
962 #undef CHK_
963 }
964 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const965 ::PROTOBUF_NAMESPACE_ID::uint8* Field::_InternalSerialize(
966     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
967   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Field)
968   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
969   (void) cached_has_bits;
970 
971   // .google.protobuf.Field.Kind kind = 1;
972   if (this->kind() != 0) {
973     target = stream->EnsureSpace(target);
974     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
975       1, this->_internal_kind(), target);
976   }
977 
978   // .google.protobuf.Field.Cardinality cardinality = 2;
979   if (this->cardinality() != 0) {
980     target = stream->EnsureSpace(target);
981     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
982       2, this->_internal_cardinality(), target);
983   }
984 
985   // int32 number = 3;
986   if (this->number() != 0) {
987     target = stream->EnsureSpace(target);
988     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_number(), target);
989   }
990 
991   // string name = 4;
992   if (this->name().size() > 0) {
993     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
994       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
995       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
996       "google.protobuf.Field.name");
997     target = stream->WriteStringMaybeAliased(
998         4, this->_internal_name(), target);
999   }
1000 
1001   // string type_url = 6;
1002   if (this->type_url().size() > 0) {
1003     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1004       this->_internal_type_url().data(), static_cast<int>(this->_internal_type_url().length()),
1005       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1006       "google.protobuf.Field.type_url");
1007     target = stream->WriteStringMaybeAliased(
1008         6, this->_internal_type_url(), target);
1009   }
1010 
1011   // int32 oneof_index = 7;
1012   if (this->oneof_index() != 0) {
1013     target = stream->EnsureSpace(target);
1014     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(7, this->_internal_oneof_index(), target);
1015   }
1016 
1017   // bool packed = 8;
1018   if (this->packed() != 0) {
1019     target = stream->EnsureSpace(target);
1020     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_packed(), target);
1021   }
1022 
1023   // repeated .google.protobuf.Option options = 9;
1024   for (unsigned int i = 0,
1025       n = static_cast<unsigned int>(this->_internal_options_size()); i < n; i++) {
1026     target = stream->EnsureSpace(target);
1027     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1028       InternalWriteMessage(9, this->_internal_options(i), target, stream);
1029   }
1030 
1031   // string json_name = 10;
1032   if (this->json_name().size() > 0) {
1033     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1034       this->_internal_json_name().data(), static_cast<int>(this->_internal_json_name().length()),
1035       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1036       "google.protobuf.Field.json_name");
1037     target = stream->WriteStringMaybeAliased(
1038         10, this->_internal_json_name(), target);
1039   }
1040 
1041   // string default_value = 11;
1042   if (this->default_value().size() > 0) {
1043     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1044       this->_internal_default_value().data(), static_cast<int>(this->_internal_default_value().length()),
1045       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1046       "google.protobuf.Field.default_value");
1047     target = stream->WriteStringMaybeAliased(
1048         11, this->_internal_default_value(), target);
1049   }
1050 
1051   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1052     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1053         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1054   }
1055   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Field)
1056   return target;
1057 }
1058 
ByteSizeLong() const1059 size_t Field::ByteSizeLong() const {
1060 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Field)
1061   size_t total_size = 0;
1062 
1063   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1064   // Prevent compiler warnings about cached_has_bits being unused
1065   (void) cached_has_bits;
1066 
1067   // repeated .google.protobuf.Option options = 9;
1068   total_size += 1UL * this->_internal_options_size();
1069   for (const auto& msg : this->options_) {
1070     total_size +=
1071       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
1072   }
1073 
1074   // string name = 4;
1075   if (this->name().size() > 0) {
1076     total_size += 1 +
1077       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1078         this->_internal_name());
1079   }
1080 
1081   // string type_url = 6;
1082   if (this->type_url().size() > 0) {
1083     total_size += 1 +
1084       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1085         this->_internal_type_url());
1086   }
1087 
1088   // string json_name = 10;
1089   if (this->json_name().size() > 0) {
1090     total_size += 1 +
1091       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1092         this->_internal_json_name());
1093   }
1094 
1095   // string default_value = 11;
1096   if (this->default_value().size() > 0) {
1097     total_size += 1 +
1098       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1099         this->_internal_default_value());
1100   }
1101 
1102   // .google.protobuf.Field.Kind kind = 1;
1103   if (this->kind() != 0) {
1104     total_size += 1 +
1105       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_kind());
1106   }
1107 
1108   // .google.protobuf.Field.Cardinality cardinality = 2;
1109   if (this->cardinality() != 0) {
1110     total_size += 1 +
1111       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_cardinality());
1112   }
1113 
1114   // int32 number = 3;
1115   if (this->number() != 0) {
1116     total_size += 1 +
1117       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
1118         this->_internal_number());
1119   }
1120 
1121   // int32 oneof_index = 7;
1122   if (this->oneof_index() != 0) {
1123     total_size += 1 +
1124       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
1125         this->_internal_oneof_index());
1126   }
1127 
1128   // bool packed = 8;
1129   if (this->packed() != 0) {
1130     total_size += 1 + 1;
1131   }
1132 
1133   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1134     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1135         _internal_metadata_, total_size, &_cached_size_);
1136   }
1137   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1138   SetCachedSize(cached_size);
1139   return total_size;
1140 }
1141 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)1142 void Field::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1143 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.Field)
1144   GOOGLE_DCHECK_NE(&from, this);
1145   const Field* source =
1146       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Field>(
1147           &from);
1148   if (source == nullptr) {
1149   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.Field)
1150     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
1151   } else {
1152   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.Field)
1153     MergeFrom(*source);
1154   }
1155 }
1156 
MergeFrom(const Field & from)1157 void Field::MergeFrom(const Field& from) {
1158 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Field)
1159   GOOGLE_DCHECK_NE(&from, this);
1160   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1161   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1162   (void) cached_has_bits;
1163 
1164   options_.MergeFrom(from.options_);
1165   if (from.name().size() > 0) {
1166     _internal_set_name(from._internal_name());
1167   }
1168   if (from.type_url().size() > 0) {
1169     _internal_set_type_url(from._internal_type_url());
1170   }
1171   if (from.json_name().size() > 0) {
1172     _internal_set_json_name(from._internal_json_name());
1173   }
1174   if (from.default_value().size() > 0) {
1175     _internal_set_default_value(from._internal_default_value());
1176   }
1177   if (from.kind() != 0) {
1178     _internal_set_kind(from._internal_kind());
1179   }
1180   if (from.cardinality() != 0) {
1181     _internal_set_cardinality(from._internal_cardinality());
1182   }
1183   if (from.number() != 0) {
1184     _internal_set_number(from._internal_number());
1185   }
1186   if (from.oneof_index() != 0) {
1187     _internal_set_oneof_index(from._internal_oneof_index());
1188   }
1189   if (from.packed() != 0) {
1190     _internal_set_packed(from._internal_packed());
1191   }
1192 }
1193 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)1194 void Field::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1195 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.Field)
1196   if (&from == this) return;
1197   Clear();
1198   MergeFrom(from);
1199 }
1200 
CopyFrom(const Field & from)1201 void Field::CopyFrom(const Field& from) {
1202 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Field)
1203   if (&from == this) return;
1204   Clear();
1205   MergeFrom(from);
1206 }
1207 
IsInitialized() const1208 bool Field::IsInitialized() const {
1209   return true;
1210 }
1211 
InternalSwap(Field * other)1212 void Field::InternalSwap(Field* other) {
1213   using std::swap;
1214   _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
1215   options_.InternalSwap(&other->options_);
1216   name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1217   type_url_.Swap(&other->type_url_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1218   json_name_.Swap(&other->json_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1219   default_value_.Swap(&other->default_value_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1220   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1221       PROTOBUF_FIELD_OFFSET(Field, packed_)
1222       + sizeof(Field::packed_)
1223       - PROTOBUF_FIELD_OFFSET(Field, kind_)>(
1224           reinterpret_cast<char*>(&kind_),
1225           reinterpret_cast<char*>(&other->kind_));
1226 }
1227 
GetMetadata() const1228 ::PROTOBUF_NAMESPACE_ID::Metadata Field::GetMetadata() const {
1229   return GetMetadataStatic();
1230 }
1231 
1232 
1233 // ===================================================================
1234 
InitAsDefaultInstance()1235 void Enum::InitAsDefaultInstance() {
1236   PROTOBUF_NAMESPACE_ID::_Enum_default_instance_._instance.get_mutable()->source_context_ = const_cast< PROTOBUF_NAMESPACE_ID::SourceContext*>(
1237       PROTOBUF_NAMESPACE_ID::SourceContext::internal_default_instance());
1238 }
1239 class Enum::_Internal {
1240  public:
1241   static const PROTOBUF_NAMESPACE_ID::SourceContext& source_context(const Enum* msg);
1242 };
1243 
1244 const PROTOBUF_NAMESPACE_ID::SourceContext&
source_context(const Enum * msg)1245 Enum::_Internal::source_context(const Enum* msg) {
1246   return *msg->source_context_;
1247 }
clear_source_context()1248 void Enum::clear_source_context() {
1249   if (GetArena() == nullptr && source_context_ != nullptr) {
1250     delete source_context_;
1251   }
1252   source_context_ = nullptr;
1253 }
Enum(::PROTOBUF_NAMESPACE_ID::Arena * arena)1254 Enum::Enum(::PROTOBUF_NAMESPACE_ID::Arena* arena)
1255   : ::PROTOBUF_NAMESPACE_ID::Message(arena),
1256   enumvalue_(arena),
1257   options_(arena) {
1258   SharedCtor();
1259   RegisterArenaDtor(arena);
1260   // @@protoc_insertion_point(arena_constructor:google.protobuf.Enum)
1261 }
Enum(const Enum & from)1262 Enum::Enum(const Enum& from)
1263   : ::PROTOBUF_NAMESPACE_ID::Message(),
1264       enumvalue_(from.enumvalue_),
1265       options_(from.options_) {
1266   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1267   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1268   if (!from._internal_name().empty()) {
1269     name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
1270       GetArena());
1271   }
1272   if (from._internal_has_source_context()) {
1273     source_context_ = new PROTOBUF_NAMESPACE_ID::SourceContext(*from.source_context_);
1274   } else {
1275     source_context_ = nullptr;
1276   }
1277   syntax_ = from.syntax_;
1278   // @@protoc_insertion_point(copy_constructor:google.protobuf.Enum)
1279 }
1280 
SharedCtor()1281 void Enum::SharedCtor() {
1282   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Enum_google_2fprotobuf_2ftype_2eproto.base);
1283   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1284   ::memset(&source_context_, 0, static_cast<size_t>(
1285       reinterpret_cast<char*>(&syntax_) -
1286       reinterpret_cast<char*>(&source_context_)) + sizeof(syntax_));
1287 }
1288 
~Enum()1289 Enum::~Enum() {
1290   // @@protoc_insertion_point(destructor:google.protobuf.Enum)
1291   SharedDtor();
1292   _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1293 }
1294 
SharedDtor()1295 void Enum::SharedDtor() {
1296   GOOGLE_DCHECK(GetArena() == nullptr);
1297   name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1298   if (this != internal_default_instance()) delete source_context_;
1299 }
1300 
ArenaDtor(void * object)1301 void Enum::ArenaDtor(void* object) {
1302   Enum* _this = reinterpret_cast< Enum* >(object);
1303   (void)_this;
1304 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)1305 void Enum::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1306 }
SetCachedSize(int size) const1307 void Enum::SetCachedSize(int size) const {
1308   _cached_size_.Set(size);
1309 }
default_instance()1310 const Enum& Enum::default_instance() {
1311   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Enum_google_2fprotobuf_2ftype_2eproto.base);
1312   return *internal_default_instance();
1313 }
1314 
1315 
Clear()1316 void Enum::Clear() {
1317 // @@protoc_insertion_point(message_clear_start:google.protobuf.Enum)
1318   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1319   // Prevent compiler warnings about cached_has_bits being unused
1320   (void) cached_has_bits;
1321 
1322   enumvalue_.Clear();
1323   options_.Clear();
1324   name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1325   if (GetArena() == nullptr && source_context_ != nullptr) {
1326     delete source_context_;
1327   }
1328   source_context_ = nullptr;
1329   syntax_ = 0;
1330   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1331 }
1332 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)1333 const char* Enum::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1334 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1335   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
1336   while (!ctx->Done(&ptr)) {
1337     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1338     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1339     CHK_(ptr);
1340     switch (tag >> 3) {
1341       // string name = 1;
1342       case 1:
1343         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
1344           auto str = _internal_mutable_name();
1345           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
1346           CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Enum.name"));
1347           CHK_(ptr);
1348         } else goto handle_unusual;
1349         continue;
1350       // repeated .google.protobuf.EnumValue enumvalue = 2;
1351       case 2:
1352         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
1353           ptr -= 1;
1354           do {
1355             ptr += 1;
1356             ptr = ctx->ParseMessage(_internal_add_enumvalue(), ptr);
1357             CHK_(ptr);
1358             if (!ctx->DataAvailable(ptr)) break;
1359           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
1360         } else goto handle_unusual;
1361         continue;
1362       // repeated .google.protobuf.Option options = 3;
1363       case 3:
1364         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
1365           ptr -= 1;
1366           do {
1367             ptr += 1;
1368             ptr = ctx->ParseMessage(_internal_add_options(), ptr);
1369             CHK_(ptr);
1370             if (!ctx->DataAvailable(ptr)) break;
1371           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
1372         } else goto handle_unusual;
1373         continue;
1374       // .google.protobuf.SourceContext source_context = 4;
1375       case 4:
1376         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
1377           ptr = ctx->ParseMessage(_internal_mutable_source_context(), ptr);
1378           CHK_(ptr);
1379         } else goto handle_unusual;
1380         continue;
1381       // .google.protobuf.Syntax syntax = 5;
1382       case 5:
1383         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
1384           ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1385           CHK_(ptr);
1386           _internal_set_syntax(static_cast<PROTOBUF_NAMESPACE_ID::Syntax>(val));
1387         } else goto handle_unusual;
1388         continue;
1389       default: {
1390       handle_unusual:
1391         if ((tag & 7) == 4 || tag == 0) {
1392           ctx->SetLastTag(tag);
1393           goto success;
1394         }
1395         ptr = UnknownFieldParse(tag,
1396             _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1397             ptr, ctx);
1398         CHK_(ptr != nullptr);
1399         continue;
1400       }
1401     }  // switch
1402   }  // while
1403 success:
1404   return ptr;
1405 failure:
1406   ptr = nullptr;
1407   goto success;
1408 #undef CHK_
1409 }
1410 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1411 ::PROTOBUF_NAMESPACE_ID::uint8* Enum::_InternalSerialize(
1412     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1413   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Enum)
1414   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1415   (void) cached_has_bits;
1416 
1417   // string name = 1;
1418   if (this->name().size() > 0) {
1419     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1420       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
1421       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1422       "google.protobuf.Enum.name");
1423     target = stream->WriteStringMaybeAliased(
1424         1, this->_internal_name(), target);
1425   }
1426 
1427   // repeated .google.protobuf.EnumValue enumvalue = 2;
1428   for (unsigned int i = 0,
1429       n = static_cast<unsigned int>(this->_internal_enumvalue_size()); i < n; i++) {
1430     target = stream->EnsureSpace(target);
1431     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1432       InternalWriteMessage(2, this->_internal_enumvalue(i), target, stream);
1433   }
1434 
1435   // repeated .google.protobuf.Option options = 3;
1436   for (unsigned int i = 0,
1437       n = static_cast<unsigned int>(this->_internal_options_size()); i < n; i++) {
1438     target = stream->EnsureSpace(target);
1439     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1440       InternalWriteMessage(3, this->_internal_options(i), target, stream);
1441   }
1442 
1443   // .google.protobuf.SourceContext source_context = 4;
1444   if (this->has_source_context()) {
1445     target = stream->EnsureSpace(target);
1446     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1447       InternalWriteMessage(
1448         4, _Internal::source_context(this), target, stream);
1449   }
1450 
1451   // .google.protobuf.Syntax syntax = 5;
1452   if (this->syntax() != 0) {
1453     target = stream->EnsureSpace(target);
1454     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
1455       5, this->_internal_syntax(), target);
1456   }
1457 
1458   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1459     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1460         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1461   }
1462   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Enum)
1463   return target;
1464 }
1465 
ByteSizeLong() const1466 size_t Enum::ByteSizeLong() const {
1467 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Enum)
1468   size_t total_size = 0;
1469 
1470   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1471   // Prevent compiler warnings about cached_has_bits being unused
1472   (void) cached_has_bits;
1473 
1474   // repeated .google.protobuf.EnumValue enumvalue = 2;
1475   total_size += 1UL * this->_internal_enumvalue_size();
1476   for (const auto& msg : this->enumvalue_) {
1477     total_size +=
1478       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
1479   }
1480 
1481   // repeated .google.protobuf.Option options = 3;
1482   total_size += 1UL * this->_internal_options_size();
1483   for (const auto& msg : this->options_) {
1484     total_size +=
1485       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
1486   }
1487 
1488   // string name = 1;
1489   if (this->name().size() > 0) {
1490     total_size += 1 +
1491       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1492         this->_internal_name());
1493   }
1494 
1495   // .google.protobuf.SourceContext source_context = 4;
1496   if (this->has_source_context()) {
1497     total_size += 1 +
1498       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1499         *source_context_);
1500   }
1501 
1502   // .google.protobuf.Syntax syntax = 5;
1503   if (this->syntax() != 0) {
1504     total_size += 1 +
1505       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_syntax());
1506   }
1507 
1508   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1509     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1510         _internal_metadata_, total_size, &_cached_size_);
1511   }
1512   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1513   SetCachedSize(cached_size);
1514   return total_size;
1515 }
1516 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)1517 void Enum::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1518 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.Enum)
1519   GOOGLE_DCHECK_NE(&from, this);
1520   const Enum* source =
1521       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Enum>(
1522           &from);
1523   if (source == nullptr) {
1524   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.Enum)
1525     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
1526   } else {
1527   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.Enum)
1528     MergeFrom(*source);
1529   }
1530 }
1531 
MergeFrom(const Enum & from)1532 void Enum::MergeFrom(const Enum& from) {
1533 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Enum)
1534   GOOGLE_DCHECK_NE(&from, this);
1535   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1536   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1537   (void) cached_has_bits;
1538 
1539   enumvalue_.MergeFrom(from.enumvalue_);
1540   options_.MergeFrom(from.options_);
1541   if (from.name().size() > 0) {
1542     _internal_set_name(from._internal_name());
1543   }
1544   if (from.has_source_context()) {
1545     _internal_mutable_source_context()->PROTOBUF_NAMESPACE_ID::SourceContext::MergeFrom(from._internal_source_context());
1546   }
1547   if (from.syntax() != 0) {
1548     _internal_set_syntax(from._internal_syntax());
1549   }
1550 }
1551 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)1552 void Enum::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1553 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.Enum)
1554   if (&from == this) return;
1555   Clear();
1556   MergeFrom(from);
1557 }
1558 
CopyFrom(const Enum & from)1559 void Enum::CopyFrom(const Enum& from) {
1560 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Enum)
1561   if (&from == this) return;
1562   Clear();
1563   MergeFrom(from);
1564 }
1565 
IsInitialized() const1566 bool Enum::IsInitialized() const {
1567   return true;
1568 }
1569 
InternalSwap(Enum * other)1570 void Enum::InternalSwap(Enum* other) {
1571   using std::swap;
1572   _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
1573   enumvalue_.InternalSwap(&other->enumvalue_);
1574   options_.InternalSwap(&other->options_);
1575   name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1576   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1577       PROTOBUF_FIELD_OFFSET(Enum, syntax_)
1578       + sizeof(Enum::syntax_)
1579       - PROTOBUF_FIELD_OFFSET(Enum, source_context_)>(
1580           reinterpret_cast<char*>(&source_context_),
1581           reinterpret_cast<char*>(&other->source_context_));
1582 }
1583 
GetMetadata() const1584 ::PROTOBUF_NAMESPACE_ID::Metadata Enum::GetMetadata() const {
1585   return GetMetadataStatic();
1586 }
1587 
1588 
1589 // ===================================================================
1590 
InitAsDefaultInstance()1591 void EnumValue::InitAsDefaultInstance() {
1592 }
1593 class EnumValue::_Internal {
1594  public:
1595 };
1596 
EnumValue(::PROTOBUF_NAMESPACE_ID::Arena * arena)1597 EnumValue::EnumValue(::PROTOBUF_NAMESPACE_ID::Arena* arena)
1598   : ::PROTOBUF_NAMESPACE_ID::Message(arena),
1599   options_(arena) {
1600   SharedCtor();
1601   RegisterArenaDtor(arena);
1602   // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumValue)
1603 }
EnumValue(const EnumValue & from)1604 EnumValue::EnumValue(const EnumValue& from)
1605   : ::PROTOBUF_NAMESPACE_ID::Message(),
1606       options_(from.options_) {
1607   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1608   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1609   if (!from._internal_name().empty()) {
1610     name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
1611       GetArena());
1612   }
1613   number_ = from.number_;
1614   // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumValue)
1615 }
1616 
SharedCtor()1617 void EnumValue::SharedCtor() {
1618   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EnumValue_google_2fprotobuf_2ftype_2eproto.base);
1619   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1620   number_ = 0;
1621 }
1622 
~EnumValue()1623 EnumValue::~EnumValue() {
1624   // @@protoc_insertion_point(destructor:google.protobuf.EnumValue)
1625   SharedDtor();
1626   _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1627 }
1628 
SharedDtor()1629 void EnumValue::SharedDtor() {
1630   GOOGLE_DCHECK(GetArena() == nullptr);
1631   name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1632 }
1633 
ArenaDtor(void * object)1634 void EnumValue::ArenaDtor(void* object) {
1635   EnumValue* _this = reinterpret_cast< EnumValue* >(object);
1636   (void)_this;
1637 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)1638 void EnumValue::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1639 }
SetCachedSize(int size) const1640 void EnumValue::SetCachedSize(int size) const {
1641   _cached_size_.Set(size);
1642 }
default_instance()1643 const EnumValue& EnumValue::default_instance() {
1644   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EnumValue_google_2fprotobuf_2ftype_2eproto.base);
1645   return *internal_default_instance();
1646 }
1647 
1648 
Clear()1649 void EnumValue::Clear() {
1650 // @@protoc_insertion_point(message_clear_start:google.protobuf.EnumValue)
1651   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1652   // Prevent compiler warnings about cached_has_bits being unused
1653   (void) cached_has_bits;
1654 
1655   options_.Clear();
1656   name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1657   number_ = 0;
1658   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1659 }
1660 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)1661 const char* EnumValue::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1662 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1663   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
1664   while (!ctx->Done(&ptr)) {
1665     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1666     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1667     CHK_(ptr);
1668     switch (tag >> 3) {
1669       // string name = 1;
1670       case 1:
1671         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
1672           auto str = _internal_mutable_name();
1673           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
1674           CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.EnumValue.name"));
1675           CHK_(ptr);
1676         } else goto handle_unusual;
1677         continue;
1678       // int32 number = 2;
1679       case 2:
1680         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
1681           number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1682           CHK_(ptr);
1683         } else goto handle_unusual;
1684         continue;
1685       // repeated .google.protobuf.Option options = 3;
1686       case 3:
1687         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
1688           ptr -= 1;
1689           do {
1690             ptr += 1;
1691             ptr = ctx->ParseMessage(_internal_add_options(), ptr);
1692             CHK_(ptr);
1693             if (!ctx->DataAvailable(ptr)) break;
1694           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
1695         } else goto handle_unusual;
1696         continue;
1697       default: {
1698       handle_unusual:
1699         if ((tag & 7) == 4 || tag == 0) {
1700           ctx->SetLastTag(tag);
1701           goto success;
1702         }
1703         ptr = UnknownFieldParse(tag,
1704             _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1705             ptr, ctx);
1706         CHK_(ptr != nullptr);
1707         continue;
1708       }
1709     }  // switch
1710   }  // while
1711 success:
1712   return ptr;
1713 failure:
1714   ptr = nullptr;
1715   goto success;
1716 #undef CHK_
1717 }
1718 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1719 ::PROTOBUF_NAMESPACE_ID::uint8* EnumValue::_InternalSerialize(
1720     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1721   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValue)
1722   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1723   (void) cached_has_bits;
1724 
1725   // string name = 1;
1726   if (this->name().size() > 0) {
1727     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1728       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
1729       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1730       "google.protobuf.EnumValue.name");
1731     target = stream->WriteStringMaybeAliased(
1732         1, this->_internal_name(), target);
1733   }
1734 
1735   // int32 number = 2;
1736   if (this->number() != 0) {
1737     target = stream->EnsureSpace(target);
1738     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_number(), target);
1739   }
1740 
1741   // repeated .google.protobuf.Option options = 3;
1742   for (unsigned int i = 0,
1743       n = static_cast<unsigned int>(this->_internal_options_size()); i < n; i++) {
1744     target = stream->EnsureSpace(target);
1745     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1746       InternalWriteMessage(3, this->_internal_options(i), target, stream);
1747   }
1748 
1749   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1750     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1751         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1752   }
1753   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumValue)
1754   return target;
1755 }
1756 
ByteSizeLong() const1757 size_t EnumValue::ByteSizeLong() const {
1758 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValue)
1759   size_t total_size = 0;
1760 
1761   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1762   // Prevent compiler warnings about cached_has_bits being unused
1763   (void) cached_has_bits;
1764 
1765   // repeated .google.protobuf.Option options = 3;
1766   total_size += 1UL * this->_internal_options_size();
1767   for (const auto& msg : this->options_) {
1768     total_size +=
1769       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
1770   }
1771 
1772   // string name = 1;
1773   if (this->name().size() > 0) {
1774     total_size += 1 +
1775       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1776         this->_internal_name());
1777   }
1778 
1779   // int32 number = 2;
1780   if (this->number() != 0) {
1781     total_size += 1 +
1782       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
1783         this->_internal_number());
1784   }
1785 
1786   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1787     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1788         _internal_metadata_, total_size, &_cached_size_);
1789   }
1790   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1791   SetCachedSize(cached_size);
1792   return total_size;
1793 }
1794 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)1795 void EnumValue::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1796 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumValue)
1797   GOOGLE_DCHECK_NE(&from, this);
1798   const EnumValue* source =
1799       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<EnumValue>(
1800           &from);
1801   if (source == nullptr) {
1802   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumValue)
1803     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
1804   } else {
1805   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumValue)
1806     MergeFrom(*source);
1807   }
1808 }
1809 
MergeFrom(const EnumValue & from)1810 void EnumValue::MergeFrom(const EnumValue& from) {
1811 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumValue)
1812   GOOGLE_DCHECK_NE(&from, this);
1813   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1814   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1815   (void) cached_has_bits;
1816 
1817   options_.MergeFrom(from.options_);
1818   if (from.name().size() > 0) {
1819     _internal_set_name(from._internal_name());
1820   }
1821   if (from.number() != 0) {
1822     _internal_set_number(from._internal_number());
1823   }
1824 }
1825 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)1826 void EnumValue::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1827 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumValue)
1828   if (&from == this) return;
1829   Clear();
1830   MergeFrom(from);
1831 }
1832 
CopyFrom(const EnumValue & from)1833 void EnumValue::CopyFrom(const EnumValue& from) {
1834 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumValue)
1835   if (&from == this) return;
1836   Clear();
1837   MergeFrom(from);
1838 }
1839 
IsInitialized() const1840 bool EnumValue::IsInitialized() const {
1841   return true;
1842 }
1843 
InternalSwap(EnumValue * other)1844 void EnumValue::InternalSwap(EnumValue* other) {
1845   using std::swap;
1846   _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
1847   options_.InternalSwap(&other->options_);
1848   name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1849   swap(number_, other->number_);
1850 }
1851 
GetMetadata() const1852 ::PROTOBUF_NAMESPACE_ID::Metadata EnumValue::GetMetadata() const {
1853   return GetMetadataStatic();
1854 }
1855 
1856 
1857 // ===================================================================
1858 
InitAsDefaultInstance()1859 void Option::InitAsDefaultInstance() {
1860   PROTOBUF_NAMESPACE_ID::_Option_default_instance_._instance.get_mutable()->value_ = const_cast< PROTOBUF_NAMESPACE_ID::Any*>(
1861       PROTOBUF_NAMESPACE_ID::Any::internal_default_instance());
1862 }
1863 class Option::_Internal {
1864  public:
1865   static const PROTOBUF_NAMESPACE_ID::Any& value(const Option* msg);
1866 };
1867 
1868 const PROTOBUF_NAMESPACE_ID::Any&
value(const Option * msg)1869 Option::_Internal::value(const Option* msg) {
1870   return *msg->value_;
1871 }
clear_value()1872 void Option::clear_value() {
1873   if (GetArena() == nullptr && value_ != nullptr) {
1874     delete value_;
1875   }
1876   value_ = nullptr;
1877 }
Option(::PROTOBUF_NAMESPACE_ID::Arena * arena)1878 Option::Option(::PROTOBUF_NAMESPACE_ID::Arena* arena)
1879   : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
1880   SharedCtor();
1881   RegisterArenaDtor(arena);
1882   // @@protoc_insertion_point(arena_constructor:google.protobuf.Option)
1883 }
Option(const Option & from)1884 Option::Option(const Option& from)
1885   : ::PROTOBUF_NAMESPACE_ID::Message() {
1886   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1887   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1888   if (!from._internal_name().empty()) {
1889     name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
1890       GetArena());
1891   }
1892   if (from._internal_has_value()) {
1893     value_ = new PROTOBUF_NAMESPACE_ID::Any(*from.value_);
1894   } else {
1895     value_ = nullptr;
1896   }
1897   // @@protoc_insertion_point(copy_constructor:google.protobuf.Option)
1898 }
1899 
SharedCtor()1900 void Option::SharedCtor() {
1901   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Option_google_2fprotobuf_2ftype_2eproto.base);
1902   name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1903   value_ = nullptr;
1904 }
1905 
~Option()1906 Option::~Option() {
1907   // @@protoc_insertion_point(destructor:google.protobuf.Option)
1908   SharedDtor();
1909   _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1910 }
1911 
SharedDtor()1912 void Option::SharedDtor() {
1913   GOOGLE_DCHECK(GetArena() == nullptr);
1914   name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1915   if (this != internal_default_instance()) delete value_;
1916 }
1917 
ArenaDtor(void * object)1918 void Option::ArenaDtor(void* object) {
1919   Option* _this = reinterpret_cast< Option* >(object);
1920   (void)_this;
1921 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)1922 void Option::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1923 }
SetCachedSize(int size) const1924 void Option::SetCachedSize(int size) const {
1925   _cached_size_.Set(size);
1926 }
default_instance()1927 const Option& Option::default_instance() {
1928   ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Option_google_2fprotobuf_2ftype_2eproto.base);
1929   return *internal_default_instance();
1930 }
1931 
1932 
Clear()1933 void Option::Clear() {
1934 // @@protoc_insertion_point(message_clear_start:google.protobuf.Option)
1935   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1936   // Prevent compiler warnings about cached_has_bits being unused
1937   (void) cached_has_bits;
1938 
1939   name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1940   if (GetArena() == nullptr && value_ != nullptr) {
1941     delete value_;
1942   }
1943   value_ = nullptr;
1944   _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1945 }
1946 
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)1947 const char* Option::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1948 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1949   ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
1950   while (!ctx->Done(&ptr)) {
1951     ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1952     ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1953     CHK_(ptr);
1954     switch (tag >> 3) {
1955       // string name = 1;
1956       case 1:
1957         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
1958           auto str = _internal_mutable_name();
1959           ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
1960           CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Option.name"));
1961           CHK_(ptr);
1962         } else goto handle_unusual;
1963         continue;
1964       // .google.protobuf.Any value = 2;
1965       case 2:
1966         if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
1967           ptr = ctx->ParseMessage(_internal_mutable_value(), ptr);
1968           CHK_(ptr);
1969         } else goto handle_unusual;
1970         continue;
1971       default: {
1972       handle_unusual:
1973         if ((tag & 7) == 4 || tag == 0) {
1974           ctx->SetLastTag(tag);
1975           goto success;
1976         }
1977         ptr = UnknownFieldParse(tag,
1978             _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1979             ptr, ctx);
1980         CHK_(ptr != nullptr);
1981         continue;
1982       }
1983     }  // switch
1984   }  // while
1985 success:
1986   return ptr;
1987 failure:
1988   ptr = nullptr;
1989   goto success;
1990 #undef CHK_
1991 }
1992 
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1993 ::PROTOBUF_NAMESPACE_ID::uint8* Option::_InternalSerialize(
1994     ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1995   // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Option)
1996   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1997   (void) cached_has_bits;
1998 
1999   // string name = 1;
2000   if (this->name().size() > 0) {
2001     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
2002       this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
2003       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
2004       "google.protobuf.Option.name");
2005     target = stream->WriteStringMaybeAliased(
2006         1, this->_internal_name(), target);
2007   }
2008 
2009   // .google.protobuf.Any value = 2;
2010   if (this->has_value()) {
2011     target = stream->EnsureSpace(target);
2012     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2013       InternalWriteMessage(
2014         2, _Internal::value(this), target, stream);
2015   }
2016 
2017   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2018     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
2019         _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2020   }
2021   // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Option)
2022   return target;
2023 }
2024 
ByteSizeLong() const2025 size_t Option::ByteSizeLong() const {
2026 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Option)
2027   size_t total_size = 0;
2028 
2029   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2030   // Prevent compiler warnings about cached_has_bits being unused
2031   (void) cached_has_bits;
2032 
2033   // string name = 1;
2034   if (this->name().size() > 0) {
2035     total_size += 1 +
2036       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2037         this->_internal_name());
2038   }
2039 
2040   // .google.protobuf.Any value = 2;
2041   if (this->has_value()) {
2042     total_size += 1 +
2043       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2044         *value_);
2045   }
2046 
2047   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2048     return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
2049         _internal_metadata_, total_size, &_cached_size_);
2050   }
2051   int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
2052   SetCachedSize(cached_size);
2053   return total_size;
2054 }
2055 
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)2056 void Option::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
2057 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.Option)
2058   GOOGLE_DCHECK_NE(&from, this);
2059   const Option* source =
2060       ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Option>(
2061           &from);
2062   if (source == nullptr) {
2063   // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.Option)
2064     ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
2065   } else {
2066   // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.Option)
2067     MergeFrom(*source);
2068   }
2069 }
2070 
MergeFrom(const Option & from)2071 void Option::MergeFrom(const Option& from) {
2072 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Option)
2073   GOOGLE_DCHECK_NE(&from, this);
2074   _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2075   ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2076   (void) cached_has_bits;
2077 
2078   if (from.name().size() > 0) {
2079     _internal_set_name(from._internal_name());
2080   }
2081   if (from.has_value()) {
2082     _internal_mutable_value()->PROTOBUF_NAMESPACE_ID::Any::MergeFrom(from._internal_value());
2083   }
2084 }
2085 
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)2086 void Option::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
2087 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.Option)
2088   if (&from == this) return;
2089   Clear();
2090   MergeFrom(from);
2091 }
2092 
CopyFrom(const Option & from)2093 void Option::CopyFrom(const Option& from) {
2094 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Option)
2095   if (&from == this) return;
2096   Clear();
2097   MergeFrom(from);
2098 }
2099 
IsInitialized() const2100 bool Option::IsInitialized() const {
2101   return true;
2102 }
2103 
InternalSwap(Option * other)2104 void Option::InternalSwap(Option* other) {
2105   using std::swap;
2106   _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
2107   name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2108   swap(value_, other->value_);
2109 }
2110 
GetMetadata() const2111 ::PROTOBUF_NAMESPACE_ID::Metadata Option::GetMetadata() const {
2112   return GetMetadataStatic();
2113 }
2114 
2115 
2116 // @@protoc_insertion_point(namespace_scope)
2117 PROTOBUF_NAMESPACE_CLOSE
2118 PROTOBUF_NAMESPACE_OPEN
CreateMaybeMessage(Arena * arena)2119 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::Type* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Type >(Arena* arena) {
2120   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::Type >(arena);
2121 }
CreateMaybeMessage(Arena * arena)2122 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::Field* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Field >(Arena* arena) {
2123   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::Field >(arena);
2124 }
CreateMaybeMessage(Arena * arena)2125 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::Enum* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Enum >(Arena* arena) {
2126   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::Enum >(arena);
2127 }
CreateMaybeMessage(Arena * arena)2128 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::EnumValue* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::EnumValue >(Arena* arena) {
2129   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::EnumValue >(arena);
2130 }
CreateMaybeMessage(Arena * arena)2131 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::Option* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Option >(Arena* arena) {
2132   return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::Option >(arena);
2133 }
2134 PROTOBUF_NAMESPACE_CLOSE
2135 
2136 // @@protoc_insertion_point(global_scope)
2137 #include <google/protobuf/port_undef.inc>
2138