诸暨麻将添加redis
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

285 Zeilen
11 KiB

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/source_context.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fsource_5fcontext_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fsource_5fcontext_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_2fsource_5fcontext_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_2fsource_5fcontext_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_2fsource_5fcontext_2eproto;
  52. PROTOBUF_NAMESPACE_OPEN
  53. class SourceContext;
  54. class SourceContextDefaultTypeInternal;
  55. PROTOBUF_EXPORT extern SourceContextDefaultTypeInternal _SourceContext_default_instance_;
  56. PROTOBUF_NAMESPACE_CLOSE
  57. PROTOBUF_NAMESPACE_OPEN
  58. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::SourceContext* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceContext>(Arena*);
  59. PROTOBUF_NAMESPACE_CLOSE
  60. PROTOBUF_NAMESPACE_OPEN
  61. // ===================================================================
  62. class PROTOBUF_EXPORT SourceContext :
  63. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceContext) */ {
  64. public:
  65. SourceContext();
  66. virtual ~SourceContext();
  67. SourceContext(const SourceContext& from);
  68. SourceContext(SourceContext&& from) noexcept
  69. : SourceContext() {
  70. *this = ::std::move(from);
  71. }
  72. inline SourceContext& operator=(const SourceContext& from) {
  73. CopyFrom(from);
  74. return *this;
  75. }
  76. inline SourceContext& operator=(SourceContext&& from) noexcept {
  77. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  78. if (this != &from) InternalSwap(&from);
  79. } else {
  80. CopyFrom(from);
  81. }
  82. return *this;
  83. }
  84. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  85. return GetDescriptor();
  86. }
  87. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  88. return GetMetadataStatic().descriptor;
  89. }
  90. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  91. return GetMetadataStatic().reflection;
  92. }
  93. static const SourceContext& default_instance();
  94. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  95. static inline const SourceContext* internal_default_instance() {
  96. return reinterpret_cast<const SourceContext*>(
  97. &_SourceContext_default_instance_);
  98. }
  99. static constexpr int kIndexInFileMessages =
  100. 0;
  101. friend void swap(SourceContext& a, SourceContext& b) {
  102. a.Swap(&b);
  103. }
  104. inline void Swap(SourceContext* other) {
  105. if (other == this) return;
  106. InternalSwap(other);
  107. }
  108. // implements Message ----------------------------------------------
  109. inline SourceContext* New() const final {
  110. return CreateMaybeMessage<SourceContext>(nullptr);
  111. }
  112. SourceContext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  113. return CreateMaybeMessage<SourceContext>(arena);
  114. }
  115. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  116. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  117. void CopyFrom(const SourceContext& from);
  118. void MergeFrom(const SourceContext& from);
  119. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  120. bool IsInitialized() const final;
  121. size_t ByteSizeLong() const final;
  122. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  123. ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
  124. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  125. int GetCachedSize() const final { return _cached_size_.Get(); }
  126. private:
  127. inline void SharedCtor();
  128. inline void SharedDtor();
  129. void SetCachedSize(int size) const final;
  130. void InternalSwap(SourceContext* other);
  131. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  132. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  133. return "google.protobuf.SourceContext";
  134. }
  135. private:
  136. inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
  137. return nullptr;
  138. }
  139. inline void* MaybeArenaPtr() const {
  140. return nullptr;
  141. }
  142. public:
  143. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  144. private:
  145. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  146. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto);
  147. return ::descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto.file_level_metadata[kIndexInFileMessages];
  148. }
  149. public:
  150. // nested types ----------------------------------------------------
  151. // accessors -------------------------------------------------------
  152. enum : int {
  153. kFileNameFieldNumber = 1,
  154. };
  155. // string file_name = 1;
  156. void clear_file_name();
  157. const std::string& file_name() const;
  158. void set_file_name(const std::string& value);
  159. void set_file_name(std::string&& value);
  160. void set_file_name(const char* value);
  161. void set_file_name(const char* value, size_t size);
  162. std::string* mutable_file_name();
  163. std::string* release_file_name();
  164. void set_allocated_file_name(std::string* file_name);
  165. private:
  166. const std::string& _internal_file_name() const;
  167. void _internal_set_file_name(const std::string& value);
  168. std::string* _internal_mutable_file_name();
  169. public:
  170. // @@protoc_insertion_point(class_scope:google.protobuf.SourceContext)
  171. private:
  172. class _Internal;
  173. ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  174. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_name_;
  175. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  176. friend struct ::TableStruct_google_2fprotobuf_2fsource_5fcontext_2eproto;
  177. };
  178. // ===================================================================
  179. // ===================================================================
  180. #ifdef __GNUC__
  181. #pragma GCC diagnostic push
  182. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  183. #endif // __GNUC__
  184. // SourceContext
  185. // string file_name = 1;
  186. inline void SourceContext::clear_file_name() {
  187. file_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  188. }
  189. inline const std::string& SourceContext::file_name() const {
  190. // @@protoc_insertion_point(field_get:google.protobuf.SourceContext.file_name)
  191. return _internal_file_name();
  192. }
  193. inline void SourceContext::set_file_name(const std::string& value) {
  194. _internal_set_file_name(value);
  195. // @@protoc_insertion_point(field_set:google.protobuf.SourceContext.file_name)
  196. }
  197. inline std::string* SourceContext::mutable_file_name() {
  198. // @@protoc_insertion_point(field_mutable:google.protobuf.SourceContext.file_name)
  199. return _internal_mutable_file_name();
  200. }
  201. inline const std::string& SourceContext::_internal_file_name() const {
  202. return file_name_.GetNoArena();
  203. }
  204. inline void SourceContext::_internal_set_file_name(const std::string& value) {
  205. file_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
  206. }
  207. inline void SourceContext::set_file_name(std::string&& value) {
  208. file_name_.SetNoArena(
  209. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  210. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.SourceContext.file_name)
  211. }
  212. inline void SourceContext::set_file_name(const char* value) {
  213. GOOGLE_DCHECK(value != nullptr);
  214. file_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  215. // @@protoc_insertion_point(field_set_char:google.protobuf.SourceContext.file_name)
  216. }
  217. inline void SourceContext::set_file_name(const char* value, size_t size) {
  218. file_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  219. ::std::string(reinterpret_cast<const char*>(value), size));
  220. // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceContext.file_name)
  221. }
  222. inline std::string* SourceContext::_internal_mutable_file_name() {
  223. return file_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  224. }
  225. inline std::string* SourceContext::release_file_name() {
  226. // @@protoc_insertion_point(field_release:google.protobuf.SourceContext.file_name)
  227. return file_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  228. }
  229. inline void SourceContext::set_allocated_file_name(std::string* file_name) {
  230. if (file_name != nullptr) {
  231. } else {
  232. }
  233. file_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), file_name);
  234. // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceContext.file_name)
  235. }
  236. #ifdef __GNUC__
  237. #pragma GCC diagnostic pop
  238. #endif // __GNUC__
  239. // @@protoc_insertion_point(namespace_scope)
  240. PROTOBUF_NAMESPACE_CLOSE
  241. // @@protoc_insertion_point(global_scope)
  242. #include <google/protobuf/port_undef.inc>
  243. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fsource_5fcontext_2eproto