Debian Codegraph @

extra/protobuf/protobuf-24.4/src/google/protobuf/empty.pb.cc

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