• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 < 3014000
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 3014000 < 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/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>  // IWYU pragma: export
32 #include <google/protobuf/extension_set.h>  // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
34 #include <google/protobuf/source_context.pb.h>
35 #include <google/protobuf/type.pb.h>
36 // @@protoc_insertion_point(includes)
37 #include <google/protobuf/port_def.inc>
38 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fapi_2eproto PROTOBUF_EXPORT
39 PROTOBUF_NAMESPACE_OPEN
40 namespace internal {
41 class AnyMetadata;
42 }  // namespace internal
43 PROTOBUF_NAMESPACE_CLOSE
44 
45 // Internal implementation detail -- do not use these members.
46 struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fapi_2eproto {
47   static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
48     PROTOBUF_SECTION_VARIABLE(protodesc_cold);
49   static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
50     PROTOBUF_SECTION_VARIABLE(protodesc_cold);
51   static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
52     PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53   static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
54   static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
55   static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
56 };
57 extern PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fapi_2eproto;
58 PROTOBUF_NAMESPACE_OPEN
59 class Api;
60 class ApiDefaultTypeInternal;
61 PROTOBUF_EXPORT extern ApiDefaultTypeInternal _Api_default_instance_;
62 class Method;
63 class MethodDefaultTypeInternal;
64 PROTOBUF_EXPORT extern MethodDefaultTypeInternal _Method_default_instance_;
65 class Mixin;
66 class MixinDefaultTypeInternal;
67 PROTOBUF_EXPORT extern MixinDefaultTypeInternal _Mixin_default_instance_;
68 PROTOBUF_NAMESPACE_CLOSE
69 PROTOBUF_NAMESPACE_OPEN
70 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Api* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Api>(Arena*);
71 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Method* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Method>(Arena*);
72 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Mixin* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Mixin>(Arena*);
73 PROTOBUF_NAMESPACE_CLOSE
74 PROTOBUF_NAMESPACE_OPEN
75 
76 // ===================================================================
77 
78 class PROTOBUF_EXPORT Api PROTOBUF_FINAL :
79     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Api) */ {
80  public:
Api()81   inline Api() : Api(nullptr) {}
82   virtual ~Api();
83 
84   Api(const Api& from);
Api(Api && from)85   Api(Api&& from) noexcept
86     : Api() {
87     *this = ::std::move(from);
88   }
89 
90   inline Api& operator=(const Api& from) {
91     CopyFrom(from);
92     return *this;
93   }
94   inline Api& operator=(Api&& from) noexcept {
95     if (GetArena() == from.GetArena()) {
96       if (this != &from) InternalSwap(&from);
97     } else {
98       CopyFrom(from);
99     }
100     return *this;
101   }
102 
descriptor()103   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
104     return GetDescriptor();
105   }
GetDescriptor()106   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
107     return GetMetadataStatic().descriptor;
108   }
GetReflection()109   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
110     return GetMetadataStatic().reflection;
111   }
112   static const Api& default_instance();
113 
internal_default_instance()114   static inline const Api* internal_default_instance() {
115     return reinterpret_cast<const Api*>(
116                &_Api_default_instance_);
117   }
118   static constexpr int kIndexInFileMessages =
119     0;
120 
swap(Api & a,Api & b)121   friend void swap(Api& a, Api& b) {
122     a.Swap(&b);
123   }
Swap(Api * other)124   inline void Swap(Api* other) {
125     if (other == this) return;
126     if (GetArena() == other->GetArena()) {
127       InternalSwap(other);
128     } else {
129       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
130     }
131   }
UnsafeArenaSwap(Api * other)132   void UnsafeArenaSwap(Api* other) {
133     if (other == this) return;
134     GOOGLE_DCHECK(GetArena() == other->GetArena());
135     InternalSwap(other);
136   }
137 
138   // implements Message ----------------------------------------------
139 
New()140   inline Api* New() const final {
141     return CreateMaybeMessage<Api>(nullptr);
142   }
143 
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)144   Api* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
145     return CreateMaybeMessage<Api>(arena);
146   }
147   void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
148   void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
149   void CopyFrom(const Api& from);
150   void MergeFrom(const Api& from);
151   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
152   bool IsInitialized() const final;
153 
154   size_t ByteSizeLong() const final;
155   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
156   ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
157       ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) 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   protected:
170   explicit Api(::PROTOBUF_NAMESPACE_ID::Arena* arena);
171   private:
172   static void ArenaDtor(void* object);
173   inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
174   public:
175 
176   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
177   private:
GetMetadataStatic()178   static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
179     ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fapi_2eproto);
180     return ::descriptor_table_google_2fprotobuf_2fapi_2eproto.file_level_metadata[kIndexInFileMessages];
181   }
182 
183   public:
184 
185   // nested types ----------------------------------------------------
186 
187   // accessors -------------------------------------------------------
188 
189   enum : int {
190     kMethodsFieldNumber = 2,
191     kOptionsFieldNumber = 3,
192     kMixinsFieldNumber = 6,
193     kNameFieldNumber = 1,
194     kVersionFieldNumber = 4,
195     kSourceContextFieldNumber = 5,
196     kSyntaxFieldNumber = 7,
197   };
198   // repeated .google.protobuf.Method methods = 2;
199   int methods_size() const;
200   private:
201   int _internal_methods_size() const;
202   public:
203   void clear_methods();
204   PROTOBUF_NAMESPACE_ID::Method* mutable_methods(int index);
205   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >*
206       mutable_methods();
207   private:
208   const PROTOBUF_NAMESPACE_ID::Method& _internal_methods(int index) const;
209   PROTOBUF_NAMESPACE_ID::Method* _internal_add_methods();
210   public:
211   const PROTOBUF_NAMESPACE_ID::Method& methods(int index) const;
212   PROTOBUF_NAMESPACE_ID::Method* add_methods();
213   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >&
214       methods() const;
215 
216   // repeated .google.protobuf.Option options = 3;
217   int options_size() const;
218   private:
219   int _internal_options_size() const;
220   public:
221   void clear_options();
222   PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index);
223   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
224       mutable_options();
225   private:
226   const PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const;
227   PROTOBUF_NAMESPACE_ID::Option* _internal_add_options();
228   public:
229   const PROTOBUF_NAMESPACE_ID::Option& options(int index) const;
230   PROTOBUF_NAMESPACE_ID::Option* add_options();
231   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
232       options() const;
233 
234   // repeated .google.protobuf.Mixin mixins = 6;
235   int mixins_size() const;
236   private:
237   int _internal_mixins_size() const;
238   public:
239   void clear_mixins();
240   PROTOBUF_NAMESPACE_ID::Mixin* mutable_mixins(int index);
241   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >*
242       mutable_mixins();
243   private:
244   const PROTOBUF_NAMESPACE_ID::Mixin& _internal_mixins(int index) const;
245   PROTOBUF_NAMESPACE_ID::Mixin* _internal_add_mixins();
246   public:
247   const PROTOBUF_NAMESPACE_ID::Mixin& mixins(int index) const;
248   PROTOBUF_NAMESPACE_ID::Mixin* add_mixins();
249   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >&
250       mixins() const;
251 
252   // string name = 1;
253   void clear_name();
254   const std::string& name() const;
255   void set_name(const std::string& value);
256   void set_name(std::string&& value);
257   void set_name(const char* value);
258   void set_name(const char* value, size_t size);
259   std::string* mutable_name();
260   std::string* release_name();
261   void set_allocated_name(std::string* name);
262   private:
263   const std::string& _internal_name() const;
264   void _internal_set_name(const std::string& value);
265   std::string* _internal_mutable_name();
266   public:
267 
268   // string version = 4;
269   void clear_version();
270   const std::string& version() const;
271   void set_version(const std::string& value);
272   void set_version(std::string&& value);
273   void set_version(const char* value);
274   void set_version(const char* value, size_t size);
275   std::string* mutable_version();
276   std::string* release_version();
277   void set_allocated_version(std::string* version);
278   private:
279   const std::string& _internal_version() const;
280   void _internal_set_version(const std::string& value);
281   std::string* _internal_mutable_version();
282   public:
283 
284   // .google.protobuf.SourceContext source_context = 5;
285   bool has_source_context() const;
286   private:
287   bool _internal_has_source_context() const;
288   public:
289   void clear_source_context();
290   const PROTOBUF_NAMESPACE_ID::SourceContext& source_context() const;
291   PROTOBUF_NAMESPACE_ID::SourceContext* release_source_context();
292   PROTOBUF_NAMESPACE_ID::SourceContext* mutable_source_context();
293   void set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext* source_context);
294   private:
295   const PROTOBUF_NAMESPACE_ID::SourceContext& _internal_source_context() const;
296   PROTOBUF_NAMESPACE_ID::SourceContext* _internal_mutable_source_context();
297   public:
298   void unsafe_arena_set_allocated_source_context(
299       PROTOBUF_NAMESPACE_ID::SourceContext* source_context);
300   PROTOBUF_NAMESPACE_ID::SourceContext* unsafe_arena_release_source_context();
301 
302   // .google.protobuf.Syntax syntax = 7;
303   void clear_syntax();
304   PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
305   void set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
306   private:
307   PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const;
308   void _internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
309   public:
310 
311   // @@protoc_insertion_point(class_scope:google.protobuf.Api)
312  private:
313   class _Internal;
314 
315   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
316   typedef void InternalArenaConstructable_;
317   typedef void DestructorSkippable_;
318   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method > methods_;
319   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
320   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin > mixins_;
321   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
322   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_;
323   PROTOBUF_NAMESPACE_ID::SourceContext* source_context_;
324   int syntax_;
325   mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
326   friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
327 };
328 // -------------------------------------------------------------------
329 
330 class PROTOBUF_EXPORT Method PROTOBUF_FINAL :
331     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Method) */ {
332  public:
Method()333   inline Method() : Method(nullptr) {}
334   virtual ~Method();
335 
336   Method(const Method& from);
Method(Method && from)337   Method(Method&& from) noexcept
338     : Method() {
339     *this = ::std::move(from);
340   }
341 
342   inline Method& operator=(const Method& from) {
343     CopyFrom(from);
344     return *this;
345   }
346   inline Method& operator=(Method&& from) noexcept {
347     if (GetArena() == from.GetArena()) {
348       if (this != &from) InternalSwap(&from);
349     } else {
350       CopyFrom(from);
351     }
352     return *this;
353   }
354 
descriptor()355   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
356     return GetDescriptor();
357   }
GetDescriptor()358   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
359     return GetMetadataStatic().descriptor;
360   }
GetReflection()361   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
362     return GetMetadataStatic().reflection;
363   }
364   static const Method& default_instance();
365 
internal_default_instance()366   static inline const Method* internal_default_instance() {
367     return reinterpret_cast<const Method*>(
368                &_Method_default_instance_);
369   }
370   static constexpr int kIndexInFileMessages =
371     1;
372 
swap(Method & a,Method & b)373   friend void swap(Method& a, Method& b) {
374     a.Swap(&b);
375   }
Swap(Method * other)376   inline void Swap(Method* other) {
377     if (other == this) return;
378     if (GetArena() == other->GetArena()) {
379       InternalSwap(other);
380     } else {
381       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
382     }
383   }
UnsafeArenaSwap(Method * other)384   void UnsafeArenaSwap(Method* other) {
385     if (other == this) return;
386     GOOGLE_DCHECK(GetArena() == other->GetArena());
387     InternalSwap(other);
388   }
389 
390   // implements Message ----------------------------------------------
391 
New()392   inline Method* New() const final {
393     return CreateMaybeMessage<Method>(nullptr);
394   }
395 
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)396   Method* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
397     return CreateMaybeMessage<Method>(arena);
398   }
399   void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
400   void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
401   void CopyFrom(const Method& from);
402   void MergeFrom(const Method& from);
403   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
404   bool IsInitialized() const final;
405 
406   size_t ByteSizeLong() const final;
407   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
408   ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
409       ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
GetCachedSize()410   int GetCachedSize() const final { return _cached_size_.Get(); }
411 
412   private:
413   inline void SharedCtor();
414   inline void SharedDtor();
415   void SetCachedSize(int size) const final;
416   void InternalSwap(Method* other);
417   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()418   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
419     return "google.protobuf.Method";
420   }
421   protected:
422   explicit Method(::PROTOBUF_NAMESPACE_ID::Arena* arena);
423   private:
424   static void ArenaDtor(void* object);
425   inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
426   public:
427 
428   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
429   private:
GetMetadataStatic()430   static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
431     ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fapi_2eproto);
432     return ::descriptor_table_google_2fprotobuf_2fapi_2eproto.file_level_metadata[kIndexInFileMessages];
433   }
434 
435   public:
436 
437   // nested types ----------------------------------------------------
438 
439   // accessors -------------------------------------------------------
440 
441   enum : int {
442     kOptionsFieldNumber = 6,
443     kNameFieldNumber = 1,
444     kRequestTypeUrlFieldNumber = 2,
445     kResponseTypeUrlFieldNumber = 4,
446     kRequestStreamingFieldNumber = 3,
447     kResponseStreamingFieldNumber = 5,
448     kSyntaxFieldNumber = 7,
449   };
450   // repeated .google.protobuf.Option options = 6;
451   int options_size() const;
452   private:
453   int _internal_options_size() const;
454   public:
455   void clear_options();
456   PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index);
457   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
458       mutable_options();
459   private:
460   const PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const;
461   PROTOBUF_NAMESPACE_ID::Option* _internal_add_options();
462   public:
463   const PROTOBUF_NAMESPACE_ID::Option& options(int index) const;
464   PROTOBUF_NAMESPACE_ID::Option* add_options();
465   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
466       options() const;
467 
468   // string name = 1;
469   void clear_name();
470   const std::string& name() const;
471   void set_name(const std::string& value);
472   void set_name(std::string&& value);
473   void set_name(const char* value);
474   void set_name(const char* value, size_t size);
475   std::string* mutable_name();
476   std::string* release_name();
477   void set_allocated_name(std::string* name);
478   private:
479   const std::string& _internal_name() const;
480   void _internal_set_name(const std::string& value);
481   std::string* _internal_mutable_name();
482   public:
483 
484   // string request_type_url = 2;
485   void clear_request_type_url();
486   const std::string& request_type_url() const;
487   void set_request_type_url(const std::string& value);
488   void set_request_type_url(std::string&& value);
489   void set_request_type_url(const char* value);
490   void set_request_type_url(const char* value, size_t size);
491   std::string* mutable_request_type_url();
492   std::string* release_request_type_url();
493   void set_allocated_request_type_url(std::string* request_type_url);
494   private:
495   const std::string& _internal_request_type_url() const;
496   void _internal_set_request_type_url(const std::string& value);
497   std::string* _internal_mutable_request_type_url();
498   public:
499 
500   // string response_type_url = 4;
501   void clear_response_type_url();
502   const std::string& response_type_url() const;
503   void set_response_type_url(const std::string& value);
504   void set_response_type_url(std::string&& value);
505   void set_response_type_url(const char* value);
506   void set_response_type_url(const char* value, size_t size);
507   std::string* mutable_response_type_url();
508   std::string* release_response_type_url();
509   void set_allocated_response_type_url(std::string* response_type_url);
510   private:
511   const std::string& _internal_response_type_url() const;
512   void _internal_set_response_type_url(const std::string& value);
513   std::string* _internal_mutable_response_type_url();
514   public:
515 
516   // bool request_streaming = 3;
517   void clear_request_streaming();
518   bool request_streaming() const;
519   void set_request_streaming(bool value);
520   private:
521   bool _internal_request_streaming() const;
522   void _internal_set_request_streaming(bool value);
523   public:
524 
525   // bool response_streaming = 5;
526   void clear_response_streaming();
527   bool response_streaming() const;
528   void set_response_streaming(bool value);
529   private:
530   bool _internal_response_streaming() const;
531   void _internal_set_response_streaming(bool value);
532   public:
533 
534   // .google.protobuf.Syntax syntax = 7;
535   void clear_syntax();
536   PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
537   void set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
538   private:
539   PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const;
540   void _internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
541   public:
542 
543   // @@protoc_insertion_point(class_scope:google.protobuf.Method)
544  private:
545   class _Internal;
546 
547   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
548   typedef void InternalArenaConstructable_;
549   typedef void DestructorSkippable_;
550   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
551   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
552   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_type_url_;
553   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_type_url_;
554   bool request_streaming_;
555   bool response_streaming_;
556   int syntax_;
557   mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
558   friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
559 };
560 // -------------------------------------------------------------------
561 
562 class PROTOBUF_EXPORT Mixin PROTOBUF_FINAL :
563     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Mixin) */ {
564  public:
Mixin()565   inline Mixin() : Mixin(nullptr) {}
566   virtual ~Mixin();
567 
568   Mixin(const Mixin& from);
Mixin(Mixin && from)569   Mixin(Mixin&& from) noexcept
570     : Mixin() {
571     *this = ::std::move(from);
572   }
573 
574   inline Mixin& operator=(const Mixin& from) {
575     CopyFrom(from);
576     return *this;
577   }
578   inline Mixin& operator=(Mixin&& from) noexcept {
579     if (GetArena() == from.GetArena()) {
580       if (this != &from) InternalSwap(&from);
581     } else {
582       CopyFrom(from);
583     }
584     return *this;
585   }
586 
descriptor()587   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
588     return GetDescriptor();
589   }
GetDescriptor()590   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
591     return GetMetadataStatic().descriptor;
592   }
GetReflection()593   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
594     return GetMetadataStatic().reflection;
595   }
596   static const Mixin& default_instance();
597 
internal_default_instance()598   static inline const Mixin* internal_default_instance() {
599     return reinterpret_cast<const Mixin*>(
600                &_Mixin_default_instance_);
601   }
602   static constexpr int kIndexInFileMessages =
603     2;
604 
swap(Mixin & a,Mixin & b)605   friend void swap(Mixin& a, Mixin& b) {
606     a.Swap(&b);
607   }
Swap(Mixin * other)608   inline void Swap(Mixin* other) {
609     if (other == this) return;
610     if (GetArena() == other->GetArena()) {
611       InternalSwap(other);
612     } else {
613       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
614     }
615   }
UnsafeArenaSwap(Mixin * other)616   void UnsafeArenaSwap(Mixin* other) {
617     if (other == this) return;
618     GOOGLE_DCHECK(GetArena() == other->GetArena());
619     InternalSwap(other);
620   }
621 
622   // implements Message ----------------------------------------------
623 
New()624   inline Mixin* New() const final {
625     return CreateMaybeMessage<Mixin>(nullptr);
626   }
627 
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)628   Mixin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
629     return CreateMaybeMessage<Mixin>(arena);
630   }
631   void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
632   void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
633   void CopyFrom(const Mixin& from);
634   void MergeFrom(const Mixin& from);
635   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
636   bool IsInitialized() const final;
637 
638   size_t ByteSizeLong() const final;
639   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
640   ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
641       ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
GetCachedSize()642   int GetCachedSize() const final { return _cached_size_.Get(); }
643 
644   private:
645   inline void SharedCtor();
646   inline void SharedDtor();
647   void SetCachedSize(int size) const final;
648   void InternalSwap(Mixin* other);
649   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()650   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
651     return "google.protobuf.Mixin";
652   }
653   protected:
654   explicit Mixin(::PROTOBUF_NAMESPACE_ID::Arena* arena);
655   private:
656   static void ArenaDtor(void* object);
657   inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
658   public:
659 
660   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
661   private:
GetMetadataStatic()662   static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
663     ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fapi_2eproto);
664     return ::descriptor_table_google_2fprotobuf_2fapi_2eproto.file_level_metadata[kIndexInFileMessages];
665   }
666 
667   public:
668 
669   // nested types ----------------------------------------------------
670 
671   // accessors -------------------------------------------------------
672 
673   enum : int {
674     kNameFieldNumber = 1,
675     kRootFieldNumber = 2,
676   };
677   // string name = 1;
678   void clear_name();
679   const std::string& name() const;
680   void set_name(const std::string& value);
681   void set_name(std::string&& value);
682   void set_name(const char* value);
683   void set_name(const char* value, size_t size);
684   std::string* mutable_name();
685   std::string* release_name();
686   void set_allocated_name(std::string* name);
687   private:
688   const std::string& _internal_name() const;
689   void _internal_set_name(const std::string& value);
690   std::string* _internal_mutable_name();
691   public:
692 
693   // string root = 2;
694   void clear_root();
695   const std::string& root() const;
696   void set_root(const std::string& value);
697   void set_root(std::string&& value);
698   void set_root(const char* value);
699   void set_root(const char* value, size_t size);
700   std::string* mutable_root();
701   std::string* release_root();
702   void set_allocated_root(std::string* root);
703   private:
704   const std::string& _internal_root() const;
705   void _internal_set_root(const std::string& value);
706   std::string* _internal_mutable_root();
707   public:
708 
709   // @@protoc_insertion_point(class_scope:google.protobuf.Mixin)
710  private:
711   class _Internal;
712 
713   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
714   typedef void InternalArenaConstructable_;
715   typedef void DestructorSkippable_;
716   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
717   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr root_;
718   mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
719   friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
720 };
721 // ===================================================================
722 
723 
724 // ===================================================================
725 
726 #ifdef __GNUC__
727   #pragma GCC diagnostic push
728   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
729 #endif  // __GNUC__
730 // Api
731 
732 // string name = 1;
clear_name()733 inline void Api::clear_name() {
734   name_.ClearToEmpty();
735 }
name()736 inline const std::string& Api::name() const {
737   // @@protoc_insertion_point(field_get:google.protobuf.Api.name)
738   return _internal_name();
739 }
set_name(const std::string & value)740 inline void Api::set_name(const std::string& value) {
741   _internal_set_name(value);
742   // @@protoc_insertion_point(field_set:google.protobuf.Api.name)
743 }
mutable_name()744 inline std::string* Api::mutable_name() {
745   // @@protoc_insertion_point(field_mutable:google.protobuf.Api.name)
746   return _internal_mutable_name();
747 }
_internal_name()748 inline const std::string& Api::_internal_name() const {
749   return name_.Get();
750 }
_internal_set_name(const std::string & value)751 inline void Api::_internal_set_name(const std::string& value) {
752 
753   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
754 }
set_name(std::string && value)755 inline void Api::set_name(std::string&& value) {
756 
757   name_.Set(
758     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
759   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.name)
760 }
set_name(const char * value)761 inline void Api::set_name(const char* value) {
762   GOOGLE_DCHECK(value != nullptr);
763 
764   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
765   // @@protoc_insertion_point(field_set_char:google.protobuf.Api.name)
766 }
set_name(const char * value,size_t size)767 inline void Api::set_name(const char* value,
768     size_t size) {
769 
770   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
771       reinterpret_cast<const char*>(value), size), GetArena());
772   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.name)
773 }
_internal_mutable_name()774 inline std::string* Api::_internal_mutable_name() {
775 
776   return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
777 }
release_name()778 inline std::string* Api::release_name() {
779   // @@protoc_insertion_point(field_release:google.protobuf.Api.name)
780   return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
781 }
set_allocated_name(std::string * name)782 inline void Api::set_allocated_name(std::string* name) {
783   if (name != nullptr) {
784 
785   } else {
786 
787   }
788   name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
789       GetArena());
790   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.name)
791 }
792 
793 // repeated .google.protobuf.Method methods = 2;
_internal_methods_size()794 inline int Api::_internal_methods_size() const {
795   return methods_.size();
796 }
methods_size()797 inline int Api::methods_size() const {
798   return _internal_methods_size();
799 }
clear_methods()800 inline void Api::clear_methods() {
801   methods_.Clear();
802 }
mutable_methods(int index)803 inline PROTOBUF_NAMESPACE_ID::Method* Api::mutable_methods(int index) {
804   // @@protoc_insertion_point(field_mutable:google.protobuf.Api.methods)
805   return methods_.Mutable(index);
806 }
807 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >*
mutable_methods()808 Api::mutable_methods() {
809   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.methods)
810   return &methods_;
811 }
_internal_methods(int index)812 inline const PROTOBUF_NAMESPACE_ID::Method& Api::_internal_methods(int index) const {
813   return methods_.Get(index);
814 }
methods(int index)815 inline const PROTOBUF_NAMESPACE_ID::Method& Api::methods(int index) const {
816   // @@protoc_insertion_point(field_get:google.protobuf.Api.methods)
817   return _internal_methods(index);
818 }
_internal_add_methods()819 inline PROTOBUF_NAMESPACE_ID::Method* Api::_internal_add_methods() {
820   return methods_.Add();
821 }
add_methods()822 inline PROTOBUF_NAMESPACE_ID::Method* Api::add_methods() {
823   // @@protoc_insertion_point(field_add:google.protobuf.Api.methods)
824   return _internal_add_methods();
825 }
826 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >&
methods()827 Api::methods() const {
828   // @@protoc_insertion_point(field_list:google.protobuf.Api.methods)
829   return methods_;
830 }
831 
832 // repeated .google.protobuf.Option options = 3;
_internal_options_size()833 inline int Api::_internal_options_size() const {
834   return options_.size();
835 }
options_size()836 inline int Api::options_size() const {
837   return _internal_options_size();
838 }
mutable_options(int index)839 inline PROTOBUF_NAMESPACE_ID::Option* Api::mutable_options(int index) {
840   // @@protoc_insertion_point(field_mutable:google.protobuf.Api.options)
841   return options_.Mutable(index);
842 }
843 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
mutable_options()844 Api::mutable_options() {
845   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.options)
846   return &options_;
847 }
_internal_options(int index)848 inline const PROTOBUF_NAMESPACE_ID::Option& Api::_internal_options(int index) const {
849   return options_.Get(index);
850 }
options(int index)851 inline const PROTOBUF_NAMESPACE_ID::Option& Api::options(int index) const {
852   // @@protoc_insertion_point(field_get:google.protobuf.Api.options)
853   return _internal_options(index);
854 }
_internal_add_options()855 inline PROTOBUF_NAMESPACE_ID::Option* Api::_internal_add_options() {
856   return options_.Add();
857 }
add_options()858 inline PROTOBUF_NAMESPACE_ID::Option* Api::add_options() {
859   // @@protoc_insertion_point(field_add:google.protobuf.Api.options)
860   return _internal_add_options();
861 }
862 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
options()863 Api::options() const {
864   // @@protoc_insertion_point(field_list:google.protobuf.Api.options)
865   return options_;
866 }
867 
868 // string version = 4;
clear_version()869 inline void Api::clear_version() {
870   version_.ClearToEmpty();
871 }
version()872 inline const std::string& Api::version() const {
873   // @@protoc_insertion_point(field_get:google.protobuf.Api.version)
874   return _internal_version();
875 }
set_version(const std::string & value)876 inline void Api::set_version(const std::string& value) {
877   _internal_set_version(value);
878   // @@protoc_insertion_point(field_set:google.protobuf.Api.version)
879 }
mutable_version()880 inline std::string* Api::mutable_version() {
881   // @@protoc_insertion_point(field_mutable:google.protobuf.Api.version)
882   return _internal_mutable_version();
883 }
_internal_version()884 inline const std::string& Api::_internal_version() const {
885   return version_.Get();
886 }
_internal_set_version(const std::string & value)887 inline void Api::_internal_set_version(const std::string& value) {
888 
889   version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
890 }
set_version(std::string && value)891 inline void Api::set_version(std::string&& value) {
892 
893   version_.Set(
894     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
895   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.version)
896 }
set_version(const char * value)897 inline void Api::set_version(const char* value) {
898   GOOGLE_DCHECK(value != nullptr);
899 
900   version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
901   // @@protoc_insertion_point(field_set_char:google.protobuf.Api.version)
902 }
set_version(const char * value,size_t size)903 inline void Api::set_version(const char* value,
904     size_t size) {
905 
906   version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
907       reinterpret_cast<const char*>(value), size), GetArena());
908   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.version)
909 }
_internal_mutable_version()910 inline std::string* Api::_internal_mutable_version() {
911 
912   return version_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
913 }
release_version()914 inline std::string* Api::release_version() {
915   // @@protoc_insertion_point(field_release:google.protobuf.Api.version)
916   return version_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
917 }
set_allocated_version(std::string * version)918 inline void Api::set_allocated_version(std::string* version) {
919   if (version != nullptr) {
920 
921   } else {
922 
923   }
924   version_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), version,
925       GetArena());
926   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.version)
927 }
928 
929 // .google.protobuf.SourceContext source_context = 5;
_internal_has_source_context()930 inline bool Api::_internal_has_source_context() const {
931   return this != internal_default_instance() && source_context_ != nullptr;
932 }
has_source_context()933 inline bool Api::has_source_context() const {
934   return _internal_has_source_context();
935 }
_internal_source_context()936 inline const PROTOBUF_NAMESPACE_ID::SourceContext& Api::_internal_source_context() const {
937   const PROTOBUF_NAMESPACE_ID::SourceContext* p = source_context_;
938   return p != nullptr ? *p : reinterpret_cast<const PROTOBUF_NAMESPACE_ID::SourceContext&>(
939       PROTOBUF_NAMESPACE_ID::_SourceContext_default_instance_);
940 }
source_context()941 inline const PROTOBUF_NAMESPACE_ID::SourceContext& Api::source_context() const {
942   // @@protoc_insertion_point(field_get:google.protobuf.Api.source_context)
943   return _internal_source_context();
944 }
unsafe_arena_set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext * source_context)945 inline void Api::unsafe_arena_set_allocated_source_context(
946     PROTOBUF_NAMESPACE_ID::SourceContext* source_context) {
947   if (GetArena() == nullptr) {
948     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_context_);
949   }
950   source_context_ = source_context;
951   if (source_context) {
952 
953   } else {
954 
955   }
956   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Api.source_context)
957 }
release_source_context()958 inline PROTOBUF_NAMESPACE_ID::SourceContext* Api::release_source_context() {
959 
960   PROTOBUF_NAMESPACE_ID::SourceContext* temp = source_context_;
961   source_context_ = nullptr;
962   if (GetArena() != nullptr) {
963     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
964   }
965   return temp;
966 }
unsafe_arena_release_source_context()967 inline PROTOBUF_NAMESPACE_ID::SourceContext* Api::unsafe_arena_release_source_context() {
968   // @@protoc_insertion_point(field_release:google.protobuf.Api.source_context)
969 
970   PROTOBUF_NAMESPACE_ID::SourceContext* temp = source_context_;
971   source_context_ = nullptr;
972   return temp;
973 }
_internal_mutable_source_context()974 inline PROTOBUF_NAMESPACE_ID::SourceContext* Api::_internal_mutable_source_context() {
975 
976   if (source_context_ == nullptr) {
977     auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceContext>(GetArena());
978     source_context_ = p;
979   }
980   return source_context_;
981 }
mutable_source_context()982 inline PROTOBUF_NAMESPACE_ID::SourceContext* Api::mutable_source_context() {
983   // @@protoc_insertion_point(field_mutable:google.protobuf.Api.source_context)
984   return _internal_mutable_source_context();
985 }
set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext * source_context)986 inline void Api::set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext* source_context) {
987   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
988   if (message_arena == nullptr) {
989     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_context_);
990   }
991   if (source_context) {
992     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
993       reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_context)->GetArena();
994     if (message_arena != submessage_arena) {
995       source_context = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
996           message_arena, source_context, submessage_arena);
997     }
998 
999   } else {
1000 
1001   }
1002   source_context_ = source_context;
1003   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.source_context)
1004 }
1005 
1006 // repeated .google.protobuf.Mixin mixins = 6;
_internal_mixins_size()1007 inline int Api::_internal_mixins_size() const {
1008   return mixins_.size();
1009 }
mixins_size()1010 inline int Api::mixins_size() const {
1011   return _internal_mixins_size();
1012 }
clear_mixins()1013 inline void Api::clear_mixins() {
1014   mixins_.Clear();
1015 }
mutable_mixins(int index)1016 inline PROTOBUF_NAMESPACE_ID::Mixin* Api::mutable_mixins(int index) {
1017   // @@protoc_insertion_point(field_mutable:google.protobuf.Api.mixins)
1018   return mixins_.Mutable(index);
1019 }
1020 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >*
mutable_mixins()1021 Api::mutable_mixins() {
1022   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.mixins)
1023   return &mixins_;
1024 }
_internal_mixins(int index)1025 inline const PROTOBUF_NAMESPACE_ID::Mixin& Api::_internal_mixins(int index) const {
1026   return mixins_.Get(index);
1027 }
mixins(int index)1028 inline const PROTOBUF_NAMESPACE_ID::Mixin& Api::mixins(int index) const {
1029   // @@protoc_insertion_point(field_get:google.protobuf.Api.mixins)
1030   return _internal_mixins(index);
1031 }
_internal_add_mixins()1032 inline PROTOBUF_NAMESPACE_ID::Mixin* Api::_internal_add_mixins() {
1033   return mixins_.Add();
1034 }
add_mixins()1035 inline PROTOBUF_NAMESPACE_ID::Mixin* Api::add_mixins() {
1036   // @@protoc_insertion_point(field_add:google.protobuf.Api.mixins)
1037   return _internal_add_mixins();
1038 }
1039 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >&
mixins()1040 Api::mixins() const {
1041   // @@protoc_insertion_point(field_list:google.protobuf.Api.mixins)
1042   return mixins_;
1043 }
1044 
1045 // .google.protobuf.Syntax syntax = 7;
clear_syntax()1046 inline void Api::clear_syntax() {
1047   syntax_ = 0;
1048 }
_internal_syntax()1049 inline PROTOBUF_NAMESPACE_ID::Syntax Api::_internal_syntax() const {
1050   return static_cast< PROTOBUF_NAMESPACE_ID::Syntax >(syntax_);
1051 }
syntax()1052 inline PROTOBUF_NAMESPACE_ID::Syntax Api::syntax() const {
1053   // @@protoc_insertion_point(field_get:google.protobuf.Api.syntax)
1054   return _internal_syntax();
1055 }
_internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value)1056 inline void Api::_internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
1057 
1058   syntax_ = value;
1059 }
set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value)1060 inline void Api::set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
1061   _internal_set_syntax(value);
1062   // @@protoc_insertion_point(field_set:google.protobuf.Api.syntax)
1063 }
1064 
1065 // -------------------------------------------------------------------
1066 
1067 // Method
1068 
1069 // string name = 1;
clear_name()1070 inline void Method::clear_name() {
1071   name_.ClearToEmpty();
1072 }
name()1073 inline const std::string& Method::name() const {
1074   // @@protoc_insertion_point(field_get:google.protobuf.Method.name)
1075   return _internal_name();
1076 }
set_name(const std::string & value)1077 inline void Method::set_name(const std::string& value) {
1078   _internal_set_name(value);
1079   // @@protoc_insertion_point(field_set:google.protobuf.Method.name)
1080 }
mutable_name()1081 inline std::string* Method::mutable_name() {
1082   // @@protoc_insertion_point(field_mutable:google.protobuf.Method.name)
1083   return _internal_mutable_name();
1084 }
_internal_name()1085 inline const std::string& Method::_internal_name() const {
1086   return name_.Get();
1087 }
_internal_set_name(const std::string & value)1088 inline void Method::_internal_set_name(const std::string& value) {
1089 
1090   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
1091 }
set_name(std::string && value)1092 inline void Method::set_name(std::string&& value) {
1093 
1094   name_.Set(
1095     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
1096   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.name)
1097 }
set_name(const char * value)1098 inline void Method::set_name(const char* value) {
1099   GOOGLE_DCHECK(value != nullptr);
1100 
1101   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
1102   // @@protoc_insertion_point(field_set_char:google.protobuf.Method.name)
1103 }
set_name(const char * value,size_t size)1104 inline void Method::set_name(const char* value,
1105     size_t size) {
1106 
1107   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
1108       reinterpret_cast<const char*>(value), size), GetArena());
1109   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.name)
1110 }
_internal_mutable_name()1111 inline std::string* Method::_internal_mutable_name() {
1112 
1113   return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
1114 }
release_name()1115 inline std::string* Method::release_name() {
1116   // @@protoc_insertion_point(field_release:google.protobuf.Method.name)
1117   return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1118 }
set_allocated_name(std::string * name)1119 inline void Method::set_allocated_name(std::string* name) {
1120   if (name != nullptr) {
1121 
1122   } else {
1123 
1124   }
1125   name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
1126       GetArena());
1127   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.name)
1128 }
1129 
1130 // string request_type_url = 2;
clear_request_type_url()1131 inline void Method::clear_request_type_url() {
1132   request_type_url_.ClearToEmpty();
1133 }
request_type_url()1134 inline const std::string& Method::request_type_url() const {
1135   // @@protoc_insertion_point(field_get:google.protobuf.Method.request_type_url)
1136   return _internal_request_type_url();
1137 }
set_request_type_url(const std::string & value)1138 inline void Method::set_request_type_url(const std::string& value) {
1139   _internal_set_request_type_url(value);
1140   // @@protoc_insertion_point(field_set:google.protobuf.Method.request_type_url)
1141 }
mutable_request_type_url()1142 inline std::string* Method::mutable_request_type_url() {
1143   // @@protoc_insertion_point(field_mutable:google.protobuf.Method.request_type_url)
1144   return _internal_mutable_request_type_url();
1145 }
_internal_request_type_url()1146 inline const std::string& Method::_internal_request_type_url() const {
1147   return request_type_url_.Get();
1148 }
_internal_set_request_type_url(const std::string & value)1149 inline void Method::_internal_set_request_type_url(const std::string& value) {
1150 
1151   request_type_url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
1152 }
set_request_type_url(std::string && value)1153 inline void Method::set_request_type_url(std::string&& value) {
1154 
1155   request_type_url_.Set(
1156     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
1157   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.request_type_url)
1158 }
set_request_type_url(const char * value)1159 inline void Method::set_request_type_url(const char* value) {
1160   GOOGLE_DCHECK(value != nullptr);
1161 
1162   request_type_url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
1163   // @@protoc_insertion_point(field_set_char:google.protobuf.Method.request_type_url)
1164 }
set_request_type_url(const char * value,size_t size)1165 inline void Method::set_request_type_url(const char* value,
1166     size_t size) {
1167 
1168   request_type_url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
1169       reinterpret_cast<const char*>(value), size), GetArena());
1170   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.request_type_url)
1171 }
_internal_mutable_request_type_url()1172 inline std::string* Method::_internal_mutable_request_type_url() {
1173 
1174   return request_type_url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
1175 }
release_request_type_url()1176 inline std::string* Method::release_request_type_url() {
1177   // @@protoc_insertion_point(field_release:google.protobuf.Method.request_type_url)
1178   return request_type_url_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1179 }
set_allocated_request_type_url(std::string * request_type_url)1180 inline void Method::set_allocated_request_type_url(std::string* request_type_url) {
1181   if (request_type_url != nullptr) {
1182 
1183   } else {
1184 
1185   }
1186   request_type_url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), request_type_url,
1187       GetArena());
1188   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.request_type_url)
1189 }
1190 
1191 // bool request_streaming = 3;
clear_request_streaming()1192 inline void Method::clear_request_streaming() {
1193   request_streaming_ = false;
1194 }
_internal_request_streaming()1195 inline bool Method::_internal_request_streaming() const {
1196   return request_streaming_;
1197 }
request_streaming()1198 inline bool Method::request_streaming() const {
1199   // @@protoc_insertion_point(field_get:google.protobuf.Method.request_streaming)
1200   return _internal_request_streaming();
1201 }
_internal_set_request_streaming(bool value)1202 inline void Method::_internal_set_request_streaming(bool value) {
1203 
1204   request_streaming_ = value;
1205 }
set_request_streaming(bool value)1206 inline void Method::set_request_streaming(bool value) {
1207   _internal_set_request_streaming(value);
1208   // @@protoc_insertion_point(field_set:google.protobuf.Method.request_streaming)
1209 }
1210 
1211 // string response_type_url = 4;
clear_response_type_url()1212 inline void Method::clear_response_type_url() {
1213   response_type_url_.ClearToEmpty();
1214 }
response_type_url()1215 inline const std::string& Method::response_type_url() const {
1216   // @@protoc_insertion_point(field_get:google.protobuf.Method.response_type_url)
1217   return _internal_response_type_url();
1218 }
set_response_type_url(const std::string & value)1219 inline void Method::set_response_type_url(const std::string& value) {
1220   _internal_set_response_type_url(value);
1221   // @@protoc_insertion_point(field_set:google.protobuf.Method.response_type_url)
1222 }
mutable_response_type_url()1223 inline std::string* Method::mutable_response_type_url() {
1224   // @@protoc_insertion_point(field_mutable:google.protobuf.Method.response_type_url)
1225   return _internal_mutable_response_type_url();
1226 }
_internal_response_type_url()1227 inline const std::string& Method::_internal_response_type_url() const {
1228   return response_type_url_.Get();
1229 }
_internal_set_response_type_url(const std::string & value)1230 inline void Method::_internal_set_response_type_url(const std::string& value) {
1231 
1232   response_type_url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
1233 }
set_response_type_url(std::string && value)1234 inline void Method::set_response_type_url(std::string&& value) {
1235 
1236   response_type_url_.Set(
1237     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
1238   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.response_type_url)
1239 }
set_response_type_url(const char * value)1240 inline void Method::set_response_type_url(const char* value) {
1241   GOOGLE_DCHECK(value != nullptr);
1242 
1243   response_type_url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
1244   // @@protoc_insertion_point(field_set_char:google.protobuf.Method.response_type_url)
1245 }
set_response_type_url(const char * value,size_t size)1246 inline void Method::set_response_type_url(const char* value,
1247     size_t size) {
1248 
1249   response_type_url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
1250       reinterpret_cast<const char*>(value), size), GetArena());
1251   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.response_type_url)
1252 }
_internal_mutable_response_type_url()1253 inline std::string* Method::_internal_mutable_response_type_url() {
1254 
1255   return response_type_url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
1256 }
release_response_type_url()1257 inline std::string* Method::release_response_type_url() {
1258   // @@protoc_insertion_point(field_release:google.protobuf.Method.response_type_url)
1259   return response_type_url_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1260 }
set_allocated_response_type_url(std::string * response_type_url)1261 inline void Method::set_allocated_response_type_url(std::string* response_type_url) {
1262   if (response_type_url != nullptr) {
1263 
1264   } else {
1265 
1266   }
1267   response_type_url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), response_type_url,
1268       GetArena());
1269   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.response_type_url)
1270 }
1271 
1272 // bool response_streaming = 5;
clear_response_streaming()1273 inline void Method::clear_response_streaming() {
1274   response_streaming_ = false;
1275 }
_internal_response_streaming()1276 inline bool Method::_internal_response_streaming() const {
1277   return response_streaming_;
1278 }
response_streaming()1279 inline bool Method::response_streaming() const {
1280   // @@protoc_insertion_point(field_get:google.protobuf.Method.response_streaming)
1281   return _internal_response_streaming();
1282 }
_internal_set_response_streaming(bool value)1283 inline void Method::_internal_set_response_streaming(bool value) {
1284 
1285   response_streaming_ = value;
1286 }
set_response_streaming(bool value)1287 inline void Method::set_response_streaming(bool value) {
1288   _internal_set_response_streaming(value);
1289   // @@protoc_insertion_point(field_set:google.protobuf.Method.response_streaming)
1290 }
1291 
1292 // repeated .google.protobuf.Option options = 6;
_internal_options_size()1293 inline int Method::_internal_options_size() const {
1294   return options_.size();
1295 }
options_size()1296 inline int Method::options_size() const {
1297   return _internal_options_size();
1298 }
mutable_options(int index)1299 inline PROTOBUF_NAMESPACE_ID::Option* Method::mutable_options(int index) {
1300   // @@protoc_insertion_point(field_mutable:google.protobuf.Method.options)
1301   return options_.Mutable(index);
1302 }
1303 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
mutable_options()1304 Method::mutable_options() {
1305   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Method.options)
1306   return &options_;
1307 }
_internal_options(int index)1308 inline const PROTOBUF_NAMESPACE_ID::Option& Method::_internal_options(int index) const {
1309   return options_.Get(index);
1310 }
options(int index)1311 inline const PROTOBUF_NAMESPACE_ID::Option& Method::options(int index) const {
1312   // @@protoc_insertion_point(field_get:google.protobuf.Method.options)
1313   return _internal_options(index);
1314 }
_internal_add_options()1315 inline PROTOBUF_NAMESPACE_ID::Option* Method::_internal_add_options() {
1316   return options_.Add();
1317 }
add_options()1318 inline PROTOBUF_NAMESPACE_ID::Option* Method::add_options() {
1319   // @@protoc_insertion_point(field_add:google.protobuf.Method.options)
1320   return _internal_add_options();
1321 }
1322 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
options()1323 Method::options() const {
1324   // @@protoc_insertion_point(field_list:google.protobuf.Method.options)
1325   return options_;
1326 }
1327 
1328 // .google.protobuf.Syntax syntax = 7;
clear_syntax()1329 inline void Method::clear_syntax() {
1330   syntax_ = 0;
1331 }
_internal_syntax()1332 inline PROTOBUF_NAMESPACE_ID::Syntax Method::_internal_syntax() const {
1333   return static_cast< PROTOBUF_NAMESPACE_ID::Syntax >(syntax_);
1334 }
syntax()1335 inline PROTOBUF_NAMESPACE_ID::Syntax Method::syntax() const {
1336   // @@protoc_insertion_point(field_get:google.protobuf.Method.syntax)
1337   return _internal_syntax();
1338 }
_internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value)1339 inline void Method::_internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
1340 
1341   syntax_ = value;
1342 }
set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value)1343 inline void Method::set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
1344   _internal_set_syntax(value);
1345   // @@protoc_insertion_point(field_set:google.protobuf.Method.syntax)
1346 }
1347 
1348 // -------------------------------------------------------------------
1349 
1350 // Mixin
1351 
1352 // string name = 1;
clear_name()1353 inline void Mixin::clear_name() {
1354   name_.ClearToEmpty();
1355 }
name()1356 inline const std::string& Mixin::name() const {
1357   // @@protoc_insertion_point(field_get:google.protobuf.Mixin.name)
1358   return _internal_name();
1359 }
set_name(const std::string & value)1360 inline void Mixin::set_name(const std::string& value) {
1361   _internal_set_name(value);
1362   // @@protoc_insertion_point(field_set:google.protobuf.Mixin.name)
1363 }
mutable_name()1364 inline std::string* Mixin::mutable_name() {
1365   // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.name)
1366   return _internal_mutable_name();
1367 }
_internal_name()1368 inline const std::string& Mixin::_internal_name() const {
1369   return name_.Get();
1370 }
_internal_set_name(const std::string & value)1371 inline void Mixin::_internal_set_name(const std::string& value) {
1372 
1373   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
1374 }
set_name(std::string && value)1375 inline void Mixin::set_name(std::string&& value) {
1376 
1377   name_.Set(
1378     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
1379   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.name)
1380 }
set_name(const char * value)1381 inline void Mixin::set_name(const char* value) {
1382   GOOGLE_DCHECK(value != nullptr);
1383 
1384   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
1385   // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.name)
1386 }
set_name(const char * value,size_t size)1387 inline void Mixin::set_name(const char* value,
1388     size_t size) {
1389 
1390   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
1391       reinterpret_cast<const char*>(value), size), GetArena());
1392   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.name)
1393 }
_internal_mutable_name()1394 inline std::string* Mixin::_internal_mutable_name() {
1395 
1396   return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
1397 }
release_name()1398 inline std::string* Mixin::release_name() {
1399   // @@protoc_insertion_point(field_release:google.protobuf.Mixin.name)
1400   return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1401 }
set_allocated_name(std::string * name)1402 inline void Mixin::set_allocated_name(std::string* name) {
1403   if (name != nullptr) {
1404 
1405   } else {
1406 
1407   }
1408   name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
1409       GetArena());
1410   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.name)
1411 }
1412 
1413 // string root = 2;
clear_root()1414 inline void Mixin::clear_root() {
1415   root_.ClearToEmpty();
1416 }
root()1417 inline const std::string& Mixin::root() const {
1418   // @@protoc_insertion_point(field_get:google.protobuf.Mixin.root)
1419   return _internal_root();
1420 }
set_root(const std::string & value)1421 inline void Mixin::set_root(const std::string& value) {
1422   _internal_set_root(value);
1423   // @@protoc_insertion_point(field_set:google.protobuf.Mixin.root)
1424 }
mutable_root()1425 inline std::string* Mixin::mutable_root() {
1426   // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.root)
1427   return _internal_mutable_root();
1428 }
_internal_root()1429 inline const std::string& Mixin::_internal_root() const {
1430   return root_.Get();
1431 }
_internal_set_root(const std::string & value)1432 inline void Mixin::_internal_set_root(const std::string& value) {
1433 
1434   root_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
1435 }
set_root(std::string && value)1436 inline void Mixin::set_root(std::string&& value) {
1437 
1438   root_.Set(
1439     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
1440   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.root)
1441 }
set_root(const char * value)1442 inline void Mixin::set_root(const char* value) {
1443   GOOGLE_DCHECK(value != nullptr);
1444 
1445   root_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
1446   // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.root)
1447 }
set_root(const char * value,size_t size)1448 inline void Mixin::set_root(const char* value,
1449     size_t size) {
1450 
1451   root_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
1452       reinterpret_cast<const char*>(value), size), GetArena());
1453   // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.root)
1454 }
_internal_mutable_root()1455 inline std::string* Mixin::_internal_mutable_root() {
1456 
1457   return root_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
1458 }
release_root()1459 inline std::string* Mixin::release_root() {
1460   // @@protoc_insertion_point(field_release:google.protobuf.Mixin.root)
1461   return root_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1462 }
set_allocated_root(std::string * root)1463 inline void Mixin::set_allocated_root(std::string* root) {
1464   if (root != nullptr) {
1465 
1466   } else {
1467 
1468   }
1469   root_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), root,
1470       GetArena());
1471   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.root)
1472 }
1473 
1474 #ifdef __GNUC__
1475   #pragma GCC diagnostic pop
1476 #endif  // __GNUC__
1477 // -------------------------------------------------------------------
1478 
1479 // -------------------------------------------------------------------
1480 
1481 
1482 // @@protoc_insertion_point(namespace_scope)
1483 
1484 PROTOBUF_NAMESPACE_CLOSE
1485 
1486 // @@protoc_insertion_point(global_scope)
1487 
1488 #include <google/protobuf/port_undef.inc>
1489 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto
1490