诸暨麻将添加redis
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

292 wiersze
10 KiB

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/duration.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fduration_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fduration_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_2fduration_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_2fduration_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_2fduration_2eproto;
  52. PROTOBUF_NAMESPACE_OPEN
  53. class Duration;
  54. class DurationDefaultTypeInternal;
  55. PROTOBUF_EXPORT extern DurationDefaultTypeInternal _Duration_default_instance_;
  56. PROTOBUF_NAMESPACE_CLOSE
  57. PROTOBUF_NAMESPACE_OPEN
  58. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Duration* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Duration>(Arena*);
  59. PROTOBUF_NAMESPACE_CLOSE
  60. PROTOBUF_NAMESPACE_OPEN
  61. // ===================================================================
  62. class PROTOBUF_EXPORT Duration :
  63. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Duration) */ {
  64. public:
  65. Duration();
  66. virtual ~Duration();
  67. Duration(const Duration& from);
  68. Duration(Duration&& from) noexcept
  69. : Duration() {
  70. *this = ::std::move(from);
  71. }
  72. inline Duration& operator=(const Duration& from) {
  73. CopyFrom(from);
  74. return *this;
  75. }
  76. inline Duration& operator=(Duration&& 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 Duration& default_instance();
  100. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  101. static inline const Duration* internal_default_instance() {
  102. return reinterpret_cast<const Duration*>(
  103. &_Duration_default_instance_);
  104. }
  105. static constexpr int kIndexInFileMessages =
  106. 0;
  107. friend void swap(Duration& a, Duration& b) {
  108. a.Swap(&b);
  109. }
  110. inline void Swap(Duration* 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(Duration* other) {
  119. if (other == this) return;
  120. GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
  121. InternalSwap(other);
  122. }
  123. // implements Message ----------------------------------------------
  124. inline Duration* New() const final {
  125. return CreateMaybeMessage<Duration>(nullptr);
  126. }
  127. Duration* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  128. return CreateMaybeMessage<Duration>(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 Duration& from);
  133. void MergeFrom(const Duration& 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(Duration* other);
  146. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  147. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  148. return "google.protobuf.Duration";
  149. }
  150. protected:
  151. explicit Duration(::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_2fduration_2eproto);
  167. return ::descriptor_table_google_2fprotobuf_2fduration_2eproto.file_level_metadata[kIndexInFileMessages];
  168. }
  169. public:
  170. // nested types ----------------------------------------------------
  171. // accessors -------------------------------------------------------
  172. enum : int {
  173. kSecondsFieldNumber = 1,
  174. kNanosFieldNumber = 2,
  175. };
  176. // int64 seconds = 1;
  177. void clear_seconds();
  178. ::PROTOBUF_NAMESPACE_ID::int64 seconds() const;
  179. void set_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
  180. private:
  181. ::PROTOBUF_NAMESPACE_ID::int64 _internal_seconds() const;
  182. void _internal_set_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
  183. public:
  184. // int32 nanos = 2;
  185. void clear_nanos();
  186. ::PROTOBUF_NAMESPACE_ID::int32 nanos() const;
  187. void set_nanos(::PROTOBUF_NAMESPACE_ID::int32 value);
  188. private:
  189. ::PROTOBUF_NAMESPACE_ID::int32 _internal_nanos() const;
  190. void _internal_set_nanos(::PROTOBUF_NAMESPACE_ID::int32 value);
  191. public:
  192. // @@protoc_insertion_point(class_scope:google.protobuf.Duration)
  193. private:
  194. class _Internal;
  195. ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  196. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  197. typedef void InternalArenaConstructable_;
  198. typedef void DestructorSkippable_;
  199. ::PROTOBUF_NAMESPACE_ID::int64 seconds_;
  200. ::PROTOBUF_NAMESPACE_ID::int32 nanos_;
  201. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  202. friend struct ::TableStruct_google_2fprotobuf_2fduration_2eproto;
  203. };
  204. // ===================================================================
  205. // ===================================================================
  206. #ifdef __GNUC__
  207. #pragma GCC diagnostic push
  208. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  209. #endif // __GNUC__
  210. // Duration
  211. // int64 seconds = 1;
  212. inline void Duration::clear_seconds() {
  213. seconds_ = PROTOBUF_LONGLONG(0);
  214. }
  215. inline ::PROTOBUF_NAMESPACE_ID::int64 Duration::_internal_seconds() const {
  216. return seconds_;
  217. }
  218. inline ::PROTOBUF_NAMESPACE_ID::int64 Duration::seconds() const {
  219. // @@protoc_insertion_point(field_get:google.protobuf.Duration.seconds)
  220. return _internal_seconds();
  221. }
  222. inline void Duration::_internal_set_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
  223. seconds_ = value;
  224. }
  225. inline void Duration::set_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
  226. _internal_set_seconds(value);
  227. // @@protoc_insertion_point(field_set:google.protobuf.Duration.seconds)
  228. }
  229. // int32 nanos = 2;
  230. inline void Duration::clear_nanos() {
  231. nanos_ = 0;
  232. }
  233. inline ::PROTOBUF_NAMESPACE_ID::int32 Duration::_internal_nanos() const {
  234. return nanos_;
  235. }
  236. inline ::PROTOBUF_NAMESPACE_ID::int32 Duration::nanos() const {
  237. // @@protoc_insertion_point(field_get:google.protobuf.Duration.nanos)
  238. return _internal_nanos();
  239. }
  240. inline void Duration::_internal_set_nanos(::PROTOBUF_NAMESPACE_ID::int32 value) {
  241. nanos_ = value;
  242. }
  243. inline void Duration::set_nanos(::PROTOBUF_NAMESPACE_ID::int32 value) {
  244. _internal_set_nanos(value);
  245. // @@protoc_insertion_point(field_set:google.protobuf.Duration.nanos)
  246. }
  247. #ifdef __GNUC__
  248. #pragma GCC diagnostic pop
  249. #endif // __GNUC__
  250. // @@protoc_insertion_point(namespace_scope)
  251. PROTOBUF_NAMESPACE_CLOSE
  252. // @@protoc_insertion_point(global_scope)
  253. #include <google/protobuf/port_undef.inc>
  254. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fduration_2eproto