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