Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: third_party/protobuf/src/google/protobuf/empty.pb.cc

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Generated by the protocol buffer compiler. DO NOT EDIT! 1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/empty.proto 2 // source: google/protobuf/empty.proto
3 3
4 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION 4 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
5 #include <google/protobuf/empty.pb.h> 5 #include <google/protobuf/empty.pb.h>
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include <google/protobuf/stubs/common.h> 9 #include <google/protobuf/stubs/common.h>
10 #include <google/protobuf/stubs/port.h> 10 #include <google/protobuf/stubs/port.h>
(...skipping 11 matching lines...) Expand all
22 22
23 namespace { 23 namespace {
24 24
25 const ::google::protobuf::Descriptor* Empty_descriptor_ = NULL; 25 const ::google::protobuf::Descriptor* Empty_descriptor_ = NULL;
26 const ::google::protobuf::internal::GeneratedMessageReflection* 26 const ::google::protobuf::internal::GeneratedMessageReflection*
27 Empty_reflection_ = NULL; 27 Empty_reflection_ = NULL;
28 28
29 } // namespace 29 } // namespace
30 30
31 31
32 void protobuf_AssignDesc_google_2fprotobuf_2fempty_2eproto() GOOGLE_ATTRIBUTE_CO LD;
32 void protobuf_AssignDesc_google_2fprotobuf_2fempty_2eproto() { 33 void protobuf_AssignDesc_google_2fprotobuf_2fempty_2eproto() {
33 protobuf_AddDesc_google_2fprotobuf_2fempty_2eproto(); 34 protobuf_AddDesc_google_2fprotobuf_2fempty_2eproto();
34 const ::google::protobuf::FileDescriptor* file = 35 const ::google::protobuf::FileDescriptor* file =
35 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( 36 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
36 "google/protobuf/empty.proto"); 37 "google/protobuf/empty.proto");
37 GOOGLE_CHECK(file != NULL); 38 GOOGLE_CHECK(file != NULL);
38 Empty_descriptor_ = file->message_type(0); 39 Empty_descriptor_ = file->message_type(0);
39 static const int Empty_offsets_[1] = { 40 static const int Empty_offsets_[1] = {
40 }; 41 };
41 Empty_reflection_ = 42 Empty_reflection_ =
42 ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessag eReflection( 43 ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessag eReflection(
43 Empty_descriptor_, 44 Empty_descriptor_,
44 Empty::default_instance_, 45 Empty::internal_default_instance(),
45 Empty_offsets_, 46 Empty_offsets_,
46 -1, 47 -1,
47 -1, 48 -1,
48 -1, 49 -1,
49 sizeof(Empty), 50 sizeof(Empty),
50 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Empty, _internal_metadata_) , 51 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Empty, _internal_metadata_) );
51 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Empty, _is_default_instance _));
52 } 52 }
53 53
54 namespace { 54 namespace {
55 55
56 GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); 56 GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
57 inline void protobuf_AssignDescriptorsOnce() { 57 void protobuf_AssignDescriptorsOnce() {
58 ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, 58 ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
59 &protobuf_AssignDesc_google_2fprotobuf_2fempty_2eproto); 59 &protobuf_AssignDesc_google_2fprotobuf_2fempty_2eproto);
60 } 60 }
61 61
62 void protobuf_RegisterTypes(const ::std::string&) GOOGLE_ATTRIBUTE_COLD;
62 void protobuf_RegisterTypes(const ::std::string&) { 63 void protobuf_RegisterTypes(const ::std::string&) {
63 protobuf_AssignDescriptorsOnce(); 64 protobuf_AssignDescriptorsOnce();
64 ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( 65 ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
65 Empty_descriptor_, &Empty::default_instance()); 66 Empty_descriptor_, Empty::internal_default_instance());
66 } 67 }
67 68
68 } // namespace 69 } // namespace
69 70
70 void protobuf_ShutdownFile_google_2fprotobuf_2fempty_2eproto() { 71 void protobuf_ShutdownFile_google_2fprotobuf_2fempty_2eproto() {
71 delete Empty::default_instance_; 72 Empty_default_instance_.Shutdown();
72 delete Empty_reflection_; 73 delete Empty_reflection_;
73 } 74 }
74 75
75 void protobuf_AddDesc_google_2fprotobuf_2fempty_2eproto() { 76 void protobuf_InitDefaults_google_2fprotobuf_2fempty_2eproto_impl() {
76 static bool already_here = false;
77 if (already_here) return;
78 already_here = true;
79 GOOGLE_PROTOBUF_VERIFY_VERSION; 77 GOOGLE_PROTOBUF_VERIFY_VERSION;
80 78
79 Empty_default_instance_.DefaultConstruct();
80 Empty_default_instance_.get_mutable()->InitAsDefaultInstance();
81 }
82
83 GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_InitDefaults_google_2fprotobuf_2fempty_2ep roto_once_);
84 void protobuf_InitDefaults_google_2fprotobuf_2fempty_2eproto() {
85 ::google::protobuf::GoogleOnceInit(&protobuf_InitDefaults_google_2fprotobuf_2f empty_2eproto_once_,
86 &protobuf_InitDefaults_google_2fprotobuf_2fempty_2eproto_impl);
87 }
88 void protobuf_AddDesc_google_2fprotobuf_2fempty_2eproto_impl() {
89 GOOGLE_PROTOBUF_VERIFY_VERSION;
90
91 protobuf_InitDefaults_google_2fprotobuf_2fempty_2eproto();
81 ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( 92 ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
82 "\n\033google/protobuf/empty.proto\022\017google.pr" 93 "\n\033google/protobuf/empty.proto\022\017google.pr"
83 "otobuf\"\007\n\005EmptyBy\n\023com.google.protobufB\n" 94 "otobuf\"\007\n\005EmptyBv\n\023com.google.protobufB\n"
84 "EmptyProtoP\001Z\'github.com/golang/protobuf" 95 "EmptyProtoP\001Z\'github.com/golang/protobuf"
85 "/ptypes/empty\240\001\001\370\001\001\242\002\003GPB\252\002\036Google.Prot o" 96 "/ptypes/empty\370\001\001\242\002\003GPB\252\002\036Google.Protobuf"
86 "buf.WellKnownTypesb\006proto3", 186); 97 ".WellKnownTypesb\006proto3", 183);
87 ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( 98 ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
88 "google/protobuf/empty.proto", &protobuf_RegisterTypes); 99 "google/protobuf/empty.proto", &protobuf_RegisterTypes);
89 Empty::default_instance_ = new Empty();
90 Empty::default_instance_->InitAsDefaultInstance();
91 ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_google_2fproto buf_2fempty_2eproto); 100 ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_google_2fproto buf_2fempty_2eproto);
92 } 101 }
93 102
103 GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AddDesc_google_2fprotobuf_2fempty_2eproto_ once_);
104 void protobuf_AddDesc_google_2fprotobuf_2fempty_2eproto() {
105 ::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_google_2fprotobuf_2fempty _2eproto_once_,
106 &protobuf_AddDesc_google_2fprotobuf_2fempty_2eproto_impl);
107 }
94 // Force AddDescriptors() to be called at static initialization time. 108 // Force AddDescriptors() to be called at static initialization time.
95 struct StaticDescriptorInitializer_google_2fprotobuf_2fempty_2eproto { 109 struct StaticDescriptorInitializer_google_2fprotobuf_2fempty_2eproto {
96 StaticDescriptorInitializer_google_2fprotobuf_2fempty_2eproto() { 110 StaticDescriptorInitializer_google_2fprotobuf_2fempty_2eproto() {
97 protobuf_AddDesc_google_2fprotobuf_2fempty_2eproto(); 111 protobuf_AddDesc_google_2fprotobuf_2fempty_2eproto();
98 } 112 }
99 } static_descriptor_initializer_google_2fprotobuf_2fempty_2eproto_; 113 } static_descriptor_initializer_google_2fprotobuf_2fempty_2eproto_;
100 114
101 namespace { 115 namespace {
102 116
103 static void MergeFromFail(int line) GOOGLE_ATTRIBUTE_COLD; 117 static void MergeFromFail(int line) GOOGLE_ATTRIBUTE_COLD GOOGLE_ATTRIBUTE_NORET URN;
104 static void MergeFromFail(int line) { 118 static void MergeFromFail(int line) {
105 GOOGLE_CHECK(false) << __FILE__ << ":" << line; 119 ::google::protobuf::internal::MergeFromFail(__FILE__, line);
106 } 120 }
107 121
108 } // namespace 122 } // namespace
109 123
110 124
111 // =================================================================== 125 // ===================================================================
112 126
113 #if !defined(_MSC_VER) || _MSC_VER >= 1900 127 #if !defined(_MSC_VER) || _MSC_VER >= 1900
114 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 128 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
115 129
116 Empty::Empty() 130 Empty::Empty()
117 : ::google::protobuf::Message(), _internal_metadata_(NULL) { 131 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
132 if (this != internal_default_instance()) protobuf_InitDefaults_google_2fprotob uf_2fempty_2eproto();
118 SharedCtor(); 133 SharedCtor();
119 // @@protoc_insertion_point(constructor:google.protobuf.Empty) 134 // @@protoc_insertion_point(constructor:google.protobuf.Empty)
120 } 135 }
121
122 Empty::Empty(::google::protobuf::Arena* arena) 136 Empty::Empty(::google::protobuf::Arena* arena)
123 : ::google::protobuf::Message(), 137 : ::google::protobuf::Message(),
124 _internal_metadata_(arena) { 138 _internal_metadata_(arena) {
139 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
140 protobuf_InitDefaults_google_2fprotobuf_2fempty_2eproto();
141 #endif // GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
125 SharedCtor(); 142 SharedCtor();
126 RegisterArenaDtor(arena); 143 RegisterArenaDtor(arena);
127 // @@protoc_insertion_point(arena_constructor:google.protobuf.Empty) 144 // @@protoc_insertion_point(arena_constructor:google.protobuf.Empty)
128 } 145 }
129 146
130 void Empty::InitAsDefaultInstance() { 147 void Empty::InitAsDefaultInstance() {
131 _is_default_instance_ = true;
132 } 148 }
133 149
134 Empty::Empty(const Empty& from) 150 Empty::Empty(const Empty& from)
135 : ::google::protobuf::Message(), 151 : ::google::protobuf::Message(),
136 _internal_metadata_(NULL) { 152 _internal_metadata_(NULL) {
137 SharedCtor(); 153 SharedCtor();
138 MergeFrom(from); 154 UnsafeMergeFrom(from);
139 // @@protoc_insertion_point(copy_constructor:google.protobuf.Empty) 155 // @@protoc_insertion_point(copy_constructor:google.protobuf.Empty)
140 } 156 }
141 157
142 void Empty::SharedCtor() { 158 void Empty::SharedCtor() {
143 _is_default_instance_ = false;
144 _cached_size_ = 0; 159 _cached_size_ = 0;
145 } 160 }
146 161
147 Empty::~Empty() { 162 Empty::~Empty() {
148 // @@protoc_insertion_point(destructor:google.protobuf.Empty) 163 // @@protoc_insertion_point(destructor:google.protobuf.Empty)
149 SharedDtor(); 164 SharedDtor();
150 } 165 }
151 166
152 void Empty::SharedDtor() { 167 void Empty::SharedDtor() {
153 if (GetArenaNoVirtual() != NULL) { 168 ::google::protobuf::Arena* arena = GetArenaNoVirtual();
169 if (arena != NULL) {
154 return; 170 return;
155 } 171 }
156 172
157 if (this != default_instance_) {
158 }
159 } 173 }
160 174
161 void Empty::ArenaDtor(void* object) { 175 void Empty::ArenaDtor(void* object) {
162 Empty* _this = reinterpret_cast< Empty* >(object); 176 Empty* _this = reinterpret_cast< Empty* >(object);
163 (void)_this; 177 (void)_this;
164 } 178 }
165 void Empty::RegisterArenaDtor(::google::protobuf::Arena* arena) { 179 void Empty::RegisterArenaDtor(::google::protobuf::Arena* arena) {
166 } 180 }
167 void Empty::SetCachedSize(int size) const { 181 void Empty::SetCachedSize(int size) const {
168 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); 182 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
169 _cached_size_ = size; 183 _cached_size_ = size;
170 GOOGLE_SAFE_CONCURRENT_WRITES_END(); 184 GOOGLE_SAFE_CONCURRENT_WRITES_END();
171 } 185 }
172 const ::google::protobuf::Descriptor* Empty::descriptor() { 186 const ::google::protobuf::Descriptor* Empty::descriptor() {
173 protobuf_AssignDescriptorsOnce(); 187 protobuf_AssignDescriptorsOnce();
174 return Empty_descriptor_; 188 return Empty_descriptor_;
175 } 189 }
176 190
177 const Empty& Empty::default_instance() { 191 const Empty& Empty::default_instance() {
178 if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fempty_2epr oto(); 192 protobuf_InitDefaults_google_2fprotobuf_2fempty_2eproto();
179 return *default_instance_; 193 return *internal_default_instance();
180 } 194 }
181 195
182 Empty* Empty::default_instance_ = NULL; 196 ::google::protobuf::internal::ExplicitlyConstructed<Empty> Empty_default_instanc e_;
183 197
184 Empty* Empty::New(::google::protobuf::Arena* arena) const { 198 Empty* Empty::New(::google::protobuf::Arena* arena) const {
185 return ::google::protobuf::Arena::CreateMessage<Empty>(arena); 199 return ::google::protobuf::Arena::CreateMessage<Empty>(arena);
186 } 200 }
187 201
188 void Empty::Clear() { 202 void Empty::Clear() {
189 // @@protoc_insertion_point(message_clear_start:google.protobuf.Empty) 203 // @@protoc_insertion_point(message_clear_start:google.protobuf.Empty)
190 } 204 }
191 205
192 bool Empty::MergePartialFromCodedStream( 206 bool Empty::MergePartialFromCodedStream(
(...skipping 21 matching lines...) Expand all
214 return false; 228 return false;
215 #undef DO_ 229 #undef DO_
216 } 230 }
217 231
218 void Empty::SerializeWithCachedSizes( 232 void Empty::SerializeWithCachedSizes(
219 ::google::protobuf::io::CodedOutputStream* output) const { 233 ::google::protobuf::io::CodedOutputStream* output) const {
220 // @@protoc_insertion_point(serialize_start:google.protobuf.Empty) 234 // @@protoc_insertion_point(serialize_start:google.protobuf.Empty)
221 // @@protoc_insertion_point(serialize_end:google.protobuf.Empty) 235 // @@protoc_insertion_point(serialize_end:google.protobuf.Empty)
222 } 236 }
223 237
224 ::google::protobuf::uint8* Empty::SerializeWithCachedSizesToArray( 238 ::google::protobuf::uint8* Empty::InternalSerializeWithCachedSizesToArray(
225 ::google::protobuf::uint8* target) const { 239 bool deterministic, ::google::protobuf::uint8* target) const {
240 (void)deterministic; // Unused
226 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Empty) 241 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Empty)
227 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Empty) 242 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Empty)
228 return target; 243 return target;
229 } 244 }
230 245
231 int Empty::ByteSize() const { 246 size_t Empty::ByteSizeLong() const {
232 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Empty) 247 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Empty)
233 int total_size = 0; 248 size_t total_size = 0;
234 249
250 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
235 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); 251 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
236 _cached_size_ = total_size; 252 _cached_size_ = cached_size;
237 GOOGLE_SAFE_CONCURRENT_WRITES_END(); 253 GOOGLE_SAFE_CONCURRENT_WRITES_END();
238 return total_size; 254 return total_size;
239 } 255 }
240 256
241 void Empty::MergeFrom(const ::google::protobuf::Message& from) { 257 void Empty::MergeFrom(const ::google::protobuf::Message& from) {
242 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.Empty) 258 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.Empty)
243 if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); 259 if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
244 const Empty* source = 260 const Empty* source =
245 ::google::protobuf::internal::DynamicCastToGenerated<const Empty>( 261 ::google::protobuf::internal::DynamicCastToGenerated<const Empty>(
246 &from); 262 &from);
247 if (source == NULL) { 263 if (source == NULL) {
248 // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.E mpty) 264 // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.E mpty)
249 ::google::protobuf::internal::ReflectionOps::Merge(from, this); 265 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
250 } else { 266 } else {
251 // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobu f.Empty) 267 // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobu f.Empty)
252 MergeFrom(*source); 268 UnsafeMergeFrom(*source);
253 } 269 }
254 } 270 }
255 271
256 void Empty::MergeFrom(const Empty& from) { 272 void Empty::MergeFrom(const Empty& from) {
257 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Empt y) 273 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Empt y)
258 if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); 274 if (GOOGLE_PREDICT_TRUE(&from != this)) {
275 UnsafeMergeFrom(from);
276 } else {
277 MergeFromFail(__LINE__);
278 }
279 }
280
281 void Empty::UnsafeMergeFrom(const Empty& from) {
282 GOOGLE_DCHECK(&from != this);
259 } 283 }
260 284
261 void Empty::CopyFrom(const ::google::protobuf::Message& from) { 285 void Empty::CopyFrom(const ::google::protobuf::Message& from) {
262 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.Empty) 286 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.Empty)
263 if (&from == this) return; 287 if (&from == this) return;
264 Clear(); 288 Clear();
265 MergeFrom(from); 289 MergeFrom(from);
266 } 290 }
267 291
268 void Empty::CopyFrom(const Empty& from) { 292 void Empty::CopyFrom(const Empty& from) {
269 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Empty ) 293 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Empty )
270 if (&from == this) return; 294 if (&from == this) return;
271 Clear(); 295 Clear();
272 MergeFrom(from); 296 UnsafeMergeFrom(from);
273 } 297 }
274 298
275 bool Empty::IsInitialized() const { 299 bool Empty::IsInitialized() const {
276 300
277 return true; 301 return true;
278 } 302 }
279 303
280 void Empty::Swap(Empty* other) { 304 void Empty::Swap(Empty* other) {
281 if (other == this) return; 305 if (other == this) return;
282 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { 306 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
283 InternalSwap(other); 307 InternalSwap(other);
284 } else { 308 } else {
285 Empty temp; 309 Empty temp;
286 temp.MergeFrom(*this); 310 temp.UnsafeMergeFrom(*this);
287 CopyFrom(*other); 311 CopyFrom(*other);
288 other->CopyFrom(temp); 312 other->CopyFrom(temp);
289 } 313 }
290 } 314 }
291 void Empty::UnsafeArenaSwap(Empty* other) { 315 void Empty::UnsafeArenaSwap(Empty* other) {
292 if (other == this) return; 316 if (other == this) return;
293 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); 317 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
294 InternalSwap(other); 318 InternalSwap(other);
295 } 319 }
296 void Empty::InternalSwap(Empty* other) { 320 void Empty::InternalSwap(Empty* other) {
297 _internal_metadata_.Swap(&other->_internal_metadata_); 321 _internal_metadata_.Swap(&other->_internal_metadata_);
298 std::swap(_cached_size_, other->_cached_size_); 322 std::swap(_cached_size_, other->_cached_size_);
299 } 323 }
300 324
301 ::google::protobuf::Metadata Empty::GetMetadata() const { 325 ::google::protobuf::Metadata Empty::GetMetadata() const {
302 protobuf_AssignDescriptorsOnce(); 326 protobuf_AssignDescriptorsOnce();
303 ::google::protobuf::Metadata metadata; 327 ::google::protobuf::Metadata metadata;
304 metadata.descriptor = Empty_descriptor_; 328 metadata.descriptor = Empty_descriptor_;
305 metadata.reflection = Empty_reflection_; 329 metadata.reflection = Empty_reflection_;
306 return metadata; 330 return metadata;
307 } 331 }
308 332
309 #if PROTOBUF_INLINE_NOT_IN_HEADERS 333 #if PROTOBUF_INLINE_NOT_IN_HEADERS
310 // Empty 334 // Empty
311 335
336 inline const Empty* Empty::internal_default_instance() {
337 return &Empty_default_instance_.get();
338 }
312 #endif // PROTOBUF_INLINE_NOT_IN_HEADERS 339 #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
313 340
314 // @@protoc_insertion_point(namespace_scope) 341 // @@protoc_insertion_point(namespace_scope)
315 342
316 } // namespace protobuf 343 } // namespace protobuf
317 } // namespace google 344 } // namespace google
318 345
319 // @@protoc_insertion_point(global_scope) 346 // @@protoc_insertion_point(global_scope)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698