File indexing completed on 2025-01-31 10:12:05
0001
0002
0003
0004
0005
0006 #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto_2epb_2eh
0007 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto_2epb_2eh
0008
0009 #include <limits>
0010 #include <string>
0011 #include <type_traits>
0012 #include <utility>
0013
0014 #include "google/protobuf/runtime_version.h"
0015 #if PROTOBUF_VERSION != 5028002
0016 #error "Protobuf C++ gencode is built with an incompatible version of"
0017 #error "Protobuf C++ headers/runtime. See"
0018 #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
0019 #endif
0020 #include "google/protobuf/io/coded_stream.h"
0021 #include "google/protobuf/arena.h"
0022 #include "google/protobuf/arenastring.h"
0023 #include "google/protobuf/generated_message_tctable_decl.h"
0024 #include "google/protobuf/generated_message_util.h"
0025 #include "google/protobuf/metadata_lite.h"
0026 #include "google/protobuf/generated_message_reflection.h"
0027 #include "google/protobuf/message.h"
0028 #include "google/protobuf/repeated_field.h" // IWYU pragma: export
0029 #include "google/protobuf/extension_set.h" // IWYU pragma: export
0030 #include "google/protobuf/unknown_field_set.h"
0031 #include "google/protobuf/source_context.pb.h"
0032 #include "google/protobuf/type.pb.h"
0033
0034
0035
0036 #include "google/protobuf/port_def.inc"
0037
0038 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fapi_2eproto PROTOBUF_EXPORT
0039
0040 namespace google {
0041 namespace protobuf {
0042 namespace internal {
0043 class AnyMetadata;
0044 }
0045 }
0046 }
0047
0048
0049 struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fapi_2eproto {
0050 static const ::uint32_t offsets[];
0051 };
0052 PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable
0053 descriptor_table_google_2fprotobuf_2fapi_2eproto;
0054 namespace google {
0055 namespace protobuf {
0056 class Api;
0057 struct ApiDefaultTypeInternal;
0058 PROTOBUF_EXPORT extern ApiDefaultTypeInternal _Api_default_instance_;
0059 class Method;
0060 struct MethodDefaultTypeInternal;
0061 PROTOBUF_EXPORT extern MethodDefaultTypeInternal _Method_default_instance_;
0062 class Mixin;
0063 struct MixinDefaultTypeInternal;
0064 PROTOBUF_EXPORT extern MixinDefaultTypeInternal _Mixin_default_instance_;
0065 }
0066 }
0067
0068 namespace google {
0069 namespace protobuf {
0070
0071
0072
0073
0074
0075
0076 class PROTOBUF_EXPORT Mixin final : public ::google::protobuf::Message
0077 {
0078 public:
0079 inline Mixin() : Mixin(nullptr) {}
0080 ~Mixin() PROTOBUF_FINAL;
0081 template <typename = void>
0082 explicit PROTOBUF_CONSTEXPR Mixin(
0083 ::google::protobuf::internal::ConstantInitialized);
0084
0085 inline Mixin(const Mixin& from) : Mixin(nullptr, from) {}
0086 inline Mixin(Mixin&& from) noexcept
0087 : Mixin(nullptr, std::move(from)) {}
0088 inline Mixin& operator=(const Mixin& from) {
0089 CopyFrom(from);
0090 return *this;
0091 }
0092 inline Mixin& operator=(Mixin&& from) noexcept {
0093 if (this == &from) return *this;
0094 if (GetArena() == from.GetArena()
0095 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
0096 && GetArena() != nullptr
0097 #endif
0098 ) {
0099 InternalSwap(&from);
0100 } else {
0101 CopyFrom(from);
0102 }
0103 return *this;
0104 }
0105
0106 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0107 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0108 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0109 }
0110 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
0111 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0112 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0113 }
0114
0115 static const ::google::protobuf::Descriptor* descriptor() {
0116 return GetDescriptor();
0117 }
0118 static const ::google::protobuf::Descriptor* GetDescriptor() {
0119 return default_instance().GetMetadata().descriptor;
0120 }
0121 static const ::google::protobuf::Reflection* GetReflection() {
0122 return default_instance().GetMetadata().reflection;
0123 }
0124 static const Mixin& default_instance() {
0125 return *internal_default_instance();
0126 }
0127 static inline const Mixin* internal_default_instance() {
0128 return reinterpret_cast<const Mixin*>(
0129 &_Mixin_default_instance_);
0130 }
0131 static constexpr int kIndexInFileMessages = 2;
0132 friend void swap(Mixin& a, Mixin& b) { a.Swap(&b); }
0133 inline void Swap(Mixin* other) {
0134 if (other == this) return;
0135 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
0136 if (GetArena() != nullptr && GetArena() == other->GetArena()) {
0137 #else
0138 if (GetArena() == other->GetArena()) {
0139 #endif
0140 InternalSwap(other);
0141 } else {
0142 ::google::protobuf::internal::GenericSwap(this, other);
0143 }
0144 }
0145 void UnsafeArenaSwap(Mixin* other) {
0146 if (other == this) return;
0147 ABSL_DCHECK(GetArena() == other->GetArena());
0148 InternalSwap(other);
0149 }
0150
0151
0152
0153 Mixin* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
0154 return ::google::protobuf::Message::DefaultConstruct<Mixin>(arena);
0155 }
0156 using ::google::protobuf::Message::CopyFrom;
0157 void CopyFrom(const Mixin& from);
0158 using ::google::protobuf::Message::MergeFrom;
0159 void MergeFrom(const Mixin& from) { Mixin::MergeImpl(*this, from); }
0160
0161 private:
0162 static void MergeImpl(
0163 ::google::protobuf::MessageLite& to_msg,
0164 const ::google::protobuf::MessageLite& from_msg);
0165
0166 public:
0167 bool IsInitialized() const {
0168 return true;
0169 }
0170 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0171 #if defined(PROTOBUF_CUSTOM_VTABLE)
0172 private:
0173 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0174 static ::uint8_t* _InternalSerialize(
0175 const MessageLite& msg, ::uint8_t* target,
0176 ::google::protobuf::io::EpsCopyOutputStream* stream);
0177
0178 public:
0179 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0180 ::uint8_t* _InternalSerialize(
0181 ::uint8_t* target,
0182 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
0183 return _InternalSerialize(*this, target, stream);
0184 }
0185 #else
0186 ::size_t ByteSizeLong() const final;
0187 ::uint8_t* _InternalSerialize(
0188 ::uint8_t* target,
0189 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
0190 #endif
0191 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0192
0193 private:
0194 void SharedCtor(::google::protobuf::Arena* arena);
0195 void SharedDtor();
0196 void InternalSwap(Mixin* other);
0197 private:
0198 friend class ::google::protobuf::internal::AnyMetadata;
0199 static ::absl::string_view FullMessageName() { return "google.protobuf.Mixin"; }
0200
0201 protected:
0202 explicit Mixin(::google::protobuf::Arena* arena);
0203 Mixin(::google::protobuf::Arena* arena, const Mixin& from);
0204 Mixin(::google::protobuf::Arena* arena, Mixin&& from) noexcept
0205 : Mixin(arena) {
0206 *this = ::std::move(from);
0207 }
0208 const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
0209 static const ::google::protobuf::Message::ClassDataFull _class_data_;
0210
0211 public:
0212 ::google::protobuf::Metadata GetMetadata() const;
0213
0214
0215
0216 enum : int {
0217 kNameFieldNumber = 1,
0218 kRootFieldNumber = 2,
0219 };
0220
0221 void clear_name() ;
0222 const std::string& name() const;
0223 template <typename Arg_ = const std::string&, typename... Args_>
0224 void set_name(Arg_&& arg, Args_... args);
0225 std::string* mutable_name();
0226 PROTOBUF_NODISCARD std::string* release_name();
0227 void set_allocated_name(std::string* value);
0228
0229 private:
0230 const std::string& _internal_name() const;
0231 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
0232 const std::string& value);
0233 std::string* _internal_mutable_name();
0234
0235 public:
0236
0237 void clear_root() ;
0238 const std::string& root() const;
0239 template <typename Arg_ = const std::string&, typename... Args_>
0240 void set_root(Arg_&& arg, Args_... args);
0241 std::string* mutable_root();
0242 PROTOBUF_NODISCARD std::string* release_root();
0243 void set_allocated_root(std::string* value);
0244
0245 private:
0246 const std::string& _internal_root() const;
0247 inline PROTOBUF_ALWAYS_INLINE void _internal_set_root(
0248 const std::string& value);
0249 std::string* _internal_mutable_root();
0250
0251 public:
0252
0253 private:
0254 class _Internal;
0255 friend class ::google::protobuf::internal::TcParser;
0256 static const ::google::protobuf::internal::TcParseTable<
0257 1, 2, 0,
0258 38, 2>
0259 _table_;
0260
0261
0262 friend class ::google::protobuf::MessageLite;
0263 friend class ::google::protobuf::Arena;
0264 template <typename T>
0265 friend class ::google::protobuf::Arena::InternalHelper;
0266 using InternalArenaConstructable_ = void;
0267 using DestructorSkippable_ = void;
0268 struct Impl_ {
0269 inline explicit constexpr Impl_(
0270 ::google::protobuf::internal::ConstantInitialized) noexcept;
0271 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0272 ::google::protobuf::Arena* arena);
0273 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0274 ::google::protobuf::Arena* arena, const Impl_& from,
0275 const Mixin& from_msg);
0276 ::google::protobuf::internal::ArenaStringPtr name_;
0277 ::google::protobuf::internal::ArenaStringPtr root_;
0278 mutable ::google::protobuf::internal::CachedSize _cached_size_;
0279 PROTOBUF_TSAN_DECLARE_MEMBER
0280 };
0281 union { Impl_ _impl_; };
0282 friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
0283 };
0284
0285
0286 class PROTOBUF_EXPORT Method final : public ::google::protobuf::Message
0287 {
0288 public:
0289 inline Method() : Method(nullptr) {}
0290 ~Method() PROTOBUF_FINAL;
0291 template <typename = void>
0292 explicit PROTOBUF_CONSTEXPR Method(
0293 ::google::protobuf::internal::ConstantInitialized);
0294
0295 inline Method(const Method& from) : Method(nullptr, from) {}
0296 inline Method(Method&& from) noexcept
0297 : Method(nullptr, std::move(from)) {}
0298 inline Method& operator=(const Method& from) {
0299 CopyFrom(from);
0300 return *this;
0301 }
0302 inline Method& operator=(Method&& from) noexcept {
0303 if (this == &from) return *this;
0304 if (GetArena() == from.GetArena()
0305 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
0306 && GetArena() != nullptr
0307 #endif
0308 ) {
0309 InternalSwap(&from);
0310 } else {
0311 CopyFrom(from);
0312 }
0313 return *this;
0314 }
0315
0316 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0317 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0318 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0319 }
0320 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
0321 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0322 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0323 }
0324
0325 static const ::google::protobuf::Descriptor* descriptor() {
0326 return GetDescriptor();
0327 }
0328 static const ::google::protobuf::Descriptor* GetDescriptor() {
0329 return default_instance().GetMetadata().descriptor;
0330 }
0331 static const ::google::protobuf::Reflection* GetReflection() {
0332 return default_instance().GetMetadata().reflection;
0333 }
0334 static const Method& default_instance() {
0335 return *internal_default_instance();
0336 }
0337 static inline const Method* internal_default_instance() {
0338 return reinterpret_cast<const Method*>(
0339 &_Method_default_instance_);
0340 }
0341 static constexpr int kIndexInFileMessages = 1;
0342 friend void swap(Method& a, Method& b) { a.Swap(&b); }
0343 inline void Swap(Method* other) {
0344 if (other == this) return;
0345 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
0346 if (GetArena() != nullptr && GetArena() == other->GetArena()) {
0347 #else
0348 if (GetArena() == other->GetArena()) {
0349 #endif
0350 InternalSwap(other);
0351 } else {
0352 ::google::protobuf::internal::GenericSwap(this, other);
0353 }
0354 }
0355 void UnsafeArenaSwap(Method* other) {
0356 if (other == this) return;
0357 ABSL_DCHECK(GetArena() == other->GetArena());
0358 InternalSwap(other);
0359 }
0360
0361
0362
0363 Method* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
0364 return ::google::protobuf::Message::DefaultConstruct<Method>(arena);
0365 }
0366 using ::google::protobuf::Message::CopyFrom;
0367 void CopyFrom(const Method& from);
0368 using ::google::protobuf::Message::MergeFrom;
0369 void MergeFrom(const Method& from) { Method::MergeImpl(*this, from); }
0370
0371 private:
0372 static void MergeImpl(
0373 ::google::protobuf::MessageLite& to_msg,
0374 const ::google::protobuf::MessageLite& from_msg);
0375
0376 public:
0377 bool IsInitialized() const {
0378 return true;
0379 }
0380 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0381 #if defined(PROTOBUF_CUSTOM_VTABLE)
0382 private:
0383 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0384 static ::uint8_t* _InternalSerialize(
0385 const MessageLite& msg, ::uint8_t* target,
0386 ::google::protobuf::io::EpsCopyOutputStream* stream);
0387
0388 public:
0389 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0390 ::uint8_t* _InternalSerialize(
0391 ::uint8_t* target,
0392 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
0393 return _InternalSerialize(*this, target, stream);
0394 }
0395 #else
0396 ::size_t ByteSizeLong() const final;
0397 ::uint8_t* _InternalSerialize(
0398 ::uint8_t* target,
0399 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
0400 #endif
0401 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0402
0403 private:
0404 void SharedCtor(::google::protobuf::Arena* arena);
0405 void SharedDtor();
0406 void InternalSwap(Method* other);
0407 private:
0408 friend class ::google::protobuf::internal::AnyMetadata;
0409 static ::absl::string_view FullMessageName() { return "google.protobuf.Method"; }
0410
0411 protected:
0412 explicit Method(::google::protobuf::Arena* arena);
0413 Method(::google::protobuf::Arena* arena, const Method& from);
0414 Method(::google::protobuf::Arena* arena, Method&& from) noexcept
0415 : Method(arena) {
0416 *this = ::std::move(from);
0417 }
0418 const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
0419 static const ::google::protobuf::Message::ClassDataFull _class_data_;
0420
0421 public:
0422 ::google::protobuf::Metadata GetMetadata() const;
0423
0424
0425
0426 enum : int {
0427 kOptionsFieldNumber = 6,
0428 kNameFieldNumber = 1,
0429 kRequestTypeUrlFieldNumber = 2,
0430 kResponseTypeUrlFieldNumber = 4,
0431 kRequestStreamingFieldNumber = 3,
0432 kResponseStreamingFieldNumber = 5,
0433 kSyntaxFieldNumber = 7,
0434 };
0435
0436 int options_size() const;
0437 private:
0438 int _internal_options_size() const;
0439
0440 public:
0441 void clear_options() ;
0442 ::google::protobuf::Option* mutable_options(int index);
0443 ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* mutable_options();
0444
0445 private:
0446 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& _internal_options() const;
0447 ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* _internal_mutable_options();
0448 public:
0449 const ::google::protobuf::Option& options(int index) const;
0450 ::google::protobuf::Option* add_options();
0451 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& options() const;
0452
0453 void clear_name() ;
0454 const std::string& name() const;
0455 template <typename Arg_ = const std::string&, typename... Args_>
0456 void set_name(Arg_&& arg, Args_... args);
0457 std::string* mutable_name();
0458 PROTOBUF_NODISCARD std::string* release_name();
0459 void set_allocated_name(std::string* value);
0460
0461 private:
0462 const std::string& _internal_name() const;
0463 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
0464 const std::string& value);
0465 std::string* _internal_mutable_name();
0466
0467 public:
0468
0469 void clear_request_type_url() ;
0470 const std::string& request_type_url() const;
0471 template <typename Arg_ = const std::string&, typename... Args_>
0472 void set_request_type_url(Arg_&& arg, Args_... args);
0473 std::string* mutable_request_type_url();
0474 PROTOBUF_NODISCARD std::string* release_request_type_url();
0475 void set_allocated_request_type_url(std::string* value);
0476
0477 private:
0478 const std::string& _internal_request_type_url() const;
0479 inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_type_url(
0480 const std::string& value);
0481 std::string* _internal_mutable_request_type_url();
0482
0483 public:
0484
0485 void clear_response_type_url() ;
0486 const std::string& response_type_url() const;
0487 template <typename Arg_ = const std::string&, typename... Args_>
0488 void set_response_type_url(Arg_&& arg, Args_... args);
0489 std::string* mutable_response_type_url();
0490 PROTOBUF_NODISCARD std::string* release_response_type_url();
0491 void set_allocated_response_type_url(std::string* value);
0492
0493 private:
0494 const std::string& _internal_response_type_url() const;
0495 inline PROTOBUF_ALWAYS_INLINE void _internal_set_response_type_url(
0496 const std::string& value);
0497 std::string* _internal_mutable_response_type_url();
0498
0499 public:
0500
0501 void clear_request_streaming() ;
0502 bool request_streaming() const;
0503 void set_request_streaming(bool value);
0504
0505 private:
0506 bool _internal_request_streaming() const;
0507 void _internal_set_request_streaming(bool value);
0508
0509 public:
0510
0511 void clear_response_streaming() ;
0512 bool response_streaming() const;
0513 void set_response_streaming(bool value);
0514
0515 private:
0516 bool _internal_response_streaming() const;
0517 void _internal_set_response_streaming(bool value);
0518
0519 public:
0520
0521 void clear_syntax() ;
0522 ::google::protobuf::Syntax syntax() const;
0523 void set_syntax(::google::protobuf::Syntax value);
0524
0525 private:
0526 ::google::protobuf::Syntax _internal_syntax() const;
0527 void _internal_set_syntax(::google::protobuf::Syntax value);
0528
0529 public:
0530
0531 private:
0532 class _Internal;
0533 friend class ::google::protobuf::internal::TcParser;
0534 static const ::google::protobuf::internal::TcParseTable<
0535 3, 7, 1,
0536 68, 2>
0537 _table_;
0538
0539
0540 friend class ::google::protobuf::MessageLite;
0541 friend class ::google::protobuf::Arena;
0542 template <typename T>
0543 friend class ::google::protobuf::Arena::InternalHelper;
0544 using InternalArenaConstructable_ = void;
0545 using DestructorSkippable_ = void;
0546 struct Impl_ {
0547 inline explicit constexpr Impl_(
0548 ::google::protobuf::internal::ConstantInitialized) noexcept;
0549 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0550 ::google::protobuf::Arena* arena);
0551 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0552 ::google::protobuf::Arena* arena, const Impl_& from,
0553 const Method& from_msg);
0554 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
0555 ::google::protobuf::internal::ArenaStringPtr name_;
0556 ::google::protobuf::internal::ArenaStringPtr request_type_url_;
0557 ::google::protobuf::internal::ArenaStringPtr response_type_url_;
0558 bool request_streaming_;
0559 bool response_streaming_;
0560 int syntax_;
0561 mutable ::google::protobuf::internal::CachedSize _cached_size_;
0562 PROTOBUF_TSAN_DECLARE_MEMBER
0563 };
0564 union { Impl_ _impl_; };
0565 friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
0566 };
0567
0568
0569 class PROTOBUF_EXPORT Api final : public ::google::protobuf::Message
0570 {
0571 public:
0572 inline Api() : Api(nullptr) {}
0573 ~Api() PROTOBUF_FINAL;
0574 template <typename = void>
0575 explicit PROTOBUF_CONSTEXPR Api(
0576 ::google::protobuf::internal::ConstantInitialized);
0577
0578 inline Api(const Api& from) : Api(nullptr, from) {}
0579 inline Api(Api&& from) noexcept
0580 : Api(nullptr, std::move(from)) {}
0581 inline Api& operator=(const Api& from) {
0582 CopyFrom(from);
0583 return *this;
0584 }
0585 inline Api& operator=(Api&& from) noexcept {
0586 if (this == &from) return *this;
0587 if (GetArena() == from.GetArena()
0588 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
0589 && GetArena() != nullptr
0590 #endif
0591 ) {
0592 InternalSwap(&from);
0593 } else {
0594 CopyFrom(from);
0595 }
0596 return *this;
0597 }
0598
0599 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0600 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0601 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0602 }
0603 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
0604 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0605 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0606 }
0607
0608 static const ::google::protobuf::Descriptor* descriptor() {
0609 return GetDescriptor();
0610 }
0611 static const ::google::protobuf::Descriptor* GetDescriptor() {
0612 return default_instance().GetMetadata().descriptor;
0613 }
0614 static const ::google::protobuf::Reflection* GetReflection() {
0615 return default_instance().GetMetadata().reflection;
0616 }
0617 static const Api& default_instance() {
0618 return *internal_default_instance();
0619 }
0620 static inline const Api* internal_default_instance() {
0621 return reinterpret_cast<const Api*>(
0622 &_Api_default_instance_);
0623 }
0624 static constexpr int kIndexInFileMessages = 0;
0625 friend void swap(Api& a, Api& b) { a.Swap(&b); }
0626 inline void Swap(Api* other) {
0627 if (other == this) return;
0628 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
0629 if (GetArena() != nullptr && GetArena() == other->GetArena()) {
0630 #else
0631 if (GetArena() == other->GetArena()) {
0632 #endif
0633 InternalSwap(other);
0634 } else {
0635 ::google::protobuf::internal::GenericSwap(this, other);
0636 }
0637 }
0638 void UnsafeArenaSwap(Api* other) {
0639 if (other == this) return;
0640 ABSL_DCHECK(GetArena() == other->GetArena());
0641 InternalSwap(other);
0642 }
0643
0644
0645
0646 Api* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
0647 return ::google::protobuf::Message::DefaultConstruct<Api>(arena);
0648 }
0649 using ::google::protobuf::Message::CopyFrom;
0650 void CopyFrom(const Api& from);
0651 using ::google::protobuf::Message::MergeFrom;
0652 void MergeFrom(const Api& from) { Api::MergeImpl(*this, from); }
0653
0654 private:
0655 static void MergeImpl(
0656 ::google::protobuf::MessageLite& to_msg,
0657 const ::google::protobuf::MessageLite& from_msg);
0658
0659 public:
0660 bool IsInitialized() const {
0661 return true;
0662 }
0663 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0664 #if defined(PROTOBUF_CUSTOM_VTABLE)
0665 private:
0666 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0667 static ::uint8_t* _InternalSerialize(
0668 const MessageLite& msg, ::uint8_t* target,
0669 ::google::protobuf::io::EpsCopyOutputStream* stream);
0670
0671 public:
0672 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0673 ::uint8_t* _InternalSerialize(
0674 ::uint8_t* target,
0675 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
0676 return _InternalSerialize(*this, target, stream);
0677 }
0678 #else
0679 ::size_t ByteSizeLong() const final;
0680 ::uint8_t* _InternalSerialize(
0681 ::uint8_t* target,
0682 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
0683 #endif
0684 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0685
0686 private:
0687 void SharedCtor(::google::protobuf::Arena* arena);
0688 void SharedDtor();
0689 void InternalSwap(Api* other);
0690 private:
0691 friend class ::google::protobuf::internal::AnyMetadata;
0692 static ::absl::string_view FullMessageName() { return "google.protobuf.Api"; }
0693
0694 protected:
0695 explicit Api(::google::protobuf::Arena* arena);
0696 Api(::google::protobuf::Arena* arena, const Api& from);
0697 Api(::google::protobuf::Arena* arena, Api&& from) noexcept
0698 : Api(arena) {
0699 *this = ::std::move(from);
0700 }
0701 const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
0702 static const ::google::protobuf::Message::ClassDataFull _class_data_;
0703
0704 public:
0705 ::google::protobuf::Metadata GetMetadata() const;
0706
0707
0708
0709 enum : int {
0710 kMethodsFieldNumber = 2,
0711 kOptionsFieldNumber = 3,
0712 kMixinsFieldNumber = 6,
0713 kNameFieldNumber = 1,
0714 kVersionFieldNumber = 4,
0715 kSourceContextFieldNumber = 5,
0716 kSyntaxFieldNumber = 7,
0717 };
0718
0719 int methods_size() const;
0720 private:
0721 int _internal_methods_size() const;
0722
0723 public:
0724 void clear_methods() ;
0725 ::google::protobuf::Method* mutable_methods(int index);
0726 ::google::protobuf::RepeatedPtrField<::google::protobuf::Method>* mutable_methods();
0727
0728 private:
0729 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Method>& _internal_methods() const;
0730 ::google::protobuf::RepeatedPtrField<::google::protobuf::Method>* _internal_mutable_methods();
0731 public:
0732 const ::google::protobuf::Method& methods(int index) const;
0733 ::google::protobuf::Method* add_methods();
0734 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Method>& methods() const;
0735
0736 int options_size() const;
0737 private:
0738 int _internal_options_size() const;
0739
0740 public:
0741 void clear_options() ;
0742 ::google::protobuf::Option* mutable_options(int index);
0743 ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* mutable_options();
0744
0745 private:
0746 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& _internal_options() const;
0747 ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* _internal_mutable_options();
0748 public:
0749 const ::google::protobuf::Option& options(int index) const;
0750 ::google::protobuf::Option* add_options();
0751 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& options() const;
0752
0753 int mixins_size() const;
0754 private:
0755 int _internal_mixins_size() const;
0756
0757 public:
0758 void clear_mixins() ;
0759 ::google::protobuf::Mixin* mutable_mixins(int index);
0760 ::google::protobuf::RepeatedPtrField<::google::protobuf::Mixin>* mutable_mixins();
0761
0762 private:
0763 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Mixin>& _internal_mixins() const;
0764 ::google::protobuf::RepeatedPtrField<::google::protobuf::Mixin>* _internal_mutable_mixins();
0765 public:
0766 const ::google::protobuf::Mixin& mixins(int index) const;
0767 ::google::protobuf::Mixin* add_mixins();
0768 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Mixin>& mixins() const;
0769
0770 void clear_name() ;
0771 const std::string& name() const;
0772 template <typename Arg_ = const std::string&, typename... Args_>
0773 void set_name(Arg_&& arg, Args_... args);
0774 std::string* mutable_name();
0775 PROTOBUF_NODISCARD std::string* release_name();
0776 void set_allocated_name(std::string* value);
0777
0778 private:
0779 const std::string& _internal_name() const;
0780 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
0781 const std::string& value);
0782 std::string* _internal_mutable_name();
0783
0784 public:
0785
0786 void clear_version() ;
0787 const std::string& version() const;
0788 template <typename Arg_ = const std::string&, typename... Args_>
0789 void set_version(Arg_&& arg, Args_... args);
0790 std::string* mutable_version();
0791 PROTOBUF_NODISCARD std::string* release_version();
0792 void set_allocated_version(std::string* value);
0793
0794 private:
0795 const std::string& _internal_version() const;
0796 inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(
0797 const std::string& value);
0798 std::string* _internal_mutable_version();
0799
0800 public:
0801
0802 bool has_source_context() const;
0803 void clear_source_context() ;
0804 const ::google::protobuf::SourceContext& source_context() const;
0805 PROTOBUF_NODISCARD ::google::protobuf::SourceContext* release_source_context();
0806 ::google::protobuf::SourceContext* mutable_source_context();
0807 void set_allocated_source_context(::google::protobuf::SourceContext* value);
0808 void unsafe_arena_set_allocated_source_context(::google::protobuf::SourceContext* value);
0809 ::google::protobuf::SourceContext* unsafe_arena_release_source_context();
0810
0811 private:
0812 const ::google::protobuf::SourceContext& _internal_source_context() const;
0813 ::google::protobuf::SourceContext* _internal_mutable_source_context();
0814
0815 public:
0816
0817 void clear_syntax() ;
0818 ::google::protobuf::Syntax syntax() const;
0819 void set_syntax(::google::protobuf::Syntax value);
0820
0821 private:
0822 ::google::protobuf::Syntax _internal_syntax() const;
0823 void _internal_set_syntax(::google::protobuf::Syntax value);
0824
0825 public:
0826
0827 private:
0828 class _Internal;
0829 friend class ::google::protobuf::internal::TcParser;
0830 static const ::google::protobuf::internal::TcParseTable<
0831 3, 7, 4,
0832 39, 2>
0833 _table_;
0834
0835
0836 friend class ::google::protobuf::MessageLite;
0837 friend class ::google::protobuf::Arena;
0838 template <typename T>
0839 friend class ::google::protobuf::Arena::InternalHelper;
0840 using InternalArenaConstructable_ = void;
0841 using DestructorSkippable_ = void;
0842 struct Impl_ {
0843 inline explicit constexpr Impl_(
0844 ::google::protobuf::internal::ConstantInitialized) noexcept;
0845 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0846 ::google::protobuf::Arena* arena);
0847 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0848 ::google::protobuf::Arena* arena, const Impl_& from,
0849 const Api& from_msg);
0850 ::google::protobuf::internal::HasBits<1> _has_bits_;
0851 mutable ::google::protobuf::internal::CachedSize _cached_size_;
0852 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method > methods_;
0853 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
0854 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin > mixins_;
0855 ::google::protobuf::internal::ArenaStringPtr name_;
0856 ::google::protobuf::internal::ArenaStringPtr version_;
0857 ::google::protobuf::SourceContext* source_context_;
0858 int syntax_;
0859 PROTOBUF_TSAN_DECLARE_MEMBER
0860 };
0861 union { Impl_ _impl_; };
0862 friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
0863 };
0864
0865
0866
0867
0868
0869
0870
0871
0872
0873 #ifdef __GNUC__
0874 #pragma GCC diagnostic push
0875 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
0876 #endif
0877
0878
0879
0880
0881
0882 inline void Api::clear_name() {
0883 ::google::protobuf::internal::TSanWrite(&_impl_);
0884 _impl_.name_.ClearToEmpty();
0885 }
0886 inline const std::string& Api::name() const
0887 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0888
0889 return _internal_name();
0890 }
0891 template <typename Arg_, typename... Args_>
0892 inline PROTOBUF_ALWAYS_INLINE void Api::set_name(Arg_&& arg,
0893 Args_... args) {
0894 ::google::protobuf::internal::TSanWrite(&_impl_);
0895 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
0896
0897 }
0898 inline std::string* Api::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
0899 std::string* _s = _internal_mutable_name();
0900
0901 return _s;
0902 }
0903 inline const std::string& Api::_internal_name() const {
0904 ::google::protobuf::internal::TSanRead(&_impl_);
0905 return _impl_.name_.Get();
0906 }
0907 inline void Api::_internal_set_name(const std::string& value) {
0908 ::google::protobuf::internal::TSanWrite(&_impl_);
0909 _impl_.name_.Set(value, GetArena());
0910 }
0911 inline std::string* Api::_internal_mutable_name() {
0912 ::google::protobuf::internal::TSanWrite(&_impl_);
0913 return _impl_.name_.Mutable( GetArena());
0914 }
0915 inline std::string* Api::release_name() {
0916 ::google::protobuf::internal::TSanWrite(&_impl_);
0917
0918 return _impl_.name_.Release();
0919 }
0920 inline void Api::set_allocated_name(std::string* value) {
0921 ::google::protobuf::internal::TSanWrite(&_impl_);
0922 _impl_.name_.SetAllocated(value, GetArena());
0923 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
0924 if (_impl_.name_.IsDefault()) {
0925 _impl_.name_.Set("", GetArena());
0926 }
0927 #endif
0928
0929 }
0930
0931
0932 inline int Api::_internal_methods_size() const {
0933 return _internal_methods().size();
0934 }
0935 inline int Api::methods_size() const {
0936 return _internal_methods_size();
0937 }
0938 inline void Api::clear_methods() {
0939 ::google::protobuf::internal::TSanWrite(&_impl_);
0940 _impl_.methods_.Clear();
0941 }
0942 inline ::google::protobuf::Method* Api::mutable_methods(int index)
0943 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0944
0945 return _internal_mutable_methods()->Mutable(index);
0946 }
0947 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Method>* Api::mutable_methods()
0948 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0949
0950 ::google::protobuf::internal::TSanWrite(&_impl_);
0951 return _internal_mutable_methods();
0952 }
0953 inline const ::google::protobuf::Method& Api::methods(int index) const
0954 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0955
0956 return _internal_methods().Get(index);
0957 }
0958 inline ::google::protobuf::Method* Api::add_methods() ABSL_ATTRIBUTE_LIFETIME_BOUND {
0959 ::google::protobuf::internal::TSanWrite(&_impl_);
0960 ::google::protobuf::Method* _add = _internal_mutable_methods()->Add();
0961
0962 return _add;
0963 }
0964 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Method>& Api::methods() const
0965 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0966
0967 return _internal_methods();
0968 }
0969 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Method>&
0970 Api::_internal_methods() const {
0971 ::google::protobuf::internal::TSanRead(&_impl_);
0972 return _impl_.methods_;
0973 }
0974 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Method>*
0975 Api::_internal_mutable_methods() {
0976 ::google::protobuf::internal::TSanRead(&_impl_);
0977 return &_impl_.methods_;
0978 }
0979
0980
0981 inline int Api::_internal_options_size() const {
0982 return _internal_options().size();
0983 }
0984 inline int Api::options_size() const {
0985 return _internal_options_size();
0986 }
0987 inline ::google::protobuf::Option* Api::mutable_options(int index)
0988 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0989
0990 return _internal_mutable_options()->Mutable(index);
0991 }
0992 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* Api::mutable_options()
0993 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0994
0995 ::google::protobuf::internal::TSanWrite(&_impl_);
0996 return _internal_mutable_options();
0997 }
0998 inline const ::google::protobuf::Option& Api::options(int index) const
0999 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1000
1001 return _internal_options().Get(index);
1002 }
1003 inline ::google::protobuf::Option* Api::add_options() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1004 ::google::protobuf::internal::TSanWrite(&_impl_);
1005 ::google::protobuf::Option* _add = _internal_mutable_options()->Add();
1006
1007 return _add;
1008 }
1009 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& Api::options() const
1010 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1011
1012 return _internal_options();
1013 }
1014 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>&
1015 Api::_internal_options() const {
1016 ::google::protobuf::internal::TSanRead(&_impl_);
1017 return _impl_.options_;
1018 }
1019 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>*
1020 Api::_internal_mutable_options() {
1021 ::google::protobuf::internal::TSanRead(&_impl_);
1022 return &_impl_.options_;
1023 }
1024
1025
1026 inline void Api::clear_version() {
1027 ::google::protobuf::internal::TSanWrite(&_impl_);
1028 _impl_.version_.ClearToEmpty();
1029 }
1030 inline const std::string& Api::version() const
1031 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1032
1033 return _internal_version();
1034 }
1035 template <typename Arg_, typename... Args_>
1036 inline PROTOBUF_ALWAYS_INLINE void Api::set_version(Arg_&& arg,
1037 Args_... args) {
1038 ::google::protobuf::internal::TSanWrite(&_impl_);
1039 _impl_.version_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1040
1041 }
1042 inline std::string* Api::mutable_version() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1043 std::string* _s = _internal_mutable_version();
1044
1045 return _s;
1046 }
1047 inline const std::string& Api::_internal_version() const {
1048 ::google::protobuf::internal::TSanRead(&_impl_);
1049 return _impl_.version_.Get();
1050 }
1051 inline void Api::_internal_set_version(const std::string& value) {
1052 ::google::protobuf::internal::TSanWrite(&_impl_);
1053 _impl_.version_.Set(value, GetArena());
1054 }
1055 inline std::string* Api::_internal_mutable_version() {
1056 ::google::protobuf::internal::TSanWrite(&_impl_);
1057 return _impl_.version_.Mutable( GetArena());
1058 }
1059 inline std::string* Api::release_version() {
1060 ::google::protobuf::internal::TSanWrite(&_impl_);
1061
1062 return _impl_.version_.Release();
1063 }
1064 inline void Api::set_allocated_version(std::string* value) {
1065 ::google::protobuf::internal::TSanWrite(&_impl_);
1066 _impl_.version_.SetAllocated(value, GetArena());
1067 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1068 if (_impl_.version_.IsDefault()) {
1069 _impl_.version_.Set("", GetArena());
1070 }
1071 #endif
1072
1073 }
1074
1075
1076 inline bool Api::has_source_context() const {
1077 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1078 PROTOBUF_ASSUME(!value || _impl_.source_context_ != nullptr);
1079 return value;
1080 }
1081 inline const ::google::protobuf::SourceContext& Api::_internal_source_context() const {
1082 ::google::protobuf::internal::TSanRead(&_impl_);
1083 const ::google::protobuf::SourceContext* p = _impl_.source_context_;
1084 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::SourceContext&>(::google::protobuf::_SourceContext_default_instance_);
1085 }
1086 inline const ::google::protobuf::SourceContext& Api::source_context() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1087
1088 return _internal_source_context();
1089 }
1090 inline void Api::unsafe_arena_set_allocated_source_context(::google::protobuf::SourceContext* value) {
1091 ::google::protobuf::internal::TSanWrite(&_impl_);
1092 if (GetArena() == nullptr) {
1093 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_context_);
1094 }
1095 _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(value);
1096 if (value != nullptr) {
1097 _impl_._has_bits_[0] |= 0x00000001u;
1098 } else {
1099 _impl_._has_bits_[0] &= ~0x00000001u;
1100 }
1101
1102 }
1103 inline ::google::protobuf::SourceContext* Api::release_source_context() {
1104 ::google::protobuf::internal::TSanWrite(&_impl_);
1105
1106 _impl_._has_bits_[0] &= ~0x00000001u;
1107 ::google::protobuf::SourceContext* released = _impl_.source_context_;
1108 _impl_.source_context_ = nullptr;
1109 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1110 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1111 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1112 if (GetArena() == nullptr) {
1113 delete old;
1114 }
1115 #else
1116 if (GetArena() != nullptr) {
1117 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1118 }
1119 #endif
1120 return released;
1121 }
1122 inline ::google::protobuf::SourceContext* Api::unsafe_arena_release_source_context() {
1123 ::google::protobuf::internal::TSanWrite(&_impl_);
1124
1125
1126 _impl_._has_bits_[0] &= ~0x00000001u;
1127 ::google::protobuf::SourceContext* temp = _impl_.source_context_;
1128 _impl_.source_context_ = nullptr;
1129 return temp;
1130 }
1131 inline ::google::protobuf::SourceContext* Api::_internal_mutable_source_context() {
1132 ::google::protobuf::internal::TSanWrite(&_impl_);
1133 if (_impl_.source_context_ == nullptr) {
1134 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::SourceContext>(GetArena());
1135 _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(p);
1136 }
1137 return _impl_.source_context_;
1138 }
1139 inline ::google::protobuf::SourceContext* Api::mutable_source_context() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1140 _impl_._has_bits_[0] |= 0x00000001u;
1141 ::google::protobuf::SourceContext* _msg = _internal_mutable_source_context();
1142
1143 return _msg;
1144 }
1145 inline void Api::set_allocated_source_context(::google::protobuf::SourceContext* value) {
1146 ::google::protobuf::Arena* message_arena = GetArena();
1147 ::google::protobuf::internal::TSanWrite(&_impl_);
1148 if (message_arena == nullptr) {
1149 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_context_);
1150 }
1151
1152 if (value != nullptr) {
1153 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
1154 if (message_arena != submessage_arena) {
1155 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1156 }
1157 _impl_._has_bits_[0] |= 0x00000001u;
1158 } else {
1159 _impl_._has_bits_[0] &= ~0x00000001u;
1160 }
1161
1162 _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(value);
1163
1164 }
1165
1166
1167 inline int Api::_internal_mixins_size() const {
1168 return _internal_mixins().size();
1169 }
1170 inline int Api::mixins_size() const {
1171 return _internal_mixins_size();
1172 }
1173 inline void Api::clear_mixins() {
1174 ::google::protobuf::internal::TSanWrite(&_impl_);
1175 _impl_.mixins_.Clear();
1176 }
1177 inline ::google::protobuf::Mixin* Api::mutable_mixins(int index)
1178 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1179
1180 return _internal_mutable_mixins()->Mutable(index);
1181 }
1182 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Mixin>* Api::mutable_mixins()
1183 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1184
1185 ::google::protobuf::internal::TSanWrite(&_impl_);
1186 return _internal_mutable_mixins();
1187 }
1188 inline const ::google::protobuf::Mixin& Api::mixins(int index) const
1189 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1190
1191 return _internal_mixins().Get(index);
1192 }
1193 inline ::google::protobuf::Mixin* Api::add_mixins() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1194 ::google::protobuf::internal::TSanWrite(&_impl_);
1195 ::google::protobuf::Mixin* _add = _internal_mutable_mixins()->Add();
1196
1197 return _add;
1198 }
1199 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Mixin>& Api::mixins() const
1200 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1201
1202 return _internal_mixins();
1203 }
1204 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Mixin>&
1205 Api::_internal_mixins() const {
1206 ::google::protobuf::internal::TSanRead(&_impl_);
1207 return _impl_.mixins_;
1208 }
1209 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Mixin>*
1210 Api::_internal_mutable_mixins() {
1211 ::google::protobuf::internal::TSanRead(&_impl_);
1212 return &_impl_.mixins_;
1213 }
1214
1215
1216 inline void Api::clear_syntax() {
1217 ::google::protobuf::internal::TSanWrite(&_impl_);
1218 _impl_.syntax_ = 0;
1219 }
1220 inline ::google::protobuf::Syntax Api::syntax() const {
1221
1222 return _internal_syntax();
1223 }
1224 inline void Api::set_syntax(::google::protobuf::Syntax value) {
1225 _internal_set_syntax(value);
1226
1227 }
1228 inline ::google::protobuf::Syntax Api::_internal_syntax() const {
1229 ::google::protobuf::internal::TSanRead(&_impl_);
1230 return static_cast<::google::protobuf::Syntax>(_impl_.syntax_);
1231 }
1232 inline void Api::_internal_set_syntax(::google::protobuf::Syntax value) {
1233 ::google::protobuf::internal::TSanWrite(&_impl_);
1234 _impl_.syntax_ = value;
1235 }
1236
1237
1238
1239
1240
1241
1242 inline void Method::clear_name() {
1243 ::google::protobuf::internal::TSanWrite(&_impl_);
1244 _impl_.name_.ClearToEmpty();
1245 }
1246 inline const std::string& Method::name() const
1247 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1248
1249 return _internal_name();
1250 }
1251 template <typename Arg_, typename... Args_>
1252 inline PROTOBUF_ALWAYS_INLINE void Method::set_name(Arg_&& arg,
1253 Args_... args) {
1254 ::google::protobuf::internal::TSanWrite(&_impl_);
1255 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1256
1257 }
1258 inline std::string* Method::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1259 std::string* _s = _internal_mutable_name();
1260
1261 return _s;
1262 }
1263 inline const std::string& Method::_internal_name() const {
1264 ::google::protobuf::internal::TSanRead(&_impl_);
1265 return _impl_.name_.Get();
1266 }
1267 inline void Method::_internal_set_name(const std::string& value) {
1268 ::google::protobuf::internal::TSanWrite(&_impl_);
1269 _impl_.name_.Set(value, GetArena());
1270 }
1271 inline std::string* Method::_internal_mutable_name() {
1272 ::google::protobuf::internal::TSanWrite(&_impl_);
1273 return _impl_.name_.Mutable( GetArena());
1274 }
1275 inline std::string* Method::release_name() {
1276 ::google::protobuf::internal::TSanWrite(&_impl_);
1277
1278 return _impl_.name_.Release();
1279 }
1280 inline void Method::set_allocated_name(std::string* value) {
1281 ::google::protobuf::internal::TSanWrite(&_impl_);
1282 _impl_.name_.SetAllocated(value, GetArena());
1283 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1284 if (_impl_.name_.IsDefault()) {
1285 _impl_.name_.Set("", GetArena());
1286 }
1287 #endif
1288
1289 }
1290
1291
1292 inline void Method::clear_request_type_url() {
1293 ::google::protobuf::internal::TSanWrite(&_impl_);
1294 _impl_.request_type_url_.ClearToEmpty();
1295 }
1296 inline const std::string& Method::request_type_url() const
1297 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1298
1299 return _internal_request_type_url();
1300 }
1301 template <typename Arg_, typename... Args_>
1302 inline PROTOBUF_ALWAYS_INLINE void Method::set_request_type_url(Arg_&& arg,
1303 Args_... args) {
1304 ::google::protobuf::internal::TSanWrite(&_impl_);
1305 _impl_.request_type_url_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1306
1307 }
1308 inline std::string* Method::mutable_request_type_url() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1309 std::string* _s = _internal_mutable_request_type_url();
1310
1311 return _s;
1312 }
1313 inline const std::string& Method::_internal_request_type_url() const {
1314 ::google::protobuf::internal::TSanRead(&_impl_);
1315 return _impl_.request_type_url_.Get();
1316 }
1317 inline void Method::_internal_set_request_type_url(const std::string& value) {
1318 ::google::protobuf::internal::TSanWrite(&_impl_);
1319 _impl_.request_type_url_.Set(value, GetArena());
1320 }
1321 inline std::string* Method::_internal_mutable_request_type_url() {
1322 ::google::protobuf::internal::TSanWrite(&_impl_);
1323 return _impl_.request_type_url_.Mutable( GetArena());
1324 }
1325 inline std::string* Method::release_request_type_url() {
1326 ::google::protobuf::internal::TSanWrite(&_impl_);
1327
1328 return _impl_.request_type_url_.Release();
1329 }
1330 inline void Method::set_allocated_request_type_url(std::string* value) {
1331 ::google::protobuf::internal::TSanWrite(&_impl_);
1332 _impl_.request_type_url_.SetAllocated(value, GetArena());
1333 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1334 if (_impl_.request_type_url_.IsDefault()) {
1335 _impl_.request_type_url_.Set("", GetArena());
1336 }
1337 #endif
1338
1339 }
1340
1341
1342 inline void Method::clear_request_streaming() {
1343 ::google::protobuf::internal::TSanWrite(&_impl_);
1344 _impl_.request_streaming_ = false;
1345 }
1346 inline bool Method::request_streaming() const {
1347
1348 return _internal_request_streaming();
1349 }
1350 inline void Method::set_request_streaming(bool value) {
1351 _internal_set_request_streaming(value);
1352
1353 }
1354 inline bool Method::_internal_request_streaming() const {
1355 ::google::protobuf::internal::TSanRead(&_impl_);
1356 return _impl_.request_streaming_;
1357 }
1358 inline void Method::_internal_set_request_streaming(bool value) {
1359 ::google::protobuf::internal::TSanWrite(&_impl_);
1360 _impl_.request_streaming_ = value;
1361 }
1362
1363
1364 inline void Method::clear_response_type_url() {
1365 ::google::protobuf::internal::TSanWrite(&_impl_);
1366 _impl_.response_type_url_.ClearToEmpty();
1367 }
1368 inline const std::string& Method::response_type_url() const
1369 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1370
1371 return _internal_response_type_url();
1372 }
1373 template <typename Arg_, typename... Args_>
1374 inline PROTOBUF_ALWAYS_INLINE void Method::set_response_type_url(Arg_&& arg,
1375 Args_... args) {
1376 ::google::protobuf::internal::TSanWrite(&_impl_);
1377 _impl_.response_type_url_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1378
1379 }
1380 inline std::string* Method::mutable_response_type_url() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1381 std::string* _s = _internal_mutable_response_type_url();
1382
1383 return _s;
1384 }
1385 inline const std::string& Method::_internal_response_type_url() const {
1386 ::google::protobuf::internal::TSanRead(&_impl_);
1387 return _impl_.response_type_url_.Get();
1388 }
1389 inline void Method::_internal_set_response_type_url(const std::string& value) {
1390 ::google::protobuf::internal::TSanWrite(&_impl_);
1391 _impl_.response_type_url_.Set(value, GetArena());
1392 }
1393 inline std::string* Method::_internal_mutable_response_type_url() {
1394 ::google::protobuf::internal::TSanWrite(&_impl_);
1395 return _impl_.response_type_url_.Mutable( GetArena());
1396 }
1397 inline std::string* Method::release_response_type_url() {
1398 ::google::protobuf::internal::TSanWrite(&_impl_);
1399
1400 return _impl_.response_type_url_.Release();
1401 }
1402 inline void Method::set_allocated_response_type_url(std::string* value) {
1403 ::google::protobuf::internal::TSanWrite(&_impl_);
1404 _impl_.response_type_url_.SetAllocated(value, GetArena());
1405 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1406 if (_impl_.response_type_url_.IsDefault()) {
1407 _impl_.response_type_url_.Set("", GetArena());
1408 }
1409 #endif
1410
1411 }
1412
1413
1414 inline void Method::clear_response_streaming() {
1415 ::google::protobuf::internal::TSanWrite(&_impl_);
1416 _impl_.response_streaming_ = false;
1417 }
1418 inline bool Method::response_streaming() const {
1419
1420 return _internal_response_streaming();
1421 }
1422 inline void Method::set_response_streaming(bool value) {
1423 _internal_set_response_streaming(value);
1424
1425 }
1426 inline bool Method::_internal_response_streaming() const {
1427 ::google::protobuf::internal::TSanRead(&_impl_);
1428 return _impl_.response_streaming_;
1429 }
1430 inline void Method::_internal_set_response_streaming(bool value) {
1431 ::google::protobuf::internal::TSanWrite(&_impl_);
1432 _impl_.response_streaming_ = value;
1433 }
1434
1435
1436 inline int Method::_internal_options_size() const {
1437 return _internal_options().size();
1438 }
1439 inline int Method::options_size() const {
1440 return _internal_options_size();
1441 }
1442 inline ::google::protobuf::Option* Method::mutable_options(int index)
1443 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1444
1445 return _internal_mutable_options()->Mutable(index);
1446 }
1447 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* Method::mutable_options()
1448 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1449
1450 ::google::protobuf::internal::TSanWrite(&_impl_);
1451 return _internal_mutable_options();
1452 }
1453 inline const ::google::protobuf::Option& Method::options(int index) const
1454 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1455
1456 return _internal_options().Get(index);
1457 }
1458 inline ::google::protobuf::Option* Method::add_options() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1459 ::google::protobuf::internal::TSanWrite(&_impl_);
1460 ::google::protobuf::Option* _add = _internal_mutable_options()->Add();
1461
1462 return _add;
1463 }
1464 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& Method::options() const
1465 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1466
1467 return _internal_options();
1468 }
1469 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>&
1470 Method::_internal_options() const {
1471 ::google::protobuf::internal::TSanRead(&_impl_);
1472 return _impl_.options_;
1473 }
1474 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>*
1475 Method::_internal_mutable_options() {
1476 ::google::protobuf::internal::TSanRead(&_impl_);
1477 return &_impl_.options_;
1478 }
1479
1480
1481 inline void Method::clear_syntax() {
1482 ::google::protobuf::internal::TSanWrite(&_impl_);
1483 _impl_.syntax_ = 0;
1484 }
1485 inline ::google::protobuf::Syntax Method::syntax() const {
1486
1487 return _internal_syntax();
1488 }
1489 inline void Method::set_syntax(::google::protobuf::Syntax value) {
1490 _internal_set_syntax(value);
1491
1492 }
1493 inline ::google::protobuf::Syntax Method::_internal_syntax() const {
1494 ::google::protobuf::internal::TSanRead(&_impl_);
1495 return static_cast<::google::protobuf::Syntax>(_impl_.syntax_);
1496 }
1497 inline void Method::_internal_set_syntax(::google::protobuf::Syntax value) {
1498 ::google::protobuf::internal::TSanWrite(&_impl_);
1499 _impl_.syntax_ = value;
1500 }
1501
1502
1503
1504
1505
1506
1507 inline void Mixin::clear_name() {
1508 ::google::protobuf::internal::TSanWrite(&_impl_);
1509 _impl_.name_.ClearToEmpty();
1510 }
1511 inline const std::string& Mixin::name() const
1512 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1513
1514 return _internal_name();
1515 }
1516 template <typename Arg_, typename... Args_>
1517 inline PROTOBUF_ALWAYS_INLINE void Mixin::set_name(Arg_&& arg,
1518 Args_... args) {
1519 ::google::protobuf::internal::TSanWrite(&_impl_);
1520 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1521
1522 }
1523 inline std::string* Mixin::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1524 std::string* _s = _internal_mutable_name();
1525
1526 return _s;
1527 }
1528 inline const std::string& Mixin::_internal_name() const {
1529 ::google::protobuf::internal::TSanRead(&_impl_);
1530 return _impl_.name_.Get();
1531 }
1532 inline void Mixin::_internal_set_name(const std::string& value) {
1533 ::google::protobuf::internal::TSanWrite(&_impl_);
1534 _impl_.name_.Set(value, GetArena());
1535 }
1536 inline std::string* Mixin::_internal_mutable_name() {
1537 ::google::protobuf::internal::TSanWrite(&_impl_);
1538 return _impl_.name_.Mutable( GetArena());
1539 }
1540 inline std::string* Mixin::release_name() {
1541 ::google::protobuf::internal::TSanWrite(&_impl_);
1542
1543 return _impl_.name_.Release();
1544 }
1545 inline void Mixin::set_allocated_name(std::string* value) {
1546 ::google::protobuf::internal::TSanWrite(&_impl_);
1547 _impl_.name_.SetAllocated(value, GetArena());
1548 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1549 if (_impl_.name_.IsDefault()) {
1550 _impl_.name_.Set("", GetArena());
1551 }
1552 #endif
1553
1554 }
1555
1556
1557 inline void Mixin::clear_root() {
1558 ::google::protobuf::internal::TSanWrite(&_impl_);
1559 _impl_.root_.ClearToEmpty();
1560 }
1561 inline const std::string& Mixin::root() const
1562 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1563
1564 return _internal_root();
1565 }
1566 template <typename Arg_, typename... Args_>
1567 inline PROTOBUF_ALWAYS_INLINE void Mixin::set_root(Arg_&& arg,
1568 Args_... args) {
1569 ::google::protobuf::internal::TSanWrite(&_impl_);
1570 _impl_.root_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1571
1572 }
1573 inline std::string* Mixin::mutable_root() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1574 std::string* _s = _internal_mutable_root();
1575
1576 return _s;
1577 }
1578 inline const std::string& Mixin::_internal_root() const {
1579 ::google::protobuf::internal::TSanRead(&_impl_);
1580 return _impl_.root_.Get();
1581 }
1582 inline void Mixin::_internal_set_root(const std::string& value) {
1583 ::google::protobuf::internal::TSanWrite(&_impl_);
1584 _impl_.root_.Set(value, GetArena());
1585 }
1586 inline std::string* Mixin::_internal_mutable_root() {
1587 ::google::protobuf::internal::TSanWrite(&_impl_);
1588 return _impl_.root_.Mutable( GetArena());
1589 }
1590 inline std::string* Mixin::release_root() {
1591 ::google::protobuf::internal::TSanWrite(&_impl_);
1592
1593 return _impl_.root_.Release();
1594 }
1595 inline void Mixin::set_allocated_root(std::string* value) {
1596 ::google::protobuf::internal::TSanWrite(&_impl_);
1597 _impl_.root_.SetAllocated(value, GetArena());
1598 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1599 if (_impl_.root_.IsDefault()) {
1600 _impl_.root_.Set("", GetArena());
1601 }
1602 #endif
1603
1604 }
1605
1606 #ifdef __GNUC__
1607 #pragma GCC diagnostic pop
1608 #endif
1609
1610
1611 }
1612 }
1613
1614
1615
1616
1617 #include "google/protobuf/port_undef.inc"
1618
1619 #endif