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