诸暨麻将添加redis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

330 line
12 KiB

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/field_mask.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ffield_5fmask_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ffield_5fmask_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. // @@protoc_insertion_point(includes)
  32. #include <google/protobuf/port_def.inc>
  33. #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ffield_5fmask_2eproto PROTOBUF_EXPORT
  34. PROTOBUF_NAMESPACE_OPEN
  35. namespace internal {
  36. class AnyMetadata;
  37. } // namespace internal
  38. PROTOBUF_NAMESPACE_CLOSE
  39. // Internal implementation detail -- do not use these members.
  40. struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2ffield_5fmask_2eproto {
  41. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  42. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
  44. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
  46. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  49. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  50. };
  51. extern PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto;
  52. PROTOBUF_NAMESPACE_OPEN
  53. class FieldMask;
  54. class FieldMaskDefaultTypeInternal;
  55. PROTOBUF_EXPORT extern FieldMaskDefaultTypeInternal _FieldMask_default_instance_;
  56. PROTOBUF_NAMESPACE_CLOSE
  57. PROTOBUF_NAMESPACE_OPEN
  58. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FieldMask* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FieldMask>(Arena*);
  59. PROTOBUF_NAMESPACE_CLOSE
  60. PROTOBUF_NAMESPACE_OPEN
  61. // ===================================================================
  62. class PROTOBUF_EXPORT FieldMask :
  63. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldMask) */ {
  64. public:
  65. FieldMask();
  66. virtual ~FieldMask();
  67. FieldMask(const FieldMask& from);
  68. FieldMask(FieldMask&& from) noexcept
  69. : FieldMask() {
  70. *this = ::std::move(from);
  71. }
  72. inline FieldMask& operator=(const FieldMask& from) {
  73. CopyFrom(from);
  74. return *this;
  75. }
  76. inline FieldMask& operator=(FieldMask&& from) noexcept {
  77. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  78. if (this != &from) InternalSwap(&from);
  79. } else {
  80. CopyFrom(from);
  81. }
  82. return *this;
  83. }
  84. inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
  85. return GetArenaNoVirtual();
  86. }
  87. inline void* GetMaybeArenaPointer() const final {
  88. return MaybeArenaPtr();
  89. }
  90. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  91. return GetDescriptor();
  92. }
  93. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  94. return GetMetadataStatic().descriptor;
  95. }
  96. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  97. return GetMetadataStatic().reflection;
  98. }
  99. static const FieldMask& default_instance();
  100. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  101. static inline const FieldMask* internal_default_instance() {
  102. return reinterpret_cast<const FieldMask*>(
  103. &_FieldMask_default_instance_);
  104. }
  105. static constexpr int kIndexInFileMessages =
  106. 0;
  107. friend void swap(FieldMask& a, FieldMask& b) {
  108. a.Swap(&b);
  109. }
  110. inline void Swap(FieldMask* other) {
  111. if (other == this) return;
  112. if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
  113. InternalSwap(other);
  114. } else {
  115. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  116. }
  117. }
  118. void UnsafeArenaSwap(FieldMask* other) {
  119. if (other == this) return;
  120. GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
  121. InternalSwap(other);
  122. }
  123. // implements Message ----------------------------------------------
  124. inline FieldMask* New() const final {
  125. return CreateMaybeMessage<FieldMask>(nullptr);
  126. }
  127. FieldMask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  128. return CreateMaybeMessage<FieldMask>(arena);
  129. }
  130. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  131. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  132. void CopyFrom(const FieldMask& from);
  133. void MergeFrom(const FieldMask& from);
  134. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  135. bool IsInitialized() const final;
  136. size_t ByteSizeLong() const final;
  137. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  138. ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
  139. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  140. int GetCachedSize() const final { return _cached_size_.Get(); }
  141. private:
  142. inline void SharedCtor();
  143. inline void SharedDtor();
  144. void SetCachedSize(int size) const final;
  145. void InternalSwap(FieldMask* other);
  146. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  147. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  148. return "google.protobuf.FieldMask";
  149. }
  150. protected:
  151. explicit FieldMask(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  152. private:
  153. static void ArenaDtor(void* object);
  154. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  155. private:
  156. inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
  157. return _internal_metadata_.arena();
  158. }
  159. inline void* MaybeArenaPtr() const {
  160. return _internal_metadata_.raw_arena_ptr();
  161. }
  162. public:
  163. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  164. private:
  165. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  166. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto);
  167. return ::descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto.file_level_metadata[kIndexInFileMessages];
  168. }
  169. public:
  170. // nested types ----------------------------------------------------
  171. // accessors -------------------------------------------------------
  172. enum : int {
  173. kPathsFieldNumber = 1,
  174. };
  175. // repeated string paths = 1;
  176. int paths_size() const;
  177. private:
  178. int _internal_paths_size() const;
  179. public:
  180. void clear_paths();
  181. const std::string& paths(int index) const;
  182. std::string* mutable_paths(int index);
  183. void set_paths(int index, const std::string& value);
  184. void set_paths(int index, std::string&& value);
  185. void set_paths(int index, const char* value);
  186. void set_paths(int index, const char* value, size_t size);
  187. std::string* add_paths();
  188. void add_paths(const std::string& value);
  189. void add_paths(std::string&& value);
  190. void add_paths(const char* value);
  191. void add_paths(const char* value, size_t size);
  192. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& paths() const;
  193. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_paths();
  194. private:
  195. const std::string& _internal_paths(int index) const;
  196. std::string* _internal_add_paths();
  197. public:
  198. // @@protoc_insertion_point(class_scope:google.protobuf.FieldMask)
  199. private:
  200. class _Internal;
  201. ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  202. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  203. typedef void InternalArenaConstructable_;
  204. typedef void DestructorSkippable_;
  205. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> paths_;
  206. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  207. friend struct ::TableStruct_google_2fprotobuf_2ffield_5fmask_2eproto;
  208. };
  209. // ===================================================================
  210. // ===================================================================
  211. #ifdef __GNUC__
  212. #pragma GCC diagnostic push
  213. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  214. #endif // __GNUC__
  215. // FieldMask
  216. // repeated string paths = 1;
  217. inline int FieldMask::_internal_paths_size() const {
  218. return paths_.size();
  219. }
  220. inline int FieldMask::paths_size() const {
  221. return _internal_paths_size();
  222. }
  223. inline void FieldMask::clear_paths() {
  224. paths_.Clear();
  225. }
  226. inline std::string* FieldMask::add_paths() {
  227. // @@protoc_insertion_point(field_add_mutable:google.protobuf.FieldMask.paths)
  228. return _internal_add_paths();
  229. }
  230. inline const std::string& FieldMask::_internal_paths(int index) const {
  231. return paths_.Get(index);
  232. }
  233. inline const std::string& FieldMask::paths(int index) const {
  234. // @@protoc_insertion_point(field_get:google.protobuf.FieldMask.paths)
  235. return _internal_paths(index);
  236. }
  237. inline std::string* FieldMask::mutable_paths(int index) {
  238. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldMask.paths)
  239. return paths_.Mutable(index);
  240. }
  241. inline void FieldMask::set_paths(int index, const std::string& value) {
  242. // @@protoc_insertion_point(field_set:google.protobuf.FieldMask.paths)
  243. paths_.Mutable(index)->assign(value);
  244. }
  245. inline void FieldMask::set_paths(int index, std::string&& value) {
  246. // @@protoc_insertion_point(field_set:google.protobuf.FieldMask.paths)
  247. paths_.Mutable(index)->assign(std::move(value));
  248. }
  249. inline void FieldMask::set_paths(int index, const char* value) {
  250. GOOGLE_DCHECK(value != nullptr);
  251. paths_.Mutable(index)->assign(value);
  252. // @@protoc_insertion_point(field_set_char:google.protobuf.FieldMask.paths)
  253. }
  254. inline void FieldMask::set_paths(int index, const char* value, size_t size) {
  255. paths_.Mutable(index)->assign(
  256. reinterpret_cast<const char*>(value), size);
  257. // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldMask.paths)
  258. }
  259. inline std::string* FieldMask::_internal_add_paths() {
  260. return paths_.Add();
  261. }
  262. inline void FieldMask::add_paths(const std::string& value) {
  263. paths_.Add()->assign(value);
  264. // @@protoc_insertion_point(field_add:google.protobuf.FieldMask.paths)
  265. }
  266. inline void FieldMask::add_paths(std::string&& value) {
  267. paths_.Add(std::move(value));
  268. // @@protoc_insertion_point(field_add:google.protobuf.FieldMask.paths)
  269. }
  270. inline void FieldMask::add_paths(const char* value) {
  271. GOOGLE_DCHECK(value != nullptr);
  272. paths_.Add()->assign(value);
  273. // @@protoc_insertion_point(field_add_char:google.protobuf.FieldMask.paths)
  274. }
  275. inline void FieldMask::add_paths(const char* value, size_t size) {
  276. paths_.Add()->assign(reinterpret_cast<const char*>(value), size);
  277. // @@protoc_insertion_point(field_add_pointer:google.protobuf.FieldMask.paths)
  278. }
  279. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
  280. FieldMask::paths() const {
  281. // @@protoc_insertion_point(field_list:google.protobuf.FieldMask.paths)
  282. return paths_;
  283. }
  284. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
  285. FieldMask::mutable_paths() {
  286. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldMask.paths)
  287. return &paths_;
  288. }
  289. #ifdef __GNUC__
  290. #pragma GCC diagnostic pop
  291. #endif // __GNUC__
  292. // @@protoc_insertion_point(namespace_scope)
  293. PROTOBUF_NAMESPACE_CLOSE
  294. // @@protoc_insertion_point(global_scope)
  295. #include <google/protobuf/port_undef.inc>
  296. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ffield_5fmask_2eproto