诸暨麻将添加redis
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

1434 行
54 KiB

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/api.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3011000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3011000 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_table_driven.h>
  23. #include <google/protobuf/generated_message_util.h>
  24. #include <google/protobuf/inlined_string_field.h>
  25. #include <google/protobuf/metadata.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/unknown_field_set.h>
  31. #include <google/protobuf/source_context.pb.h>
  32. #include <google/protobuf/type.pb.h>
  33. // @@protoc_insertion_point(includes)
  34. #include <google/protobuf/port_def.inc>
  35. #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fapi_2eproto PROTOBUF_EXPORT
  36. PROTOBUF_NAMESPACE_OPEN
  37. namespace internal {
  38. class AnyMetadata;
  39. } // namespace internal
  40. PROTOBUF_NAMESPACE_CLOSE
  41. // Internal implementation detail -- do not use these members.
  42. struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fapi_2eproto {
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  44. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
  46. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
  48. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  49. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  50. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  51. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  52. };
  53. extern PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fapi_2eproto;
  54. PROTOBUF_NAMESPACE_OPEN
  55. class Api;
  56. class ApiDefaultTypeInternal;
  57. PROTOBUF_EXPORT extern ApiDefaultTypeInternal _Api_default_instance_;
  58. class Method;
  59. class MethodDefaultTypeInternal;
  60. PROTOBUF_EXPORT extern MethodDefaultTypeInternal _Method_default_instance_;
  61. class Mixin;
  62. class MixinDefaultTypeInternal;
  63. PROTOBUF_EXPORT extern MixinDefaultTypeInternal _Mixin_default_instance_;
  64. PROTOBUF_NAMESPACE_CLOSE
  65. PROTOBUF_NAMESPACE_OPEN
  66. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Api* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Api>(Arena*);
  67. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Method* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Method>(Arena*);
  68. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Mixin* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Mixin>(Arena*);
  69. PROTOBUF_NAMESPACE_CLOSE
  70. PROTOBUF_NAMESPACE_OPEN
  71. // ===================================================================
  72. class PROTOBUF_EXPORT Api :
  73. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Api) */ {
  74. public:
  75. Api();
  76. virtual ~Api();
  77. Api(const Api& from);
  78. Api(Api&& from) noexcept
  79. : Api() {
  80. *this = ::std::move(from);
  81. }
  82. inline Api& operator=(const Api& from) {
  83. CopyFrom(from);
  84. return *this;
  85. }
  86. inline Api& operator=(Api&& from) noexcept {
  87. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  88. if (this != &from) InternalSwap(&from);
  89. } else {
  90. CopyFrom(from);
  91. }
  92. return *this;
  93. }
  94. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  95. return GetDescriptor();
  96. }
  97. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  98. return GetMetadataStatic().descriptor;
  99. }
  100. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  101. return GetMetadataStatic().reflection;
  102. }
  103. static const Api& default_instance();
  104. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  105. static inline const Api* internal_default_instance() {
  106. return reinterpret_cast<const Api*>(
  107. &_Api_default_instance_);
  108. }
  109. static constexpr int kIndexInFileMessages =
  110. 0;
  111. friend void swap(Api& a, Api& b) {
  112. a.Swap(&b);
  113. }
  114. inline void Swap(Api* other) {
  115. if (other == this) return;
  116. InternalSwap(other);
  117. }
  118. // implements Message ----------------------------------------------
  119. inline Api* New() const final {
  120. return CreateMaybeMessage<Api>(nullptr);
  121. }
  122. Api* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  123. return CreateMaybeMessage<Api>(arena);
  124. }
  125. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  126. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  127. void CopyFrom(const Api& from);
  128. void MergeFrom(const Api& from);
  129. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  130. bool IsInitialized() const final;
  131. size_t ByteSizeLong() const final;
  132. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  133. ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
  134. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  135. int GetCachedSize() const final { return _cached_size_.Get(); }
  136. private:
  137. inline void SharedCtor();
  138. inline void SharedDtor();
  139. void SetCachedSize(int size) const final;
  140. void InternalSwap(Api* other);
  141. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  142. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  143. return "google.protobuf.Api";
  144. }
  145. private:
  146. inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
  147. return nullptr;
  148. }
  149. inline void* MaybeArenaPtr() const {
  150. return nullptr;
  151. }
  152. public:
  153. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  154. private:
  155. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  156. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fapi_2eproto);
  157. return ::descriptor_table_google_2fprotobuf_2fapi_2eproto.file_level_metadata[kIndexInFileMessages];
  158. }
  159. public:
  160. // nested types ----------------------------------------------------
  161. // accessors -------------------------------------------------------
  162. enum : int {
  163. kMethodsFieldNumber = 2,
  164. kOptionsFieldNumber = 3,
  165. kMixinsFieldNumber = 6,
  166. kNameFieldNumber = 1,
  167. kVersionFieldNumber = 4,
  168. kSourceContextFieldNumber = 5,
  169. kSyntaxFieldNumber = 7,
  170. };
  171. // repeated .google.protobuf.Method methods = 2;
  172. int methods_size() const;
  173. private:
  174. int _internal_methods_size() const;
  175. public:
  176. void clear_methods();
  177. PROTOBUF_NAMESPACE_ID::Method* mutable_methods(int index);
  178. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >*
  179. mutable_methods();
  180. private:
  181. const PROTOBUF_NAMESPACE_ID::Method& _internal_methods(int index) const;
  182. PROTOBUF_NAMESPACE_ID::Method* _internal_add_methods();
  183. public:
  184. const PROTOBUF_NAMESPACE_ID::Method& methods(int index) const;
  185. PROTOBUF_NAMESPACE_ID::Method* add_methods();
  186. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >&
  187. methods() const;
  188. // repeated .google.protobuf.Option options = 3;
  189. int options_size() const;
  190. private:
  191. int _internal_options_size() const;
  192. public:
  193. void clear_options();
  194. PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index);
  195. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
  196. mutable_options();
  197. private:
  198. const PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const;
  199. PROTOBUF_NAMESPACE_ID::Option* _internal_add_options();
  200. public:
  201. const PROTOBUF_NAMESPACE_ID::Option& options(int index) const;
  202. PROTOBUF_NAMESPACE_ID::Option* add_options();
  203. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
  204. options() const;
  205. // repeated .google.protobuf.Mixin mixins = 6;
  206. int mixins_size() const;
  207. private:
  208. int _internal_mixins_size() const;
  209. public:
  210. void clear_mixins();
  211. PROTOBUF_NAMESPACE_ID::Mixin* mutable_mixins(int index);
  212. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >*
  213. mutable_mixins();
  214. private:
  215. const PROTOBUF_NAMESPACE_ID::Mixin& _internal_mixins(int index) const;
  216. PROTOBUF_NAMESPACE_ID::Mixin* _internal_add_mixins();
  217. public:
  218. const PROTOBUF_NAMESPACE_ID::Mixin& mixins(int index) const;
  219. PROTOBUF_NAMESPACE_ID::Mixin* add_mixins();
  220. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >&
  221. mixins() const;
  222. // string name = 1;
  223. void clear_name();
  224. const std::string& name() const;
  225. void set_name(const std::string& value);
  226. void set_name(std::string&& value);
  227. void set_name(const char* value);
  228. void set_name(const char* value, size_t size);
  229. std::string* mutable_name();
  230. std::string* release_name();
  231. void set_allocated_name(std::string* name);
  232. private:
  233. const std::string& _internal_name() const;
  234. void _internal_set_name(const std::string& value);
  235. std::string* _internal_mutable_name();
  236. public:
  237. // string version = 4;
  238. void clear_version();
  239. const std::string& version() const;
  240. void set_version(const std::string& value);
  241. void set_version(std::string&& value);
  242. void set_version(const char* value);
  243. void set_version(const char* value, size_t size);
  244. std::string* mutable_version();
  245. std::string* release_version();
  246. void set_allocated_version(std::string* version);
  247. private:
  248. const std::string& _internal_version() const;
  249. void _internal_set_version(const std::string& value);
  250. std::string* _internal_mutable_version();
  251. public:
  252. // .google.protobuf.SourceContext source_context = 5;
  253. bool has_source_context() const;
  254. private:
  255. bool _internal_has_source_context() const;
  256. public:
  257. void clear_source_context();
  258. const PROTOBUF_NAMESPACE_ID::SourceContext& source_context() const;
  259. PROTOBUF_NAMESPACE_ID::SourceContext* release_source_context();
  260. PROTOBUF_NAMESPACE_ID::SourceContext* mutable_source_context();
  261. void set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext* source_context);
  262. private:
  263. const PROTOBUF_NAMESPACE_ID::SourceContext& _internal_source_context() const;
  264. PROTOBUF_NAMESPACE_ID::SourceContext* _internal_mutable_source_context();
  265. public:
  266. // .google.protobuf.Syntax syntax = 7;
  267. void clear_syntax();
  268. PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
  269. void set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
  270. private:
  271. PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const;
  272. void _internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
  273. public:
  274. // @@protoc_insertion_point(class_scope:google.protobuf.Api)
  275. private:
  276. class _Internal;
  277. ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  278. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method > methods_;
  279. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
  280. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin > mixins_;
  281. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  282. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_;
  283. PROTOBUF_NAMESPACE_ID::SourceContext* source_context_;
  284. int syntax_;
  285. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  286. friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
  287. };
  288. // -------------------------------------------------------------------
  289. class PROTOBUF_EXPORT Method :
  290. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Method) */ {
  291. public:
  292. Method();
  293. virtual ~Method();
  294. Method(const Method& from);
  295. Method(Method&& from) noexcept
  296. : Method() {
  297. *this = ::std::move(from);
  298. }
  299. inline Method& operator=(const Method& from) {
  300. CopyFrom(from);
  301. return *this;
  302. }
  303. inline Method& operator=(Method&& from) noexcept {
  304. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  305. if (this != &from) InternalSwap(&from);
  306. } else {
  307. CopyFrom(from);
  308. }
  309. return *this;
  310. }
  311. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  312. return GetDescriptor();
  313. }
  314. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  315. return GetMetadataStatic().descriptor;
  316. }
  317. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  318. return GetMetadataStatic().reflection;
  319. }
  320. static const Method& default_instance();
  321. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  322. static inline const Method* internal_default_instance() {
  323. return reinterpret_cast<const Method*>(
  324. &_Method_default_instance_);
  325. }
  326. static constexpr int kIndexInFileMessages =
  327. 1;
  328. friend void swap(Method& a, Method& b) {
  329. a.Swap(&b);
  330. }
  331. inline void Swap(Method* other) {
  332. if (other == this) return;
  333. InternalSwap(other);
  334. }
  335. // implements Message ----------------------------------------------
  336. inline Method* New() const final {
  337. return CreateMaybeMessage<Method>(nullptr);
  338. }
  339. Method* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  340. return CreateMaybeMessage<Method>(arena);
  341. }
  342. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  343. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  344. void CopyFrom(const Method& from);
  345. void MergeFrom(const Method& from);
  346. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  347. bool IsInitialized() const final;
  348. size_t ByteSizeLong() const final;
  349. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  350. ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
  351. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  352. int GetCachedSize() const final { return _cached_size_.Get(); }
  353. private:
  354. inline void SharedCtor();
  355. inline void SharedDtor();
  356. void SetCachedSize(int size) const final;
  357. void InternalSwap(Method* other);
  358. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  359. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  360. return "google.protobuf.Method";
  361. }
  362. private:
  363. inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
  364. return nullptr;
  365. }
  366. inline void* MaybeArenaPtr() const {
  367. return nullptr;
  368. }
  369. public:
  370. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  371. private:
  372. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  373. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fapi_2eproto);
  374. return ::descriptor_table_google_2fprotobuf_2fapi_2eproto.file_level_metadata[kIndexInFileMessages];
  375. }
  376. public:
  377. // nested types ----------------------------------------------------
  378. // accessors -------------------------------------------------------
  379. enum : int {
  380. kOptionsFieldNumber = 6,
  381. kNameFieldNumber = 1,
  382. kRequestTypeUrlFieldNumber = 2,
  383. kResponseTypeUrlFieldNumber = 4,
  384. kRequestStreamingFieldNumber = 3,
  385. kResponseStreamingFieldNumber = 5,
  386. kSyntaxFieldNumber = 7,
  387. };
  388. // repeated .google.protobuf.Option options = 6;
  389. int options_size() const;
  390. private:
  391. int _internal_options_size() const;
  392. public:
  393. void clear_options();
  394. PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index);
  395. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
  396. mutable_options();
  397. private:
  398. const PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const;
  399. PROTOBUF_NAMESPACE_ID::Option* _internal_add_options();
  400. public:
  401. const PROTOBUF_NAMESPACE_ID::Option& options(int index) const;
  402. PROTOBUF_NAMESPACE_ID::Option* add_options();
  403. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
  404. options() const;
  405. // string name = 1;
  406. void clear_name();
  407. const std::string& name() const;
  408. void set_name(const std::string& value);
  409. void set_name(std::string&& value);
  410. void set_name(const char* value);
  411. void set_name(const char* value, size_t size);
  412. std::string* mutable_name();
  413. std::string* release_name();
  414. void set_allocated_name(std::string* name);
  415. private:
  416. const std::string& _internal_name() const;
  417. void _internal_set_name(const std::string& value);
  418. std::string* _internal_mutable_name();
  419. public:
  420. // string request_type_url = 2;
  421. void clear_request_type_url();
  422. const std::string& request_type_url() const;
  423. void set_request_type_url(const std::string& value);
  424. void set_request_type_url(std::string&& value);
  425. void set_request_type_url(const char* value);
  426. void set_request_type_url(const char* value, size_t size);
  427. std::string* mutable_request_type_url();
  428. std::string* release_request_type_url();
  429. void set_allocated_request_type_url(std::string* request_type_url);
  430. private:
  431. const std::string& _internal_request_type_url() const;
  432. void _internal_set_request_type_url(const std::string& value);
  433. std::string* _internal_mutable_request_type_url();
  434. public:
  435. // string response_type_url = 4;
  436. void clear_response_type_url();
  437. const std::string& response_type_url() const;
  438. void set_response_type_url(const std::string& value);
  439. void set_response_type_url(std::string&& value);
  440. void set_response_type_url(const char* value);
  441. void set_response_type_url(const char* value, size_t size);
  442. std::string* mutable_response_type_url();
  443. std::string* release_response_type_url();
  444. void set_allocated_response_type_url(std::string* response_type_url);
  445. private:
  446. const std::string& _internal_response_type_url() const;
  447. void _internal_set_response_type_url(const std::string& value);
  448. std::string* _internal_mutable_response_type_url();
  449. public:
  450. // bool request_streaming = 3;
  451. void clear_request_streaming();
  452. bool request_streaming() const;
  453. void set_request_streaming(bool value);
  454. private:
  455. bool _internal_request_streaming() const;
  456. void _internal_set_request_streaming(bool value);
  457. public:
  458. // bool response_streaming = 5;
  459. void clear_response_streaming();
  460. bool response_streaming() const;
  461. void set_response_streaming(bool value);
  462. private:
  463. bool _internal_response_streaming() const;
  464. void _internal_set_response_streaming(bool value);
  465. public:
  466. // .google.protobuf.Syntax syntax = 7;
  467. void clear_syntax();
  468. PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
  469. void set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
  470. private:
  471. PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const;
  472. void _internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
  473. public:
  474. // @@protoc_insertion_point(class_scope:google.protobuf.Method)
  475. private:
  476. class _Internal;
  477. ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  478. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
  479. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  480. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_type_url_;
  481. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_type_url_;
  482. bool request_streaming_;
  483. bool response_streaming_;
  484. int syntax_;
  485. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  486. friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
  487. };
  488. // -------------------------------------------------------------------
  489. class PROTOBUF_EXPORT Mixin :
  490. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Mixin) */ {
  491. public:
  492. Mixin();
  493. virtual ~Mixin();
  494. Mixin(const Mixin& from);
  495. Mixin(Mixin&& from) noexcept
  496. : Mixin() {
  497. *this = ::std::move(from);
  498. }
  499. inline Mixin& operator=(const Mixin& from) {
  500. CopyFrom(from);
  501. return *this;
  502. }
  503. inline Mixin& operator=(Mixin&& from) noexcept {
  504. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  505. if (this != &from) InternalSwap(&from);
  506. } else {
  507. CopyFrom(from);
  508. }
  509. return *this;
  510. }
  511. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  512. return GetDescriptor();
  513. }
  514. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  515. return GetMetadataStatic().descriptor;
  516. }
  517. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  518. return GetMetadataStatic().reflection;
  519. }
  520. static const Mixin& default_instance();
  521. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  522. static inline const Mixin* internal_default_instance() {
  523. return reinterpret_cast<const Mixin*>(
  524. &_Mixin_default_instance_);
  525. }
  526. static constexpr int kIndexInFileMessages =
  527. 2;
  528. friend void swap(Mixin& a, Mixin& b) {
  529. a.Swap(&b);
  530. }
  531. inline void Swap(Mixin* other) {
  532. if (other == this) return;
  533. InternalSwap(other);
  534. }
  535. // implements Message ----------------------------------------------
  536. inline Mixin* New() const final {
  537. return CreateMaybeMessage<Mixin>(nullptr);
  538. }
  539. Mixin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  540. return CreateMaybeMessage<Mixin>(arena);
  541. }
  542. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  543. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  544. void CopyFrom(const Mixin& from);
  545. void MergeFrom(const Mixin& from);
  546. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  547. bool IsInitialized() const final;
  548. size_t ByteSizeLong() const final;
  549. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  550. ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
  551. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  552. int GetCachedSize() const final { return _cached_size_.Get(); }
  553. private:
  554. inline void SharedCtor();
  555. inline void SharedDtor();
  556. void SetCachedSize(int size) const final;
  557. void InternalSwap(Mixin* other);
  558. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  559. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  560. return "google.protobuf.Mixin";
  561. }
  562. private:
  563. inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
  564. return nullptr;
  565. }
  566. inline void* MaybeArenaPtr() const {
  567. return nullptr;
  568. }
  569. public:
  570. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  571. private:
  572. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  573. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fapi_2eproto);
  574. return ::descriptor_table_google_2fprotobuf_2fapi_2eproto.file_level_metadata[kIndexInFileMessages];
  575. }
  576. public:
  577. // nested types ----------------------------------------------------
  578. // accessors -------------------------------------------------------
  579. enum : int {
  580. kNameFieldNumber = 1,
  581. kRootFieldNumber = 2,
  582. };
  583. // string name = 1;
  584. void clear_name();
  585. const std::string& name() const;
  586. void set_name(const std::string& value);
  587. void set_name(std::string&& value);
  588. void set_name(const char* value);
  589. void set_name(const char* value, size_t size);
  590. std::string* mutable_name();
  591. std::string* release_name();
  592. void set_allocated_name(std::string* name);
  593. private:
  594. const std::string& _internal_name() const;
  595. void _internal_set_name(const std::string& value);
  596. std::string* _internal_mutable_name();
  597. public:
  598. // string root = 2;
  599. void clear_root();
  600. const std::string& root() const;
  601. void set_root(const std::string& value);
  602. void set_root(std::string&& value);
  603. void set_root(const char* value);
  604. void set_root(const char* value, size_t size);
  605. std::string* mutable_root();
  606. std::string* release_root();
  607. void set_allocated_root(std::string* root);
  608. private:
  609. const std::string& _internal_root() const;
  610. void _internal_set_root(const std::string& value);
  611. std::string* _internal_mutable_root();
  612. public:
  613. // @@protoc_insertion_point(class_scope:google.protobuf.Mixin)
  614. private:
  615. class _Internal;
  616. ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  617. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  618. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr root_;
  619. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  620. friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
  621. };
  622. // ===================================================================
  623. // ===================================================================
  624. #ifdef __GNUC__
  625. #pragma GCC diagnostic push
  626. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  627. #endif // __GNUC__
  628. // Api
  629. // string name = 1;
  630. inline void Api::clear_name() {
  631. name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  632. }
  633. inline const std::string& Api::name() const {
  634. // @@protoc_insertion_point(field_get:google.protobuf.Api.name)
  635. return _internal_name();
  636. }
  637. inline void Api::set_name(const std::string& value) {
  638. _internal_set_name(value);
  639. // @@protoc_insertion_point(field_set:google.protobuf.Api.name)
  640. }
  641. inline std::string* Api::mutable_name() {
  642. // @@protoc_insertion_point(field_mutable:google.protobuf.Api.name)
  643. return _internal_mutable_name();
  644. }
  645. inline const std::string& Api::_internal_name() const {
  646. return name_.GetNoArena();
  647. }
  648. inline void Api::_internal_set_name(const std::string& value) {
  649. name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
  650. }
  651. inline void Api::set_name(std::string&& value) {
  652. name_.SetNoArena(
  653. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  654. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.name)
  655. }
  656. inline void Api::set_name(const char* value) {
  657. GOOGLE_DCHECK(value != nullptr);
  658. name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  659. // @@protoc_insertion_point(field_set_char:google.protobuf.Api.name)
  660. }
  661. inline void Api::set_name(const char* value, size_t size) {
  662. name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  663. ::std::string(reinterpret_cast<const char*>(value), size));
  664. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.name)
  665. }
  666. inline std::string* Api::_internal_mutable_name() {
  667. return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  668. }
  669. inline std::string* Api::release_name() {
  670. // @@protoc_insertion_point(field_release:google.protobuf.Api.name)
  671. return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  672. }
  673. inline void Api::set_allocated_name(std::string* name) {
  674. if (name != nullptr) {
  675. } else {
  676. }
  677. name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name);
  678. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.name)
  679. }
  680. // repeated .google.protobuf.Method methods = 2;
  681. inline int Api::_internal_methods_size() const {
  682. return methods_.size();
  683. }
  684. inline int Api::methods_size() const {
  685. return _internal_methods_size();
  686. }
  687. inline void Api::clear_methods() {
  688. methods_.Clear();
  689. }
  690. inline PROTOBUF_NAMESPACE_ID::Method* Api::mutable_methods(int index) {
  691. // @@protoc_insertion_point(field_mutable:google.protobuf.Api.methods)
  692. return methods_.Mutable(index);
  693. }
  694. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >*
  695. Api::mutable_methods() {
  696. // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.methods)
  697. return &methods_;
  698. }
  699. inline const PROTOBUF_NAMESPACE_ID::Method& Api::_internal_methods(int index) const {
  700. return methods_.Get(index);
  701. }
  702. inline const PROTOBUF_NAMESPACE_ID::Method& Api::methods(int index) const {
  703. // @@protoc_insertion_point(field_get:google.protobuf.Api.methods)
  704. return _internal_methods(index);
  705. }
  706. inline PROTOBUF_NAMESPACE_ID::Method* Api::_internal_add_methods() {
  707. return methods_.Add();
  708. }
  709. inline PROTOBUF_NAMESPACE_ID::Method* Api::add_methods() {
  710. // @@protoc_insertion_point(field_add:google.protobuf.Api.methods)
  711. return _internal_add_methods();
  712. }
  713. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >&
  714. Api::methods() const {
  715. // @@protoc_insertion_point(field_list:google.protobuf.Api.methods)
  716. return methods_;
  717. }
  718. // repeated .google.protobuf.Option options = 3;
  719. inline int Api::_internal_options_size() const {
  720. return options_.size();
  721. }
  722. inline int Api::options_size() const {
  723. return _internal_options_size();
  724. }
  725. inline PROTOBUF_NAMESPACE_ID::Option* Api::mutable_options(int index) {
  726. // @@protoc_insertion_point(field_mutable:google.protobuf.Api.options)
  727. return options_.Mutable(index);
  728. }
  729. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
  730. Api::mutable_options() {
  731. // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.options)
  732. return &options_;
  733. }
  734. inline const PROTOBUF_NAMESPACE_ID::Option& Api::_internal_options(int index) const {
  735. return options_.Get(index);
  736. }
  737. inline const PROTOBUF_NAMESPACE_ID::Option& Api::options(int index) const {
  738. // @@protoc_insertion_point(field_get:google.protobuf.Api.options)
  739. return _internal_options(index);
  740. }
  741. inline PROTOBUF_NAMESPACE_ID::Option* Api::_internal_add_options() {
  742. return options_.Add();
  743. }
  744. inline PROTOBUF_NAMESPACE_ID::Option* Api::add_options() {
  745. // @@protoc_insertion_point(field_add:google.protobuf.Api.options)
  746. return _internal_add_options();
  747. }
  748. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
  749. Api::options() const {
  750. // @@protoc_insertion_point(field_list:google.protobuf.Api.options)
  751. return options_;
  752. }
  753. // string version = 4;
  754. inline void Api::clear_version() {
  755. version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  756. }
  757. inline const std::string& Api::version() const {
  758. // @@protoc_insertion_point(field_get:google.protobuf.Api.version)
  759. return _internal_version();
  760. }
  761. inline void Api::set_version(const std::string& value) {
  762. _internal_set_version(value);
  763. // @@protoc_insertion_point(field_set:google.protobuf.Api.version)
  764. }
  765. inline std::string* Api::mutable_version() {
  766. // @@protoc_insertion_point(field_mutable:google.protobuf.Api.version)
  767. return _internal_mutable_version();
  768. }
  769. inline const std::string& Api::_internal_version() const {
  770. return version_.GetNoArena();
  771. }
  772. inline void Api::_internal_set_version(const std::string& value) {
  773. version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
  774. }
  775. inline void Api::set_version(std::string&& value) {
  776. version_.SetNoArena(
  777. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  778. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.version)
  779. }
  780. inline void Api::set_version(const char* value) {
  781. GOOGLE_DCHECK(value != nullptr);
  782. version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  783. // @@protoc_insertion_point(field_set_char:google.protobuf.Api.version)
  784. }
  785. inline void Api::set_version(const char* value, size_t size) {
  786. version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  787. ::std::string(reinterpret_cast<const char*>(value), size));
  788. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.version)
  789. }
  790. inline std::string* Api::_internal_mutable_version() {
  791. return version_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  792. }
  793. inline std::string* Api::release_version() {
  794. // @@protoc_insertion_point(field_release:google.protobuf.Api.version)
  795. return version_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  796. }
  797. inline void Api::set_allocated_version(std::string* version) {
  798. if (version != nullptr) {
  799. } else {
  800. }
  801. version_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), version);
  802. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.version)
  803. }
  804. // .google.protobuf.SourceContext source_context = 5;
  805. inline bool Api::_internal_has_source_context() const {
  806. return this != internal_default_instance() && source_context_ != nullptr;
  807. }
  808. inline bool Api::has_source_context() const {
  809. return _internal_has_source_context();
  810. }
  811. inline const PROTOBUF_NAMESPACE_ID::SourceContext& Api::_internal_source_context() const {
  812. const PROTOBUF_NAMESPACE_ID::SourceContext* p = source_context_;
  813. return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::SourceContext*>(
  814. &PROTOBUF_NAMESPACE_ID::_SourceContext_default_instance_);
  815. }
  816. inline const PROTOBUF_NAMESPACE_ID::SourceContext& Api::source_context() const {
  817. // @@protoc_insertion_point(field_get:google.protobuf.Api.source_context)
  818. return _internal_source_context();
  819. }
  820. inline PROTOBUF_NAMESPACE_ID::SourceContext* Api::release_source_context() {
  821. // @@protoc_insertion_point(field_release:google.protobuf.Api.source_context)
  822. PROTOBUF_NAMESPACE_ID::SourceContext* temp = source_context_;
  823. source_context_ = nullptr;
  824. return temp;
  825. }
  826. inline PROTOBUF_NAMESPACE_ID::SourceContext* Api::_internal_mutable_source_context() {
  827. if (source_context_ == nullptr) {
  828. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceContext>(GetArenaNoVirtual());
  829. source_context_ = p;
  830. }
  831. return source_context_;
  832. }
  833. inline PROTOBUF_NAMESPACE_ID::SourceContext* Api::mutable_source_context() {
  834. // @@protoc_insertion_point(field_mutable:google.protobuf.Api.source_context)
  835. return _internal_mutable_source_context();
  836. }
  837. inline void Api::set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext* source_context) {
  838. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  839. if (message_arena == nullptr) {
  840. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_context_);
  841. }
  842. if (source_context) {
  843. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
  844. if (message_arena != submessage_arena) {
  845. source_context = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  846. message_arena, source_context, submessage_arena);
  847. }
  848. } else {
  849. }
  850. source_context_ = source_context;
  851. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.source_context)
  852. }
  853. // repeated .google.protobuf.Mixin mixins = 6;
  854. inline int Api::_internal_mixins_size() const {
  855. return mixins_.size();
  856. }
  857. inline int Api::mixins_size() const {
  858. return _internal_mixins_size();
  859. }
  860. inline void Api::clear_mixins() {
  861. mixins_.Clear();
  862. }
  863. inline PROTOBUF_NAMESPACE_ID::Mixin* Api::mutable_mixins(int index) {
  864. // @@protoc_insertion_point(field_mutable:google.protobuf.Api.mixins)
  865. return mixins_.Mutable(index);
  866. }
  867. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >*
  868. Api::mutable_mixins() {
  869. // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.mixins)
  870. return &mixins_;
  871. }
  872. inline const PROTOBUF_NAMESPACE_ID::Mixin& Api::_internal_mixins(int index) const {
  873. return mixins_.Get(index);
  874. }
  875. inline const PROTOBUF_NAMESPACE_ID::Mixin& Api::mixins(int index) const {
  876. // @@protoc_insertion_point(field_get:google.protobuf.Api.mixins)
  877. return _internal_mixins(index);
  878. }
  879. inline PROTOBUF_NAMESPACE_ID::Mixin* Api::_internal_add_mixins() {
  880. return mixins_.Add();
  881. }
  882. inline PROTOBUF_NAMESPACE_ID::Mixin* Api::add_mixins() {
  883. // @@protoc_insertion_point(field_add:google.protobuf.Api.mixins)
  884. return _internal_add_mixins();
  885. }
  886. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >&
  887. Api::mixins() const {
  888. // @@protoc_insertion_point(field_list:google.protobuf.Api.mixins)
  889. return mixins_;
  890. }
  891. // .google.protobuf.Syntax syntax = 7;
  892. inline void Api::clear_syntax() {
  893. syntax_ = 0;
  894. }
  895. inline PROTOBUF_NAMESPACE_ID::Syntax Api::_internal_syntax() const {
  896. return static_cast< PROTOBUF_NAMESPACE_ID::Syntax >(syntax_);
  897. }
  898. inline PROTOBUF_NAMESPACE_ID::Syntax Api::syntax() const {
  899. // @@protoc_insertion_point(field_get:google.protobuf.Api.syntax)
  900. return _internal_syntax();
  901. }
  902. inline void Api::_internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
  903. syntax_ = value;
  904. }
  905. inline void Api::set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
  906. _internal_set_syntax(value);
  907. // @@protoc_insertion_point(field_set:google.protobuf.Api.syntax)
  908. }
  909. // -------------------------------------------------------------------
  910. // Method
  911. // string name = 1;
  912. inline void Method::clear_name() {
  913. name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  914. }
  915. inline const std::string& Method::name() const {
  916. // @@protoc_insertion_point(field_get:google.protobuf.Method.name)
  917. return _internal_name();
  918. }
  919. inline void Method::set_name(const std::string& value) {
  920. _internal_set_name(value);
  921. // @@protoc_insertion_point(field_set:google.protobuf.Method.name)
  922. }
  923. inline std::string* Method::mutable_name() {
  924. // @@protoc_insertion_point(field_mutable:google.protobuf.Method.name)
  925. return _internal_mutable_name();
  926. }
  927. inline const std::string& Method::_internal_name() const {
  928. return name_.GetNoArena();
  929. }
  930. inline void Method::_internal_set_name(const std::string& value) {
  931. name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
  932. }
  933. inline void Method::set_name(std::string&& value) {
  934. name_.SetNoArena(
  935. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  936. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.name)
  937. }
  938. inline void Method::set_name(const char* value) {
  939. GOOGLE_DCHECK(value != nullptr);
  940. name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  941. // @@protoc_insertion_point(field_set_char:google.protobuf.Method.name)
  942. }
  943. inline void Method::set_name(const char* value, size_t size) {
  944. name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  945. ::std::string(reinterpret_cast<const char*>(value), size));
  946. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.name)
  947. }
  948. inline std::string* Method::_internal_mutable_name() {
  949. return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  950. }
  951. inline std::string* Method::release_name() {
  952. // @@protoc_insertion_point(field_release:google.protobuf.Method.name)
  953. return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  954. }
  955. inline void Method::set_allocated_name(std::string* name) {
  956. if (name != nullptr) {
  957. } else {
  958. }
  959. name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name);
  960. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.name)
  961. }
  962. // string request_type_url = 2;
  963. inline void Method::clear_request_type_url() {
  964. request_type_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  965. }
  966. inline const std::string& Method::request_type_url() const {
  967. // @@protoc_insertion_point(field_get:google.protobuf.Method.request_type_url)
  968. return _internal_request_type_url();
  969. }
  970. inline void Method::set_request_type_url(const std::string& value) {
  971. _internal_set_request_type_url(value);
  972. // @@protoc_insertion_point(field_set:google.protobuf.Method.request_type_url)
  973. }
  974. inline std::string* Method::mutable_request_type_url() {
  975. // @@protoc_insertion_point(field_mutable:google.protobuf.Method.request_type_url)
  976. return _internal_mutable_request_type_url();
  977. }
  978. inline const std::string& Method::_internal_request_type_url() const {
  979. return request_type_url_.GetNoArena();
  980. }
  981. inline void Method::_internal_set_request_type_url(const std::string& value) {
  982. request_type_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
  983. }
  984. inline void Method::set_request_type_url(std::string&& value) {
  985. request_type_url_.SetNoArena(
  986. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  987. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.request_type_url)
  988. }
  989. inline void Method::set_request_type_url(const char* value) {
  990. GOOGLE_DCHECK(value != nullptr);
  991. request_type_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  992. // @@protoc_insertion_point(field_set_char:google.protobuf.Method.request_type_url)
  993. }
  994. inline void Method::set_request_type_url(const char* value, size_t size) {
  995. request_type_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  996. ::std::string(reinterpret_cast<const char*>(value), size));
  997. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.request_type_url)
  998. }
  999. inline std::string* Method::_internal_mutable_request_type_url() {
  1000. return request_type_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1001. }
  1002. inline std::string* Method::release_request_type_url() {
  1003. // @@protoc_insertion_point(field_release:google.protobuf.Method.request_type_url)
  1004. return request_type_url_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1005. }
  1006. inline void Method::set_allocated_request_type_url(std::string* request_type_url) {
  1007. if (request_type_url != nullptr) {
  1008. } else {
  1009. }
  1010. request_type_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), request_type_url);
  1011. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.request_type_url)
  1012. }
  1013. // bool request_streaming = 3;
  1014. inline void Method::clear_request_streaming() {
  1015. request_streaming_ = false;
  1016. }
  1017. inline bool Method::_internal_request_streaming() const {
  1018. return request_streaming_;
  1019. }
  1020. inline bool Method::request_streaming() const {
  1021. // @@protoc_insertion_point(field_get:google.protobuf.Method.request_streaming)
  1022. return _internal_request_streaming();
  1023. }
  1024. inline void Method::_internal_set_request_streaming(bool value) {
  1025. request_streaming_ = value;
  1026. }
  1027. inline void Method::set_request_streaming(bool value) {
  1028. _internal_set_request_streaming(value);
  1029. // @@protoc_insertion_point(field_set:google.protobuf.Method.request_streaming)
  1030. }
  1031. // string response_type_url = 4;
  1032. inline void Method::clear_response_type_url() {
  1033. response_type_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1034. }
  1035. inline const std::string& Method::response_type_url() const {
  1036. // @@protoc_insertion_point(field_get:google.protobuf.Method.response_type_url)
  1037. return _internal_response_type_url();
  1038. }
  1039. inline void Method::set_response_type_url(const std::string& value) {
  1040. _internal_set_response_type_url(value);
  1041. // @@protoc_insertion_point(field_set:google.protobuf.Method.response_type_url)
  1042. }
  1043. inline std::string* Method::mutable_response_type_url() {
  1044. // @@protoc_insertion_point(field_mutable:google.protobuf.Method.response_type_url)
  1045. return _internal_mutable_response_type_url();
  1046. }
  1047. inline const std::string& Method::_internal_response_type_url() const {
  1048. return response_type_url_.GetNoArena();
  1049. }
  1050. inline void Method::_internal_set_response_type_url(const std::string& value) {
  1051. response_type_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
  1052. }
  1053. inline void Method::set_response_type_url(std::string&& value) {
  1054. response_type_url_.SetNoArena(
  1055. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1056. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.response_type_url)
  1057. }
  1058. inline void Method::set_response_type_url(const char* value) {
  1059. GOOGLE_DCHECK(value != nullptr);
  1060. response_type_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1061. // @@protoc_insertion_point(field_set_char:google.protobuf.Method.response_type_url)
  1062. }
  1063. inline void Method::set_response_type_url(const char* value, size_t size) {
  1064. response_type_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1065. ::std::string(reinterpret_cast<const char*>(value), size));
  1066. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.response_type_url)
  1067. }
  1068. inline std::string* Method::_internal_mutable_response_type_url() {
  1069. return response_type_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1070. }
  1071. inline std::string* Method::release_response_type_url() {
  1072. // @@protoc_insertion_point(field_release:google.protobuf.Method.response_type_url)
  1073. return response_type_url_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1074. }
  1075. inline void Method::set_allocated_response_type_url(std::string* response_type_url) {
  1076. if (response_type_url != nullptr) {
  1077. } else {
  1078. }
  1079. response_type_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), response_type_url);
  1080. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.response_type_url)
  1081. }
  1082. // bool response_streaming = 5;
  1083. inline void Method::clear_response_streaming() {
  1084. response_streaming_ = false;
  1085. }
  1086. inline bool Method::_internal_response_streaming() const {
  1087. return response_streaming_;
  1088. }
  1089. inline bool Method::response_streaming() const {
  1090. // @@protoc_insertion_point(field_get:google.protobuf.Method.response_streaming)
  1091. return _internal_response_streaming();
  1092. }
  1093. inline void Method::_internal_set_response_streaming(bool value) {
  1094. response_streaming_ = value;
  1095. }
  1096. inline void Method::set_response_streaming(bool value) {
  1097. _internal_set_response_streaming(value);
  1098. // @@protoc_insertion_point(field_set:google.protobuf.Method.response_streaming)
  1099. }
  1100. // repeated .google.protobuf.Option options = 6;
  1101. inline int Method::_internal_options_size() const {
  1102. return options_.size();
  1103. }
  1104. inline int Method::options_size() const {
  1105. return _internal_options_size();
  1106. }
  1107. inline PROTOBUF_NAMESPACE_ID::Option* Method::mutable_options(int index) {
  1108. // @@protoc_insertion_point(field_mutable:google.protobuf.Method.options)
  1109. return options_.Mutable(index);
  1110. }
  1111. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
  1112. Method::mutable_options() {
  1113. // @@protoc_insertion_point(field_mutable_list:google.protobuf.Method.options)
  1114. return &options_;
  1115. }
  1116. inline const PROTOBUF_NAMESPACE_ID::Option& Method::_internal_options(int index) const {
  1117. return options_.Get(index);
  1118. }
  1119. inline const PROTOBUF_NAMESPACE_ID::Option& Method::options(int index) const {
  1120. // @@protoc_insertion_point(field_get:google.protobuf.Method.options)
  1121. return _internal_options(index);
  1122. }
  1123. inline PROTOBUF_NAMESPACE_ID::Option* Method::_internal_add_options() {
  1124. return options_.Add();
  1125. }
  1126. inline PROTOBUF_NAMESPACE_ID::Option* Method::add_options() {
  1127. // @@protoc_insertion_point(field_add:google.protobuf.Method.options)
  1128. return _internal_add_options();
  1129. }
  1130. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
  1131. Method::options() const {
  1132. // @@protoc_insertion_point(field_list:google.protobuf.Method.options)
  1133. return options_;
  1134. }
  1135. // .google.protobuf.Syntax syntax = 7;
  1136. inline void Method::clear_syntax() {
  1137. syntax_ = 0;
  1138. }
  1139. inline PROTOBUF_NAMESPACE_ID::Syntax Method::_internal_syntax() const {
  1140. return static_cast< PROTOBUF_NAMESPACE_ID::Syntax >(syntax_);
  1141. }
  1142. inline PROTOBUF_NAMESPACE_ID::Syntax Method::syntax() const {
  1143. // @@protoc_insertion_point(field_get:google.protobuf.Method.syntax)
  1144. return _internal_syntax();
  1145. }
  1146. inline void Method::_internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
  1147. syntax_ = value;
  1148. }
  1149. inline void Method::set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
  1150. _internal_set_syntax(value);
  1151. // @@protoc_insertion_point(field_set:google.protobuf.Method.syntax)
  1152. }
  1153. // -------------------------------------------------------------------
  1154. // Mixin
  1155. // string name = 1;
  1156. inline void Mixin::clear_name() {
  1157. name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1158. }
  1159. inline const std::string& Mixin::name() const {
  1160. // @@protoc_insertion_point(field_get:google.protobuf.Mixin.name)
  1161. return _internal_name();
  1162. }
  1163. inline void Mixin::set_name(const std::string& value) {
  1164. _internal_set_name(value);
  1165. // @@protoc_insertion_point(field_set:google.protobuf.Mixin.name)
  1166. }
  1167. inline std::string* Mixin::mutable_name() {
  1168. // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.name)
  1169. return _internal_mutable_name();
  1170. }
  1171. inline const std::string& Mixin::_internal_name() const {
  1172. return name_.GetNoArena();
  1173. }
  1174. inline void Mixin::_internal_set_name(const std::string& value) {
  1175. name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
  1176. }
  1177. inline void Mixin::set_name(std::string&& value) {
  1178. name_.SetNoArena(
  1179. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1180. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.name)
  1181. }
  1182. inline void Mixin::set_name(const char* value) {
  1183. GOOGLE_DCHECK(value != nullptr);
  1184. name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1185. // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.name)
  1186. }
  1187. inline void Mixin::set_name(const char* value, size_t size) {
  1188. name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1189. ::std::string(reinterpret_cast<const char*>(value), size));
  1190. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.name)
  1191. }
  1192. inline std::string* Mixin::_internal_mutable_name() {
  1193. return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1194. }
  1195. inline std::string* Mixin::release_name() {
  1196. // @@protoc_insertion_point(field_release:google.protobuf.Mixin.name)
  1197. return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1198. }
  1199. inline void Mixin::set_allocated_name(std::string* name) {
  1200. if (name != nullptr) {
  1201. } else {
  1202. }
  1203. name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name);
  1204. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.name)
  1205. }
  1206. // string root = 2;
  1207. inline void Mixin::clear_root() {
  1208. root_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1209. }
  1210. inline const std::string& Mixin::root() const {
  1211. // @@protoc_insertion_point(field_get:google.protobuf.Mixin.root)
  1212. return _internal_root();
  1213. }
  1214. inline void Mixin::set_root(const std::string& value) {
  1215. _internal_set_root(value);
  1216. // @@protoc_insertion_point(field_set:google.protobuf.Mixin.root)
  1217. }
  1218. inline std::string* Mixin::mutable_root() {
  1219. // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.root)
  1220. return _internal_mutable_root();
  1221. }
  1222. inline const std::string& Mixin::_internal_root() const {
  1223. return root_.GetNoArena();
  1224. }
  1225. inline void Mixin::_internal_set_root(const std::string& value) {
  1226. root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
  1227. }
  1228. inline void Mixin::set_root(std::string&& value) {
  1229. root_.SetNoArena(
  1230. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1231. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.root)
  1232. }
  1233. inline void Mixin::set_root(const char* value) {
  1234. GOOGLE_DCHECK(value != nullptr);
  1235. root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1236. // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.root)
  1237. }
  1238. inline void Mixin::set_root(const char* value, size_t size) {
  1239. root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1240. ::std::string(reinterpret_cast<const char*>(value), size));
  1241. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.root)
  1242. }
  1243. inline std::string* Mixin::_internal_mutable_root() {
  1244. return root_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1245. }
  1246. inline std::string* Mixin::release_root() {
  1247. // @@protoc_insertion_point(field_release:google.protobuf.Mixin.root)
  1248. return root_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1249. }
  1250. inline void Mixin::set_allocated_root(std::string* root) {
  1251. if (root != nullptr) {
  1252. } else {
  1253. }
  1254. root_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), root);
  1255. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.root)
  1256. }
  1257. #ifdef __GNUC__
  1258. #pragma GCC diagnostic pop
  1259. #endif // __GNUC__
  1260. // -------------------------------------------------------------------
  1261. // -------------------------------------------------------------------
  1262. // @@protoc_insertion_point(namespace_scope)
  1263. PROTOBUF_NAMESPACE_CLOSE
  1264. // @@protoc_insertion_point(global_scope)
  1265. #include <google/protobuf/port_undef.inc>
  1266. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto