1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: google/protobuf/type.proto
3 
4 #ifndef PROTOBUF_google_2fprotobuf_2ftype_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_2ftype_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3004000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers.  Please update
14 #error your headers.
15 #endif
16 #if 3004000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers.  Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/metadata.h>
28 #include <google/protobuf/message.h>
29 #include <google/protobuf/repeated_field.h>  // IWYU pragma: export
30 #include <google/protobuf/extension_set.h>  // IWYU pragma: export
31 #include <google/protobuf/generated_enum_reflection.h>
32 #include <google/protobuf/unknown_field_set.h>
33 #include <google/protobuf/any.pb.h>
34 #include <google/protobuf/source_context.pb.h>
35 // @@protoc_insertion_point(includes)
36 namespace google {
37 namespace protobuf {
38 class Enum;
39 class EnumDefaultTypeInternal;
40 LIBPROTOBUF_EXPORT extern EnumDefaultTypeInternal _Enum_default_instance_;
41 class EnumValue;
42 class EnumValueDefaultTypeInternal;
43 LIBPROTOBUF_EXPORT extern EnumValueDefaultTypeInternal _EnumValue_default_instance_;
44 class Field;
45 class FieldDefaultTypeInternal;
46 LIBPROTOBUF_EXPORT extern FieldDefaultTypeInternal _Field_default_instance_;
47 class Option;
48 class OptionDefaultTypeInternal;
49 LIBPROTOBUF_EXPORT extern OptionDefaultTypeInternal _Option_default_instance_;
50 class Type;
51 class TypeDefaultTypeInternal;
52 LIBPROTOBUF_EXPORT extern TypeDefaultTypeInternal _Type_default_instance_;
53 }  // namespace protobuf
54 }  // namespace google
55 
56 namespace google {
57 namespace protobuf {
58 
59 namespace protobuf_google_2fprotobuf_2ftype_2eproto {
60 // Internal implementation detail -- do not call these.
61 struct LIBPROTOBUF_EXPORT TableStruct {
62   static const ::google::protobuf::internal::ParseTableField entries[];
63   static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
64   static const ::google::protobuf::internal::ParseTable schema[];
65   static const ::google::protobuf::uint32 offsets[];
66   static const ::google::protobuf::internal::FieldMetadata field_metadata[];
67   static const ::google::protobuf::internal::SerializationTable serialization_table[];
68   static void InitDefaultsImpl();
69 };
70 void LIBPROTOBUF_EXPORT AddDescriptors();
71 void LIBPROTOBUF_EXPORT InitDefaults();
72 }  // namespace protobuf_google_2fprotobuf_2ftype_2eproto
73 
74 enum Field_Kind {
75   Field_Kind_TYPE_UNKNOWN = 0,
76   Field_Kind_TYPE_DOUBLE = 1,
77   Field_Kind_TYPE_FLOAT = 2,
78   Field_Kind_TYPE_INT64 = 3,
79   Field_Kind_TYPE_UINT64 = 4,
80   Field_Kind_TYPE_INT32 = 5,
81   Field_Kind_TYPE_FIXED64 = 6,
82   Field_Kind_TYPE_FIXED32 = 7,
83   Field_Kind_TYPE_BOOL = 8,
84   Field_Kind_TYPE_STRING = 9,
85   Field_Kind_TYPE_GROUP = 10,
86   Field_Kind_TYPE_MESSAGE = 11,
87   Field_Kind_TYPE_BYTES = 12,
88   Field_Kind_TYPE_UINT32 = 13,
89   Field_Kind_TYPE_ENUM = 14,
90   Field_Kind_TYPE_SFIXED32 = 15,
91   Field_Kind_TYPE_SFIXED64 = 16,
92   Field_Kind_TYPE_SINT32 = 17,
93   Field_Kind_TYPE_SINT64 = 18,
94   Field_Kind_Field_Kind_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
95   Field_Kind_Field_Kind_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
96 };
97 LIBPROTOBUF_EXPORT bool Field_Kind_IsValid(int value);
98 const Field_Kind Field_Kind_Kind_MIN = Field_Kind_TYPE_UNKNOWN;
99 const Field_Kind Field_Kind_Kind_MAX = Field_Kind_TYPE_SINT64;
100 const int Field_Kind_Kind_ARRAYSIZE = Field_Kind_Kind_MAX + 1;
101 
102 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* Field_Kind_descriptor();
Field_Kind_Name(Field_Kind value)103 inline const ::std::string& Field_Kind_Name(Field_Kind value) {
104   return ::google::protobuf::internal::NameOfEnum(
105     Field_Kind_descriptor(), value);
106 }
Field_Kind_Parse(const::std::string & name,Field_Kind * value)107 inline bool Field_Kind_Parse(
108     const ::std::string& name, Field_Kind* value) {
109   return ::google::protobuf::internal::ParseNamedEnum<Field_Kind>(
110     Field_Kind_descriptor(), name, value);
111 }
112 enum Field_Cardinality {
113   Field_Cardinality_CARDINALITY_UNKNOWN = 0,
114   Field_Cardinality_CARDINALITY_OPTIONAL = 1,
115   Field_Cardinality_CARDINALITY_REQUIRED = 2,
116   Field_Cardinality_CARDINALITY_REPEATED = 3,
117   Field_Cardinality_Field_Cardinality_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
118   Field_Cardinality_Field_Cardinality_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
119 };
120 LIBPROTOBUF_EXPORT bool Field_Cardinality_IsValid(int value);
121 const Field_Cardinality Field_Cardinality_Cardinality_MIN = Field_Cardinality_CARDINALITY_UNKNOWN;
122 const Field_Cardinality Field_Cardinality_Cardinality_MAX = Field_Cardinality_CARDINALITY_REPEATED;
123 const int Field_Cardinality_Cardinality_ARRAYSIZE = Field_Cardinality_Cardinality_MAX + 1;
124 
125 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* Field_Cardinality_descriptor();
Field_Cardinality_Name(Field_Cardinality value)126 inline const ::std::string& Field_Cardinality_Name(Field_Cardinality value) {
127   return ::google::protobuf::internal::NameOfEnum(
128     Field_Cardinality_descriptor(), value);
129 }
Field_Cardinality_Parse(const::std::string & name,Field_Cardinality * value)130 inline bool Field_Cardinality_Parse(
131     const ::std::string& name, Field_Cardinality* value) {
132   return ::google::protobuf::internal::ParseNamedEnum<Field_Cardinality>(
133     Field_Cardinality_descriptor(), name, value);
134 }
135 enum Syntax {
136   SYNTAX_PROTO2 = 0,
137   SYNTAX_PROTO3 = 1,
138   Syntax_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
139   Syntax_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
140 };
141 LIBPROTOBUF_EXPORT bool Syntax_IsValid(int value);
142 const Syntax Syntax_MIN = SYNTAX_PROTO2;
143 const Syntax Syntax_MAX = SYNTAX_PROTO3;
144 const int Syntax_ARRAYSIZE = Syntax_MAX + 1;
145 
146 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* Syntax_descriptor();
Syntax_Name(Syntax value)147 inline const ::std::string& Syntax_Name(Syntax value) {
148   return ::google::protobuf::internal::NameOfEnum(
149     Syntax_descriptor(), value);
150 }
Syntax_Parse(const::std::string & name,Syntax * value)151 inline bool Syntax_Parse(
152     const ::std::string& name, Syntax* value) {
153   return ::google::protobuf::internal::ParseNamedEnum<Syntax>(
154     Syntax_descriptor(), name, value);
155 }
156 // ===================================================================
157 
158 class LIBPROTOBUF_EXPORT Type : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Type) */ {
159  public:
160   Type();
161   virtual ~Type();
162 
163   Type(const Type& from);
164 
165   inline Type& operator=(const Type& from) {
166     CopyFrom(from);
167     return *this;
168   }
169   #if LANG_CXX11
Type(Type && from)170   Type(Type&& from) noexcept
171     : Type() {
172     *this = ::std::move(from);
173   }
174 
175   inline Type& operator=(Type&& from) noexcept {
176     if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
177       if (this != &from) InternalSwap(&from);
178     } else {
179       CopyFrom(from);
180     }
181     return *this;
182   }
183   #endif
GetArena()184   inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {
185     return GetArenaNoVirtual();
186   }
GetMaybeArenaPointer()187   inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {
188     return MaybeArenaPtr();
189   }
190   static const ::google::protobuf::Descriptor* descriptor();
191   static const Type& default_instance();
192 
internal_default_instance()193   static inline const Type* internal_default_instance() {
194     return reinterpret_cast<const Type*>(
195                &_Type_default_instance_);
196   }
197   static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
198     0;
199 
200   void UnsafeArenaSwap(Type* other);
201   void Swap(Type* other);
swap(Type & a,Type & b)202   friend void swap(Type& a, Type& b) {
203     a.Swap(&b);
204   }
205 
206   // implements Message ----------------------------------------------
207 
New()208   inline Type* New() const PROTOBUF_FINAL { return New(NULL); }
209 
210   Type* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
211   void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
212   void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
213   void CopyFrom(const Type& from);
214   void MergeFrom(const Type& from);
215   void Clear() PROTOBUF_FINAL;
216   bool IsInitialized() const PROTOBUF_FINAL;
217 
218   size_t ByteSizeLong() const PROTOBUF_FINAL;
219   bool MergePartialFromCodedStream(
220       ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
221   void SerializeWithCachedSizes(
222       ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
223   ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
224       bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()225   int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
226   private:
227   void SharedCtor();
228   void SharedDtor();
229   void SetCachedSize(int size) const PROTOBUF_FINAL;
230   void InternalSwap(Type* other);
231   protected:
232   explicit Type(::google::protobuf::Arena* arena);
233   private:
234   static void ArenaDtor(void* object);
235   inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
236   private:
GetArenaNoVirtual()237   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
238     return _internal_metadata_.arena();
239   }
MaybeArenaPtr()240   inline void* MaybeArenaPtr() const {
241     return _internal_metadata_.raw_arena_ptr();
242   }
243   public:
244 
245   ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
246 
247   // nested types ----------------------------------------------------
248 
249   // accessors -------------------------------------------------------
250 
251   // repeated .google.protobuf.Field fields = 2;
252   int fields_size() const;
253   void clear_fields();
254   static const int kFieldsFieldNumber = 2;
255   const ::google::protobuf::Field& fields(int index) const;
256   ::google::protobuf::Field* mutable_fields(int index);
257   ::google::protobuf::Field* add_fields();
258   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >*
259       mutable_fields();
260   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >&
261       fields() const;
262 
263   // repeated string oneofs = 3;
264   int oneofs_size() const;
265   void clear_oneofs();
266   static const int kOneofsFieldNumber = 3;
267   const ::std::string& oneofs(int index) const;
268   ::std::string* mutable_oneofs(int index);
269   void set_oneofs(int index, const ::std::string& value);
270   #if LANG_CXX11
271   void set_oneofs(int index, ::std::string&& value);
272   #endif
273   void set_oneofs(int index, const char* value);
274   void set_oneofs(int index, const char* value, size_t size);
275   ::std::string* add_oneofs();
276   void add_oneofs(const ::std::string& value);
277   #if LANG_CXX11
278   void add_oneofs(::std::string&& value);
279   #endif
280   void add_oneofs(const char* value);
281   void add_oneofs(const char* value, size_t size);
282   const ::google::protobuf::RepeatedPtrField< ::std::string>& oneofs() const;
283   ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_oneofs();
284 
285   // repeated .google.protobuf.Option options = 4;
286   int options_size() const;
287   void clear_options();
288   static const int kOptionsFieldNumber = 4;
289   const ::google::protobuf::Option& options(int index) const;
290   ::google::protobuf::Option* mutable_options(int index);
291   ::google::protobuf::Option* add_options();
292   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
293       mutable_options();
294   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
295       options() const;
296 
297   // string name = 1;
298   void clear_name();
299   static const int kNameFieldNumber = 1;
300   const ::std::string& name() const;
301   void set_name(const ::std::string& value);
302   #if LANG_CXX11
303   void set_name(::std::string&& value);
304   #endif
305   void set_name(const char* value);
306   void set_name(const char* value, size_t size);
307   ::std::string* mutable_name();
308   ::std::string* release_name();
309   void set_allocated_name(::std::string* name);
310   ::std::string* unsafe_arena_release_name();
311   void unsafe_arena_set_allocated_name(
312       ::std::string* name);
313 
314   // .google.protobuf.SourceContext source_context = 5;
315   bool has_source_context() const;
316   void clear_source_context();
317   static const int kSourceContextFieldNumber = 5;
318   private:
319   void _slow_mutable_source_context();
320   ::google::protobuf::SourceContext* _slow_release_source_context();
321   public:
322   const ::google::protobuf::SourceContext& source_context() const;
323   ::google::protobuf::SourceContext* mutable_source_context();
324   ::google::protobuf::SourceContext* release_source_context();
325   void set_allocated_source_context(::google::protobuf::SourceContext* source_context);
326   ::google::protobuf::SourceContext* unsafe_arena_release_source_context();
327   void unsafe_arena_set_allocated_source_context(
328       ::google::protobuf::SourceContext* source_context);
329 
330   // .google.protobuf.Syntax syntax = 6;
331   void clear_syntax();
332   static const int kSyntaxFieldNumber = 6;
333   ::google::protobuf::Syntax syntax() const;
334   void set_syntax(::google::protobuf::Syntax value);
335 
336   // @@protoc_insertion_point(class_scope:google.protobuf.Type)
337  private:
338 
339   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
340   template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
341   typedef void InternalArenaConstructable_;
342   typedef void DestructorSkippable_;
343   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field > fields_;
344   ::google::protobuf::RepeatedPtrField< ::std::string> oneofs_;
345   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
346   ::google::protobuf::internal::ArenaStringPtr name_;
347   ::google::protobuf::SourceContext* source_context_;
348   int syntax_;
349   mutable int _cached_size_;
350   friend struct protobuf_google_2fprotobuf_2ftype_2eproto::TableStruct;
351 };
352 // -------------------------------------------------------------------
353 
354 class LIBPROTOBUF_EXPORT Field : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Field) */ {
355  public:
356   Field();
357   virtual ~Field();
358 
359   Field(const Field& from);
360 
361   inline Field& operator=(const Field& from) {
362     CopyFrom(from);
363     return *this;
364   }
365   #if LANG_CXX11
Field(Field && from)366   Field(Field&& from) noexcept
367     : Field() {
368     *this = ::std::move(from);
369   }
370 
371   inline Field& operator=(Field&& from) noexcept {
372     if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
373       if (this != &from) InternalSwap(&from);
374     } else {
375       CopyFrom(from);
376     }
377     return *this;
378   }
379   #endif
GetArena()380   inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {
381     return GetArenaNoVirtual();
382   }
GetMaybeArenaPointer()383   inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {
384     return MaybeArenaPtr();
385   }
386   static const ::google::protobuf::Descriptor* descriptor();
387   static const Field& default_instance();
388 
internal_default_instance()389   static inline const Field* internal_default_instance() {
390     return reinterpret_cast<const Field*>(
391                &_Field_default_instance_);
392   }
393   static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
394     1;
395 
396   void UnsafeArenaSwap(Field* other);
397   void Swap(Field* other);
swap(Field & a,Field & b)398   friend void swap(Field& a, Field& b) {
399     a.Swap(&b);
400   }
401 
402   // implements Message ----------------------------------------------
403 
New()404   inline Field* New() const PROTOBUF_FINAL { return New(NULL); }
405 
406   Field* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
407   void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
408   void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
409   void CopyFrom(const Field& from);
410   void MergeFrom(const Field& from);
411   void Clear() PROTOBUF_FINAL;
412   bool IsInitialized() const PROTOBUF_FINAL;
413 
414   size_t ByteSizeLong() const PROTOBUF_FINAL;
415   bool MergePartialFromCodedStream(
416       ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
417   void SerializeWithCachedSizes(
418       ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
419   ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
420       bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()421   int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
422   private:
423   void SharedCtor();
424   void SharedDtor();
425   void SetCachedSize(int size) const PROTOBUF_FINAL;
426   void InternalSwap(Field* other);
427   protected:
428   explicit Field(::google::protobuf::Arena* arena);
429   private:
430   static void ArenaDtor(void* object);
431   inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
432   private:
GetArenaNoVirtual()433   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
434     return _internal_metadata_.arena();
435   }
MaybeArenaPtr()436   inline void* MaybeArenaPtr() const {
437     return _internal_metadata_.raw_arena_ptr();
438   }
439   public:
440 
441   ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
442 
443   // nested types ----------------------------------------------------
444 
445   typedef Field_Kind Kind;
446   static const Kind TYPE_UNKNOWN =
447     Field_Kind_TYPE_UNKNOWN;
448   static const Kind TYPE_DOUBLE =
449     Field_Kind_TYPE_DOUBLE;
450   static const Kind TYPE_FLOAT =
451     Field_Kind_TYPE_FLOAT;
452   static const Kind TYPE_INT64 =
453     Field_Kind_TYPE_INT64;
454   static const Kind TYPE_UINT64 =
455     Field_Kind_TYPE_UINT64;
456   static const Kind TYPE_INT32 =
457     Field_Kind_TYPE_INT32;
458   static const Kind TYPE_FIXED64 =
459     Field_Kind_TYPE_FIXED64;
460   static const Kind TYPE_FIXED32 =
461     Field_Kind_TYPE_FIXED32;
462   static const Kind TYPE_BOOL =
463     Field_Kind_TYPE_BOOL;
464   static const Kind TYPE_STRING =
465     Field_Kind_TYPE_STRING;
466   static const Kind TYPE_GROUP =
467     Field_Kind_TYPE_GROUP;
468   static const Kind TYPE_MESSAGE =
469     Field_Kind_TYPE_MESSAGE;
470   static const Kind TYPE_BYTES =
471     Field_Kind_TYPE_BYTES;
472   static const Kind TYPE_UINT32 =
473     Field_Kind_TYPE_UINT32;
474   static const Kind TYPE_ENUM =
475     Field_Kind_TYPE_ENUM;
476   static const Kind TYPE_SFIXED32 =
477     Field_Kind_TYPE_SFIXED32;
478   static const Kind TYPE_SFIXED64 =
479     Field_Kind_TYPE_SFIXED64;
480   static const Kind TYPE_SINT32 =
481     Field_Kind_TYPE_SINT32;
482   static const Kind TYPE_SINT64 =
483     Field_Kind_TYPE_SINT64;
Kind_IsValid(int value)484   static inline bool Kind_IsValid(int value) {
485     return Field_Kind_IsValid(value);
486   }
487   static const Kind Kind_MIN =
488     Field_Kind_Kind_MIN;
489   static const Kind Kind_MAX =
490     Field_Kind_Kind_MAX;
491   static const int Kind_ARRAYSIZE =
492     Field_Kind_Kind_ARRAYSIZE;
493   static inline const ::google::protobuf::EnumDescriptor*
Kind_descriptor()494   Kind_descriptor() {
495     return Field_Kind_descriptor();
496   }
Kind_Name(Kind value)497   static inline const ::std::string& Kind_Name(Kind value) {
498     return Field_Kind_Name(value);
499   }
Kind_Parse(const::std::string & name,Kind * value)500   static inline bool Kind_Parse(const ::std::string& name,
501       Kind* value) {
502     return Field_Kind_Parse(name, value);
503   }
504 
505   typedef Field_Cardinality Cardinality;
506   static const Cardinality CARDINALITY_UNKNOWN =
507     Field_Cardinality_CARDINALITY_UNKNOWN;
508   static const Cardinality CARDINALITY_OPTIONAL =
509     Field_Cardinality_CARDINALITY_OPTIONAL;
510   static const Cardinality CARDINALITY_REQUIRED =
511     Field_Cardinality_CARDINALITY_REQUIRED;
512   static const Cardinality CARDINALITY_REPEATED =
513     Field_Cardinality_CARDINALITY_REPEATED;
Cardinality_IsValid(int value)514   static inline bool Cardinality_IsValid(int value) {
515     return Field_Cardinality_IsValid(value);
516   }
517   static const Cardinality Cardinality_MIN =
518     Field_Cardinality_Cardinality_MIN;
519   static const Cardinality Cardinality_MAX =
520     Field_Cardinality_Cardinality_MAX;
521   static const int Cardinality_ARRAYSIZE =
522     Field_Cardinality_Cardinality_ARRAYSIZE;
523   static inline const ::google::protobuf::EnumDescriptor*
Cardinality_descriptor()524   Cardinality_descriptor() {
525     return Field_Cardinality_descriptor();
526   }
Cardinality_Name(Cardinality value)527   static inline const ::std::string& Cardinality_Name(Cardinality value) {
528     return Field_Cardinality_Name(value);
529   }
Cardinality_Parse(const::std::string & name,Cardinality * value)530   static inline bool Cardinality_Parse(const ::std::string& name,
531       Cardinality* value) {
532     return Field_Cardinality_Parse(name, value);
533   }
534 
535   // accessors -------------------------------------------------------
536 
537   // repeated .google.protobuf.Option options = 9;
538   int options_size() const;
539   void clear_options();
540   static const int kOptionsFieldNumber = 9;
541   const ::google::protobuf::Option& options(int index) const;
542   ::google::protobuf::Option* mutable_options(int index);
543   ::google::protobuf::Option* add_options();
544   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
545       mutable_options();
546   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
547       options() const;
548 
549   // string name = 4;
550   void clear_name();
551   static const int kNameFieldNumber = 4;
552   const ::std::string& name() const;
553   void set_name(const ::std::string& value);
554   #if LANG_CXX11
555   void set_name(::std::string&& value);
556   #endif
557   void set_name(const char* value);
558   void set_name(const char* value, size_t size);
559   ::std::string* mutable_name();
560   ::std::string* release_name();
561   void set_allocated_name(::std::string* name);
562   ::std::string* unsafe_arena_release_name();
563   void unsafe_arena_set_allocated_name(
564       ::std::string* name);
565 
566   // string type_url = 6;
567   void clear_type_url();
568   static const int kTypeUrlFieldNumber = 6;
569   const ::std::string& type_url() const;
570   void set_type_url(const ::std::string& value);
571   #if LANG_CXX11
572   void set_type_url(::std::string&& value);
573   #endif
574   void set_type_url(const char* value);
575   void set_type_url(const char* value, size_t size);
576   ::std::string* mutable_type_url();
577   ::std::string* release_type_url();
578   void set_allocated_type_url(::std::string* type_url);
579   ::std::string* unsafe_arena_release_type_url();
580   void unsafe_arena_set_allocated_type_url(
581       ::std::string* type_url);
582 
583   // string json_name = 10;
584   void clear_json_name();
585   static const int kJsonNameFieldNumber = 10;
586   const ::std::string& json_name() const;
587   void set_json_name(const ::std::string& value);
588   #if LANG_CXX11
589   void set_json_name(::std::string&& value);
590   #endif
591   void set_json_name(const char* value);
592   void set_json_name(const char* value, size_t size);
593   ::std::string* mutable_json_name();
594   ::std::string* release_json_name();
595   void set_allocated_json_name(::std::string* json_name);
596   ::std::string* unsafe_arena_release_json_name();
597   void unsafe_arena_set_allocated_json_name(
598       ::std::string* json_name);
599 
600   // string default_value = 11;
601   void clear_default_value();
602   static const int kDefaultValueFieldNumber = 11;
603   const ::std::string& default_value() const;
604   void set_default_value(const ::std::string& value);
605   #if LANG_CXX11
606   void set_default_value(::std::string&& value);
607   #endif
608   void set_default_value(const char* value);
609   void set_default_value(const char* value, size_t size);
610   ::std::string* mutable_default_value();
611   ::std::string* release_default_value();
612   void set_allocated_default_value(::std::string* default_value);
613   ::std::string* unsafe_arena_release_default_value();
614   void unsafe_arena_set_allocated_default_value(
615       ::std::string* default_value);
616 
617   // .google.protobuf.Field.Kind kind = 1;
618   void clear_kind();
619   static const int kKindFieldNumber = 1;
620   ::google::protobuf::Field_Kind kind() const;
621   void set_kind(::google::protobuf::Field_Kind value);
622 
623   // .google.protobuf.Field.Cardinality cardinality = 2;
624   void clear_cardinality();
625   static const int kCardinalityFieldNumber = 2;
626   ::google::protobuf::Field_Cardinality cardinality() const;
627   void set_cardinality(::google::protobuf::Field_Cardinality value);
628 
629   // int32 number = 3;
630   void clear_number();
631   static const int kNumberFieldNumber = 3;
632   ::google::protobuf::int32 number() const;
633   void set_number(::google::protobuf::int32 value);
634 
635   // int32 oneof_index = 7;
636   void clear_oneof_index();
637   static const int kOneofIndexFieldNumber = 7;
638   ::google::protobuf::int32 oneof_index() const;
639   void set_oneof_index(::google::protobuf::int32 value);
640 
641   // bool packed = 8;
642   void clear_packed();
643   static const int kPackedFieldNumber = 8;
644   bool packed() const;
645   void set_packed(bool value);
646 
647   // @@protoc_insertion_point(class_scope:google.protobuf.Field)
648  private:
649 
650   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
651   template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
652   typedef void InternalArenaConstructable_;
653   typedef void DestructorSkippable_;
654   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
655   ::google::protobuf::internal::ArenaStringPtr name_;
656   ::google::protobuf::internal::ArenaStringPtr type_url_;
657   ::google::protobuf::internal::ArenaStringPtr json_name_;
658   ::google::protobuf::internal::ArenaStringPtr default_value_;
659   int kind_;
660   int cardinality_;
661   ::google::protobuf::int32 number_;
662   ::google::protobuf::int32 oneof_index_;
663   bool packed_;
664   mutable int _cached_size_;
665   friend struct protobuf_google_2fprotobuf_2ftype_2eproto::TableStruct;
666 };
667 // -------------------------------------------------------------------
668 
669 class LIBPROTOBUF_EXPORT Enum : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Enum) */ {
670  public:
671   Enum();
672   virtual ~Enum();
673 
674   Enum(const Enum& from);
675 
676   inline Enum& operator=(const Enum& from) {
677     CopyFrom(from);
678     return *this;
679   }
680   #if LANG_CXX11
Enum(Enum && from)681   Enum(Enum&& from) noexcept
682     : Enum() {
683     *this = ::std::move(from);
684   }
685 
686   inline Enum& operator=(Enum&& from) noexcept {
687     if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
688       if (this != &from) InternalSwap(&from);
689     } else {
690       CopyFrom(from);
691     }
692     return *this;
693   }
694   #endif
GetArena()695   inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {
696     return GetArenaNoVirtual();
697   }
GetMaybeArenaPointer()698   inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {
699     return MaybeArenaPtr();
700   }
701   static const ::google::protobuf::Descriptor* descriptor();
702   static const Enum& default_instance();
703 
internal_default_instance()704   static inline const Enum* internal_default_instance() {
705     return reinterpret_cast<const Enum*>(
706                &_Enum_default_instance_);
707   }
708   static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
709     2;
710 
711   void UnsafeArenaSwap(Enum* other);
712   void Swap(Enum* other);
swap(Enum & a,Enum & b)713   friend void swap(Enum& a, Enum& b) {
714     a.Swap(&b);
715   }
716 
717   // implements Message ----------------------------------------------
718 
New()719   inline Enum* New() const PROTOBUF_FINAL { return New(NULL); }
720 
721   Enum* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
722   void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
723   void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
724   void CopyFrom(const Enum& from);
725   void MergeFrom(const Enum& from);
726   void Clear() PROTOBUF_FINAL;
727   bool IsInitialized() const PROTOBUF_FINAL;
728 
729   size_t ByteSizeLong() const PROTOBUF_FINAL;
730   bool MergePartialFromCodedStream(
731       ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
732   void SerializeWithCachedSizes(
733       ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
734   ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
735       bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()736   int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
737   private:
738   void SharedCtor();
739   void SharedDtor();
740   void SetCachedSize(int size) const PROTOBUF_FINAL;
741   void InternalSwap(Enum* other);
742   protected:
743   explicit Enum(::google::protobuf::Arena* arena);
744   private:
745   static void ArenaDtor(void* object);
746   inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
747   private:
GetArenaNoVirtual()748   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
749     return _internal_metadata_.arena();
750   }
MaybeArenaPtr()751   inline void* MaybeArenaPtr() const {
752     return _internal_metadata_.raw_arena_ptr();
753   }
754   public:
755 
756   ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
757 
758   // nested types ----------------------------------------------------
759 
760   // accessors -------------------------------------------------------
761 
762   // repeated .google.protobuf.EnumValue enumvalue = 2;
763   int enumvalue_size() const;
764   void clear_enumvalue();
765   static const int kEnumvalueFieldNumber = 2;
766   const ::google::protobuf::EnumValue& enumvalue(int index) const;
767   ::google::protobuf::EnumValue* mutable_enumvalue(int index);
768   ::google::protobuf::EnumValue* add_enumvalue();
769   ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >*
770       mutable_enumvalue();
771   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >&
772       enumvalue() const;
773 
774   // repeated .google.protobuf.Option options = 3;
775   int options_size() const;
776   void clear_options();
777   static const int kOptionsFieldNumber = 3;
778   const ::google::protobuf::Option& options(int index) const;
779   ::google::protobuf::Option* mutable_options(int index);
780   ::google::protobuf::Option* add_options();
781   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
782       mutable_options();
783   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
784       options() const;
785 
786   // string name = 1;
787   void clear_name();
788   static const int kNameFieldNumber = 1;
789   const ::std::string& name() const;
790   void set_name(const ::std::string& value);
791   #if LANG_CXX11
792   void set_name(::std::string&& value);
793   #endif
794   void set_name(const char* value);
795   void set_name(const char* value, size_t size);
796   ::std::string* mutable_name();
797   ::std::string* release_name();
798   void set_allocated_name(::std::string* name);
799   ::std::string* unsafe_arena_release_name();
800   void unsafe_arena_set_allocated_name(
801       ::std::string* name);
802 
803   // .google.protobuf.SourceContext source_context = 4;
804   bool has_source_context() const;
805   void clear_source_context();
806   static const int kSourceContextFieldNumber = 4;
807   private:
808   void _slow_mutable_source_context();
809   ::google::protobuf::SourceContext* _slow_release_source_context();
810   public:
811   const ::google::protobuf::SourceContext& source_context() const;
812   ::google::protobuf::SourceContext* mutable_source_context();
813   ::google::protobuf::SourceContext* release_source_context();
814   void set_allocated_source_context(::google::protobuf::SourceContext* source_context);
815   ::google::protobuf::SourceContext* unsafe_arena_release_source_context();
816   void unsafe_arena_set_allocated_source_context(
817       ::google::protobuf::SourceContext* source_context);
818 
819   // .google.protobuf.Syntax syntax = 5;
820   void clear_syntax();
821   static const int kSyntaxFieldNumber = 5;
822   ::google::protobuf::Syntax syntax() const;
823   void set_syntax(::google::protobuf::Syntax value);
824 
825   // @@protoc_insertion_point(class_scope:google.protobuf.Enum)
826  private:
827 
828   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
829   template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
830   typedef void InternalArenaConstructable_;
831   typedef void DestructorSkippable_;
832   ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue > enumvalue_;
833   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
834   ::google::protobuf::internal::ArenaStringPtr name_;
835   ::google::protobuf::SourceContext* source_context_;
836   int syntax_;
837   mutable int _cached_size_;
838   friend struct protobuf_google_2fprotobuf_2ftype_2eproto::TableStruct;
839 };
840 // -------------------------------------------------------------------
841 
842 class LIBPROTOBUF_EXPORT EnumValue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValue) */ {
843  public:
844   EnumValue();
845   virtual ~EnumValue();
846 
847   EnumValue(const EnumValue& from);
848 
849   inline EnumValue& operator=(const EnumValue& from) {
850     CopyFrom(from);
851     return *this;
852   }
853   #if LANG_CXX11
EnumValue(EnumValue && from)854   EnumValue(EnumValue&& from) noexcept
855     : EnumValue() {
856     *this = ::std::move(from);
857   }
858 
859   inline EnumValue& operator=(EnumValue&& from) noexcept {
860     if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
861       if (this != &from) InternalSwap(&from);
862     } else {
863       CopyFrom(from);
864     }
865     return *this;
866   }
867   #endif
GetArena()868   inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {
869     return GetArenaNoVirtual();
870   }
GetMaybeArenaPointer()871   inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {
872     return MaybeArenaPtr();
873   }
874   static const ::google::protobuf::Descriptor* descriptor();
875   static const EnumValue& default_instance();
876 
internal_default_instance()877   static inline const EnumValue* internal_default_instance() {
878     return reinterpret_cast<const EnumValue*>(
879                &_EnumValue_default_instance_);
880   }
881   static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
882     3;
883 
884   void UnsafeArenaSwap(EnumValue* other);
885   void Swap(EnumValue* other);
swap(EnumValue & a,EnumValue & b)886   friend void swap(EnumValue& a, EnumValue& b) {
887     a.Swap(&b);
888   }
889 
890   // implements Message ----------------------------------------------
891 
New()892   inline EnumValue* New() const PROTOBUF_FINAL { return New(NULL); }
893 
894   EnumValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
895   void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
896   void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
897   void CopyFrom(const EnumValue& from);
898   void MergeFrom(const EnumValue& from);
899   void Clear() PROTOBUF_FINAL;
900   bool IsInitialized() const PROTOBUF_FINAL;
901 
902   size_t ByteSizeLong() const PROTOBUF_FINAL;
903   bool MergePartialFromCodedStream(
904       ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
905   void SerializeWithCachedSizes(
906       ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
907   ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
908       bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()909   int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
910   private:
911   void SharedCtor();
912   void SharedDtor();
913   void SetCachedSize(int size) const PROTOBUF_FINAL;
914   void InternalSwap(EnumValue* other);
915   protected:
916   explicit EnumValue(::google::protobuf::Arena* arena);
917   private:
918   static void ArenaDtor(void* object);
919   inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
920   private:
GetArenaNoVirtual()921   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
922     return _internal_metadata_.arena();
923   }
MaybeArenaPtr()924   inline void* MaybeArenaPtr() const {
925     return _internal_metadata_.raw_arena_ptr();
926   }
927   public:
928 
929   ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
930 
931   // nested types ----------------------------------------------------
932 
933   // accessors -------------------------------------------------------
934 
935   // repeated .google.protobuf.Option options = 3;
936   int options_size() const;
937   void clear_options();
938   static const int kOptionsFieldNumber = 3;
939   const ::google::protobuf::Option& options(int index) const;
940   ::google::protobuf::Option* mutable_options(int index);
941   ::google::protobuf::Option* add_options();
942   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
943       mutable_options();
944   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
945       options() const;
946 
947   // string name = 1;
948   void clear_name();
949   static const int kNameFieldNumber = 1;
950   const ::std::string& name() const;
951   void set_name(const ::std::string& value);
952   #if LANG_CXX11
953   void set_name(::std::string&& value);
954   #endif
955   void set_name(const char* value);
956   void set_name(const char* value, size_t size);
957   ::std::string* mutable_name();
958   ::std::string* release_name();
959   void set_allocated_name(::std::string* name);
960   ::std::string* unsafe_arena_release_name();
961   void unsafe_arena_set_allocated_name(
962       ::std::string* name);
963 
964   // int32 number = 2;
965   void clear_number();
966   static const int kNumberFieldNumber = 2;
967   ::google::protobuf::int32 number() const;
968   void set_number(::google::protobuf::int32 value);
969 
970   // @@protoc_insertion_point(class_scope:google.protobuf.EnumValue)
971  private:
972 
973   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
974   template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
975   typedef void InternalArenaConstructable_;
976   typedef void DestructorSkippable_;
977   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
978   ::google::protobuf::internal::ArenaStringPtr name_;
979   ::google::protobuf::int32 number_;
980   mutable int _cached_size_;
981   friend struct protobuf_google_2fprotobuf_2ftype_2eproto::TableStruct;
982 };
983 // -------------------------------------------------------------------
984 
985 class LIBPROTOBUF_EXPORT Option : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Option) */ {
986  public:
987   Option();
988   virtual ~Option();
989 
990   Option(const Option& from);
991 
992   inline Option& operator=(const Option& from) {
993     CopyFrom(from);
994     return *this;
995   }
996   #if LANG_CXX11
Option(Option && from)997   Option(Option&& from) noexcept
998     : Option() {
999     *this = ::std::move(from);
1000   }
1001 
1002   inline Option& operator=(Option&& from) noexcept {
1003     if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1004       if (this != &from) InternalSwap(&from);
1005     } else {
1006       CopyFrom(from);
1007     }
1008     return *this;
1009   }
1010   #endif
GetArena()1011   inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {
1012     return GetArenaNoVirtual();
1013   }
GetMaybeArenaPointer()1014   inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {
1015     return MaybeArenaPtr();
1016   }
1017   static const ::google::protobuf::Descriptor* descriptor();
1018   static const Option& default_instance();
1019 
internal_default_instance()1020   static inline const Option* internal_default_instance() {
1021     return reinterpret_cast<const Option*>(
1022                &_Option_default_instance_);
1023   }
1024   static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1025     4;
1026 
1027   void UnsafeArenaSwap(Option* other);
1028   void Swap(Option* other);
swap(Option & a,Option & b)1029   friend void swap(Option& a, Option& b) {
1030     a.Swap(&b);
1031   }
1032 
1033   // implements Message ----------------------------------------------
1034 
New()1035   inline Option* New() const PROTOBUF_FINAL { return New(NULL); }
1036 
1037   Option* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1038   void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1039   void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1040   void CopyFrom(const Option& from);
1041   void MergeFrom(const Option& from);
1042   void Clear() PROTOBUF_FINAL;
1043   bool IsInitialized() const PROTOBUF_FINAL;
1044 
1045   size_t ByteSizeLong() const PROTOBUF_FINAL;
1046   bool MergePartialFromCodedStream(
1047       ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1048   void SerializeWithCachedSizes(
1049       ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1050   ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1051       bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()1052   int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1053   private:
1054   void SharedCtor();
1055   void SharedDtor();
1056   void SetCachedSize(int size) const PROTOBUF_FINAL;
1057   void InternalSwap(Option* other);
1058   protected:
1059   explicit Option(::google::protobuf::Arena* arena);
1060   private:
1061   static void ArenaDtor(void* object);
1062   inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
1063   private:
GetArenaNoVirtual()1064   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1065     return _internal_metadata_.arena();
1066   }
MaybeArenaPtr()1067   inline void* MaybeArenaPtr() const {
1068     return _internal_metadata_.raw_arena_ptr();
1069   }
1070   public:
1071 
1072   ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1073 
1074   // nested types ----------------------------------------------------
1075 
1076   // accessors -------------------------------------------------------
1077 
1078   // string name = 1;
1079   void clear_name();
1080   static const int kNameFieldNumber = 1;
1081   const ::std::string& name() const;
1082   void set_name(const ::std::string& value);
1083   #if LANG_CXX11
1084   void set_name(::std::string&& value);
1085   #endif
1086   void set_name(const char* value);
1087   void set_name(const char* value, size_t size);
1088   ::std::string* mutable_name();
1089   ::std::string* release_name();
1090   void set_allocated_name(::std::string* name);
1091   ::std::string* unsafe_arena_release_name();
1092   void unsafe_arena_set_allocated_name(
1093       ::std::string* name);
1094 
1095   // .google.protobuf.Any value = 2;
1096   bool has_value() const;
1097   void clear_value();
1098   static const int kValueFieldNumber = 2;
1099   private:
1100   void _slow_mutable_value();
1101   ::google::protobuf::Any* _slow_release_value();
1102   public:
1103   const ::google::protobuf::Any& value() const;
1104   ::google::protobuf::Any* mutable_value();
1105   ::google::protobuf::Any* release_value();
1106   void set_allocated_value(::google::protobuf::Any* value);
1107   ::google::protobuf::Any* unsafe_arena_release_value();
1108   void unsafe_arena_set_allocated_value(
1109       ::google::protobuf::Any* value);
1110 
1111   // @@protoc_insertion_point(class_scope:google.protobuf.Option)
1112  private:
1113 
1114   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1115   template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
1116   typedef void InternalArenaConstructable_;
1117   typedef void DestructorSkippable_;
1118   ::google::protobuf::internal::ArenaStringPtr name_;
1119   ::google::protobuf::Any* value_;
1120   mutable int _cached_size_;
1121   friend struct protobuf_google_2fprotobuf_2ftype_2eproto::TableStruct;
1122 };
1123 // ===================================================================
1124 
1125 
1126 // ===================================================================
1127 
1128 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
1129 #ifdef __GNUC__
1130   #pragma GCC diagnostic push
1131   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1132 #endif  // __GNUC__
1133 // Type
1134 
1135 // string name = 1;
clear_name()1136 inline void Type::clear_name() {
1137   name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1138 }
name()1139 inline const ::std::string& Type::name() const {
1140   // @@protoc_insertion_point(field_get:google.protobuf.Type.name)
1141   return name_.Get();
1142 }
set_name(const::std::string & value)1143 inline void Type::set_name(const ::std::string& value) {
1144 
1145   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1146   // @@protoc_insertion_point(field_set:google.protobuf.Type.name)
1147 }
1148 #if LANG_CXX11
set_name(::std::string && value)1149 inline void Type::set_name(::std::string&& value) {
1150 
1151   name_.Set(
1152     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1153   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Type.name)
1154 }
1155 #endif
set_name(const char * value)1156 inline void Type::set_name(const char* value) {
1157   GOOGLE_DCHECK(value != NULL);
1158 
1159   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1160               GetArenaNoVirtual());
1161   // @@protoc_insertion_point(field_set_char:google.protobuf.Type.name)
1162 }
set_name(const char * value,size_t size)1163 inline void Type::set_name(const char* value,
1164     size_t size) {
1165 
1166   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
1167       reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1168   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.name)
1169 }
mutable_name()1170 inline ::std::string* Type::mutable_name() {
1171 
1172   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.name)
1173   return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1174 }
release_name()1175 inline ::std::string* Type::release_name() {
1176   // @@protoc_insertion_point(field_release:google.protobuf.Type.name)
1177 
1178   return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1179 }
unsafe_arena_release_name()1180 inline ::std::string* Type::unsafe_arena_release_name() {
1181   // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Type.name)
1182   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1183 
1184   return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1185       GetArenaNoVirtual());
1186 }
set_allocated_name(::std::string * name)1187 inline void Type::set_allocated_name(::std::string* name) {
1188   if (name != NULL) {
1189 
1190   } else {
1191 
1192   }
1193   name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
1194       GetArenaNoVirtual());
1195   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.name)
1196 }
unsafe_arena_set_allocated_name(::std::string * name)1197 inline void Type::unsafe_arena_set_allocated_name(
1198     ::std::string* name) {
1199   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1200   if (name != NULL) {
1201 
1202   } else {
1203 
1204   }
1205   name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1206       name, GetArenaNoVirtual());
1207   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Type.name)
1208 }
1209 
1210 // repeated .google.protobuf.Field fields = 2;
fields_size()1211 inline int Type::fields_size() const {
1212   return fields_.size();
1213 }
clear_fields()1214 inline void Type::clear_fields() {
1215   fields_.Clear();
1216 }
fields(int index)1217 inline const ::google::protobuf::Field& Type::fields(int index) const {
1218   // @@protoc_insertion_point(field_get:google.protobuf.Type.fields)
1219   return fields_.Get(index);
1220 }
mutable_fields(int index)1221 inline ::google::protobuf::Field* Type::mutable_fields(int index) {
1222   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.fields)
1223   return fields_.Mutable(index);
1224 }
add_fields()1225 inline ::google::protobuf::Field* Type::add_fields() {
1226   // @@protoc_insertion_point(field_add:google.protobuf.Type.fields)
1227   return fields_.Add();
1228 }
1229 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >*
mutable_fields()1230 Type::mutable_fields() {
1231   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.fields)
1232   return &fields_;
1233 }
1234 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >&
fields()1235 Type::fields() const {
1236   // @@protoc_insertion_point(field_list:google.protobuf.Type.fields)
1237   return fields_;
1238 }
1239 
1240 // repeated string oneofs = 3;
oneofs_size()1241 inline int Type::oneofs_size() const {
1242   return oneofs_.size();
1243 }
clear_oneofs()1244 inline void Type::clear_oneofs() {
1245   oneofs_.Clear();
1246 }
oneofs(int index)1247 inline const ::std::string& Type::oneofs(int index) const {
1248   // @@protoc_insertion_point(field_get:google.protobuf.Type.oneofs)
1249   return oneofs_.Get(index);
1250 }
mutable_oneofs(int index)1251 inline ::std::string* Type::mutable_oneofs(int index) {
1252   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.oneofs)
1253   return oneofs_.Mutable(index);
1254 }
set_oneofs(int index,const::std::string & value)1255 inline void Type::set_oneofs(int index, const ::std::string& value) {
1256   // @@protoc_insertion_point(field_set:google.protobuf.Type.oneofs)
1257   oneofs_.Mutable(index)->assign(value);
1258 }
1259 #if LANG_CXX11
set_oneofs(int index,::std::string && value)1260 inline void Type::set_oneofs(int index, ::std::string&& value) {
1261   // @@protoc_insertion_point(field_set:google.protobuf.Type.oneofs)
1262   oneofs_.Mutable(index)->assign(std::move(value));
1263 }
1264 #endif
set_oneofs(int index,const char * value)1265 inline void Type::set_oneofs(int index, const char* value) {
1266   GOOGLE_DCHECK(value != NULL);
1267   oneofs_.Mutable(index)->assign(value);
1268   // @@protoc_insertion_point(field_set_char:google.protobuf.Type.oneofs)
1269 }
set_oneofs(int index,const char * value,size_t size)1270 inline void Type::set_oneofs(int index, const char* value, size_t size) {
1271   oneofs_.Mutable(index)->assign(
1272     reinterpret_cast<const char*>(value), size);
1273   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.oneofs)
1274 }
add_oneofs()1275 inline ::std::string* Type::add_oneofs() {
1276   // @@protoc_insertion_point(field_add_mutable:google.protobuf.Type.oneofs)
1277   return oneofs_.Add();
1278 }
add_oneofs(const::std::string & value)1279 inline void Type::add_oneofs(const ::std::string& value) {
1280   oneofs_.Add()->assign(value);
1281   // @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs)
1282 }
1283 #if LANG_CXX11
add_oneofs(::std::string && value)1284 inline void Type::add_oneofs(::std::string&& value) {
1285   oneofs_.Add(std::move(value));
1286   // @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs)
1287 }
1288 #endif
add_oneofs(const char * value)1289 inline void Type::add_oneofs(const char* value) {
1290   GOOGLE_DCHECK(value != NULL);
1291   oneofs_.Add()->assign(value);
1292   // @@protoc_insertion_point(field_add_char:google.protobuf.Type.oneofs)
1293 }
add_oneofs(const char * value,size_t size)1294 inline void Type::add_oneofs(const char* value, size_t size) {
1295   oneofs_.Add()->assign(reinterpret_cast<const char*>(value), size);
1296   // @@protoc_insertion_point(field_add_pointer:google.protobuf.Type.oneofs)
1297 }
1298 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
oneofs()1299 Type::oneofs() const {
1300   // @@protoc_insertion_point(field_list:google.protobuf.Type.oneofs)
1301   return oneofs_;
1302 }
1303 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_oneofs()1304 Type::mutable_oneofs() {
1305   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.oneofs)
1306   return &oneofs_;
1307 }
1308 
1309 // repeated .google.protobuf.Option options = 4;
options_size()1310 inline int Type::options_size() const {
1311   return options_.size();
1312 }
clear_options()1313 inline void Type::clear_options() {
1314   options_.Clear();
1315 }
options(int index)1316 inline const ::google::protobuf::Option& Type::options(int index) const {
1317   // @@protoc_insertion_point(field_get:google.protobuf.Type.options)
1318   return options_.Get(index);
1319 }
mutable_options(int index)1320 inline ::google::protobuf::Option* Type::mutable_options(int index) {
1321   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.options)
1322   return options_.Mutable(index);
1323 }
add_options()1324 inline ::google::protobuf::Option* Type::add_options() {
1325   // @@protoc_insertion_point(field_add:google.protobuf.Type.options)
1326   return options_.Add();
1327 }
1328 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
mutable_options()1329 Type::mutable_options() {
1330   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.options)
1331   return &options_;
1332 }
1333 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
options()1334 Type::options() const {
1335   // @@protoc_insertion_point(field_list:google.protobuf.Type.options)
1336   return options_;
1337 }
1338 
1339 // .google.protobuf.SourceContext source_context = 5;
has_source_context()1340 inline bool Type::has_source_context() const {
1341   return this != internal_default_instance() && source_context_ != NULL;
1342 }
clear_source_context()1343 inline void Type::clear_source_context() {
1344   if (GetArenaNoVirtual() == NULL && source_context_ != NULL) delete source_context_;
1345   source_context_ = NULL;
1346 }
source_context()1347 inline const ::google::protobuf::SourceContext& Type::source_context() const {
1348   const ::google::protobuf::SourceContext* p = source_context_;
1349   // @@protoc_insertion_point(field_get:google.protobuf.Type.source_context)
1350   return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::SourceContext*>(
1351       &::google::protobuf::_SourceContext_default_instance_);
1352 }
mutable_source_context()1353 inline ::google::protobuf::SourceContext* Type::mutable_source_context() {
1354 
1355   if (source_context_ == NULL) {
1356     _slow_mutable_source_context();
1357   }
1358   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.source_context)
1359   return source_context_;
1360 }
release_source_context()1361 inline ::google::protobuf::SourceContext* Type::release_source_context() {
1362   // @@protoc_insertion_point(field_release:google.protobuf.Type.source_context)
1363 
1364   if (GetArenaNoVirtual() != NULL) {
1365     return _slow_release_source_context();
1366   } else {
1367     ::google::protobuf::SourceContext* temp = source_context_;
1368     source_context_ = NULL;
1369     return temp;
1370   }
1371 }
set_allocated_source_context(::google::protobuf::SourceContext * source_context)1372 inline  void Type::set_allocated_source_context(::google::protobuf::SourceContext* source_context) {
1373   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1374   if (message_arena == NULL) {
1375     delete source_context_;
1376   }
1377   if (source_context != NULL) {
1378     if (message_arena != NULL) {
1379       message_arena->Own(source_context);
1380     }
1381   }
1382   source_context_ = source_context;
1383   if (source_context) {
1384 
1385   } else {
1386 
1387   }
1388   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.source_context)
1389 }
1390 
1391 // .google.protobuf.Syntax syntax = 6;
clear_syntax()1392 inline void Type::clear_syntax() {
1393   syntax_ = 0;
1394 }
syntax()1395 inline ::google::protobuf::Syntax Type::syntax() const {
1396   // @@protoc_insertion_point(field_get:google.protobuf.Type.syntax)
1397   return static_cast< ::google::protobuf::Syntax >(syntax_);
1398 }
set_syntax(::google::protobuf::Syntax value)1399 inline void Type::set_syntax(::google::protobuf::Syntax value) {
1400 
1401   syntax_ = value;
1402   // @@protoc_insertion_point(field_set:google.protobuf.Type.syntax)
1403 }
1404 
1405 // -------------------------------------------------------------------
1406 
1407 // Field
1408 
1409 // .google.protobuf.Field.Kind kind = 1;
clear_kind()1410 inline void Field::clear_kind() {
1411   kind_ = 0;
1412 }
kind()1413 inline ::google::protobuf::Field_Kind Field::kind() const {
1414   // @@protoc_insertion_point(field_get:google.protobuf.Field.kind)
1415   return static_cast< ::google::protobuf::Field_Kind >(kind_);
1416 }
set_kind(::google::protobuf::Field_Kind value)1417 inline void Field::set_kind(::google::protobuf::Field_Kind value) {
1418 
1419   kind_ = value;
1420   // @@protoc_insertion_point(field_set:google.protobuf.Field.kind)
1421 }
1422 
1423 // .google.protobuf.Field.Cardinality cardinality = 2;
clear_cardinality()1424 inline void Field::clear_cardinality() {
1425   cardinality_ = 0;
1426 }
cardinality()1427 inline ::google::protobuf::Field_Cardinality Field::cardinality() const {
1428   // @@protoc_insertion_point(field_get:google.protobuf.Field.cardinality)
1429   return static_cast< ::google::protobuf::Field_Cardinality >(cardinality_);
1430 }
set_cardinality(::google::protobuf::Field_Cardinality value)1431 inline void Field::set_cardinality(::google::protobuf::Field_Cardinality value) {
1432 
1433   cardinality_ = value;
1434   // @@protoc_insertion_point(field_set:google.protobuf.Field.cardinality)
1435 }
1436 
1437 // int32 number = 3;
clear_number()1438 inline void Field::clear_number() {
1439   number_ = 0;
1440 }
number()1441 inline ::google::protobuf::int32 Field::number() const {
1442   // @@protoc_insertion_point(field_get:google.protobuf.Field.number)
1443   return number_;
1444 }
set_number(::google::protobuf::int32 value)1445 inline void Field::set_number(::google::protobuf::int32 value) {
1446 
1447   number_ = value;
1448   // @@protoc_insertion_point(field_set:google.protobuf.Field.number)
1449 }
1450 
1451 // string name = 4;
clear_name()1452 inline void Field::clear_name() {
1453   name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1454 }
name()1455 inline const ::std::string& Field::name() const {
1456   // @@protoc_insertion_point(field_get:google.protobuf.Field.name)
1457   return name_.Get();
1458 }
set_name(const::std::string & value)1459 inline void Field::set_name(const ::std::string& value) {
1460 
1461   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1462   // @@protoc_insertion_point(field_set:google.protobuf.Field.name)
1463 }
1464 #if LANG_CXX11
set_name(::std::string && value)1465 inline void Field::set_name(::std::string&& value) {
1466 
1467   name_.Set(
1468     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1469   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.name)
1470 }
1471 #endif
set_name(const char * value)1472 inline void Field::set_name(const char* value) {
1473   GOOGLE_DCHECK(value != NULL);
1474 
1475   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1476               GetArenaNoVirtual());
1477   // @@protoc_insertion_point(field_set_char:google.protobuf.Field.name)
1478 }
set_name(const char * value,size_t size)1479 inline void Field::set_name(const char* value,
1480     size_t size) {
1481 
1482   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
1483       reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1484   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.name)
1485 }
mutable_name()1486 inline ::std::string* Field::mutable_name() {
1487 
1488   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.name)
1489   return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1490 }
release_name()1491 inline ::std::string* Field::release_name() {
1492   // @@protoc_insertion_point(field_release:google.protobuf.Field.name)
1493 
1494   return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1495 }
unsafe_arena_release_name()1496 inline ::std::string* Field::unsafe_arena_release_name() {
1497   // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.name)
1498   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1499 
1500   return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1501       GetArenaNoVirtual());
1502 }
set_allocated_name(::std::string * name)1503 inline void Field::set_allocated_name(::std::string* name) {
1504   if (name != NULL) {
1505 
1506   } else {
1507 
1508   }
1509   name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
1510       GetArenaNoVirtual());
1511   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.name)
1512 }
unsafe_arena_set_allocated_name(::std::string * name)1513 inline void Field::unsafe_arena_set_allocated_name(
1514     ::std::string* name) {
1515   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1516   if (name != NULL) {
1517 
1518   } else {
1519 
1520   }
1521   name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1522       name, GetArenaNoVirtual());
1523   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Field.name)
1524 }
1525 
1526 // string type_url = 6;
clear_type_url()1527 inline void Field::clear_type_url() {
1528   type_url_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1529 }
type_url()1530 inline const ::std::string& Field::type_url() const {
1531   // @@protoc_insertion_point(field_get:google.protobuf.Field.type_url)
1532   return type_url_.Get();
1533 }
set_type_url(const::std::string & value)1534 inline void Field::set_type_url(const ::std::string& value) {
1535 
1536   type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1537   // @@protoc_insertion_point(field_set:google.protobuf.Field.type_url)
1538 }
1539 #if LANG_CXX11
set_type_url(::std::string && value)1540 inline void Field::set_type_url(::std::string&& value) {
1541 
1542   type_url_.Set(
1543     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1544   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.type_url)
1545 }
1546 #endif
set_type_url(const char * value)1547 inline void Field::set_type_url(const char* value) {
1548   GOOGLE_DCHECK(value != NULL);
1549 
1550   type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1551               GetArenaNoVirtual());
1552   // @@protoc_insertion_point(field_set_char:google.protobuf.Field.type_url)
1553 }
set_type_url(const char * value,size_t size)1554 inline void Field::set_type_url(const char* value,
1555     size_t size) {
1556 
1557   type_url_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
1558       reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1559   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.type_url)
1560 }
mutable_type_url()1561 inline ::std::string* Field::mutable_type_url() {
1562 
1563   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.type_url)
1564   return type_url_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1565 }
release_type_url()1566 inline ::std::string* Field::release_type_url() {
1567   // @@protoc_insertion_point(field_release:google.protobuf.Field.type_url)
1568 
1569   return type_url_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1570 }
unsafe_arena_release_type_url()1571 inline ::std::string* Field::unsafe_arena_release_type_url() {
1572   // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.type_url)
1573   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1574 
1575   return type_url_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1576       GetArenaNoVirtual());
1577 }
set_allocated_type_url(::std::string * type_url)1578 inline void Field::set_allocated_type_url(::std::string* type_url) {
1579   if (type_url != NULL) {
1580 
1581   } else {
1582 
1583   }
1584   type_url_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_url,
1585       GetArenaNoVirtual());
1586   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.type_url)
1587 }
unsafe_arena_set_allocated_type_url(::std::string * type_url)1588 inline void Field::unsafe_arena_set_allocated_type_url(
1589     ::std::string* type_url) {
1590   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1591   if (type_url != NULL) {
1592 
1593   } else {
1594 
1595   }
1596   type_url_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1597       type_url, GetArenaNoVirtual());
1598   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Field.type_url)
1599 }
1600 
1601 // int32 oneof_index = 7;
clear_oneof_index()1602 inline void Field::clear_oneof_index() {
1603   oneof_index_ = 0;
1604 }
oneof_index()1605 inline ::google::protobuf::int32 Field::oneof_index() const {
1606   // @@protoc_insertion_point(field_get:google.protobuf.Field.oneof_index)
1607   return oneof_index_;
1608 }
set_oneof_index(::google::protobuf::int32 value)1609 inline void Field::set_oneof_index(::google::protobuf::int32 value) {
1610 
1611   oneof_index_ = value;
1612   // @@protoc_insertion_point(field_set:google.protobuf.Field.oneof_index)
1613 }
1614 
1615 // bool packed = 8;
clear_packed()1616 inline void Field::clear_packed() {
1617   packed_ = false;
1618 }
packed()1619 inline bool Field::packed() const {
1620   // @@protoc_insertion_point(field_get:google.protobuf.Field.packed)
1621   return packed_;
1622 }
set_packed(bool value)1623 inline void Field::set_packed(bool value) {
1624 
1625   packed_ = value;
1626   // @@protoc_insertion_point(field_set:google.protobuf.Field.packed)
1627 }
1628 
1629 // repeated .google.protobuf.Option options = 9;
options_size()1630 inline int Field::options_size() const {
1631   return options_.size();
1632 }
clear_options()1633 inline void Field::clear_options() {
1634   options_.Clear();
1635 }
options(int index)1636 inline const ::google::protobuf::Option& Field::options(int index) const {
1637   // @@protoc_insertion_point(field_get:google.protobuf.Field.options)
1638   return options_.Get(index);
1639 }
mutable_options(int index)1640 inline ::google::protobuf::Option* Field::mutable_options(int index) {
1641   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.options)
1642   return options_.Mutable(index);
1643 }
add_options()1644 inline ::google::protobuf::Option* Field::add_options() {
1645   // @@protoc_insertion_point(field_add:google.protobuf.Field.options)
1646   return options_.Add();
1647 }
1648 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
mutable_options()1649 Field::mutable_options() {
1650   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Field.options)
1651   return &options_;
1652 }
1653 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
options()1654 Field::options() const {
1655   // @@protoc_insertion_point(field_list:google.protobuf.Field.options)
1656   return options_;
1657 }
1658 
1659 // string json_name = 10;
clear_json_name()1660 inline void Field::clear_json_name() {
1661   json_name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1662 }
json_name()1663 inline const ::std::string& Field::json_name() const {
1664   // @@protoc_insertion_point(field_get:google.protobuf.Field.json_name)
1665   return json_name_.Get();
1666 }
set_json_name(const::std::string & value)1667 inline void Field::set_json_name(const ::std::string& value) {
1668 
1669   json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1670   // @@protoc_insertion_point(field_set:google.protobuf.Field.json_name)
1671 }
1672 #if LANG_CXX11
set_json_name(::std::string && value)1673 inline void Field::set_json_name(::std::string&& value) {
1674 
1675   json_name_.Set(
1676     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1677   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.json_name)
1678 }
1679 #endif
set_json_name(const char * value)1680 inline void Field::set_json_name(const char* value) {
1681   GOOGLE_DCHECK(value != NULL);
1682 
1683   json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1684               GetArenaNoVirtual());
1685   // @@protoc_insertion_point(field_set_char:google.protobuf.Field.json_name)
1686 }
set_json_name(const char * value,size_t size)1687 inline void Field::set_json_name(const char* value,
1688     size_t size) {
1689 
1690   json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
1691       reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1692   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.json_name)
1693 }
mutable_json_name()1694 inline ::std::string* Field::mutable_json_name() {
1695 
1696   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.json_name)
1697   return json_name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1698 }
release_json_name()1699 inline ::std::string* Field::release_json_name() {
1700   // @@protoc_insertion_point(field_release:google.protobuf.Field.json_name)
1701 
1702   return json_name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1703 }
unsafe_arena_release_json_name()1704 inline ::std::string* Field::unsafe_arena_release_json_name() {
1705   // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.json_name)
1706   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1707 
1708   return json_name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1709       GetArenaNoVirtual());
1710 }
set_allocated_json_name(::std::string * json_name)1711 inline void Field::set_allocated_json_name(::std::string* json_name) {
1712   if (json_name != NULL) {
1713 
1714   } else {
1715 
1716   }
1717   json_name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), json_name,
1718       GetArenaNoVirtual());
1719   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.json_name)
1720 }
unsafe_arena_set_allocated_json_name(::std::string * json_name)1721 inline void Field::unsafe_arena_set_allocated_json_name(
1722     ::std::string* json_name) {
1723   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1724   if (json_name != NULL) {
1725 
1726   } else {
1727 
1728   }
1729   json_name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1730       json_name, GetArenaNoVirtual());
1731   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Field.json_name)
1732 }
1733 
1734 // string default_value = 11;
clear_default_value()1735 inline void Field::clear_default_value() {
1736   default_value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1737 }
default_value()1738 inline const ::std::string& Field::default_value() const {
1739   // @@protoc_insertion_point(field_get:google.protobuf.Field.default_value)
1740   return default_value_.Get();
1741 }
set_default_value(const::std::string & value)1742 inline void Field::set_default_value(const ::std::string& value) {
1743 
1744   default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1745   // @@protoc_insertion_point(field_set:google.protobuf.Field.default_value)
1746 }
1747 #if LANG_CXX11
set_default_value(::std::string && value)1748 inline void Field::set_default_value(::std::string&& value) {
1749 
1750   default_value_.Set(
1751     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1752   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.default_value)
1753 }
1754 #endif
set_default_value(const char * value)1755 inline void Field::set_default_value(const char* value) {
1756   GOOGLE_DCHECK(value != NULL);
1757 
1758   default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1759               GetArenaNoVirtual());
1760   // @@protoc_insertion_point(field_set_char:google.protobuf.Field.default_value)
1761 }
set_default_value(const char * value,size_t size)1762 inline void Field::set_default_value(const char* value,
1763     size_t size) {
1764 
1765   default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
1766       reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1767   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.default_value)
1768 }
mutable_default_value()1769 inline ::std::string* Field::mutable_default_value() {
1770 
1771   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.default_value)
1772   return default_value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1773 }
release_default_value()1774 inline ::std::string* Field::release_default_value() {
1775   // @@protoc_insertion_point(field_release:google.protobuf.Field.default_value)
1776 
1777   return default_value_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1778 }
unsafe_arena_release_default_value()1779 inline ::std::string* Field::unsafe_arena_release_default_value() {
1780   // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.default_value)
1781   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1782 
1783   return default_value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1784       GetArenaNoVirtual());
1785 }
set_allocated_default_value(::std::string * default_value)1786 inline void Field::set_allocated_default_value(::std::string* default_value) {
1787   if (default_value != NULL) {
1788 
1789   } else {
1790 
1791   }
1792   default_value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), default_value,
1793       GetArenaNoVirtual());
1794   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.default_value)
1795 }
unsafe_arena_set_allocated_default_value(::std::string * default_value)1796 inline void Field::unsafe_arena_set_allocated_default_value(
1797     ::std::string* default_value) {
1798   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1799   if (default_value != NULL) {
1800 
1801   } else {
1802 
1803   }
1804   default_value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1805       default_value, GetArenaNoVirtual());
1806   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Field.default_value)
1807 }
1808 
1809 // -------------------------------------------------------------------
1810 
1811 // Enum
1812 
1813 // string name = 1;
clear_name()1814 inline void Enum::clear_name() {
1815   name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1816 }
name()1817 inline const ::std::string& Enum::name() const {
1818   // @@protoc_insertion_point(field_get:google.protobuf.Enum.name)
1819   return name_.Get();
1820 }
set_name(const::std::string & value)1821 inline void Enum::set_name(const ::std::string& value) {
1822 
1823   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1824   // @@protoc_insertion_point(field_set:google.protobuf.Enum.name)
1825 }
1826 #if LANG_CXX11
set_name(::std::string && value)1827 inline void Enum::set_name(::std::string&& value) {
1828 
1829   name_.Set(
1830     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1831   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Enum.name)
1832 }
1833 #endif
set_name(const char * value)1834 inline void Enum::set_name(const char* value) {
1835   GOOGLE_DCHECK(value != NULL);
1836 
1837   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1838               GetArenaNoVirtual());
1839   // @@protoc_insertion_point(field_set_char:google.protobuf.Enum.name)
1840 }
set_name(const char * value,size_t size)1841 inline void Enum::set_name(const char* value,
1842     size_t size) {
1843 
1844   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
1845       reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1846   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Enum.name)
1847 }
mutable_name()1848 inline ::std::string* Enum::mutable_name() {
1849 
1850   // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.name)
1851   return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1852 }
release_name()1853 inline ::std::string* Enum::release_name() {
1854   // @@protoc_insertion_point(field_release:google.protobuf.Enum.name)
1855 
1856   return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1857 }
unsafe_arena_release_name()1858 inline ::std::string* Enum::unsafe_arena_release_name() {
1859   // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Enum.name)
1860   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1861 
1862   return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1863       GetArenaNoVirtual());
1864 }
set_allocated_name(::std::string * name)1865 inline void Enum::set_allocated_name(::std::string* name) {
1866   if (name != NULL) {
1867 
1868   } else {
1869 
1870   }
1871   name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
1872       GetArenaNoVirtual());
1873   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.name)
1874 }
unsafe_arena_set_allocated_name(::std::string * name)1875 inline void Enum::unsafe_arena_set_allocated_name(
1876     ::std::string* name) {
1877   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
1878   if (name != NULL) {
1879 
1880   } else {
1881 
1882   }
1883   name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1884       name, GetArenaNoVirtual());
1885   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Enum.name)
1886 }
1887 
1888 // repeated .google.protobuf.EnumValue enumvalue = 2;
enumvalue_size()1889 inline int Enum::enumvalue_size() const {
1890   return enumvalue_.size();
1891 }
clear_enumvalue()1892 inline void Enum::clear_enumvalue() {
1893   enumvalue_.Clear();
1894 }
enumvalue(int index)1895 inline const ::google::protobuf::EnumValue& Enum::enumvalue(int index) const {
1896   // @@protoc_insertion_point(field_get:google.protobuf.Enum.enumvalue)
1897   return enumvalue_.Get(index);
1898 }
mutable_enumvalue(int index)1899 inline ::google::protobuf::EnumValue* Enum::mutable_enumvalue(int index) {
1900   // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.enumvalue)
1901   return enumvalue_.Mutable(index);
1902 }
add_enumvalue()1903 inline ::google::protobuf::EnumValue* Enum::add_enumvalue() {
1904   // @@protoc_insertion_point(field_add:google.protobuf.Enum.enumvalue)
1905   return enumvalue_.Add();
1906 }
1907 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >*
mutable_enumvalue()1908 Enum::mutable_enumvalue() {
1909   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.enumvalue)
1910   return &enumvalue_;
1911 }
1912 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >&
enumvalue()1913 Enum::enumvalue() const {
1914   // @@protoc_insertion_point(field_list:google.protobuf.Enum.enumvalue)
1915   return enumvalue_;
1916 }
1917 
1918 // repeated .google.protobuf.Option options = 3;
options_size()1919 inline int Enum::options_size() const {
1920   return options_.size();
1921 }
clear_options()1922 inline void Enum::clear_options() {
1923   options_.Clear();
1924 }
options(int index)1925 inline const ::google::protobuf::Option& Enum::options(int index) const {
1926   // @@protoc_insertion_point(field_get:google.protobuf.Enum.options)
1927   return options_.Get(index);
1928 }
mutable_options(int index)1929 inline ::google::protobuf::Option* Enum::mutable_options(int index) {
1930   // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.options)
1931   return options_.Mutable(index);
1932 }
add_options()1933 inline ::google::protobuf::Option* Enum::add_options() {
1934   // @@protoc_insertion_point(field_add:google.protobuf.Enum.options)
1935   return options_.Add();
1936 }
1937 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
mutable_options()1938 Enum::mutable_options() {
1939   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.options)
1940   return &options_;
1941 }
1942 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
options()1943 Enum::options() const {
1944   // @@protoc_insertion_point(field_list:google.protobuf.Enum.options)
1945   return options_;
1946 }
1947 
1948 // .google.protobuf.SourceContext source_context = 4;
has_source_context()1949 inline bool Enum::has_source_context() const {
1950   return this != internal_default_instance() && source_context_ != NULL;
1951 }
clear_source_context()1952 inline void Enum::clear_source_context() {
1953   if (GetArenaNoVirtual() == NULL && source_context_ != NULL) delete source_context_;
1954   source_context_ = NULL;
1955 }
source_context()1956 inline const ::google::protobuf::SourceContext& Enum::source_context() const {
1957   const ::google::protobuf::SourceContext* p = source_context_;
1958   // @@protoc_insertion_point(field_get:google.protobuf.Enum.source_context)
1959   return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::SourceContext*>(
1960       &::google::protobuf::_SourceContext_default_instance_);
1961 }
mutable_source_context()1962 inline ::google::protobuf::SourceContext* Enum::mutable_source_context() {
1963 
1964   if (source_context_ == NULL) {
1965     _slow_mutable_source_context();
1966   }
1967   // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.source_context)
1968   return source_context_;
1969 }
release_source_context()1970 inline ::google::protobuf::SourceContext* Enum::release_source_context() {
1971   // @@protoc_insertion_point(field_release:google.protobuf.Enum.source_context)
1972 
1973   if (GetArenaNoVirtual() != NULL) {
1974     return _slow_release_source_context();
1975   } else {
1976     ::google::protobuf::SourceContext* temp = source_context_;
1977     source_context_ = NULL;
1978     return temp;
1979   }
1980 }
set_allocated_source_context(::google::protobuf::SourceContext * source_context)1981 inline  void Enum::set_allocated_source_context(::google::protobuf::SourceContext* source_context) {
1982   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1983   if (message_arena == NULL) {
1984     delete source_context_;
1985   }
1986   if (source_context != NULL) {
1987     if (message_arena != NULL) {
1988       message_arena->Own(source_context);
1989     }
1990   }
1991   source_context_ = source_context;
1992   if (source_context) {
1993 
1994   } else {
1995 
1996   }
1997   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.source_context)
1998 }
1999 
2000 // .google.protobuf.Syntax syntax = 5;
clear_syntax()2001 inline void Enum::clear_syntax() {
2002   syntax_ = 0;
2003 }
syntax()2004 inline ::google::protobuf::Syntax Enum::syntax() const {
2005   // @@protoc_insertion_point(field_get:google.protobuf.Enum.syntax)
2006   return static_cast< ::google::protobuf::Syntax >(syntax_);
2007 }
set_syntax(::google::protobuf::Syntax value)2008 inline void Enum::set_syntax(::google::protobuf::Syntax value) {
2009 
2010   syntax_ = value;
2011   // @@protoc_insertion_point(field_set:google.protobuf.Enum.syntax)
2012 }
2013 
2014 // -------------------------------------------------------------------
2015 
2016 // EnumValue
2017 
2018 // string name = 1;
clear_name()2019 inline void EnumValue::clear_name() {
2020   name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2021 }
name()2022 inline const ::std::string& EnumValue::name() const {
2023   // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.name)
2024   return name_.Get();
2025 }
set_name(const::std::string & value)2026 inline void EnumValue::set_name(const ::std::string& value) {
2027 
2028   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
2029   // @@protoc_insertion_point(field_set:google.protobuf.EnumValue.name)
2030 }
2031 #if LANG_CXX11
set_name(::std::string && value)2032 inline void EnumValue::set_name(::std::string&& value) {
2033 
2034   name_.Set(
2035     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
2036   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.EnumValue.name)
2037 }
2038 #endif
set_name(const char * value)2039 inline void EnumValue::set_name(const char* value) {
2040   GOOGLE_DCHECK(value != NULL);
2041 
2042   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
2043               GetArenaNoVirtual());
2044   // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValue.name)
2045 }
set_name(const char * value,size_t size)2046 inline void EnumValue::set_name(const char* value,
2047     size_t size) {
2048 
2049   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
2050       reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
2051   // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValue.name)
2052 }
mutable_name()2053 inline ::std::string* EnumValue::mutable_name() {
2054 
2055   // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.name)
2056   return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2057 }
release_name()2058 inline ::std::string* EnumValue::release_name() {
2059   // @@protoc_insertion_point(field_release:google.protobuf.EnumValue.name)
2060 
2061   return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2062 }
unsafe_arena_release_name()2063 inline ::std::string* EnumValue::unsafe_arena_release_name() {
2064   // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.EnumValue.name)
2065   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
2066 
2067   return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2068       GetArenaNoVirtual());
2069 }
set_allocated_name(::std::string * name)2070 inline void EnumValue::set_allocated_name(::std::string* name) {
2071   if (name != NULL) {
2072 
2073   } else {
2074 
2075   }
2076   name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
2077       GetArenaNoVirtual());
2078   // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValue.name)
2079 }
unsafe_arena_set_allocated_name(::std::string * name)2080 inline void EnumValue::unsafe_arena_set_allocated_name(
2081     ::std::string* name) {
2082   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
2083   if (name != NULL) {
2084 
2085   } else {
2086 
2087   }
2088   name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2089       name, GetArenaNoVirtual());
2090   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValue.name)
2091 }
2092 
2093 // int32 number = 2;
clear_number()2094 inline void EnumValue::clear_number() {
2095   number_ = 0;
2096 }
number()2097 inline ::google::protobuf::int32 EnumValue::number() const {
2098   // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.number)
2099   return number_;
2100 }
set_number(::google::protobuf::int32 value)2101 inline void EnumValue::set_number(::google::protobuf::int32 value) {
2102 
2103   number_ = value;
2104   // @@protoc_insertion_point(field_set:google.protobuf.EnumValue.number)
2105 }
2106 
2107 // repeated .google.protobuf.Option options = 3;
options_size()2108 inline int EnumValue::options_size() const {
2109   return options_.size();
2110 }
clear_options()2111 inline void EnumValue::clear_options() {
2112   options_.Clear();
2113 }
options(int index)2114 inline const ::google::protobuf::Option& EnumValue::options(int index) const {
2115   // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.options)
2116   return options_.Get(index);
2117 }
mutable_options(int index)2118 inline ::google::protobuf::Option* EnumValue::mutable_options(int index) {
2119   // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.options)
2120   return options_.Mutable(index);
2121 }
add_options()2122 inline ::google::protobuf::Option* EnumValue::add_options() {
2123   // @@protoc_insertion_point(field_add:google.protobuf.EnumValue.options)
2124   return options_.Add();
2125 }
2126 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
mutable_options()2127 EnumValue::mutable_options() {
2128   // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValue.options)
2129   return &options_;
2130 }
2131 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
options()2132 EnumValue::options() const {
2133   // @@protoc_insertion_point(field_list:google.protobuf.EnumValue.options)
2134   return options_;
2135 }
2136 
2137 // -------------------------------------------------------------------
2138 
2139 // Option
2140 
2141 // string name = 1;
clear_name()2142 inline void Option::clear_name() {
2143   name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2144 }
name()2145 inline const ::std::string& Option::name() const {
2146   // @@protoc_insertion_point(field_get:google.protobuf.Option.name)
2147   return name_.Get();
2148 }
set_name(const::std::string & value)2149 inline void Option::set_name(const ::std::string& value) {
2150 
2151   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
2152   // @@protoc_insertion_point(field_set:google.protobuf.Option.name)
2153 }
2154 #if LANG_CXX11
set_name(::std::string && value)2155 inline void Option::set_name(::std::string&& value) {
2156 
2157   name_.Set(
2158     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
2159   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Option.name)
2160 }
2161 #endif
set_name(const char * value)2162 inline void Option::set_name(const char* value) {
2163   GOOGLE_DCHECK(value != NULL);
2164 
2165   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
2166               GetArenaNoVirtual());
2167   // @@protoc_insertion_point(field_set_char:google.protobuf.Option.name)
2168 }
set_name(const char * value,size_t size)2169 inline void Option::set_name(const char* value,
2170     size_t size) {
2171 
2172   name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
2173       reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
2174   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Option.name)
2175 }
mutable_name()2176 inline ::std::string* Option::mutable_name() {
2177 
2178   // @@protoc_insertion_point(field_mutable:google.protobuf.Option.name)
2179   return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2180 }
release_name()2181 inline ::std::string* Option::release_name() {
2182   // @@protoc_insertion_point(field_release:google.protobuf.Option.name)
2183 
2184   return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2185 }
unsafe_arena_release_name()2186 inline ::std::string* Option::unsafe_arena_release_name() {
2187   // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Option.name)
2188   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
2189 
2190   return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2191       GetArenaNoVirtual());
2192 }
set_allocated_name(::std::string * name)2193 inline void Option::set_allocated_name(::std::string* name) {
2194   if (name != NULL) {
2195 
2196   } else {
2197 
2198   }
2199   name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,
2200       GetArenaNoVirtual());
2201   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.name)
2202 }
unsafe_arena_set_allocated_name(::std::string * name)2203 inline void Option::unsafe_arena_set_allocated_name(
2204     ::std::string* name) {
2205   GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
2206   if (name != NULL) {
2207 
2208   } else {
2209 
2210   }
2211   name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2212       name, GetArenaNoVirtual());
2213   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Option.name)
2214 }
2215 
2216 // .google.protobuf.Any value = 2;
has_value()2217 inline bool Option::has_value() const {
2218   return this != internal_default_instance() && value_ != NULL;
2219 }
clear_value()2220 inline void Option::clear_value() {
2221   if (GetArenaNoVirtual() == NULL && value_ != NULL) delete value_;
2222   value_ = NULL;
2223 }
value()2224 inline const ::google::protobuf::Any& Option::value() const {
2225   const ::google::protobuf::Any* p = value_;
2226   // @@protoc_insertion_point(field_get:google.protobuf.Option.value)
2227   return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Any*>(
2228       &::google::protobuf::_Any_default_instance_);
2229 }
mutable_value()2230 inline ::google::protobuf::Any* Option::mutable_value() {
2231 
2232   if (value_ == NULL) {
2233     _slow_mutable_value();
2234   }
2235   // @@protoc_insertion_point(field_mutable:google.protobuf.Option.value)
2236   return value_;
2237 }
release_value()2238 inline ::google::protobuf::Any* Option::release_value() {
2239   // @@protoc_insertion_point(field_release:google.protobuf.Option.value)
2240 
2241   if (GetArenaNoVirtual() != NULL) {
2242     return _slow_release_value();
2243   } else {
2244     ::google::protobuf::Any* temp = value_;
2245     value_ = NULL;
2246     return temp;
2247   }
2248 }
set_allocated_value(::google::protobuf::Any * value)2249 inline  void Option::set_allocated_value(::google::protobuf::Any* value) {
2250   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2251   if (message_arena == NULL) {
2252     delete value_;
2253   }
2254   if (value != NULL) {
2255     if (message_arena != NULL) {
2256       message_arena->Own(value);
2257     }
2258   }
2259   value_ = value;
2260   if (value) {
2261 
2262   } else {
2263 
2264   }
2265   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.value)
2266 }
2267 
2268 #ifdef __GNUC__
2269   #pragma GCC diagnostic pop
2270 #endif  // __GNUC__
2271 #endif  // !PROTOBUF_INLINE_NOT_IN_HEADERS
2272 // -------------------------------------------------------------------
2273 
2274 // -------------------------------------------------------------------
2275 
2276 // -------------------------------------------------------------------
2277 
2278 // -------------------------------------------------------------------
2279 
2280 
2281 // @@protoc_insertion_point(namespace_scope)
2282 
2283 
2284 }  // namespace protobuf
2285 }  // namespace google
2286 
2287 namespace google {
2288 namespace protobuf {
2289 
2290 template <> struct is_proto_enum< ::google::protobuf::Field_Kind> : ::google::protobuf::internal::true_type {};
2291 template <>
2292 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::Field_Kind>() {
2293   return ::google::protobuf::Field_Kind_descriptor();
2294 }
2295 template <> struct is_proto_enum< ::google::protobuf::Field_Cardinality> : ::google::protobuf::internal::true_type {};
2296 template <>
2297 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::Field_Cardinality>() {
2298   return ::google::protobuf::Field_Cardinality_descriptor();
2299 }
2300 template <> struct is_proto_enum< ::google::protobuf::Syntax> : ::google::protobuf::internal::true_type {};
2301 template <>
2302 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::Syntax>() {
2303   return ::google::protobuf::Syntax_descriptor();
2304 }
2305 
2306 }  // namespace protobuf
2307 }  // namespace google
2308 
2309 // @@protoc_insertion_point(global_scope)
2310 
2311 #endif  // PROTOBUF_google_2fprotobuf_2ftype_2eproto__INCLUDED
2312