empty.pb.cc 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/empty.proto
  3. #include "google/protobuf/empty.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. // Must be included last.
  14. #include "google/protobuf/port_def.inc"
  15. PROTOBUF_PRAGMA_INIT_SEG
  16. namespace _pb = ::PROTOBUF_NAMESPACE_ID;
  17. namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal;
  18. PROTOBUF_NAMESPACE_OPEN
  19. PROTOBUF_CONSTEXPR Empty::Empty(
  20. ::_pbi::ConstantInitialized) {}
  21. struct EmptyDefaultTypeInternal {
  22. PROTOBUF_CONSTEXPR EmptyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  23. ~EmptyDefaultTypeInternal() {}
  24. union {
  25. Empty _instance;
  26. };
  27. };
  28. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  29. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EmptyDefaultTypeInternal _Empty_default_instance_;
  30. PROTOBUF_NAMESPACE_CLOSE
  31. static ::_pb::Metadata file_level_metadata_google_2fprotobuf_2fempty_2eproto[1];
  32. static constexpr const ::_pb::EnumDescriptor**
  33. file_level_enum_descriptors_google_2fprotobuf_2fempty_2eproto = nullptr;
  34. static constexpr const ::_pb::ServiceDescriptor**
  35. file_level_service_descriptors_google_2fprotobuf_2fempty_2eproto = nullptr;
  36. const ::uint32_t TableStruct_google_2fprotobuf_2fempty_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(
  37. protodesc_cold) = {
  38. ~0u, // no _has_bits_
  39. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Empty, _internal_metadata_),
  40. ~0u, // no _extensions_
  41. ~0u, // no _oneof_case_
  42. ~0u, // no _weak_field_map_
  43. ~0u, // no _inlined_string_donated_
  44. ~0u, // no _split_
  45. ~0u, // no sizeof(Split)
  46. };
  47. static const ::_pbi::MigrationSchema
  48. schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  49. { 0, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::Empty)},
  50. };
  51. static const ::_pb::Message* const file_default_instances[] = {
  52. &::PROTOBUF_NAMESPACE_ID::_Empty_default_instance_._instance,
  53. };
  54. const char descriptor_table_protodef_google_2fprotobuf_2fempty_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  55. "\n\033google/protobuf/empty.proto\022\017google.pr"
  56. "otobuf\"\007\n\005EmptyB}\n\023com.google.protobufB\n"
  57. "EmptyProtoP\001Z.google.golang.org/protobuf"
  58. "/types/known/emptypb\370\001\001\242\002\003GPB\252\002\036Google.P"
  59. "rotobuf.WellKnownTypesb\006proto3"
  60. };
  61. static ::absl::once_flag descriptor_table_google_2fprotobuf_2fempty_2eproto_once;
  62. const ::_pbi::DescriptorTable descriptor_table_google_2fprotobuf_2fempty_2eproto = {
  63. false,
  64. false,
  65. 190,
  66. descriptor_table_protodef_google_2fprotobuf_2fempty_2eproto,
  67. "google/protobuf/empty.proto",
  68. &descriptor_table_google_2fprotobuf_2fempty_2eproto_once,
  69. nullptr,
  70. 0,
  71. 1,
  72. schemas,
  73. file_default_instances,
  74. TableStruct_google_2fprotobuf_2fempty_2eproto::offsets,
  75. file_level_metadata_google_2fprotobuf_2fempty_2eproto,
  76. file_level_enum_descriptors_google_2fprotobuf_2fempty_2eproto,
  77. file_level_service_descriptors_google_2fprotobuf_2fempty_2eproto,
  78. };
  79. // This function exists to be marked as weak.
  80. // It can significantly speed up compilation by breaking up LLVM's SCC
  81. // in the .pb.cc translation units. Large translation units see a
  82. // reduction of more than 35% of walltime for optimized builds. Without
  83. // the weak attribute all the messages in the file, including all the
  84. // vtables and everything they use become part of the same SCC through
  85. // a cycle like:
  86. // GetMetadata -> descriptor table -> default instances ->
  87. // vtables -> GetMetadata
  88. // By adding a weak function here we break the connection from the
  89. // individual vtables back into the descriptor table.
  90. PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_google_2fprotobuf_2fempty_2eproto_getter() {
  91. return &descriptor_table_google_2fprotobuf_2fempty_2eproto;
  92. }
  93. // Force running AddDescriptors() at dynamic initialization time.
  94. PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
  95. static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_google_2fprotobuf_2fempty_2eproto(&descriptor_table_google_2fprotobuf_2fempty_2eproto);
  96. PROTOBUF_NAMESPACE_OPEN
  97. // ===================================================================
  98. class Empty::_Internal {
  99. public:
  100. };
  101. Empty::Empty(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  102. : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena) {
  103. // @@protoc_insertion_point(arena_constructor:google.protobuf.Empty)
  104. }
  105. Empty::Empty(const Empty& from)
  106. : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() {
  107. Empty* const _this = this; (void)_this;
  108. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  109. // @@protoc_insertion_point(copy_constructor:google.protobuf.Empty)
  110. }
  111. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Empty::_class_data_ = {
  112. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl,
  113. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl,
  114. };
  115. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Empty::GetClassData() const { return &_class_data_; }
  116. ::PROTOBUF_NAMESPACE_ID::Metadata Empty::GetMetadata() const {
  117. return ::_pbi::AssignDescriptors(
  118. &descriptor_table_google_2fprotobuf_2fempty_2eproto_getter, &descriptor_table_google_2fprotobuf_2fempty_2eproto_once,
  119. file_level_metadata_google_2fprotobuf_2fempty_2eproto[0]);
  120. }
  121. // @@protoc_insertion_point(namespace_scope)
  122. PROTOBUF_NAMESPACE_CLOSE
  123. PROTOBUF_NAMESPACE_OPEN
  124. template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::Empty*
  125. Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::Empty >(Arena* arena) {
  126. return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::Empty >(arena);
  127. }
  128. PROTOBUF_NAMESPACE_CLOSE
  129. // @@protoc_insertion_point(global_scope)
  130. #include "google/protobuf/port_undef.inc"