诸暨麻将添加redis
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

291 satır
13 KiB

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/source_context.proto
  3. #include <google/protobuf/source_context.pb.h>
  4. #include <algorithm>
  5. #include <google/protobuf/io/coded_stream.h>
  6. #include <google/protobuf/extension_set.h>
  7. #include <google/protobuf/wire_format_lite.h>
  8. #include <google/protobuf/descriptor.h>
  9. #include <google/protobuf/generated_message_reflection.h>
  10. #include <google/protobuf/reflection_ops.h>
  11. #include <google/protobuf/wire_format.h>
  12. // @@protoc_insertion_point(includes)
  13. #include <google/protobuf/port_def.inc>
  14. PROTOBUF_NAMESPACE_OPEN
  15. class SourceContextDefaultTypeInternal {
  16. public:
  17. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<SourceContext> _instance;
  18. } _SourceContext_default_instance_;
  19. PROTOBUF_NAMESPACE_CLOSE
  20. static void InitDefaultsscc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto() {
  21. GOOGLE_PROTOBUF_VERIFY_VERSION;
  22. {
  23. void* ptr = &PROTOBUF_NAMESPACE_ID::_SourceContext_default_instance_;
  24. new (ptr) PROTOBUF_NAMESPACE_ID::SourceContext();
  25. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  26. }
  27. PROTOBUF_NAMESPACE_ID::SourceContext::InitAsDefaultInstance();
  28. }
  29. PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto =
  30. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto}, {}};
  31. static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fprotobuf_2fsource_5fcontext_2eproto[1];
  32. static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_google_2fprotobuf_2fsource_5fcontext_2eproto = nullptr;
  33. static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_google_2fprotobuf_2fsource_5fcontext_2eproto = nullptr;
  34. const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fsource_5fcontext_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  35. ~0u, // no _has_bits_
  36. PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceContext, _internal_metadata_),
  37. ~0u, // no _extensions_
  38. ~0u, // no _oneof_case_
  39. ~0u, // no _weak_field_map_
  40. PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceContext, file_name_),
  41. };
  42. static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  43. { 0, -1, sizeof(PROTOBUF_NAMESPACE_ID::SourceContext)},
  44. };
  45. static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
  46. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_SourceContext_default_instance_),
  47. };
  48. const char descriptor_table_protodef_google_2fprotobuf_2fsource_5fcontext_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  49. "\n$google/protobuf/source_context.proto\022\017"
  50. "google.protobuf\"\"\n\rSourceContext\022\021\n\tfile"
  51. "_name\030\001 \001(\tB\225\001\n\023com.google.protobufB\022Sou"
  52. "rceContextProtoP\001ZAgoogle.golang.org/gen"
  53. "proto/protobuf/source_context;source_con"
  54. "text\242\002\003GPB\252\002\036Google.Protobuf.WellKnownTy"
  55. "pesb\006proto3"
  56. ;
  57. static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto_deps[1] = {
  58. };
  59. static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto_sccs[1] = {
  60. &scc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto.base,
  61. };
  62. static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto_once;
  63. static bool descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto_initialized = false;
  64. const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto = {
  65. &descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto_initialized, descriptor_table_protodef_google_2fprotobuf_2fsource_5fcontext_2eproto, "google/protobuf/source_context.proto", 251,
  66. &descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto_once, descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto_sccs, descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto_deps, 1, 0,
  67. schemas, file_default_instances, TableStruct_google_2fprotobuf_2fsource_5fcontext_2eproto::offsets,
  68. file_level_metadata_google_2fprotobuf_2fsource_5fcontext_2eproto, 1, file_level_enum_descriptors_google_2fprotobuf_2fsource_5fcontext_2eproto, file_level_service_descriptors_google_2fprotobuf_2fsource_5fcontext_2eproto,
  69. };
  70. // Force running AddDescriptors() at dynamic initialization time.
  71. static bool dynamic_init_dummy_google_2fprotobuf_2fsource_5fcontext_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto), true);
  72. PROTOBUF_NAMESPACE_OPEN
  73. // ===================================================================
  74. void SourceContext::InitAsDefaultInstance() {
  75. }
  76. class SourceContext::_Internal {
  77. public:
  78. };
  79. SourceContext::SourceContext()
  80. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  81. SharedCtor();
  82. // @@protoc_insertion_point(constructor:google.protobuf.SourceContext)
  83. }
  84. SourceContext::SourceContext(const SourceContext& from)
  85. : ::PROTOBUF_NAMESPACE_ID::Message(),
  86. _internal_metadata_(nullptr) {
  87. _internal_metadata_.MergeFrom(from._internal_metadata_);
  88. file_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  89. if (!from._internal_file_name().empty()) {
  90. file_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.file_name_);
  91. }
  92. // @@protoc_insertion_point(copy_constructor:google.protobuf.SourceContext)
  93. }
  94. void SourceContext::SharedCtor() {
  95. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto.base);
  96. file_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  97. }
  98. SourceContext::~SourceContext() {
  99. // @@protoc_insertion_point(destructor:google.protobuf.SourceContext)
  100. SharedDtor();
  101. }
  102. void SourceContext::SharedDtor() {
  103. file_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  104. }
  105. void SourceContext::SetCachedSize(int size) const {
  106. _cached_size_.Set(size);
  107. }
  108. const SourceContext& SourceContext::default_instance() {
  109. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto.base);
  110. return *internal_default_instance();
  111. }
  112. void SourceContext::Clear() {
  113. // @@protoc_insertion_point(message_clear_start:google.protobuf.SourceContext)
  114. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  115. // Prevent compiler warnings about cached_has_bits being unused
  116. (void) cached_has_bits;
  117. file_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  118. _internal_metadata_.Clear();
  119. }
  120. const char* SourceContext::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  121. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  122. while (!ctx->Done(&ptr)) {
  123. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  124. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  125. CHK_(ptr);
  126. switch (tag >> 3) {
  127. // string file_name = 1;
  128. case 1:
  129. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
  130. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_file_name(), ptr, ctx, "google.protobuf.SourceContext.file_name");
  131. CHK_(ptr);
  132. } else goto handle_unusual;
  133. continue;
  134. default: {
  135. handle_unusual:
  136. if ((tag & 7) == 4 || tag == 0) {
  137. ctx->SetLastTag(tag);
  138. goto success;
  139. }
  140. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  141. CHK_(ptr != nullptr);
  142. continue;
  143. }
  144. } // switch
  145. } // while
  146. success:
  147. return ptr;
  148. failure:
  149. ptr = nullptr;
  150. goto success;
  151. #undef CHK_
  152. }
  153. ::PROTOBUF_NAMESPACE_ID::uint8* SourceContext::InternalSerializeWithCachedSizesToArray(
  154. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  155. // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceContext)
  156. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  157. (void) cached_has_bits;
  158. // string file_name = 1;
  159. if (this->file_name().size() > 0) {
  160. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  161. this->_internal_file_name().data(), static_cast<int>(this->_internal_file_name().length()),
  162. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  163. "google.protobuf.SourceContext.file_name");
  164. target = stream->WriteStringMaybeAliased(
  165. 1, this->_internal_file_name(), target);
  166. }
  167. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  168. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  169. _internal_metadata_.unknown_fields(), target, stream);
  170. }
  171. // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.SourceContext)
  172. return target;
  173. }
  174. size_t SourceContext::ByteSizeLong() const {
  175. // @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceContext)
  176. size_t total_size = 0;
  177. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  178. // Prevent compiler warnings about cached_has_bits being unused
  179. (void) cached_has_bits;
  180. // string file_name = 1;
  181. if (this->file_name().size() > 0) {
  182. total_size += 1 +
  183. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  184. this->_internal_file_name());
  185. }
  186. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  187. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  188. _internal_metadata_, total_size, &_cached_size_);
  189. }
  190. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  191. SetCachedSize(cached_size);
  192. return total_size;
  193. }
  194. void SourceContext::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  195. // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.SourceContext)
  196. GOOGLE_DCHECK_NE(&from, this);
  197. const SourceContext* source =
  198. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<SourceContext>(
  199. &from);
  200. if (source == nullptr) {
  201. // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.SourceContext)
  202. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  203. } else {
  204. // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.SourceContext)
  205. MergeFrom(*source);
  206. }
  207. }
  208. void SourceContext::MergeFrom(const SourceContext& from) {
  209. // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.SourceContext)
  210. GOOGLE_DCHECK_NE(&from, this);
  211. _internal_metadata_.MergeFrom(from._internal_metadata_);
  212. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  213. (void) cached_has_bits;
  214. if (from.file_name().size() > 0) {
  215. file_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.file_name_);
  216. }
  217. }
  218. void SourceContext::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  219. // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.SourceContext)
  220. if (&from == this) return;
  221. Clear();
  222. MergeFrom(from);
  223. }
  224. void SourceContext::CopyFrom(const SourceContext& from) {
  225. // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.SourceContext)
  226. if (&from == this) return;
  227. Clear();
  228. MergeFrom(from);
  229. }
  230. bool SourceContext::IsInitialized() const {
  231. return true;
  232. }
  233. void SourceContext::InternalSwap(SourceContext* other) {
  234. using std::swap;
  235. _internal_metadata_.Swap(&other->_internal_metadata_);
  236. file_name_.Swap(&other->file_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  237. GetArenaNoVirtual());
  238. }
  239. ::PROTOBUF_NAMESPACE_ID::Metadata SourceContext::GetMetadata() const {
  240. return GetMetadataStatic();
  241. }
  242. // @@protoc_insertion_point(namespace_scope)
  243. PROTOBUF_NAMESPACE_CLOSE
  244. PROTOBUF_NAMESPACE_OPEN
  245. template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::SourceContext* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::SourceContext >(Arena* arena) {
  246. return Arena::CreateInternal< PROTOBUF_NAMESPACE_ID::SourceContext >(arena);
  247. }
  248. PROTOBUF_NAMESPACE_CLOSE
  249. // @@protoc_insertion_point(global_scope)
  250. #include <google/protobuf/port_undef.inc>