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