1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: google/protobuf/api.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3009000
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 3009000 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>  // IWYU pragma: export
33 #include <google/protobuf/extension_set.h>  // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
35 #include <google/protobuf/source_context.pb.h>
36 #include <google/protobuf/type.pb.h>
37 // @@protoc_insertion_point(includes)
38 #include <google/protobuf/port_def.inc>
39 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fapi_2eproto PROTOBUF_EXPORT
40 PROTOBUF_NAMESPACE_OPEN
41 namespace internal {
42 class AnyMetadata;
43 }  // namespace internal
44 PROTOBUF_NAMESPACE_CLOSE
45 
46 // Internal implementation detail -- do not use these members.
47 struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fapi_2eproto {
48   static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
49     PROTOBUF_SECTION_VARIABLE(protodesc_cold);
50   static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
51     PROTOBUF_SECTION_VARIABLE(protodesc_cold);
52   static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
53     PROTOBUF_SECTION_VARIABLE(protodesc_cold);
54   static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
55   static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
56   static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
57 };
58 extern PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fapi_2eproto;
59 PROTOBUF_NAMESPACE_OPEN
60 class Api;
61 class ApiDefaultTypeInternal;
62 PROTOBUF_EXPORT extern ApiDefaultTypeInternal _Api_default_instance_;
63 class Method;
64 class MethodDefaultTypeInternal;
65 PROTOBUF_EXPORT extern MethodDefaultTypeInternal _Method_default_instance_;
66 class Mixin;
67 class MixinDefaultTypeInternal;
68 PROTOBUF_EXPORT extern MixinDefaultTypeInternal _Mixin_default_instance_;
69 PROTOBUF_NAMESPACE_CLOSE
70 PROTOBUF_NAMESPACE_OPEN
71 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Api* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Api>(Arena*);
72 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Method* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Method>(Arena*);
73 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Mixin* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Mixin>(Arena*);
74 PROTOBUF_NAMESPACE_CLOSE
75 PROTOBUF_NAMESPACE_OPEN
76 
77 // ===================================================================
78 
79 class PROTOBUF_EXPORT Api :
80     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Api) */ {
81  public:
82   Api();
83   virtual ~Api();
84 
85   Api(const Api& from);
Api(Api && from)86   Api(Api&& from) noexcept
87     : Api() {
88     *this = ::std::move(from);
89   }
90 
91   inline Api& operator=(const Api& from) {
92     CopyFrom(from);
93     return *this;
94   }
95   inline Api& operator=(Api&& from) noexcept {
96     if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
97       if (this != &from) InternalSwap(&from);
98     } else {
99       CopyFrom(from);
100     }
101     return *this;
102   }
103 
descriptor()104   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
105     return GetDescriptor();
106   }
GetDescriptor()107   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
108     return GetMetadataStatic().descriptor;
109   }
GetReflection()110   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
111     return GetMetadataStatic().reflection;
112   }
113   static const Api& default_instance();
114 
115   static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
internal_default_instance()116   static inline const Api* internal_default_instance() {
117     return reinterpret_cast<const Api*>(
118                &_Api_default_instance_);
119   }
120   static constexpr int kIndexInFileMessages =
121     0;
122 
swap(Api & a,Api & b)123   friend void swap(Api& a, Api& b) {
124     a.Swap(&b);
125   }
Swap(Api * other)126   inline void Swap(Api* other) {
127     if (other == this) return;
128     InternalSwap(other);
129   }
130 
131   // implements Message ----------------------------------------------
132 
New()133   inline Api* New() const final {
134     return CreateMaybeMessage<Api>(nullptr);
135   }
136 
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)137   Api* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
138     return CreateMaybeMessage<Api>(arena);
139   }
140   void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
141   void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
142   void CopyFrom(const Api& from);
143   void MergeFrom(const Api& from);
144   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
145   bool IsInitialized() const final;
146 
147   size_t ByteSizeLong() const final;
148   #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
149   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
150   #else
151   bool MergePartialFromCodedStream(
152       ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
153   #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
154   void SerializeWithCachedSizes(
155       ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
156   ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
157       ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()158   int GetCachedSize() const final { return _cached_size_.Get(); }
159 
160   private:
161   inline void SharedCtor();
162   inline void SharedDtor();
163   void SetCachedSize(int size) const final;
164   void InternalSwap(Api* other);
165   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()166   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
167     return "google.protobuf.Api";
168   }
169   private:
GetArenaNoVirtual()170   inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
171     return nullptr;
172   }
MaybeArenaPtr()173   inline void* MaybeArenaPtr() const {
174     return nullptr;
175   }
176   public:
177 
178   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
179   private:
GetMetadataStatic()180   static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
181     ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fapi_2eproto);
182     return ::descriptor_table_google_2fprotobuf_2fapi_2eproto.file_level_metadata[kIndexInFileMessages];
183   }
184 
185   public:
186 
187   // nested types ----------------------------------------------------
188 
189   // accessors -------------------------------------------------------
190 
191   enum : int {
192     kMethodsFieldNumber = 2,
193     kOptionsFieldNumber = 3,
194     kMixinsFieldNumber = 6,
195     kNameFieldNumber = 1,
196     kVersionFieldNumber = 4,
197     kSourceContextFieldNumber = 5,
198     kSyntaxFieldNumber = 7,
199   };
200   // repeated .google.protobuf.Method methods = 2;
201   int methods_size() const;
202   void clear_methods();
203   PROTOBUF_NAMESPACE_ID::Method* mutable_methods(int index);
204   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >*
205       mutable_methods();
206   const PROTOBUF_NAMESPACE_ID::Method& methods(int index) const;
207   PROTOBUF_NAMESPACE_ID::Method* add_methods();
208   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >&
209       methods() const;
210 
211   // repeated .google.protobuf.Option options = 3;
212   int options_size() const;
213   void clear_options();
214   PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index);
215   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
216       mutable_options();
217   const PROTOBUF_NAMESPACE_ID::Option& options(int index) const;
218   PROTOBUF_NAMESPACE_ID::Option* add_options();
219   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
220       options() const;
221 
222   // repeated .google.protobuf.Mixin mixins = 6;
223   int mixins_size() const;
224   void clear_mixins();
225   PROTOBUF_NAMESPACE_ID::Mixin* mutable_mixins(int index);
226   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >*
227       mutable_mixins();
228   const PROTOBUF_NAMESPACE_ID::Mixin& mixins(int index) const;
229   PROTOBUF_NAMESPACE_ID::Mixin* add_mixins();
230   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >&
231       mixins() const;
232 
233   // string name = 1;
234   void clear_name();
235   const std::string& name() const;
236   void set_name(const std::string& value);
237   void set_name(std::string&& value);
238   void set_name(const char* value);
239   void set_name(const char* value, size_t size);
240   std::string* mutable_name();
241   std::string* release_name();
242   void set_allocated_name(std::string* name);
243 
244   // string version = 4;
245   void clear_version();
246   const std::string& version() const;
247   void set_version(const std::string& value);
248   void set_version(std::string&& value);
249   void set_version(const char* value);
250   void set_version(const char* value, size_t size);
251   std::string* mutable_version();
252   std::string* release_version();
253   void set_allocated_version(std::string* version);
254 
255   // .google.protobuf.SourceContext source_context = 5;
256   bool has_source_context() const;
257   void clear_source_context();
258   const PROTOBUF_NAMESPACE_ID::SourceContext& source_context() const;
259   PROTOBUF_NAMESPACE_ID::SourceContext* release_source_context();
260   PROTOBUF_NAMESPACE_ID::SourceContext* mutable_source_context();
261   void set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext* source_context);
262 
263   // .google.protobuf.Syntax syntax = 7;
264   void clear_syntax();
265   PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
266   void set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
267 
268   // @@protoc_insertion_point(class_scope:google.protobuf.Api)
269  private:
270   class _Internal;
271 
272   ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
273   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method > methods_;
274   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
275   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin > mixins_;
276   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
277   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_;
278   PROTOBUF_NAMESPACE_ID::SourceContext* source_context_;
279   int syntax_;
280   mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
281   friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
282 };
283 // -------------------------------------------------------------------
284 
285 class PROTOBUF_EXPORT Method :
286     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Method) */ {
287  public:
288   Method();
289   virtual ~Method();
290 
291   Method(const Method& from);
Method(Method && from)292   Method(Method&& from) noexcept
293     : Method() {
294     *this = ::std::move(from);
295   }
296 
297   inline Method& operator=(const Method& from) {
298     CopyFrom(from);
299     return *this;
300   }
301   inline Method& operator=(Method&& from) noexcept {
302     if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
303       if (this != &from) InternalSwap(&from);
304     } else {
305       CopyFrom(from);
306     }
307     return *this;
308   }
309 
descriptor()310   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
311     return GetDescriptor();
312   }
GetDescriptor()313   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
314     return GetMetadataStatic().descriptor;
315   }
GetReflection()316   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
317     return GetMetadataStatic().reflection;
318   }
319   static const Method& default_instance();
320 
321   static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
internal_default_instance()322   static inline const Method* internal_default_instance() {
323     return reinterpret_cast<const Method*>(
324                &_Method_default_instance_);
325   }
326   static constexpr int kIndexInFileMessages =
327     1;
328 
swap(Method & a,Method & b)329   friend void swap(Method& a, Method& b) {
330     a.Swap(&b);
331   }
Swap(Method * other)332   inline void Swap(Method* other) {
333     if (other == this) return;
334     InternalSwap(other);
335   }
336 
337   // implements Message ----------------------------------------------
338 
New()339   inline Method* New() const final {
340     return CreateMaybeMessage<Method>(nullptr);
341   }
342 
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)343   Method* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
344     return CreateMaybeMessage<Method>(arena);
345   }
346   void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
347   void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
348   void CopyFrom(const Method& from);
349   void MergeFrom(const Method& from);
350   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
351   bool IsInitialized() const final;
352 
353   size_t ByteSizeLong() const final;
354   #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
355   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
356   #else
357   bool MergePartialFromCodedStream(
358       ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
359   #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
360   void SerializeWithCachedSizes(
361       ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
362   ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
363       ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()364   int GetCachedSize() const final { return _cached_size_.Get(); }
365 
366   private:
367   inline void SharedCtor();
368   inline void SharedDtor();
369   void SetCachedSize(int size) const final;
370   void InternalSwap(Method* other);
371   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()372   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
373     return "google.protobuf.Method";
374   }
375   private:
GetArenaNoVirtual()376   inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
377     return nullptr;
378   }
MaybeArenaPtr()379   inline void* MaybeArenaPtr() const {
380     return nullptr;
381   }
382   public:
383 
384   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
385   private:
GetMetadataStatic()386   static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
387     ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fapi_2eproto);
388     return ::descriptor_table_google_2fprotobuf_2fapi_2eproto.file_level_metadata[kIndexInFileMessages];
389   }
390 
391   public:
392 
393   // nested types ----------------------------------------------------
394 
395   // accessors -------------------------------------------------------
396 
397   enum : int {
398     kOptionsFieldNumber = 6,
399     kNameFieldNumber = 1,
400     kRequestTypeUrlFieldNumber = 2,
401     kResponseTypeUrlFieldNumber = 4,
402     kRequestStreamingFieldNumber = 3,
403     kResponseStreamingFieldNumber = 5,
404     kSyntaxFieldNumber = 7,
405   };
406   // repeated .google.protobuf.Option options = 6;
407   int options_size() const;
408   void clear_options();
409   PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index);
410   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
411       mutable_options();
412   const PROTOBUF_NAMESPACE_ID::Option& options(int index) const;
413   PROTOBUF_NAMESPACE_ID::Option* add_options();
414   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
415       options() const;
416 
417   // string name = 1;
418   void clear_name();
419   const std::string& name() const;
420   void set_name(const std::string& value);
421   void set_name(std::string&& value);
422   void set_name(const char* value);
423   void set_name(const char* value, size_t size);
424   std::string* mutable_name();
425   std::string* release_name();
426   void set_allocated_name(std::string* name);
427 
428   // string request_type_url = 2;
429   void clear_request_type_url();
430   const std::string& request_type_url() const;
431   void set_request_type_url(const std::string& value);
432   void set_request_type_url(std::string&& value);
433   void set_request_type_url(const char* value);
434   void set_request_type_url(const char* value, size_t size);
435   std::string* mutable_request_type_url();
436   std::string* release_request_type_url();
437   void set_allocated_request_type_url(std::string* request_type_url);
438 
439   // string response_type_url = 4;
440   void clear_response_type_url();
441   const std::string& response_type_url() const;
442   void set_response_type_url(const std::string& value);
443   void set_response_type_url(std::string&& value);
444   void set_response_type_url(const char* value);
445   void set_response_type_url(const char* value, size_t size);
446   std::string* mutable_response_type_url();
447   std::string* release_response_type_url();
448   void set_allocated_response_type_url(std::string* response_type_url);
449 
450   // bool request_streaming = 3;
451   void clear_request_streaming();
452   bool request_streaming() const;
453   void set_request_streaming(bool value);
454 
455   // bool response_streaming = 5;
456   void clear_response_streaming();
457   bool response_streaming() const;
458   void set_response_streaming(bool value);
459 
460   // .google.protobuf.Syntax syntax = 7;
461   void clear_syntax();
462   PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
463   void set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
464 
465   // @@protoc_insertion_point(class_scope:google.protobuf.Method)
466  private:
467   class _Internal;
468 
469   ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
470   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
471   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
472   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_type_url_;
473   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_type_url_;
474   bool request_streaming_;
475   bool response_streaming_;
476   int syntax_;
477   mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
478   friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
479 };
480 // -------------------------------------------------------------------
481 
482 class PROTOBUF_EXPORT Mixin :
483     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Mixin) */ {
484  public:
485   Mixin();
486   virtual ~Mixin();
487 
488   Mixin(const Mixin& from);
Mixin(Mixin && from)489   Mixin(Mixin&& from) noexcept
490     : Mixin() {
491     *this = ::std::move(from);
492   }
493 
494   inline Mixin& operator=(const Mixin& from) {
495     CopyFrom(from);
496     return *this;
497   }
498   inline Mixin& operator=(Mixin&& from) noexcept {
499     if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
500       if (this != &from) InternalSwap(&from);
501     } else {
502       CopyFrom(from);
503     }
504     return *this;
505   }
506 
descriptor()507   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
508     return GetDescriptor();
509   }
GetDescriptor()510   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
511     return GetMetadataStatic().descriptor;
512   }
GetReflection()513   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
514     return GetMetadataStatic().reflection;
515   }
516   static const Mixin& default_instance();
517 
518   static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
internal_default_instance()519   static inline const Mixin* internal_default_instance() {
520     return reinterpret_cast<const Mixin*>(
521                &_Mixin_default_instance_);
522   }
523   static constexpr int kIndexInFileMessages =
524     2;
525 
swap(Mixin & a,Mixin & b)526   friend void swap(Mixin& a, Mixin& b) {
527     a.Swap(&b);
528   }
Swap(Mixin * other)529   inline void Swap(Mixin* other) {
530     if (other == this) return;
531     InternalSwap(other);
532   }
533 
534   // implements Message ----------------------------------------------
535 
New()536   inline Mixin* New() const final {
537     return CreateMaybeMessage<Mixin>(nullptr);
538   }
539 
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)540   Mixin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
541     return CreateMaybeMessage<Mixin>(arena);
542   }
543   void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
544   void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
545   void CopyFrom(const Mixin& from);
546   void MergeFrom(const Mixin& from);
547   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
548   bool IsInitialized() const final;
549 
550   size_t ByteSizeLong() const final;
551   #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
552   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
553   #else
554   bool MergePartialFromCodedStream(
555       ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
556   #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
557   void SerializeWithCachedSizes(
558       ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
559   ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
560       ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()561   int GetCachedSize() const final { return _cached_size_.Get(); }
562 
563   private:
564   inline void SharedCtor();
565   inline void SharedDtor();
566   void SetCachedSize(int size) const final;
567   void InternalSwap(Mixin* other);
568   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()569   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
570     return "google.protobuf.Mixin";
571   }
572   private:
GetArenaNoVirtual()573   inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
574     return nullptr;
575   }
MaybeArenaPtr()576   inline void* MaybeArenaPtr() const {
577     return nullptr;
578   }
579   public:
580 
581   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
582   private:
GetMetadataStatic()583   static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
584     ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fapi_2eproto);
585     return ::descriptor_table_google_2fprotobuf_2fapi_2eproto.file_level_metadata[kIndexInFileMessages];
586   }
587 
588   public:
589 
590   // nested types ----------------------------------------------------
591 
592   // accessors -------------------------------------------------------
593 
594   enum : int {
595     kNameFieldNumber = 1,
596     kRootFieldNumber = 2,
597   };
598   // string name = 1;
599   void clear_name();
600   const std::string& name() const;
601   void set_name(const std::string& value);
602   void set_name(std::string&& value);
603   void set_name(const char* value);
604   void set_name(const char* value, size_t size);
605   std::string* mutable_name();
606   std::string* release_name();
607   void set_allocated_name(std::string* name);
608 
609   // string root = 2;
610   void clear_root();
611   const std::string& root() const;
612   void set_root(const std::string& value);
613   void set_root(std::string&& value);
614   void set_root(const char* value);
615   void set_root(const char* value, size_t size);
616   std::string* mutable_root();
617   std::string* release_root();
618   void set_allocated_root(std::string* root);
619 
620   // @@protoc_insertion_point(class_scope:google.protobuf.Mixin)
621  private:
622   class _Internal;
623 
624   ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
625   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
626   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr root_;
627   mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
628   friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
629 };
630 // ===================================================================
631 
632 
633 // ===================================================================
634 
635 #ifdef __GNUC__
636   #pragma GCC diagnostic push
637   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
638 #endif  // __GNUC__
639 // Api
640 
641 // string name = 1;
clear_name()642 inline void Api::clear_name() {
643   name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
644 }
name()645 inline const std::string& Api::name() const {
646   // @@protoc_insertion_point(field_get:google.protobuf.Api.name)
647   return name_.GetNoArena();
648 }
set_name(const std::string & value)649 inline void Api::set_name(const std::string& value) {
650 
651   name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
652   // @@protoc_insertion_point(field_set:google.protobuf.Api.name)
653 }
set_name(std::string && value)654 inline void Api::set_name(std::string&& value) {
655 
656   name_.SetNoArena(
657     &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
658   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.name)
659 }
set_name(const char * value)660 inline void Api::set_name(const char* value) {
661   GOOGLE_DCHECK(value != nullptr);
662 
663   name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
664   // @@protoc_insertion_point(field_set_char:google.protobuf.Api.name)
665 }
set_name(const char * value,size_t size)666 inline void Api::set_name(const char* value, size_t size) {
667 
668   name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
669       ::std::string(reinterpret_cast<const char*>(value), size));
670   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.name)
671 }
mutable_name()672 inline std::string* Api::mutable_name() {
673 
674   // @@protoc_insertion_point(field_mutable:google.protobuf.Api.name)
675   return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
676 }
release_name()677 inline std::string* Api::release_name() {
678   // @@protoc_insertion_point(field_release:google.protobuf.Api.name)
679 
680   return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
681 }
set_allocated_name(std::string * name)682 inline void Api::set_allocated_name(std::string* name) {
683   if (name != nullptr) {
684 
685   } else {
686 
687   }
688   name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name);
689   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.name)
690 }
691 
692 // repeated .google.protobuf.Method methods = 2;
methods_size()693 inline int Api::methods_size() const {
694   return methods_.size();
695 }
clear_methods()696 inline void Api::clear_methods() {
697   methods_.Clear();
698 }
mutable_methods(int index)699 inline PROTOBUF_NAMESPACE_ID::Method* Api::mutable_methods(int index) {
700   // @@protoc_insertion_point(field_mutable:google.protobuf.Api.methods)
701   return methods_.Mutable(index);
702 }
703 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >*
mutable_methods()704 Api::mutable_methods() {
705   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.methods)
706   return &methods_;
707 }
methods(int index)708 inline const PROTOBUF_NAMESPACE_ID::Method& Api::methods(int index) const {
709   // @@protoc_insertion_point(field_get:google.protobuf.Api.methods)
710   return methods_.Get(index);
711 }
add_methods()712 inline PROTOBUF_NAMESPACE_ID::Method* Api::add_methods() {
713   // @@protoc_insertion_point(field_add:google.protobuf.Api.methods)
714   return methods_.Add();
715 }
716 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >&
methods()717 Api::methods() const {
718   // @@protoc_insertion_point(field_list:google.protobuf.Api.methods)
719   return methods_;
720 }
721 
722 // repeated .google.protobuf.Option options = 3;
options_size()723 inline int Api::options_size() const {
724   return options_.size();
725 }
mutable_options(int index)726 inline PROTOBUF_NAMESPACE_ID::Option* Api::mutable_options(int index) {
727   // @@protoc_insertion_point(field_mutable:google.protobuf.Api.options)
728   return options_.Mutable(index);
729 }
730 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
mutable_options()731 Api::mutable_options() {
732   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.options)
733   return &options_;
734 }
options(int index)735 inline const PROTOBUF_NAMESPACE_ID::Option& Api::options(int index) const {
736   // @@protoc_insertion_point(field_get:google.protobuf.Api.options)
737   return options_.Get(index);
738 }
add_options()739 inline PROTOBUF_NAMESPACE_ID::Option* Api::add_options() {
740   // @@protoc_insertion_point(field_add:google.protobuf.Api.options)
741   return options_.Add();
742 }
743 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
options()744 Api::options() const {
745   // @@protoc_insertion_point(field_list:google.protobuf.Api.options)
746   return options_;
747 }
748 
749 // string version = 4;
clear_version()750 inline void Api::clear_version() {
751   version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
752 }
version()753 inline const std::string& Api::version() const {
754   // @@protoc_insertion_point(field_get:google.protobuf.Api.version)
755   return version_.GetNoArena();
756 }
set_version(const std::string & value)757 inline void Api::set_version(const std::string& value) {
758 
759   version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
760   // @@protoc_insertion_point(field_set:google.protobuf.Api.version)
761 }
set_version(std::string && value)762 inline void Api::set_version(std::string&& value) {
763 
764   version_.SetNoArena(
765     &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
766   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.version)
767 }
set_version(const char * value)768 inline void Api::set_version(const char* value) {
769   GOOGLE_DCHECK(value != nullptr);
770 
771   version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
772   // @@protoc_insertion_point(field_set_char:google.protobuf.Api.version)
773 }
set_version(const char * value,size_t size)774 inline void Api::set_version(const char* value, size_t size) {
775 
776   version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
777       ::std::string(reinterpret_cast<const char*>(value), size));
778   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.version)
779 }
mutable_version()780 inline std::string* Api::mutable_version() {
781 
782   // @@protoc_insertion_point(field_mutable:google.protobuf.Api.version)
783   return version_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
784 }
release_version()785 inline std::string* Api::release_version() {
786   // @@protoc_insertion_point(field_release:google.protobuf.Api.version)
787 
788   return version_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
789 }
set_allocated_version(std::string * version)790 inline void Api::set_allocated_version(std::string* version) {
791   if (version != nullptr) {
792 
793   } else {
794 
795   }
796   version_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), version);
797   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.version)
798 }
799 
800 // .google.protobuf.SourceContext source_context = 5;
has_source_context()801 inline bool Api::has_source_context() const {
802   return this != internal_default_instance() && source_context_ != nullptr;
803 }
source_context()804 inline const PROTOBUF_NAMESPACE_ID::SourceContext& Api::source_context() const {
805   const PROTOBUF_NAMESPACE_ID::SourceContext* p = source_context_;
806   // @@protoc_insertion_point(field_get:google.protobuf.Api.source_context)
807   return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::SourceContext*>(
808       &PROTOBUF_NAMESPACE_ID::_SourceContext_default_instance_);
809 }
release_source_context()810 inline PROTOBUF_NAMESPACE_ID::SourceContext* Api::release_source_context() {
811   // @@protoc_insertion_point(field_release:google.protobuf.Api.source_context)
812 
813   PROTOBUF_NAMESPACE_ID::SourceContext* temp = source_context_;
814   source_context_ = nullptr;
815   return temp;
816 }
mutable_source_context()817 inline PROTOBUF_NAMESPACE_ID::SourceContext* Api::mutable_source_context() {
818 
819   if (source_context_ == nullptr) {
820     auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceContext>(GetArenaNoVirtual());
821     source_context_ = p;
822   }
823   // @@protoc_insertion_point(field_mutable:google.protobuf.Api.source_context)
824   return source_context_;
825 }
set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext * source_context)826 inline void Api::set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext* source_context) {
827   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
828   if (message_arena == nullptr) {
829     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_context_);
830   }
831   if (source_context) {
832     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
833     if (message_arena != submessage_arena) {
834       source_context = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
835           message_arena, source_context, submessage_arena);
836     }
837 
838   } else {
839 
840   }
841   source_context_ = source_context;
842   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.source_context)
843 }
844 
845 // repeated .google.protobuf.Mixin mixins = 6;
mixins_size()846 inline int Api::mixins_size() const {
847   return mixins_.size();
848 }
clear_mixins()849 inline void Api::clear_mixins() {
850   mixins_.Clear();
851 }
mutable_mixins(int index)852 inline PROTOBUF_NAMESPACE_ID::Mixin* Api::mutable_mixins(int index) {
853   // @@protoc_insertion_point(field_mutable:google.protobuf.Api.mixins)
854   return mixins_.Mutable(index);
855 }
856 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >*
mutable_mixins()857 Api::mutable_mixins() {
858   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.mixins)
859   return &mixins_;
860 }
mixins(int index)861 inline const PROTOBUF_NAMESPACE_ID::Mixin& Api::mixins(int index) const {
862   // @@protoc_insertion_point(field_get:google.protobuf.Api.mixins)
863   return mixins_.Get(index);
864 }
add_mixins()865 inline PROTOBUF_NAMESPACE_ID::Mixin* Api::add_mixins() {
866   // @@protoc_insertion_point(field_add:google.protobuf.Api.mixins)
867   return mixins_.Add();
868 }
869 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >&
mixins()870 Api::mixins() const {
871   // @@protoc_insertion_point(field_list:google.protobuf.Api.mixins)
872   return mixins_;
873 }
874 
875 // .google.protobuf.Syntax syntax = 7;
clear_syntax()876 inline void Api::clear_syntax() {
877   syntax_ = 0;
878 }
syntax()879 inline PROTOBUF_NAMESPACE_ID::Syntax Api::syntax() const {
880   // @@protoc_insertion_point(field_get:google.protobuf.Api.syntax)
881   return static_cast< PROTOBUF_NAMESPACE_ID::Syntax >(syntax_);
882 }
set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value)883 inline void Api::set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
884 
885   syntax_ = value;
886   // @@protoc_insertion_point(field_set:google.protobuf.Api.syntax)
887 }
888 
889 // -------------------------------------------------------------------
890 
891 // Method
892 
893 // string name = 1;
clear_name()894 inline void Method::clear_name() {
895   name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
896 }
name()897 inline const std::string& Method::name() const {
898   // @@protoc_insertion_point(field_get:google.protobuf.Method.name)
899   return name_.GetNoArena();
900 }
set_name(const std::string & value)901 inline void Method::set_name(const std::string& value) {
902 
903   name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
904   // @@protoc_insertion_point(field_set:google.protobuf.Method.name)
905 }
set_name(std::string && value)906 inline void Method::set_name(std::string&& value) {
907 
908   name_.SetNoArena(
909     &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
910   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.name)
911 }
set_name(const char * value)912 inline void Method::set_name(const char* value) {
913   GOOGLE_DCHECK(value != nullptr);
914 
915   name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
916   // @@protoc_insertion_point(field_set_char:google.protobuf.Method.name)
917 }
set_name(const char * value,size_t size)918 inline void Method::set_name(const char* value, size_t size) {
919 
920   name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
921       ::std::string(reinterpret_cast<const char*>(value), size));
922   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.name)
923 }
mutable_name()924 inline std::string* Method::mutable_name() {
925 
926   // @@protoc_insertion_point(field_mutable:google.protobuf.Method.name)
927   return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
928 }
release_name()929 inline std::string* Method::release_name() {
930   // @@protoc_insertion_point(field_release:google.protobuf.Method.name)
931 
932   return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
933 }
set_allocated_name(std::string * name)934 inline void Method::set_allocated_name(std::string* name) {
935   if (name != nullptr) {
936 
937   } else {
938 
939   }
940   name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name);
941   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.name)
942 }
943 
944 // string request_type_url = 2;
clear_request_type_url()945 inline void Method::clear_request_type_url() {
946   request_type_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
947 }
request_type_url()948 inline const std::string& Method::request_type_url() const {
949   // @@protoc_insertion_point(field_get:google.protobuf.Method.request_type_url)
950   return request_type_url_.GetNoArena();
951 }
set_request_type_url(const std::string & value)952 inline void Method::set_request_type_url(const std::string& value) {
953 
954   request_type_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
955   // @@protoc_insertion_point(field_set:google.protobuf.Method.request_type_url)
956 }
set_request_type_url(std::string && value)957 inline void Method::set_request_type_url(std::string&& value) {
958 
959   request_type_url_.SetNoArena(
960     &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
961   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.request_type_url)
962 }
set_request_type_url(const char * value)963 inline void Method::set_request_type_url(const char* value) {
964   GOOGLE_DCHECK(value != nullptr);
965 
966   request_type_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
967   // @@protoc_insertion_point(field_set_char:google.protobuf.Method.request_type_url)
968 }
set_request_type_url(const char * value,size_t size)969 inline void Method::set_request_type_url(const char* value, size_t size) {
970 
971   request_type_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
972       ::std::string(reinterpret_cast<const char*>(value), size));
973   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.request_type_url)
974 }
mutable_request_type_url()975 inline std::string* Method::mutable_request_type_url() {
976 
977   // @@protoc_insertion_point(field_mutable:google.protobuf.Method.request_type_url)
978   return request_type_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
979 }
release_request_type_url()980 inline std::string* Method::release_request_type_url() {
981   // @@protoc_insertion_point(field_release:google.protobuf.Method.request_type_url)
982 
983   return request_type_url_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
984 }
set_allocated_request_type_url(std::string * request_type_url)985 inline void Method::set_allocated_request_type_url(std::string* request_type_url) {
986   if (request_type_url != nullptr) {
987 
988   } else {
989 
990   }
991   request_type_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), request_type_url);
992   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.request_type_url)
993 }
994 
995 // bool request_streaming = 3;
clear_request_streaming()996 inline void Method::clear_request_streaming() {
997   request_streaming_ = false;
998 }
request_streaming()999 inline bool Method::request_streaming() const {
1000   // @@protoc_insertion_point(field_get:google.protobuf.Method.request_streaming)
1001   return request_streaming_;
1002 }
set_request_streaming(bool value)1003 inline void Method::set_request_streaming(bool value) {
1004 
1005   request_streaming_ = value;
1006   // @@protoc_insertion_point(field_set:google.protobuf.Method.request_streaming)
1007 }
1008 
1009 // string response_type_url = 4;
clear_response_type_url()1010 inline void Method::clear_response_type_url() {
1011   response_type_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1012 }
response_type_url()1013 inline const std::string& Method::response_type_url() const {
1014   // @@protoc_insertion_point(field_get:google.protobuf.Method.response_type_url)
1015   return response_type_url_.GetNoArena();
1016 }
set_response_type_url(const std::string & value)1017 inline void Method::set_response_type_url(const std::string& value) {
1018 
1019   response_type_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1020   // @@protoc_insertion_point(field_set:google.protobuf.Method.response_type_url)
1021 }
set_response_type_url(std::string && value)1022 inline void Method::set_response_type_url(std::string&& value) {
1023 
1024   response_type_url_.SetNoArena(
1025     &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1026   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.response_type_url)
1027 }
set_response_type_url(const char * value)1028 inline void Method::set_response_type_url(const char* value) {
1029   GOOGLE_DCHECK(value != nullptr);
1030 
1031   response_type_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1032   // @@protoc_insertion_point(field_set_char:google.protobuf.Method.response_type_url)
1033 }
set_response_type_url(const char * value,size_t size)1034 inline void Method::set_response_type_url(const char* value, size_t size) {
1035 
1036   response_type_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1037       ::std::string(reinterpret_cast<const char*>(value), size));
1038   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.response_type_url)
1039 }
mutable_response_type_url()1040 inline std::string* Method::mutable_response_type_url() {
1041 
1042   // @@protoc_insertion_point(field_mutable:google.protobuf.Method.response_type_url)
1043   return response_type_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1044 }
release_response_type_url()1045 inline std::string* Method::release_response_type_url() {
1046   // @@protoc_insertion_point(field_release:google.protobuf.Method.response_type_url)
1047 
1048   return response_type_url_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1049 }
set_allocated_response_type_url(std::string * response_type_url)1050 inline void Method::set_allocated_response_type_url(std::string* response_type_url) {
1051   if (response_type_url != nullptr) {
1052 
1053   } else {
1054 
1055   }
1056   response_type_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), response_type_url);
1057   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.response_type_url)
1058 }
1059 
1060 // bool response_streaming = 5;
clear_response_streaming()1061 inline void Method::clear_response_streaming() {
1062   response_streaming_ = false;
1063 }
response_streaming()1064 inline bool Method::response_streaming() const {
1065   // @@protoc_insertion_point(field_get:google.protobuf.Method.response_streaming)
1066   return response_streaming_;
1067 }
set_response_streaming(bool value)1068 inline void Method::set_response_streaming(bool value) {
1069 
1070   response_streaming_ = value;
1071   // @@protoc_insertion_point(field_set:google.protobuf.Method.response_streaming)
1072 }
1073 
1074 // repeated .google.protobuf.Option options = 6;
options_size()1075 inline int Method::options_size() const {
1076   return options_.size();
1077 }
mutable_options(int index)1078 inline PROTOBUF_NAMESPACE_ID::Option* Method::mutable_options(int index) {
1079   // @@protoc_insertion_point(field_mutable:google.protobuf.Method.options)
1080   return options_.Mutable(index);
1081 }
1082 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
mutable_options()1083 Method::mutable_options() {
1084   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Method.options)
1085   return &options_;
1086 }
options(int index)1087 inline const PROTOBUF_NAMESPACE_ID::Option& Method::options(int index) const {
1088   // @@protoc_insertion_point(field_get:google.protobuf.Method.options)
1089   return options_.Get(index);
1090 }
add_options()1091 inline PROTOBUF_NAMESPACE_ID::Option* Method::add_options() {
1092   // @@protoc_insertion_point(field_add:google.protobuf.Method.options)
1093   return options_.Add();
1094 }
1095 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
options()1096 Method::options() const {
1097   // @@protoc_insertion_point(field_list:google.protobuf.Method.options)
1098   return options_;
1099 }
1100 
1101 // .google.protobuf.Syntax syntax = 7;
clear_syntax()1102 inline void Method::clear_syntax() {
1103   syntax_ = 0;
1104 }
syntax()1105 inline PROTOBUF_NAMESPACE_ID::Syntax Method::syntax() const {
1106   // @@protoc_insertion_point(field_get:google.protobuf.Method.syntax)
1107   return static_cast< PROTOBUF_NAMESPACE_ID::Syntax >(syntax_);
1108 }
set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value)1109 inline void Method::set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
1110 
1111   syntax_ = value;
1112   // @@protoc_insertion_point(field_set:google.protobuf.Method.syntax)
1113 }
1114 
1115 // -------------------------------------------------------------------
1116 
1117 // Mixin
1118 
1119 // string name = 1;
clear_name()1120 inline void Mixin::clear_name() {
1121   name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1122 }
name()1123 inline const std::string& Mixin::name() const {
1124   // @@protoc_insertion_point(field_get:google.protobuf.Mixin.name)
1125   return name_.GetNoArena();
1126 }
set_name(const std::string & value)1127 inline void Mixin::set_name(const std::string& value) {
1128 
1129   name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1130   // @@protoc_insertion_point(field_set:google.protobuf.Mixin.name)
1131 }
set_name(std::string && value)1132 inline void Mixin::set_name(std::string&& value) {
1133 
1134   name_.SetNoArena(
1135     &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1136   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.name)
1137 }
set_name(const char * value)1138 inline void Mixin::set_name(const char* value) {
1139   GOOGLE_DCHECK(value != nullptr);
1140 
1141   name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1142   // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.name)
1143 }
set_name(const char * value,size_t size)1144 inline void Mixin::set_name(const char* value, size_t size) {
1145 
1146   name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1147       ::std::string(reinterpret_cast<const char*>(value), size));
1148   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.name)
1149 }
mutable_name()1150 inline std::string* Mixin::mutable_name() {
1151 
1152   // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.name)
1153   return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1154 }
release_name()1155 inline std::string* Mixin::release_name() {
1156   // @@protoc_insertion_point(field_release:google.protobuf.Mixin.name)
1157 
1158   return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1159 }
set_allocated_name(std::string * name)1160 inline void Mixin::set_allocated_name(std::string* name) {
1161   if (name != nullptr) {
1162 
1163   } else {
1164 
1165   }
1166   name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name);
1167   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.name)
1168 }
1169 
1170 // string root = 2;
clear_root()1171 inline void Mixin::clear_root() {
1172   root_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1173 }
root()1174 inline const std::string& Mixin::root() const {
1175   // @@protoc_insertion_point(field_get:google.protobuf.Mixin.root)
1176   return root_.GetNoArena();
1177 }
set_root(const std::string & value)1178 inline void Mixin::set_root(const std::string& value) {
1179 
1180   root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1181   // @@protoc_insertion_point(field_set:google.protobuf.Mixin.root)
1182 }
set_root(std::string && value)1183 inline void Mixin::set_root(std::string&& value) {
1184 
1185   root_.SetNoArena(
1186     &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1187   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.root)
1188 }
set_root(const char * value)1189 inline void Mixin::set_root(const char* value) {
1190   GOOGLE_DCHECK(value != nullptr);
1191 
1192   root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1193   // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.root)
1194 }
set_root(const char * value,size_t size)1195 inline void Mixin::set_root(const char* value, size_t size) {
1196 
1197   root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1198       ::std::string(reinterpret_cast<const char*>(value), size));
1199   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.root)
1200 }
mutable_root()1201 inline std::string* Mixin::mutable_root() {
1202 
1203   // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.root)
1204   return root_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1205 }
release_root()1206 inline std::string* Mixin::release_root() {
1207   // @@protoc_insertion_point(field_release:google.protobuf.Mixin.root)
1208 
1209   return root_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1210 }
set_allocated_root(std::string * root)1211 inline void Mixin::set_allocated_root(std::string* root) {
1212   if (root != nullptr) {
1213 
1214   } else {
1215 
1216   }
1217   root_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), root);
1218   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.root)
1219 }
1220 
1221 #ifdef __GNUC__
1222   #pragma GCC diagnostic pop
1223 #endif  // __GNUC__
1224 // -------------------------------------------------------------------
1225 
1226 // -------------------------------------------------------------------
1227 
1228 
1229 // @@protoc_insertion_point(namespace_scope)
1230 
1231 PROTOBUF_NAMESPACE_CLOSE
1232 
1233 // @@protoc_insertion_point(global_scope)
1234 
1235 #include <google/protobuf/port_undef.inc>
1236 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto
1237