• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 < 3000000
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 3000000 < 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/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/generated_enum_reflection.h>
30 #include <google/protobuf/unknown_field_set.h>
31 #include <google/protobuf/any.pb.h>
32 #include <google/protobuf/source_context.pb.h>
33 // @@protoc_insertion_point(includes)
34 
35 namespace google {
36 namespace protobuf {
37 
38 // Internal implementation detail -- do not call these.
39 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2eproto();
40 void protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto();
41 void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto();
42 
43 class Enum;
44 class EnumValue;
45 class Field;
46 class Option;
47 class Type;
48 
49 enum Field_Kind {
50   Field_Kind_TYPE_UNKNOWN = 0,
51   Field_Kind_TYPE_DOUBLE = 1,
52   Field_Kind_TYPE_FLOAT = 2,
53   Field_Kind_TYPE_INT64 = 3,
54   Field_Kind_TYPE_UINT64 = 4,
55   Field_Kind_TYPE_INT32 = 5,
56   Field_Kind_TYPE_FIXED64 = 6,
57   Field_Kind_TYPE_FIXED32 = 7,
58   Field_Kind_TYPE_BOOL = 8,
59   Field_Kind_TYPE_STRING = 9,
60   Field_Kind_TYPE_GROUP = 10,
61   Field_Kind_TYPE_MESSAGE = 11,
62   Field_Kind_TYPE_BYTES = 12,
63   Field_Kind_TYPE_UINT32 = 13,
64   Field_Kind_TYPE_ENUM = 14,
65   Field_Kind_TYPE_SFIXED32 = 15,
66   Field_Kind_TYPE_SFIXED64 = 16,
67   Field_Kind_TYPE_SINT32 = 17,
68   Field_Kind_TYPE_SINT64 = 18,
69   Field_Kind_Field_Kind_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
70   Field_Kind_Field_Kind_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
71 };
72 LIBPROTOBUF_EXPORT bool Field_Kind_IsValid(int value);
73 const Field_Kind Field_Kind_Kind_MIN = Field_Kind_TYPE_UNKNOWN;
74 const Field_Kind Field_Kind_Kind_MAX = Field_Kind_TYPE_SINT64;
75 const int Field_Kind_Kind_ARRAYSIZE = Field_Kind_Kind_MAX + 1;
76 
77 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* Field_Kind_descriptor();
Field_Kind_Name(Field_Kind value)78 inline const ::std::string& Field_Kind_Name(Field_Kind value) {
79   return ::google::protobuf::internal::NameOfEnum(
80     Field_Kind_descriptor(), value);
81 }
Field_Kind_Parse(const::std::string & name,Field_Kind * value)82 inline bool Field_Kind_Parse(
83     const ::std::string& name, Field_Kind* value) {
84   return ::google::protobuf::internal::ParseNamedEnum<Field_Kind>(
85     Field_Kind_descriptor(), name, value);
86 }
87 enum Field_Cardinality {
88   Field_Cardinality_CARDINALITY_UNKNOWN = 0,
89   Field_Cardinality_CARDINALITY_OPTIONAL = 1,
90   Field_Cardinality_CARDINALITY_REQUIRED = 2,
91   Field_Cardinality_CARDINALITY_REPEATED = 3,
92   Field_Cardinality_Field_Cardinality_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
93   Field_Cardinality_Field_Cardinality_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
94 };
95 LIBPROTOBUF_EXPORT bool Field_Cardinality_IsValid(int value);
96 const Field_Cardinality Field_Cardinality_Cardinality_MIN = Field_Cardinality_CARDINALITY_UNKNOWN;
97 const Field_Cardinality Field_Cardinality_Cardinality_MAX = Field_Cardinality_CARDINALITY_REPEATED;
98 const int Field_Cardinality_Cardinality_ARRAYSIZE = Field_Cardinality_Cardinality_MAX + 1;
99 
100 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* Field_Cardinality_descriptor();
Field_Cardinality_Name(Field_Cardinality value)101 inline const ::std::string& Field_Cardinality_Name(Field_Cardinality value) {
102   return ::google::protobuf::internal::NameOfEnum(
103     Field_Cardinality_descriptor(), value);
104 }
Field_Cardinality_Parse(const::std::string & name,Field_Cardinality * value)105 inline bool Field_Cardinality_Parse(
106     const ::std::string& name, Field_Cardinality* value) {
107   return ::google::protobuf::internal::ParseNamedEnum<Field_Cardinality>(
108     Field_Cardinality_descriptor(), name, value);
109 }
110 enum Syntax {
111   SYNTAX_PROTO2 = 0,
112   SYNTAX_PROTO3 = 1,
113   Syntax_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
114   Syntax_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
115 };
116 LIBPROTOBUF_EXPORT bool Syntax_IsValid(int value);
117 const Syntax Syntax_MIN = SYNTAX_PROTO2;
118 const Syntax Syntax_MAX = SYNTAX_PROTO3;
119 const int Syntax_ARRAYSIZE = Syntax_MAX + 1;
120 
121 LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* Syntax_descriptor();
Syntax_Name(Syntax value)122 inline const ::std::string& Syntax_Name(Syntax value) {
123   return ::google::protobuf::internal::NameOfEnum(
124     Syntax_descriptor(), value);
125 }
Syntax_Parse(const::std::string & name,Syntax * value)126 inline bool Syntax_Parse(
127     const ::std::string& name, Syntax* value) {
128   return ::google::protobuf::internal::ParseNamedEnum<Syntax>(
129     Syntax_descriptor(), name, value);
130 }
131 // ===================================================================
132 
133 class LIBPROTOBUF_EXPORT Type : public ::google::protobuf::Message {
134  public:
135   Type();
136   virtual ~Type();
137 
138   Type(const Type& from);
139 
140   inline Type& operator=(const Type& from) {
141     CopyFrom(from);
142     return *this;
143   }
144 
145   static const ::google::protobuf::Descriptor* descriptor();
146   static const Type& default_instance();
147 
148   void Swap(Type* other);
149 
150   // implements Message ----------------------------------------------
151 
New()152   inline Type* New() const { return New(NULL); }
153 
154   Type* New(::google::protobuf::Arena* arena) const;
155   void CopyFrom(const ::google::protobuf::Message& from);
156   void MergeFrom(const ::google::protobuf::Message& from);
157   void CopyFrom(const Type& from);
158   void MergeFrom(const Type& from);
159   void Clear();
160   bool IsInitialized() const;
161 
162   int ByteSize() const;
163   bool MergePartialFromCodedStream(
164       ::google::protobuf::io::CodedInputStream* input);
165   void SerializeWithCachedSizes(
166       ::google::protobuf::io::CodedOutputStream* output) const;
167   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()168   int GetCachedSize() const { return _cached_size_; }
169   private:
170   void SharedCtor();
171   void SharedDtor();
172   void SetCachedSize(int size) const;
173   void InternalSwap(Type* other);
174   private:
GetArenaNoVirtual()175   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
176     return _internal_metadata_.arena();
177   }
MaybeArenaPtr()178   inline void* MaybeArenaPtr() const {
179     return _internal_metadata_.raw_arena_ptr();
180   }
181   public:
182 
183   ::google::protobuf::Metadata GetMetadata() const;
184 
185   // nested types ----------------------------------------------------
186 
187   // accessors -------------------------------------------------------
188 
189   // optional string name = 1;
190   void clear_name();
191   static const int kNameFieldNumber = 1;
192   const ::std::string& name() const;
193   void set_name(const ::std::string& value);
194   void set_name(const char* value);
195   void set_name(const char* value, size_t size);
196   ::std::string* mutable_name();
197   ::std::string* release_name();
198   void set_allocated_name(::std::string* name);
199 
200   // repeated .google.protobuf.Field fields = 2;
201   int fields_size() const;
202   void clear_fields();
203   static const int kFieldsFieldNumber = 2;
204   const ::google::protobuf::Field& fields(int index) const;
205   ::google::protobuf::Field* mutable_fields(int index);
206   ::google::protobuf::Field* add_fields();
207   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >*
208       mutable_fields();
209   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >&
210       fields() const;
211 
212   // repeated string oneofs = 3;
213   int oneofs_size() const;
214   void clear_oneofs();
215   static const int kOneofsFieldNumber = 3;
216   const ::std::string& oneofs(int index) const;
217   ::std::string* mutable_oneofs(int index);
218   void set_oneofs(int index, const ::std::string& value);
219   void set_oneofs(int index, const char* value);
220   void set_oneofs(int index, const char* value, size_t size);
221   ::std::string* add_oneofs();
222   void add_oneofs(const ::std::string& value);
223   void add_oneofs(const char* value);
224   void add_oneofs(const char* value, size_t size);
225   const ::google::protobuf::RepeatedPtrField< ::std::string>& oneofs() const;
226   ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_oneofs();
227 
228   // repeated .google.protobuf.Option options = 4;
229   int options_size() const;
230   void clear_options();
231   static const int kOptionsFieldNumber = 4;
232   const ::google::protobuf::Option& options(int index) const;
233   ::google::protobuf::Option* mutable_options(int index);
234   ::google::protobuf::Option* add_options();
235   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
236       mutable_options();
237   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
238       options() const;
239 
240   // optional .google.protobuf.SourceContext source_context = 5;
241   bool has_source_context() const;
242   void clear_source_context();
243   static const int kSourceContextFieldNumber = 5;
244   const ::google::protobuf::SourceContext& source_context() const;
245   ::google::protobuf::SourceContext* mutable_source_context();
246   ::google::protobuf::SourceContext* release_source_context();
247   void set_allocated_source_context(::google::protobuf::SourceContext* source_context);
248 
249   // optional .google.protobuf.Syntax syntax = 6;
250   void clear_syntax();
251   static const int kSyntaxFieldNumber = 6;
252   ::google::protobuf::Syntax syntax() const;
253   void set_syntax(::google::protobuf::Syntax value);
254 
255   // @@protoc_insertion_point(class_scope:google.protobuf.Type)
256  private:
257 
258   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
259   bool _is_default_instance_;
260   ::google::protobuf::internal::ArenaStringPtr name_;
261   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field > fields_;
262   ::google::protobuf::RepeatedPtrField< ::std::string> oneofs_;
263   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
264   ::google::protobuf::SourceContext* source_context_;
265   int syntax_;
266   mutable int _cached_size_;
267   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2eproto();
268   friend void protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto();
269   friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto();
270 
271   void InitAsDefaultInstance();
272   static Type* default_instance_;
273 };
274 // -------------------------------------------------------------------
275 
276 class LIBPROTOBUF_EXPORT Field : public ::google::protobuf::Message {
277  public:
278   Field();
279   virtual ~Field();
280 
281   Field(const Field& from);
282 
283   inline Field& operator=(const Field& from) {
284     CopyFrom(from);
285     return *this;
286   }
287 
288   static const ::google::protobuf::Descriptor* descriptor();
289   static const Field& default_instance();
290 
291   void Swap(Field* other);
292 
293   // implements Message ----------------------------------------------
294 
New()295   inline Field* New() const { return New(NULL); }
296 
297   Field* New(::google::protobuf::Arena* arena) const;
298   void CopyFrom(const ::google::protobuf::Message& from);
299   void MergeFrom(const ::google::protobuf::Message& from);
300   void CopyFrom(const Field& from);
301   void MergeFrom(const Field& from);
302   void Clear();
303   bool IsInitialized() const;
304 
305   int ByteSize() const;
306   bool MergePartialFromCodedStream(
307       ::google::protobuf::io::CodedInputStream* input);
308   void SerializeWithCachedSizes(
309       ::google::protobuf::io::CodedOutputStream* output) const;
310   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()311   int GetCachedSize() const { return _cached_size_; }
312   private:
313   void SharedCtor();
314   void SharedDtor();
315   void SetCachedSize(int size) const;
316   void InternalSwap(Field* other);
317   private:
GetArenaNoVirtual()318   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
319     return _internal_metadata_.arena();
320   }
MaybeArenaPtr()321   inline void* MaybeArenaPtr() const {
322     return _internal_metadata_.raw_arena_ptr();
323   }
324   public:
325 
326   ::google::protobuf::Metadata GetMetadata() const;
327 
328   // nested types ----------------------------------------------------
329 
330   typedef Field_Kind Kind;
331   static const Kind TYPE_UNKNOWN =
332     Field_Kind_TYPE_UNKNOWN;
333   static const Kind TYPE_DOUBLE =
334     Field_Kind_TYPE_DOUBLE;
335   static const Kind TYPE_FLOAT =
336     Field_Kind_TYPE_FLOAT;
337   static const Kind TYPE_INT64 =
338     Field_Kind_TYPE_INT64;
339   static const Kind TYPE_UINT64 =
340     Field_Kind_TYPE_UINT64;
341   static const Kind TYPE_INT32 =
342     Field_Kind_TYPE_INT32;
343   static const Kind TYPE_FIXED64 =
344     Field_Kind_TYPE_FIXED64;
345   static const Kind TYPE_FIXED32 =
346     Field_Kind_TYPE_FIXED32;
347   static const Kind TYPE_BOOL =
348     Field_Kind_TYPE_BOOL;
349   static const Kind TYPE_STRING =
350     Field_Kind_TYPE_STRING;
351   static const Kind TYPE_GROUP =
352     Field_Kind_TYPE_GROUP;
353   static const Kind TYPE_MESSAGE =
354     Field_Kind_TYPE_MESSAGE;
355   static const Kind TYPE_BYTES =
356     Field_Kind_TYPE_BYTES;
357   static const Kind TYPE_UINT32 =
358     Field_Kind_TYPE_UINT32;
359   static const Kind TYPE_ENUM =
360     Field_Kind_TYPE_ENUM;
361   static const Kind TYPE_SFIXED32 =
362     Field_Kind_TYPE_SFIXED32;
363   static const Kind TYPE_SFIXED64 =
364     Field_Kind_TYPE_SFIXED64;
365   static const Kind TYPE_SINT32 =
366     Field_Kind_TYPE_SINT32;
367   static const Kind TYPE_SINT64 =
368     Field_Kind_TYPE_SINT64;
Kind_IsValid(int value)369   static inline bool Kind_IsValid(int value) {
370     return Field_Kind_IsValid(value);
371   }
372   static const Kind Kind_MIN =
373     Field_Kind_Kind_MIN;
374   static const Kind Kind_MAX =
375     Field_Kind_Kind_MAX;
376   static const int Kind_ARRAYSIZE =
377     Field_Kind_Kind_ARRAYSIZE;
378   static inline const ::google::protobuf::EnumDescriptor*
Kind_descriptor()379   Kind_descriptor() {
380     return Field_Kind_descriptor();
381   }
Kind_Name(Kind value)382   static inline const ::std::string& Kind_Name(Kind value) {
383     return Field_Kind_Name(value);
384   }
Kind_Parse(const::std::string & name,Kind * value)385   static inline bool Kind_Parse(const ::std::string& name,
386       Kind* value) {
387     return Field_Kind_Parse(name, value);
388   }
389 
390   typedef Field_Cardinality Cardinality;
391   static const Cardinality CARDINALITY_UNKNOWN =
392     Field_Cardinality_CARDINALITY_UNKNOWN;
393   static const Cardinality CARDINALITY_OPTIONAL =
394     Field_Cardinality_CARDINALITY_OPTIONAL;
395   static const Cardinality CARDINALITY_REQUIRED =
396     Field_Cardinality_CARDINALITY_REQUIRED;
397   static const Cardinality CARDINALITY_REPEATED =
398     Field_Cardinality_CARDINALITY_REPEATED;
Cardinality_IsValid(int value)399   static inline bool Cardinality_IsValid(int value) {
400     return Field_Cardinality_IsValid(value);
401   }
402   static const Cardinality Cardinality_MIN =
403     Field_Cardinality_Cardinality_MIN;
404   static const Cardinality Cardinality_MAX =
405     Field_Cardinality_Cardinality_MAX;
406   static const int Cardinality_ARRAYSIZE =
407     Field_Cardinality_Cardinality_ARRAYSIZE;
408   static inline const ::google::protobuf::EnumDescriptor*
Cardinality_descriptor()409   Cardinality_descriptor() {
410     return Field_Cardinality_descriptor();
411   }
Cardinality_Name(Cardinality value)412   static inline const ::std::string& Cardinality_Name(Cardinality value) {
413     return Field_Cardinality_Name(value);
414   }
Cardinality_Parse(const::std::string & name,Cardinality * value)415   static inline bool Cardinality_Parse(const ::std::string& name,
416       Cardinality* value) {
417     return Field_Cardinality_Parse(name, value);
418   }
419 
420   // accessors -------------------------------------------------------
421 
422   // optional .google.protobuf.Field.Kind kind = 1;
423   void clear_kind();
424   static const int kKindFieldNumber = 1;
425   ::google::protobuf::Field_Kind kind() const;
426   void set_kind(::google::protobuf::Field_Kind value);
427 
428   // optional .google.protobuf.Field.Cardinality cardinality = 2;
429   void clear_cardinality();
430   static const int kCardinalityFieldNumber = 2;
431   ::google::protobuf::Field_Cardinality cardinality() const;
432   void set_cardinality(::google::protobuf::Field_Cardinality value);
433 
434   // optional int32 number = 3;
435   void clear_number();
436   static const int kNumberFieldNumber = 3;
437   ::google::protobuf::int32 number() const;
438   void set_number(::google::protobuf::int32 value);
439 
440   // optional string name = 4;
441   void clear_name();
442   static const int kNameFieldNumber = 4;
443   const ::std::string& name() const;
444   void set_name(const ::std::string& value);
445   void set_name(const char* value);
446   void set_name(const char* value, size_t size);
447   ::std::string* mutable_name();
448   ::std::string* release_name();
449   void set_allocated_name(::std::string* name);
450 
451   // optional string type_url = 6;
452   void clear_type_url();
453   static const int kTypeUrlFieldNumber = 6;
454   const ::std::string& type_url() const;
455   void set_type_url(const ::std::string& value);
456   void set_type_url(const char* value);
457   void set_type_url(const char* value, size_t size);
458   ::std::string* mutable_type_url();
459   ::std::string* release_type_url();
460   void set_allocated_type_url(::std::string* type_url);
461 
462   // optional int32 oneof_index = 7;
463   void clear_oneof_index();
464   static const int kOneofIndexFieldNumber = 7;
465   ::google::protobuf::int32 oneof_index() const;
466   void set_oneof_index(::google::protobuf::int32 value);
467 
468   // optional bool packed = 8;
469   void clear_packed();
470   static const int kPackedFieldNumber = 8;
471   bool packed() const;
472   void set_packed(bool value);
473 
474   // repeated .google.protobuf.Option options = 9;
475   int options_size() const;
476   void clear_options();
477   static const int kOptionsFieldNumber = 9;
478   const ::google::protobuf::Option& options(int index) const;
479   ::google::protobuf::Option* mutable_options(int index);
480   ::google::protobuf::Option* add_options();
481   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
482       mutable_options();
483   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
484       options() const;
485 
486   // optional string json_name = 10;
487   void clear_json_name();
488   static const int kJsonNameFieldNumber = 10;
489   const ::std::string& json_name() const;
490   void set_json_name(const ::std::string& value);
491   void set_json_name(const char* value);
492   void set_json_name(const char* value, size_t size);
493   ::std::string* mutable_json_name();
494   ::std::string* release_json_name();
495   void set_allocated_json_name(::std::string* json_name);
496 
497   // optional string default_value = 11;
498   void clear_default_value();
499   static const int kDefaultValueFieldNumber = 11;
500   const ::std::string& default_value() const;
501   void set_default_value(const ::std::string& value);
502   void set_default_value(const char* value);
503   void set_default_value(const char* value, size_t size);
504   ::std::string* mutable_default_value();
505   ::std::string* release_default_value();
506   void set_allocated_default_value(::std::string* default_value);
507 
508   // @@protoc_insertion_point(class_scope:google.protobuf.Field)
509  private:
510 
511   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
512   bool _is_default_instance_;
513   int kind_;
514   int cardinality_;
515   ::google::protobuf::internal::ArenaStringPtr name_;
516   ::google::protobuf::int32 number_;
517   ::google::protobuf::int32 oneof_index_;
518   ::google::protobuf::internal::ArenaStringPtr type_url_;
519   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
520   ::google::protobuf::internal::ArenaStringPtr json_name_;
521   ::google::protobuf::internal::ArenaStringPtr default_value_;
522   bool packed_;
523   mutable int _cached_size_;
524   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2eproto();
525   friend void protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto();
526   friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto();
527 
528   void InitAsDefaultInstance();
529   static Field* default_instance_;
530 };
531 // -------------------------------------------------------------------
532 
533 class LIBPROTOBUF_EXPORT Enum : public ::google::protobuf::Message {
534  public:
535   Enum();
536   virtual ~Enum();
537 
538   Enum(const Enum& from);
539 
540   inline Enum& operator=(const Enum& from) {
541     CopyFrom(from);
542     return *this;
543   }
544 
545   static const ::google::protobuf::Descriptor* descriptor();
546   static const Enum& default_instance();
547 
548   void Swap(Enum* other);
549 
550   // implements Message ----------------------------------------------
551 
New()552   inline Enum* New() const { return New(NULL); }
553 
554   Enum* New(::google::protobuf::Arena* arena) const;
555   void CopyFrom(const ::google::protobuf::Message& from);
556   void MergeFrom(const ::google::protobuf::Message& from);
557   void CopyFrom(const Enum& from);
558   void MergeFrom(const Enum& from);
559   void Clear();
560   bool IsInitialized() const;
561 
562   int ByteSize() const;
563   bool MergePartialFromCodedStream(
564       ::google::protobuf::io::CodedInputStream* input);
565   void SerializeWithCachedSizes(
566       ::google::protobuf::io::CodedOutputStream* output) const;
567   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()568   int GetCachedSize() const { return _cached_size_; }
569   private:
570   void SharedCtor();
571   void SharedDtor();
572   void SetCachedSize(int size) const;
573   void InternalSwap(Enum* other);
574   private:
GetArenaNoVirtual()575   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
576     return _internal_metadata_.arena();
577   }
MaybeArenaPtr()578   inline void* MaybeArenaPtr() const {
579     return _internal_metadata_.raw_arena_ptr();
580   }
581   public:
582 
583   ::google::protobuf::Metadata GetMetadata() const;
584 
585   // nested types ----------------------------------------------------
586 
587   // accessors -------------------------------------------------------
588 
589   // optional string name = 1;
590   void clear_name();
591   static const int kNameFieldNumber = 1;
592   const ::std::string& name() const;
593   void set_name(const ::std::string& value);
594   void set_name(const char* value);
595   void set_name(const char* value, size_t size);
596   ::std::string* mutable_name();
597   ::std::string* release_name();
598   void set_allocated_name(::std::string* name);
599 
600   // repeated .google.protobuf.EnumValue enumvalue = 2;
601   int enumvalue_size() const;
602   void clear_enumvalue();
603   static const int kEnumvalueFieldNumber = 2;
604   const ::google::protobuf::EnumValue& enumvalue(int index) const;
605   ::google::protobuf::EnumValue* mutable_enumvalue(int index);
606   ::google::protobuf::EnumValue* add_enumvalue();
607   ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >*
608       mutable_enumvalue();
609   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >&
610       enumvalue() const;
611 
612   // repeated .google.protobuf.Option options = 3;
613   int options_size() const;
614   void clear_options();
615   static const int kOptionsFieldNumber = 3;
616   const ::google::protobuf::Option& options(int index) const;
617   ::google::protobuf::Option* mutable_options(int index);
618   ::google::protobuf::Option* add_options();
619   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
620       mutable_options();
621   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
622       options() const;
623 
624   // optional .google.protobuf.SourceContext source_context = 4;
625   bool has_source_context() const;
626   void clear_source_context();
627   static const int kSourceContextFieldNumber = 4;
628   const ::google::protobuf::SourceContext& source_context() const;
629   ::google::protobuf::SourceContext* mutable_source_context();
630   ::google::protobuf::SourceContext* release_source_context();
631   void set_allocated_source_context(::google::protobuf::SourceContext* source_context);
632 
633   // optional .google.protobuf.Syntax syntax = 5;
634   void clear_syntax();
635   static const int kSyntaxFieldNumber = 5;
636   ::google::protobuf::Syntax syntax() const;
637   void set_syntax(::google::protobuf::Syntax value);
638 
639   // @@protoc_insertion_point(class_scope:google.protobuf.Enum)
640  private:
641 
642   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
643   bool _is_default_instance_;
644   ::google::protobuf::internal::ArenaStringPtr name_;
645   ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue > enumvalue_;
646   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
647   ::google::protobuf::SourceContext* source_context_;
648   int syntax_;
649   mutable int _cached_size_;
650   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2eproto();
651   friend void protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto();
652   friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto();
653 
654   void InitAsDefaultInstance();
655   static Enum* default_instance_;
656 };
657 // -------------------------------------------------------------------
658 
659 class LIBPROTOBUF_EXPORT EnumValue : public ::google::protobuf::Message {
660  public:
661   EnumValue();
662   virtual ~EnumValue();
663 
664   EnumValue(const EnumValue& from);
665 
666   inline EnumValue& operator=(const EnumValue& from) {
667     CopyFrom(from);
668     return *this;
669   }
670 
671   static const ::google::protobuf::Descriptor* descriptor();
672   static const EnumValue& default_instance();
673 
674   void Swap(EnumValue* other);
675 
676   // implements Message ----------------------------------------------
677 
New()678   inline EnumValue* New() const { return New(NULL); }
679 
680   EnumValue* New(::google::protobuf::Arena* arena) const;
681   void CopyFrom(const ::google::protobuf::Message& from);
682   void MergeFrom(const ::google::protobuf::Message& from);
683   void CopyFrom(const EnumValue& from);
684   void MergeFrom(const EnumValue& from);
685   void Clear();
686   bool IsInitialized() const;
687 
688   int ByteSize() const;
689   bool MergePartialFromCodedStream(
690       ::google::protobuf::io::CodedInputStream* input);
691   void SerializeWithCachedSizes(
692       ::google::protobuf::io::CodedOutputStream* output) const;
693   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()694   int GetCachedSize() const { return _cached_size_; }
695   private:
696   void SharedCtor();
697   void SharedDtor();
698   void SetCachedSize(int size) const;
699   void InternalSwap(EnumValue* other);
700   private:
GetArenaNoVirtual()701   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
702     return _internal_metadata_.arena();
703   }
MaybeArenaPtr()704   inline void* MaybeArenaPtr() const {
705     return _internal_metadata_.raw_arena_ptr();
706   }
707   public:
708 
709   ::google::protobuf::Metadata GetMetadata() const;
710 
711   // nested types ----------------------------------------------------
712 
713   // accessors -------------------------------------------------------
714 
715   // optional string name = 1;
716   void clear_name();
717   static const int kNameFieldNumber = 1;
718   const ::std::string& name() const;
719   void set_name(const ::std::string& value);
720   void set_name(const char* value);
721   void set_name(const char* value, size_t size);
722   ::std::string* mutable_name();
723   ::std::string* release_name();
724   void set_allocated_name(::std::string* name);
725 
726   // optional int32 number = 2;
727   void clear_number();
728   static const int kNumberFieldNumber = 2;
729   ::google::protobuf::int32 number() const;
730   void set_number(::google::protobuf::int32 value);
731 
732   // repeated .google.protobuf.Option options = 3;
733   int options_size() const;
734   void clear_options();
735   static const int kOptionsFieldNumber = 3;
736   const ::google::protobuf::Option& options(int index) const;
737   ::google::protobuf::Option* mutable_options(int index);
738   ::google::protobuf::Option* add_options();
739   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
740       mutable_options();
741   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
742       options() const;
743 
744   // @@protoc_insertion_point(class_scope:google.protobuf.EnumValue)
745  private:
746 
747   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
748   bool _is_default_instance_;
749   ::google::protobuf::internal::ArenaStringPtr name_;
750   ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
751   ::google::protobuf::int32 number_;
752   mutable int _cached_size_;
753   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2eproto();
754   friend void protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto();
755   friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto();
756 
757   void InitAsDefaultInstance();
758   static EnumValue* default_instance_;
759 };
760 // -------------------------------------------------------------------
761 
762 class LIBPROTOBUF_EXPORT Option : public ::google::protobuf::Message {
763  public:
764   Option();
765   virtual ~Option();
766 
767   Option(const Option& from);
768 
769   inline Option& operator=(const Option& from) {
770     CopyFrom(from);
771     return *this;
772   }
773 
774   static const ::google::protobuf::Descriptor* descriptor();
775   static const Option& default_instance();
776 
777   void Swap(Option* other);
778 
779   // implements Message ----------------------------------------------
780 
New()781   inline Option* New() const { return New(NULL); }
782 
783   Option* New(::google::protobuf::Arena* arena) const;
784   void CopyFrom(const ::google::protobuf::Message& from);
785   void MergeFrom(const ::google::protobuf::Message& from);
786   void CopyFrom(const Option& from);
787   void MergeFrom(const Option& from);
788   void Clear();
789   bool IsInitialized() const;
790 
791   int ByteSize() const;
792   bool MergePartialFromCodedStream(
793       ::google::protobuf::io::CodedInputStream* input);
794   void SerializeWithCachedSizes(
795       ::google::protobuf::io::CodedOutputStream* output) const;
796   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()797   int GetCachedSize() const { return _cached_size_; }
798   private:
799   void SharedCtor();
800   void SharedDtor();
801   void SetCachedSize(int size) const;
802   void InternalSwap(Option* other);
803   private:
GetArenaNoVirtual()804   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
805     return _internal_metadata_.arena();
806   }
MaybeArenaPtr()807   inline void* MaybeArenaPtr() const {
808     return _internal_metadata_.raw_arena_ptr();
809   }
810   public:
811 
812   ::google::protobuf::Metadata GetMetadata() const;
813 
814   // nested types ----------------------------------------------------
815 
816   // accessors -------------------------------------------------------
817 
818   // optional string name = 1;
819   void clear_name();
820   static const int kNameFieldNumber = 1;
821   const ::std::string& name() const;
822   void set_name(const ::std::string& value);
823   void set_name(const char* value);
824   void set_name(const char* value, size_t size);
825   ::std::string* mutable_name();
826   ::std::string* release_name();
827   void set_allocated_name(::std::string* name);
828 
829   // optional .google.protobuf.Any value = 2;
830   bool has_value() const;
831   void clear_value();
832   static const int kValueFieldNumber = 2;
833   const ::google::protobuf::Any& value() const;
834   ::google::protobuf::Any* mutable_value();
835   ::google::protobuf::Any* release_value();
836   void set_allocated_value(::google::protobuf::Any* value);
837 
838   // @@protoc_insertion_point(class_scope:google.protobuf.Option)
839  private:
840 
841   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
842   bool _is_default_instance_;
843   ::google::protobuf::internal::ArenaStringPtr name_;
844   ::google::protobuf::Any* value_;
845   mutable int _cached_size_;
846   friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2ftype_2eproto();
847   friend void protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto();
848   friend void protobuf_ShutdownFile_google_2fprotobuf_2ftype_2eproto();
849 
850   void InitAsDefaultInstance();
851   static Option* default_instance_;
852 };
853 // ===================================================================
854 
855 
856 // ===================================================================
857 
858 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
859 // Type
860 
861 // optional string name = 1;
clear_name()862 inline void Type::clear_name() {
863   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
864 }
name()865 inline const ::std::string& Type::name() const {
866   // @@protoc_insertion_point(field_get:google.protobuf.Type.name)
867   return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
868 }
set_name(const::std::string & value)869 inline void Type::set_name(const ::std::string& value) {
870 
871   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
872   // @@protoc_insertion_point(field_set:google.protobuf.Type.name)
873 }
set_name(const char * value)874 inline void Type::set_name(const char* value) {
875 
876   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
877   // @@protoc_insertion_point(field_set_char:google.protobuf.Type.name)
878 }
set_name(const char * value,size_t size)879 inline void Type::set_name(const char* value, size_t size) {
880 
881   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
882       ::std::string(reinterpret_cast<const char*>(value), size));
883   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.name)
884 }
mutable_name()885 inline ::std::string* Type::mutable_name() {
886 
887   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.name)
888   return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
889 }
release_name()890 inline ::std::string* Type::release_name() {
891   // @@protoc_insertion_point(field_release:google.protobuf.Type.name)
892 
893   return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
894 }
set_allocated_name(::std::string * name)895 inline void Type::set_allocated_name(::std::string* name) {
896   if (name != NULL) {
897 
898   } else {
899 
900   }
901   name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
902   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.name)
903 }
904 
905 // repeated .google.protobuf.Field fields = 2;
fields_size()906 inline int Type::fields_size() const {
907   return fields_.size();
908 }
clear_fields()909 inline void Type::clear_fields() {
910   fields_.Clear();
911 }
fields(int index)912 inline const ::google::protobuf::Field& Type::fields(int index) const {
913   // @@protoc_insertion_point(field_get:google.protobuf.Type.fields)
914   return fields_.Get(index);
915 }
mutable_fields(int index)916 inline ::google::protobuf::Field* Type::mutable_fields(int index) {
917   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.fields)
918   return fields_.Mutable(index);
919 }
add_fields()920 inline ::google::protobuf::Field* Type::add_fields() {
921   // @@protoc_insertion_point(field_add:google.protobuf.Type.fields)
922   return fields_.Add();
923 }
924 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >*
mutable_fields()925 Type::mutable_fields() {
926   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.fields)
927   return &fields_;
928 }
929 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field >&
fields()930 Type::fields() const {
931   // @@protoc_insertion_point(field_list:google.protobuf.Type.fields)
932   return fields_;
933 }
934 
935 // repeated string oneofs = 3;
oneofs_size()936 inline int Type::oneofs_size() const {
937   return oneofs_.size();
938 }
clear_oneofs()939 inline void Type::clear_oneofs() {
940   oneofs_.Clear();
941 }
oneofs(int index)942 inline const ::std::string& Type::oneofs(int index) const {
943   // @@protoc_insertion_point(field_get:google.protobuf.Type.oneofs)
944   return oneofs_.Get(index);
945 }
mutable_oneofs(int index)946 inline ::std::string* Type::mutable_oneofs(int index) {
947   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.oneofs)
948   return oneofs_.Mutable(index);
949 }
set_oneofs(int index,const::std::string & value)950 inline void Type::set_oneofs(int index, const ::std::string& value) {
951   // @@protoc_insertion_point(field_set:google.protobuf.Type.oneofs)
952   oneofs_.Mutable(index)->assign(value);
953 }
set_oneofs(int index,const char * value)954 inline void Type::set_oneofs(int index, const char* value) {
955   oneofs_.Mutable(index)->assign(value);
956   // @@protoc_insertion_point(field_set_char:google.protobuf.Type.oneofs)
957 }
set_oneofs(int index,const char * value,size_t size)958 inline void Type::set_oneofs(int index, const char* value, size_t size) {
959   oneofs_.Mutable(index)->assign(
960     reinterpret_cast<const char*>(value), size);
961   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.oneofs)
962 }
add_oneofs()963 inline ::std::string* Type::add_oneofs() {
964   // @@protoc_insertion_point(field_add_mutable:google.protobuf.Type.oneofs)
965   return oneofs_.Add();
966 }
add_oneofs(const::std::string & value)967 inline void Type::add_oneofs(const ::std::string& value) {
968   oneofs_.Add()->assign(value);
969   // @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs)
970 }
add_oneofs(const char * value)971 inline void Type::add_oneofs(const char* value) {
972   oneofs_.Add()->assign(value);
973   // @@protoc_insertion_point(field_add_char:google.protobuf.Type.oneofs)
974 }
add_oneofs(const char * value,size_t size)975 inline void Type::add_oneofs(const char* value, size_t size) {
976   oneofs_.Add()->assign(reinterpret_cast<const char*>(value), size);
977   // @@protoc_insertion_point(field_add_pointer:google.protobuf.Type.oneofs)
978 }
979 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
oneofs()980 Type::oneofs() const {
981   // @@protoc_insertion_point(field_list:google.protobuf.Type.oneofs)
982   return oneofs_;
983 }
984 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_oneofs()985 Type::mutable_oneofs() {
986   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.oneofs)
987   return &oneofs_;
988 }
989 
990 // repeated .google.protobuf.Option options = 4;
options_size()991 inline int Type::options_size() const {
992   return options_.size();
993 }
clear_options()994 inline void Type::clear_options() {
995   options_.Clear();
996 }
options(int index)997 inline const ::google::protobuf::Option& Type::options(int index) const {
998   // @@protoc_insertion_point(field_get:google.protobuf.Type.options)
999   return options_.Get(index);
1000 }
mutable_options(int index)1001 inline ::google::protobuf::Option* Type::mutable_options(int index) {
1002   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.options)
1003   return options_.Mutable(index);
1004 }
add_options()1005 inline ::google::protobuf::Option* Type::add_options() {
1006   // @@protoc_insertion_point(field_add:google.protobuf.Type.options)
1007   return options_.Add();
1008 }
1009 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
mutable_options()1010 Type::mutable_options() {
1011   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.options)
1012   return &options_;
1013 }
1014 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
options()1015 Type::options() const {
1016   // @@protoc_insertion_point(field_list:google.protobuf.Type.options)
1017   return options_;
1018 }
1019 
1020 // optional .google.protobuf.SourceContext source_context = 5;
has_source_context()1021 inline bool Type::has_source_context() const {
1022   return !_is_default_instance_ && source_context_ != NULL;
1023 }
clear_source_context()1024 inline void Type::clear_source_context() {
1025   if (GetArenaNoVirtual() == NULL && source_context_ != NULL) delete source_context_;
1026   source_context_ = NULL;
1027 }
source_context()1028 inline const ::google::protobuf::SourceContext& Type::source_context() const {
1029   // @@protoc_insertion_point(field_get:google.protobuf.Type.source_context)
1030   return source_context_ != NULL ? *source_context_ : *default_instance_->source_context_;
1031 }
mutable_source_context()1032 inline ::google::protobuf::SourceContext* Type::mutable_source_context() {
1033 
1034   if (source_context_ == NULL) {
1035     source_context_ = new ::google::protobuf::SourceContext;
1036   }
1037   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.source_context)
1038   return source_context_;
1039 }
release_source_context()1040 inline ::google::protobuf::SourceContext* Type::release_source_context() {
1041   // @@protoc_insertion_point(field_release:google.protobuf.Type.source_context)
1042 
1043   ::google::protobuf::SourceContext* temp = source_context_;
1044   source_context_ = NULL;
1045   return temp;
1046 }
set_allocated_source_context(::google::protobuf::SourceContext * source_context)1047 inline void Type::set_allocated_source_context(::google::protobuf::SourceContext* source_context) {
1048   delete source_context_;
1049   source_context_ = source_context;
1050   if (source_context) {
1051 
1052   } else {
1053 
1054   }
1055   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.source_context)
1056 }
1057 
1058 // optional .google.protobuf.Syntax syntax = 6;
clear_syntax()1059 inline void Type::clear_syntax() {
1060   syntax_ = 0;
1061 }
syntax()1062 inline ::google::protobuf::Syntax Type::syntax() const {
1063   // @@protoc_insertion_point(field_get:google.protobuf.Type.syntax)
1064   return static_cast< ::google::protobuf::Syntax >(syntax_);
1065 }
set_syntax(::google::protobuf::Syntax value)1066 inline void Type::set_syntax(::google::protobuf::Syntax value) {
1067 
1068   syntax_ = value;
1069   // @@protoc_insertion_point(field_set:google.protobuf.Type.syntax)
1070 }
1071 
1072 // -------------------------------------------------------------------
1073 
1074 // Field
1075 
1076 // optional .google.protobuf.Field.Kind kind = 1;
clear_kind()1077 inline void Field::clear_kind() {
1078   kind_ = 0;
1079 }
kind()1080 inline ::google::protobuf::Field_Kind Field::kind() const {
1081   // @@protoc_insertion_point(field_get:google.protobuf.Field.kind)
1082   return static_cast< ::google::protobuf::Field_Kind >(kind_);
1083 }
set_kind(::google::protobuf::Field_Kind value)1084 inline void Field::set_kind(::google::protobuf::Field_Kind value) {
1085 
1086   kind_ = value;
1087   // @@protoc_insertion_point(field_set:google.protobuf.Field.kind)
1088 }
1089 
1090 // optional .google.protobuf.Field.Cardinality cardinality = 2;
clear_cardinality()1091 inline void Field::clear_cardinality() {
1092   cardinality_ = 0;
1093 }
cardinality()1094 inline ::google::protobuf::Field_Cardinality Field::cardinality() const {
1095   // @@protoc_insertion_point(field_get:google.protobuf.Field.cardinality)
1096   return static_cast< ::google::protobuf::Field_Cardinality >(cardinality_);
1097 }
set_cardinality(::google::protobuf::Field_Cardinality value)1098 inline void Field::set_cardinality(::google::protobuf::Field_Cardinality value) {
1099 
1100   cardinality_ = value;
1101   // @@protoc_insertion_point(field_set:google.protobuf.Field.cardinality)
1102 }
1103 
1104 // optional int32 number = 3;
clear_number()1105 inline void Field::clear_number() {
1106   number_ = 0;
1107 }
number()1108 inline ::google::protobuf::int32 Field::number() const {
1109   // @@protoc_insertion_point(field_get:google.protobuf.Field.number)
1110   return number_;
1111 }
set_number(::google::protobuf::int32 value)1112 inline void Field::set_number(::google::protobuf::int32 value) {
1113 
1114   number_ = value;
1115   // @@protoc_insertion_point(field_set:google.protobuf.Field.number)
1116 }
1117 
1118 // optional string name = 4;
clear_name()1119 inline void Field::clear_name() {
1120   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1121 }
name()1122 inline const ::std::string& Field::name() const {
1123   // @@protoc_insertion_point(field_get:google.protobuf.Field.name)
1124   return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1125 }
set_name(const::std::string & value)1126 inline void Field::set_name(const ::std::string& value) {
1127 
1128   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1129   // @@protoc_insertion_point(field_set:google.protobuf.Field.name)
1130 }
set_name(const char * value)1131 inline void Field::set_name(const char* value) {
1132 
1133   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1134   // @@protoc_insertion_point(field_set_char:google.protobuf.Field.name)
1135 }
set_name(const char * value,size_t size)1136 inline void Field::set_name(const char* value, size_t size) {
1137 
1138   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1139       ::std::string(reinterpret_cast<const char*>(value), size));
1140   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.name)
1141 }
mutable_name()1142 inline ::std::string* Field::mutable_name() {
1143 
1144   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.name)
1145   return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1146 }
release_name()1147 inline ::std::string* Field::release_name() {
1148   // @@protoc_insertion_point(field_release:google.protobuf.Field.name)
1149 
1150   return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1151 }
set_allocated_name(::std::string * name)1152 inline void Field::set_allocated_name(::std::string* name) {
1153   if (name != NULL) {
1154 
1155   } else {
1156 
1157   }
1158   name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
1159   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.name)
1160 }
1161 
1162 // optional string type_url = 6;
clear_type_url()1163 inline void Field::clear_type_url() {
1164   type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1165 }
type_url()1166 inline const ::std::string& Field::type_url() const {
1167   // @@protoc_insertion_point(field_get:google.protobuf.Field.type_url)
1168   return type_url_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1169 }
set_type_url(const::std::string & value)1170 inline void Field::set_type_url(const ::std::string& value) {
1171 
1172   type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1173   // @@protoc_insertion_point(field_set:google.protobuf.Field.type_url)
1174 }
set_type_url(const char * value)1175 inline void Field::set_type_url(const char* value) {
1176 
1177   type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1178   // @@protoc_insertion_point(field_set_char:google.protobuf.Field.type_url)
1179 }
set_type_url(const char * value,size_t size)1180 inline void Field::set_type_url(const char* value, size_t size) {
1181 
1182   type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1183       ::std::string(reinterpret_cast<const char*>(value), size));
1184   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.type_url)
1185 }
mutable_type_url()1186 inline ::std::string* Field::mutable_type_url() {
1187 
1188   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.type_url)
1189   return type_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1190 }
release_type_url()1191 inline ::std::string* Field::release_type_url() {
1192   // @@protoc_insertion_point(field_release:google.protobuf.Field.type_url)
1193 
1194   return type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1195 }
set_allocated_type_url(::std::string * type_url)1196 inline void Field::set_allocated_type_url(::std::string* type_url) {
1197   if (type_url != NULL) {
1198 
1199   } else {
1200 
1201   }
1202   type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_url);
1203   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.type_url)
1204 }
1205 
1206 // optional int32 oneof_index = 7;
clear_oneof_index()1207 inline void Field::clear_oneof_index() {
1208   oneof_index_ = 0;
1209 }
oneof_index()1210 inline ::google::protobuf::int32 Field::oneof_index() const {
1211   // @@protoc_insertion_point(field_get:google.protobuf.Field.oneof_index)
1212   return oneof_index_;
1213 }
set_oneof_index(::google::protobuf::int32 value)1214 inline void Field::set_oneof_index(::google::protobuf::int32 value) {
1215 
1216   oneof_index_ = value;
1217   // @@protoc_insertion_point(field_set:google.protobuf.Field.oneof_index)
1218 }
1219 
1220 // optional bool packed = 8;
clear_packed()1221 inline void Field::clear_packed() {
1222   packed_ = false;
1223 }
packed()1224 inline bool Field::packed() const {
1225   // @@protoc_insertion_point(field_get:google.protobuf.Field.packed)
1226   return packed_;
1227 }
set_packed(bool value)1228 inline void Field::set_packed(bool value) {
1229 
1230   packed_ = value;
1231   // @@protoc_insertion_point(field_set:google.protobuf.Field.packed)
1232 }
1233 
1234 // repeated .google.protobuf.Option options = 9;
options_size()1235 inline int Field::options_size() const {
1236   return options_.size();
1237 }
clear_options()1238 inline void Field::clear_options() {
1239   options_.Clear();
1240 }
options(int index)1241 inline const ::google::protobuf::Option& Field::options(int index) const {
1242   // @@protoc_insertion_point(field_get:google.protobuf.Field.options)
1243   return options_.Get(index);
1244 }
mutable_options(int index)1245 inline ::google::protobuf::Option* Field::mutable_options(int index) {
1246   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.options)
1247   return options_.Mutable(index);
1248 }
add_options()1249 inline ::google::protobuf::Option* Field::add_options() {
1250   // @@protoc_insertion_point(field_add:google.protobuf.Field.options)
1251   return options_.Add();
1252 }
1253 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
mutable_options()1254 Field::mutable_options() {
1255   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Field.options)
1256   return &options_;
1257 }
1258 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
options()1259 Field::options() const {
1260   // @@protoc_insertion_point(field_list:google.protobuf.Field.options)
1261   return options_;
1262 }
1263 
1264 // optional string json_name = 10;
clear_json_name()1265 inline void Field::clear_json_name() {
1266   json_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1267 }
json_name()1268 inline const ::std::string& Field::json_name() const {
1269   // @@protoc_insertion_point(field_get:google.protobuf.Field.json_name)
1270   return json_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1271 }
set_json_name(const::std::string & value)1272 inline void Field::set_json_name(const ::std::string& value) {
1273 
1274   json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1275   // @@protoc_insertion_point(field_set:google.protobuf.Field.json_name)
1276 }
set_json_name(const char * value)1277 inline void Field::set_json_name(const char* value) {
1278 
1279   json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1280   // @@protoc_insertion_point(field_set_char:google.protobuf.Field.json_name)
1281 }
set_json_name(const char * value,size_t size)1282 inline void Field::set_json_name(const char* value, size_t size) {
1283 
1284   json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1285       ::std::string(reinterpret_cast<const char*>(value), size));
1286   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.json_name)
1287 }
mutable_json_name()1288 inline ::std::string* Field::mutable_json_name() {
1289 
1290   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.json_name)
1291   return json_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1292 }
release_json_name()1293 inline ::std::string* Field::release_json_name() {
1294   // @@protoc_insertion_point(field_release:google.protobuf.Field.json_name)
1295 
1296   return json_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1297 }
set_allocated_json_name(::std::string * json_name)1298 inline void Field::set_allocated_json_name(::std::string* json_name) {
1299   if (json_name != NULL) {
1300 
1301   } else {
1302 
1303   }
1304   json_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), json_name);
1305   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.json_name)
1306 }
1307 
1308 // optional string default_value = 11;
clear_default_value()1309 inline void Field::clear_default_value() {
1310   default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1311 }
default_value()1312 inline const ::std::string& Field::default_value() const {
1313   // @@protoc_insertion_point(field_get:google.protobuf.Field.default_value)
1314   return default_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1315 }
set_default_value(const::std::string & value)1316 inline void Field::set_default_value(const ::std::string& value) {
1317 
1318   default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1319   // @@protoc_insertion_point(field_set:google.protobuf.Field.default_value)
1320 }
set_default_value(const char * value)1321 inline void Field::set_default_value(const char* value) {
1322 
1323   default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1324   // @@protoc_insertion_point(field_set_char:google.protobuf.Field.default_value)
1325 }
set_default_value(const char * value,size_t size)1326 inline void Field::set_default_value(const char* value, size_t size) {
1327 
1328   default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1329       ::std::string(reinterpret_cast<const char*>(value), size));
1330   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.default_value)
1331 }
mutable_default_value()1332 inline ::std::string* Field::mutable_default_value() {
1333 
1334   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.default_value)
1335   return default_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1336 }
release_default_value()1337 inline ::std::string* Field::release_default_value() {
1338   // @@protoc_insertion_point(field_release:google.protobuf.Field.default_value)
1339 
1340   return default_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1341 }
set_allocated_default_value(::std::string * default_value)1342 inline void Field::set_allocated_default_value(::std::string* default_value) {
1343   if (default_value != NULL) {
1344 
1345   } else {
1346 
1347   }
1348   default_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), default_value);
1349   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.default_value)
1350 }
1351 
1352 // -------------------------------------------------------------------
1353 
1354 // Enum
1355 
1356 // optional string name = 1;
clear_name()1357 inline void Enum::clear_name() {
1358   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1359 }
name()1360 inline const ::std::string& Enum::name() const {
1361   // @@protoc_insertion_point(field_get:google.protobuf.Enum.name)
1362   return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1363 }
set_name(const::std::string & value)1364 inline void Enum::set_name(const ::std::string& value) {
1365 
1366   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1367   // @@protoc_insertion_point(field_set:google.protobuf.Enum.name)
1368 }
set_name(const char * value)1369 inline void Enum::set_name(const char* value) {
1370 
1371   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1372   // @@protoc_insertion_point(field_set_char:google.protobuf.Enum.name)
1373 }
set_name(const char * value,size_t size)1374 inline void Enum::set_name(const char* value, size_t size) {
1375 
1376   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1377       ::std::string(reinterpret_cast<const char*>(value), size));
1378   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Enum.name)
1379 }
mutable_name()1380 inline ::std::string* Enum::mutable_name() {
1381 
1382   // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.name)
1383   return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1384 }
release_name()1385 inline ::std::string* Enum::release_name() {
1386   // @@protoc_insertion_point(field_release:google.protobuf.Enum.name)
1387 
1388   return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1389 }
set_allocated_name(::std::string * name)1390 inline void Enum::set_allocated_name(::std::string* name) {
1391   if (name != NULL) {
1392 
1393   } else {
1394 
1395   }
1396   name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
1397   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.name)
1398 }
1399 
1400 // repeated .google.protobuf.EnumValue enumvalue = 2;
enumvalue_size()1401 inline int Enum::enumvalue_size() const {
1402   return enumvalue_.size();
1403 }
clear_enumvalue()1404 inline void Enum::clear_enumvalue() {
1405   enumvalue_.Clear();
1406 }
enumvalue(int index)1407 inline const ::google::protobuf::EnumValue& Enum::enumvalue(int index) const {
1408   // @@protoc_insertion_point(field_get:google.protobuf.Enum.enumvalue)
1409   return enumvalue_.Get(index);
1410 }
mutable_enumvalue(int index)1411 inline ::google::protobuf::EnumValue* Enum::mutable_enumvalue(int index) {
1412   // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.enumvalue)
1413   return enumvalue_.Mutable(index);
1414 }
add_enumvalue()1415 inline ::google::protobuf::EnumValue* Enum::add_enumvalue() {
1416   // @@protoc_insertion_point(field_add:google.protobuf.Enum.enumvalue)
1417   return enumvalue_.Add();
1418 }
1419 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >*
mutable_enumvalue()1420 Enum::mutable_enumvalue() {
1421   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.enumvalue)
1422   return &enumvalue_;
1423 }
1424 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue >&
enumvalue()1425 Enum::enumvalue() const {
1426   // @@protoc_insertion_point(field_list:google.protobuf.Enum.enumvalue)
1427   return enumvalue_;
1428 }
1429 
1430 // repeated .google.protobuf.Option options = 3;
options_size()1431 inline int Enum::options_size() const {
1432   return options_.size();
1433 }
clear_options()1434 inline void Enum::clear_options() {
1435   options_.Clear();
1436 }
options(int index)1437 inline const ::google::protobuf::Option& Enum::options(int index) const {
1438   // @@protoc_insertion_point(field_get:google.protobuf.Enum.options)
1439   return options_.Get(index);
1440 }
mutable_options(int index)1441 inline ::google::protobuf::Option* Enum::mutable_options(int index) {
1442   // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.options)
1443   return options_.Mutable(index);
1444 }
add_options()1445 inline ::google::protobuf::Option* Enum::add_options() {
1446   // @@protoc_insertion_point(field_add:google.protobuf.Enum.options)
1447   return options_.Add();
1448 }
1449 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
mutable_options()1450 Enum::mutable_options() {
1451   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.options)
1452   return &options_;
1453 }
1454 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
options()1455 Enum::options() const {
1456   // @@protoc_insertion_point(field_list:google.protobuf.Enum.options)
1457   return options_;
1458 }
1459 
1460 // optional .google.protobuf.SourceContext source_context = 4;
has_source_context()1461 inline bool Enum::has_source_context() const {
1462   return !_is_default_instance_ && source_context_ != NULL;
1463 }
clear_source_context()1464 inline void Enum::clear_source_context() {
1465   if (GetArenaNoVirtual() == NULL && source_context_ != NULL) delete source_context_;
1466   source_context_ = NULL;
1467 }
source_context()1468 inline const ::google::protobuf::SourceContext& Enum::source_context() const {
1469   // @@protoc_insertion_point(field_get:google.protobuf.Enum.source_context)
1470   return source_context_ != NULL ? *source_context_ : *default_instance_->source_context_;
1471 }
mutable_source_context()1472 inline ::google::protobuf::SourceContext* Enum::mutable_source_context() {
1473 
1474   if (source_context_ == NULL) {
1475     source_context_ = new ::google::protobuf::SourceContext;
1476   }
1477   // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.source_context)
1478   return source_context_;
1479 }
release_source_context()1480 inline ::google::protobuf::SourceContext* Enum::release_source_context() {
1481   // @@protoc_insertion_point(field_release:google.protobuf.Enum.source_context)
1482 
1483   ::google::protobuf::SourceContext* temp = source_context_;
1484   source_context_ = NULL;
1485   return temp;
1486 }
set_allocated_source_context(::google::protobuf::SourceContext * source_context)1487 inline void Enum::set_allocated_source_context(::google::protobuf::SourceContext* source_context) {
1488   delete source_context_;
1489   source_context_ = source_context;
1490   if (source_context) {
1491 
1492   } else {
1493 
1494   }
1495   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.source_context)
1496 }
1497 
1498 // optional .google.protobuf.Syntax syntax = 5;
clear_syntax()1499 inline void Enum::clear_syntax() {
1500   syntax_ = 0;
1501 }
syntax()1502 inline ::google::protobuf::Syntax Enum::syntax() const {
1503   // @@protoc_insertion_point(field_get:google.protobuf.Enum.syntax)
1504   return static_cast< ::google::protobuf::Syntax >(syntax_);
1505 }
set_syntax(::google::protobuf::Syntax value)1506 inline void Enum::set_syntax(::google::protobuf::Syntax value) {
1507 
1508   syntax_ = value;
1509   // @@protoc_insertion_point(field_set:google.protobuf.Enum.syntax)
1510 }
1511 
1512 // -------------------------------------------------------------------
1513 
1514 // EnumValue
1515 
1516 // optional string name = 1;
clear_name()1517 inline void EnumValue::clear_name() {
1518   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1519 }
name()1520 inline const ::std::string& EnumValue::name() const {
1521   // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.name)
1522   return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1523 }
set_name(const::std::string & value)1524 inline void EnumValue::set_name(const ::std::string& value) {
1525 
1526   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1527   // @@protoc_insertion_point(field_set:google.protobuf.EnumValue.name)
1528 }
set_name(const char * value)1529 inline void EnumValue::set_name(const char* value) {
1530 
1531   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1532   // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValue.name)
1533 }
set_name(const char * value,size_t size)1534 inline void EnumValue::set_name(const char* value, size_t size) {
1535 
1536   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1537       ::std::string(reinterpret_cast<const char*>(value), size));
1538   // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValue.name)
1539 }
mutable_name()1540 inline ::std::string* EnumValue::mutable_name() {
1541 
1542   // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.name)
1543   return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1544 }
release_name()1545 inline ::std::string* EnumValue::release_name() {
1546   // @@protoc_insertion_point(field_release:google.protobuf.EnumValue.name)
1547 
1548   return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1549 }
set_allocated_name(::std::string * name)1550 inline void EnumValue::set_allocated_name(::std::string* name) {
1551   if (name != NULL) {
1552 
1553   } else {
1554 
1555   }
1556   name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
1557   // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValue.name)
1558 }
1559 
1560 // optional int32 number = 2;
clear_number()1561 inline void EnumValue::clear_number() {
1562   number_ = 0;
1563 }
number()1564 inline ::google::protobuf::int32 EnumValue::number() const {
1565   // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.number)
1566   return number_;
1567 }
set_number(::google::protobuf::int32 value)1568 inline void EnumValue::set_number(::google::protobuf::int32 value) {
1569 
1570   number_ = value;
1571   // @@protoc_insertion_point(field_set:google.protobuf.EnumValue.number)
1572 }
1573 
1574 // repeated .google.protobuf.Option options = 3;
options_size()1575 inline int EnumValue::options_size() const {
1576   return options_.size();
1577 }
clear_options()1578 inline void EnumValue::clear_options() {
1579   options_.Clear();
1580 }
options(int index)1581 inline const ::google::protobuf::Option& EnumValue::options(int index) const {
1582   // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.options)
1583   return options_.Get(index);
1584 }
mutable_options(int index)1585 inline ::google::protobuf::Option* EnumValue::mutable_options(int index) {
1586   // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.options)
1587   return options_.Mutable(index);
1588 }
add_options()1589 inline ::google::protobuf::Option* EnumValue::add_options() {
1590   // @@protoc_insertion_point(field_add:google.protobuf.EnumValue.options)
1591   return options_.Add();
1592 }
1593 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
mutable_options()1594 EnumValue::mutable_options() {
1595   // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValue.options)
1596   return &options_;
1597 }
1598 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
options()1599 EnumValue::options() const {
1600   // @@protoc_insertion_point(field_list:google.protobuf.EnumValue.options)
1601   return options_;
1602 }
1603 
1604 // -------------------------------------------------------------------
1605 
1606 // Option
1607 
1608 // optional string name = 1;
clear_name()1609 inline void Option::clear_name() {
1610   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1611 }
name()1612 inline const ::std::string& Option::name() const {
1613   // @@protoc_insertion_point(field_get:google.protobuf.Option.name)
1614   return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1615 }
set_name(const::std::string & value)1616 inline void Option::set_name(const ::std::string& value) {
1617 
1618   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1619   // @@protoc_insertion_point(field_set:google.protobuf.Option.name)
1620 }
set_name(const char * value)1621 inline void Option::set_name(const char* value) {
1622 
1623   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1624   // @@protoc_insertion_point(field_set_char:google.protobuf.Option.name)
1625 }
set_name(const char * value,size_t size)1626 inline void Option::set_name(const char* value, size_t size) {
1627 
1628   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1629       ::std::string(reinterpret_cast<const char*>(value), size));
1630   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Option.name)
1631 }
mutable_name()1632 inline ::std::string* Option::mutable_name() {
1633 
1634   // @@protoc_insertion_point(field_mutable:google.protobuf.Option.name)
1635   return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1636 }
release_name()1637 inline ::std::string* Option::release_name() {
1638   // @@protoc_insertion_point(field_release:google.protobuf.Option.name)
1639 
1640   return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1641 }
set_allocated_name(::std::string * name)1642 inline void Option::set_allocated_name(::std::string* name) {
1643   if (name != NULL) {
1644 
1645   } else {
1646 
1647   }
1648   name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
1649   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.name)
1650 }
1651 
1652 // optional .google.protobuf.Any value = 2;
has_value()1653 inline bool Option::has_value() const {
1654   return !_is_default_instance_ && value_ != NULL;
1655 }
clear_value()1656 inline void Option::clear_value() {
1657   if (GetArenaNoVirtual() == NULL && value_ != NULL) delete value_;
1658   value_ = NULL;
1659 }
value()1660 inline const ::google::protobuf::Any& Option::value() const {
1661   // @@protoc_insertion_point(field_get:google.protobuf.Option.value)
1662   return value_ != NULL ? *value_ : *default_instance_->value_;
1663 }
mutable_value()1664 inline ::google::protobuf::Any* Option::mutable_value() {
1665 
1666   if (value_ == NULL) {
1667     value_ = new ::google::protobuf::Any;
1668   }
1669   // @@protoc_insertion_point(field_mutable:google.protobuf.Option.value)
1670   return value_;
1671 }
release_value()1672 inline ::google::protobuf::Any* Option::release_value() {
1673   // @@protoc_insertion_point(field_release:google.protobuf.Option.value)
1674 
1675   ::google::protobuf::Any* temp = value_;
1676   value_ = NULL;
1677   return temp;
1678 }
set_allocated_value(::google::protobuf::Any * value)1679 inline void Option::set_allocated_value(::google::protobuf::Any* value) {
1680   delete value_;
1681   value_ = value;
1682   if (value) {
1683 
1684   } else {
1685 
1686   }
1687   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.value)
1688 }
1689 
1690 #endif  // !PROTOBUF_INLINE_NOT_IN_HEADERS
1691 // -------------------------------------------------------------------
1692 
1693 // -------------------------------------------------------------------
1694 
1695 // -------------------------------------------------------------------
1696 
1697 // -------------------------------------------------------------------
1698 
1699 
1700 // @@protoc_insertion_point(namespace_scope)
1701 
1702 }  // namespace protobuf
1703 }  // namespace google
1704 
1705 #ifndef SWIG
1706 namespace google {
1707 namespace protobuf {
1708 
1709 template <> struct is_proto_enum< ::google::protobuf::Field_Kind> : ::google::protobuf::internal::true_type {};
1710 template <>
1711 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::Field_Kind>() {
1712   return ::google::protobuf::Field_Kind_descriptor();
1713 }
1714 template <> struct is_proto_enum< ::google::protobuf::Field_Cardinality> : ::google::protobuf::internal::true_type {};
1715 template <>
1716 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::Field_Cardinality>() {
1717   return ::google::protobuf::Field_Cardinality_descriptor();
1718 }
1719 template <> struct is_proto_enum< ::google::protobuf::Syntax> : ::google::protobuf::internal::true_type {};
1720 template <>
1721 inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::Syntax>() {
1722   return ::google::protobuf::Syntax_descriptor();
1723 }
1724 
1725 }  // namespace protobuf
1726 }  // namespace google
1727 #endif  // SWIG
1728 
1729 // @@protoc_insertion_point(global_scope)
1730 
1731 #endif  // PROTOBUF_google_2fprotobuf_2ftype_2eproto__INCLUDED
1732