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