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