1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | // source: ProtobufRpcEngine.proto |
3 | |
4 | #include "ProtobufRpcEngine.pb.h" |
5 | |
6 | #include <algorithm> |
7 | |
8 | #include <google/protobuf/stubs/common.h> |
9 | #include <google/protobuf/stubs/port.h> |
10 | #include <google/protobuf/io/coded_stream.h> |
11 | #include <google/protobuf/wire_format_lite_inl.h> |
12 | #include <google/protobuf/descriptor.h> |
13 | #include <google/protobuf/generated_message_reflection.h> |
14 | #include <google/protobuf/reflection_ops.h> |
15 | #include <google/protobuf/wire_format.h> |
16 | // This is a temporary google only hack |
17 | #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS |
18 | #include "third_party/protobuf/version.h" |
19 | #endif |
20 | // @@protoc_insertion_point(includes) |
21 | |
22 | namespace Hdfs { |
23 | namespace Internal { |
24 | class { |
25 | public: |
26 | ::google::protobuf::internal::ExplicitlyConstructed<RequestHeaderProto> |
27 | ; |
28 | } ; |
29 | } // namespace Internal |
30 | } // namespace Hdfs |
31 | namespace protobuf_ProtobufRpcEngine_2eproto { |
32 | static void () { |
33 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
34 | |
35 | { |
36 | void* ptr = &::Hdfs::Internal::_RequestHeaderProto_default_instance_; |
37 | new (ptr) ::Hdfs::Internal::RequestHeaderProto(); |
38 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
39 | } |
40 | ::Hdfs::Internal::RequestHeaderProto::InitAsDefaultInstance(); |
41 | } |
42 | |
43 | ::google::protobuf::internal::SCCInfo<0> = |
44 | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRequestHeaderProto}, {}}; |
45 | |
46 | void InitDefaults() { |
47 | ::google::protobuf::internal::InitSCC(&scc_info_RequestHeaderProto.base); |
48 | } |
49 | |
50 | ::google::protobuf::Metadata file_level_metadata[1]; |
51 | |
52 | const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
53 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RequestHeaderProto, _has_bits_), |
54 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RequestHeaderProto, _internal_metadata_), |
55 | ~0u, // no _extensions_ |
56 | ~0u, // no _oneof_case_ |
57 | ~0u, // no _weak_field_map_ |
58 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RequestHeaderProto, methodname_), |
59 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RequestHeaderProto, declaringclassprotocolname_), |
60 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RequestHeaderProto, clientprotocolversion_), |
61 | 0, |
62 | 1, |
63 | 2, |
64 | }; |
65 | static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
66 | { 0, 8, sizeof(::Hdfs::Internal::RequestHeaderProto)}, |
67 | }; |
68 | |
69 | static ::google::protobuf::Message const * const file_default_instances[] = { |
70 | reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RequestHeaderProto_default_instance_), |
71 | }; |
72 | |
73 | void protobuf_AssignDescriptors() { |
74 | AddDescriptors(); |
75 | AssignDescriptors( |
76 | "ProtobufRpcEngine.proto" , schemas, file_default_instances, TableStruct::offsets, |
77 | file_level_metadata, NULL, NULL); |
78 | } |
79 | |
80 | void protobuf_AssignDescriptorsOnce() { |
81 | static ::google::protobuf::internal::once_flag once; |
82 | ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors); |
83 | } |
84 | |
85 | void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; |
86 | void protobuf_RegisterTypes(const ::std::string&) { |
87 | protobuf_AssignDescriptorsOnce(); |
88 | ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 1); |
89 | } |
90 | |
91 | void AddDescriptorsImpl() { |
92 | InitDefaults(); |
93 | static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
94 | "\n\027ProtobufRpcEngine.proto\022\rHdfs.Internal" |
95 | "\"k\n\022RequestHeaderProto\022\022\n\nmethodName\030\001 \002" |
96 | "(\t\022\"\n\032declaringClassProtocolName\030\002 \002(\t\022\035" |
97 | "\n\025clientProtocolVersion\030\003 \002(\004B<\n\036org.apa" |
98 | "che.hadoop.ipc.protobufB\027ProtobufRpcEngi" |
99 | "neProtos\240\001\001" |
100 | }; |
101 | ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( |
102 | descriptor, 211); |
103 | ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( |
104 | "ProtobufRpcEngine.proto" , &protobuf_RegisterTypes); |
105 | } |
106 | |
107 | void AddDescriptors() { |
108 | static ::google::protobuf::internal::once_flag once; |
109 | ::google::protobuf::internal::call_once(once, AddDescriptorsImpl); |
110 | } |
111 | // Force AddDescriptors() to be called at dynamic initialization time. |
112 | struct StaticDescriptorInitializer { |
113 | StaticDescriptorInitializer() { |
114 | AddDescriptors(); |
115 | } |
116 | } static_descriptor_initializer; |
117 | } // namespace protobuf_ProtobufRpcEngine_2eproto |
118 | namespace Hdfs { |
119 | namespace Internal { |
120 | |
121 | // =================================================================== |
122 | |
123 | void RequestHeaderProto::() { |
124 | } |
125 | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
126 | const int RequestHeaderProto::; |
127 | const int RequestHeaderProto::; |
128 | const int RequestHeaderProto::; |
129 | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
130 | |
131 | RequestHeaderProto::() |
132 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
133 | ::google::protobuf::internal::InitSCC( |
134 | &protobuf_ProtobufRpcEngine_2eproto::scc_info_RequestHeaderProto.base); |
135 | SharedCtor(); |
136 | // @@protoc_insertion_point(constructor:Hdfs.Internal.RequestHeaderProto) |
137 | } |
138 | RequestHeaderProto::(const RequestHeaderProto& from) |
139 | : ::google::protobuf::Message(), |
140 | _internal_metadata_(NULL), |
141 | _has_bits_(from._has_bits_) { |
142 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
143 | methodname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
144 | if (from.has_methodname()) { |
145 | methodname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.methodname_); |
146 | } |
147 | declaringclassprotocolname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
148 | if (from.has_declaringclassprotocolname()) { |
149 | declaringclassprotocolname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.declaringclassprotocolname_); |
150 | } |
151 | clientprotocolversion_ = from.clientprotocolversion_; |
152 | // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RequestHeaderProto) |
153 | } |
154 | |
155 | void RequestHeaderProto::() { |
156 | methodname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
157 | declaringclassprotocolname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
158 | clientprotocolversion_ = GOOGLE_ULONGLONG(0); |
159 | } |
160 | |
161 | RequestHeaderProto::() { |
162 | // @@protoc_insertion_point(destructor:Hdfs.Internal.RequestHeaderProto) |
163 | SharedDtor(); |
164 | } |
165 | |
166 | void RequestHeaderProto::() { |
167 | methodname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
168 | declaringclassprotocolname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
169 | } |
170 | |
171 | void RequestHeaderProto::(int size) const { |
172 | _cached_size_.Set(size); |
173 | } |
174 | const ::google::protobuf::Descriptor* RequestHeaderProto::() { |
175 | ::protobuf_ProtobufRpcEngine_2eproto::protobuf_AssignDescriptorsOnce(); |
176 | return ::protobuf_ProtobufRpcEngine_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
177 | } |
178 | |
179 | const RequestHeaderProto& RequestHeaderProto::() { |
180 | ::google::protobuf::internal::InitSCC(&protobuf_ProtobufRpcEngine_2eproto::scc_info_RequestHeaderProto.base); |
181 | return *internal_default_instance(); |
182 | } |
183 | |
184 | |
185 | void RequestHeaderProto::() { |
186 | // @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RequestHeaderProto) |
187 | ::google::protobuf::uint32 cached_has_bits = 0; |
188 | // Prevent compiler warnings about cached_has_bits being unused |
189 | (void) cached_has_bits; |
190 | |
191 | cached_has_bits = _has_bits_[0]; |
192 | if (cached_has_bits & 3u) { |
193 | if (cached_has_bits & 0x00000001u) { |
194 | methodname_.ClearNonDefaultToEmptyNoArena(); |
195 | } |
196 | if (cached_has_bits & 0x00000002u) { |
197 | declaringclassprotocolname_.ClearNonDefaultToEmptyNoArena(); |
198 | } |
199 | } |
200 | clientprotocolversion_ = GOOGLE_ULONGLONG(0); |
201 | _has_bits_.Clear(); |
202 | _internal_metadata_.Clear(); |
203 | } |
204 | |
205 | bool RequestHeaderProto::( |
206 | ::google::protobuf::io::CodedInputStream* input) { |
207 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
208 | ::google::protobuf::uint32 tag; |
209 | // @@protoc_insertion_point(parse_start:Hdfs.Internal.RequestHeaderProto) |
210 | for (;;) { |
211 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
212 | tag = p.first; |
213 | if (!p.second) goto handle_unusual; |
214 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
215 | // required string methodName = 1; |
216 | case 1: { |
217 | if (static_cast< ::google::protobuf::uint8>(tag) == |
218 | static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
219 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
220 | input, this->mutable_methodname())); |
221 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
222 | this->methodname().data(), static_cast<int>(this->methodname().length()), |
223 | ::google::protobuf::internal::WireFormat::PARSE, |
224 | "Hdfs.Internal.RequestHeaderProto.methodName" ); |
225 | } else { |
226 | goto handle_unusual; |
227 | } |
228 | break; |
229 | } |
230 | |
231 | // required string declaringClassProtocolName = 2; |
232 | case 2: { |
233 | if (static_cast< ::google::protobuf::uint8>(tag) == |
234 | static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
235 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
236 | input, this->mutable_declaringclassprotocolname())); |
237 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
238 | this->declaringclassprotocolname().data(), static_cast<int>(this->declaringclassprotocolname().length()), |
239 | ::google::protobuf::internal::WireFormat::PARSE, |
240 | "Hdfs.Internal.RequestHeaderProto.declaringClassProtocolName" ); |
241 | } else { |
242 | goto handle_unusual; |
243 | } |
244 | break; |
245 | } |
246 | |
247 | // required uint64 clientProtocolVersion = 3; |
248 | case 3: { |
249 | if (static_cast< ::google::protobuf::uint8>(tag) == |
250 | static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
251 | set_has_clientprotocolversion(); |
252 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
253 | ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( |
254 | input, &clientprotocolversion_))); |
255 | } else { |
256 | goto handle_unusual; |
257 | } |
258 | break; |
259 | } |
260 | |
261 | default: { |
262 | handle_unusual: |
263 | if (tag == 0) { |
264 | goto success; |
265 | } |
266 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
267 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
268 | break; |
269 | } |
270 | } |
271 | } |
272 | success: |
273 | // @@protoc_insertion_point(parse_success:Hdfs.Internal.RequestHeaderProto) |
274 | return true; |
275 | failure: |
276 | // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RequestHeaderProto) |
277 | return false; |
278 | #undef DO_ |
279 | } |
280 | |
281 | void RequestHeaderProto::( |
282 | ::google::protobuf::io::CodedOutputStream* output) const { |
283 | // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RequestHeaderProto) |
284 | ::google::protobuf::uint32 cached_has_bits = 0; |
285 | (void) cached_has_bits; |
286 | |
287 | cached_has_bits = _has_bits_[0]; |
288 | // required string methodName = 1; |
289 | if (cached_has_bits & 0x00000001u) { |
290 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
291 | this->methodname().data(), static_cast<int>(this->methodname().length()), |
292 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
293 | "Hdfs.Internal.RequestHeaderProto.methodName" ); |
294 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
295 | 1, this->methodname(), output); |
296 | } |
297 | |
298 | // required string declaringClassProtocolName = 2; |
299 | if (cached_has_bits & 0x00000002u) { |
300 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
301 | this->declaringclassprotocolname().data(), static_cast<int>(this->declaringclassprotocolname().length()), |
302 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
303 | "Hdfs.Internal.RequestHeaderProto.declaringClassProtocolName" ); |
304 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
305 | 2, this->declaringclassprotocolname(), output); |
306 | } |
307 | |
308 | // required uint64 clientProtocolVersion = 3; |
309 | if (cached_has_bits & 0x00000004u) { |
310 | ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->clientprotocolversion(), output); |
311 | } |
312 | |
313 | if (_internal_metadata_.have_unknown_fields()) { |
314 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
315 | _internal_metadata_.unknown_fields(), output); |
316 | } |
317 | // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RequestHeaderProto) |
318 | } |
319 | |
320 | ::google::protobuf::uint8* RequestHeaderProto::( |
321 | bool deterministic, ::google::protobuf::uint8* target) const { |
322 | (void)deterministic; // Unused |
323 | // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RequestHeaderProto) |
324 | ::google::protobuf::uint32 cached_has_bits = 0; |
325 | (void) cached_has_bits; |
326 | |
327 | cached_has_bits = _has_bits_[0]; |
328 | // required string methodName = 1; |
329 | if (cached_has_bits & 0x00000001u) { |
330 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
331 | this->methodname().data(), static_cast<int>(this->methodname().length()), |
332 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
333 | "Hdfs.Internal.RequestHeaderProto.methodName" ); |
334 | target = |
335 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
336 | 1, this->methodname(), target); |
337 | } |
338 | |
339 | // required string declaringClassProtocolName = 2; |
340 | if (cached_has_bits & 0x00000002u) { |
341 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
342 | this->declaringclassprotocolname().data(), static_cast<int>(this->declaringclassprotocolname().length()), |
343 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
344 | "Hdfs.Internal.RequestHeaderProto.declaringClassProtocolName" ); |
345 | target = |
346 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
347 | 2, this->declaringclassprotocolname(), target); |
348 | } |
349 | |
350 | // required uint64 clientProtocolVersion = 3; |
351 | if (cached_has_bits & 0x00000004u) { |
352 | target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->clientprotocolversion(), target); |
353 | } |
354 | |
355 | if (_internal_metadata_.have_unknown_fields()) { |
356 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
357 | _internal_metadata_.unknown_fields(), target); |
358 | } |
359 | // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RequestHeaderProto) |
360 | return target; |
361 | } |
362 | |
363 | size_t RequestHeaderProto::() const { |
364 | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.RequestHeaderProto) |
365 | size_t total_size = 0; |
366 | |
367 | if (has_methodname()) { |
368 | // required string methodName = 1; |
369 | total_size += 1 + |
370 | ::google::protobuf::internal::WireFormatLite::StringSize( |
371 | this->methodname()); |
372 | } |
373 | |
374 | if (has_declaringclassprotocolname()) { |
375 | // required string declaringClassProtocolName = 2; |
376 | total_size += 1 + |
377 | ::google::protobuf::internal::WireFormatLite::StringSize( |
378 | this->declaringclassprotocolname()); |
379 | } |
380 | |
381 | if (has_clientprotocolversion()) { |
382 | // required uint64 clientProtocolVersion = 3; |
383 | total_size += 1 + |
384 | ::google::protobuf::internal::WireFormatLite::UInt64Size( |
385 | this->clientprotocolversion()); |
386 | } |
387 | |
388 | return total_size; |
389 | } |
390 | size_t RequestHeaderProto::() const { |
391 | // @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RequestHeaderProto) |
392 | size_t total_size = 0; |
393 | |
394 | if (_internal_metadata_.have_unknown_fields()) { |
395 | total_size += |
396 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
397 | _internal_metadata_.unknown_fields()); |
398 | } |
399 | if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. |
400 | // required string methodName = 1; |
401 | total_size += 1 + |
402 | ::google::protobuf::internal::WireFormatLite::StringSize( |
403 | this->methodname()); |
404 | |
405 | // required string declaringClassProtocolName = 2; |
406 | total_size += 1 + |
407 | ::google::protobuf::internal::WireFormatLite::StringSize( |
408 | this->declaringclassprotocolname()); |
409 | |
410 | // required uint64 clientProtocolVersion = 3; |
411 | total_size += 1 + |
412 | ::google::protobuf::internal::WireFormatLite::UInt64Size( |
413 | this->clientprotocolversion()); |
414 | |
415 | } else { |
416 | total_size += RequiredFieldsByteSizeFallback(); |
417 | } |
418 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
419 | SetCachedSize(cached_size); |
420 | return total_size; |
421 | } |
422 | |
423 | void RequestHeaderProto::(const ::google::protobuf::Message& from) { |
424 | // @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RequestHeaderProto) |
425 | GOOGLE_DCHECK_NE(&from, this); |
426 | const RequestHeaderProto* source = |
427 | ::google::protobuf::internal::DynamicCastToGenerated<const RequestHeaderProto>( |
428 | &from); |
429 | if (source == NULL) { |
430 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RequestHeaderProto) |
431 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
432 | } else { |
433 | // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RequestHeaderProto) |
434 | MergeFrom(*source); |
435 | } |
436 | } |
437 | |
438 | void RequestHeaderProto::(const RequestHeaderProto& from) { |
439 | // @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RequestHeaderProto) |
440 | GOOGLE_DCHECK_NE(&from, this); |
441 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
442 | ::google::protobuf::uint32 cached_has_bits = 0; |
443 | (void) cached_has_bits; |
444 | |
445 | cached_has_bits = from._has_bits_[0]; |
446 | if (cached_has_bits & 7u) { |
447 | if (cached_has_bits & 0x00000001u) { |
448 | set_has_methodname(); |
449 | methodname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.methodname_); |
450 | } |
451 | if (cached_has_bits & 0x00000002u) { |
452 | set_has_declaringclassprotocolname(); |
453 | declaringclassprotocolname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.declaringclassprotocolname_); |
454 | } |
455 | if (cached_has_bits & 0x00000004u) { |
456 | clientprotocolversion_ = from.clientprotocolversion_; |
457 | } |
458 | _has_bits_[0] |= cached_has_bits; |
459 | } |
460 | } |
461 | |
462 | void RequestHeaderProto::(const ::google::protobuf::Message& from) { |
463 | // @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RequestHeaderProto) |
464 | if (&from == this) return; |
465 | Clear(); |
466 | MergeFrom(from); |
467 | } |
468 | |
469 | void RequestHeaderProto::(const RequestHeaderProto& from) { |
470 | // @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RequestHeaderProto) |
471 | if (&from == this) return; |
472 | Clear(); |
473 | MergeFrom(from); |
474 | } |
475 | |
476 | bool RequestHeaderProto::() const { |
477 | if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; |
478 | return true; |
479 | } |
480 | |
481 | void RequestHeaderProto::(RequestHeaderProto* other) { |
482 | if (other == this) return; |
483 | InternalSwap(other); |
484 | } |
485 | void RequestHeaderProto::(RequestHeaderProto* other) { |
486 | using std::swap; |
487 | methodname_.Swap(&other->methodname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
488 | GetArenaNoVirtual()); |
489 | declaringclassprotocolname_.Swap(&other->declaringclassprotocolname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
490 | GetArenaNoVirtual()); |
491 | swap(clientprotocolversion_, other->clientprotocolversion_); |
492 | swap(_has_bits_[0], other->_has_bits_[0]); |
493 | _internal_metadata_.Swap(&other->_internal_metadata_); |
494 | } |
495 | |
496 | ::google::protobuf::Metadata RequestHeaderProto::() const { |
497 | protobuf_ProtobufRpcEngine_2eproto::protobuf_AssignDescriptorsOnce(); |
498 | return ::protobuf_ProtobufRpcEngine_2eproto::file_level_metadata[kIndexInFileMessages]; |
499 | } |
500 | |
501 | |
502 | // @@protoc_insertion_point(namespace_scope) |
503 | } // namespace Internal |
504 | } // namespace Hdfs |
505 | namespace google { |
506 | namespace protobuf { |
507 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RequestHeaderProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RequestHeaderProto >(Arena* arena) { |
508 | return Arena::CreateInternal< ::Hdfs::Internal::RequestHeaderProto >(arena); |
509 | } |
510 | } // namespace protobuf |
511 | } // namespace google |
512 | |
513 | // @@protoc_insertion_point(global_scope) |
514 | |