1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ClientNamenodeProtocol.proto
3
4#include "ClientNamenodeProtocol.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
22namespace protobuf_ClientNamenodeProtocol_2eproto {
23extern PROTOBUF_INTERNAL_EXPORT_protobuf_ClientNamenodeProtocol_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_CacheDirectiveInfoExpirationProto;
24extern PROTOBUF_INTERNAL_EXPORT_protobuf_ClientNamenodeProtocol_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_CacheDirectiveStatsProto;
25extern PROTOBUF_INTERNAL_EXPORT_protobuf_ClientNamenodeProtocol_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_CachePoolInfoProto;
26extern PROTOBUF_INTERNAL_EXPORT_protobuf_ClientNamenodeProtocol_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_CachePoolStatsProto;
27extern PROTOBUF_INTERNAL_EXPORT_protobuf_ClientNamenodeProtocol_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_CacheDirectiveInfoProto;
28extern PROTOBUF_INTERNAL_EXPORT_protobuf_ClientNamenodeProtocol_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_CacheDirectiveEntryProto;
29extern PROTOBUF_INTERNAL_EXPORT_protobuf_ClientNamenodeProtocol_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_CachePoolEntryProto;
30} // namespace protobuf_ClientNamenodeProtocol_2eproto
31namespace protobuf_hdfs_2eproto {
32extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ContentSummaryProto;
33extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_CorruptFileBlocksProto;
34extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DataEncryptionKeyProto;
35extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DatanodeIDProto;
36extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ExtendedBlockProto;
37extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_FsPermissionProto;
38extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_FsServerDefaultsProto;
39extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DatanodeInfoProto;
40extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DirectoryListingProto;
41extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_LocatedBlocksProto;
42extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_SnapshotDiffReportProto;
43extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_SnapshottableDirectoryListingProto;
44extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_HdfsFileStatusProto;
45extern PROTOBUF_INTERNAL_EXPORT_protobuf_hdfs_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_LocatedBlockProto;
46} // namespace protobuf_hdfs_2eproto
47namespace Hdfs {
48namespace Internal {
49class GetBlockLocationsRequestProtoDefaultTypeInternal {
50 public:
51 ::google::protobuf::internal::ExplicitlyConstructed<GetBlockLocationsRequestProto>
52 _instance;
53} _GetBlockLocationsRequestProto_default_instance_;
54class GetBlockLocationsResponseProtoDefaultTypeInternal {
55 public:
56 ::google::protobuf::internal::ExplicitlyConstructed<GetBlockLocationsResponseProto>
57 _instance;
58} _GetBlockLocationsResponseProto_default_instance_;
59class GetServerDefaultsRequestProtoDefaultTypeInternal {
60 public:
61 ::google::protobuf::internal::ExplicitlyConstructed<GetServerDefaultsRequestProto>
62 _instance;
63} _GetServerDefaultsRequestProto_default_instance_;
64class GetServerDefaultsResponseProtoDefaultTypeInternal {
65 public:
66 ::google::protobuf::internal::ExplicitlyConstructed<GetServerDefaultsResponseProto>
67 _instance;
68} _GetServerDefaultsResponseProto_default_instance_;
69class CreateRequestProtoDefaultTypeInternal {
70 public:
71 ::google::protobuf::internal::ExplicitlyConstructed<CreateRequestProto>
72 _instance;
73} _CreateRequestProto_default_instance_;
74class CreateResponseProtoDefaultTypeInternal {
75 public:
76 ::google::protobuf::internal::ExplicitlyConstructed<CreateResponseProto>
77 _instance;
78} _CreateResponseProto_default_instance_;
79class AppendRequestProtoDefaultTypeInternal {
80 public:
81 ::google::protobuf::internal::ExplicitlyConstructed<AppendRequestProto>
82 _instance;
83} _AppendRequestProto_default_instance_;
84class AppendResponseProtoDefaultTypeInternal {
85 public:
86 ::google::protobuf::internal::ExplicitlyConstructed<AppendResponseProto>
87 _instance;
88} _AppendResponseProto_default_instance_;
89class SetReplicationRequestProtoDefaultTypeInternal {
90 public:
91 ::google::protobuf::internal::ExplicitlyConstructed<SetReplicationRequestProto>
92 _instance;
93} _SetReplicationRequestProto_default_instance_;
94class SetReplicationResponseProtoDefaultTypeInternal {
95 public:
96 ::google::protobuf::internal::ExplicitlyConstructed<SetReplicationResponseProto>
97 _instance;
98} _SetReplicationResponseProto_default_instance_;
99class SetPermissionRequestProtoDefaultTypeInternal {
100 public:
101 ::google::protobuf::internal::ExplicitlyConstructed<SetPermissionRequestProto>
102 _instance;
103} _SetPermissionRequestProto_default_instance_;
104class SetPermissionResponseProtoDefaultTypeInternal {
105 public:
106 ::google::protobuf::internal::ExplicitlyConstructed<SetPermissionResponseProto>
107 _instance;
108} _SetPermissionResponseProto_default_instance_;
109class SetOwnerRequestProtoDefaultTypeInternal {
110 public:
111 ::google::protobuf::internal::ExplicitlyConstructed<SetOwnerRequestProto>
112 _instance;
113} _SetOwnerRequestProto_default_instance_;
114class SetOwnerResponseProtoDefaultTypeInternal {
115 public:
116 ::google::protobuf::internal::ExplicitlyConstructed<SetOwnerResponseProto>
117 _instance;
118} _SetOwnerResponseProto_default_instance_;
119class AbandonBlockRequestProtoDefaultTypeInternal {
120 public:
121 ::google::protobuf::internal::ExplicitlyConstructed<AbandonBlockRequestProto>
122 _instance;
123} _AbandonBlockRequestProto_default_instance_;
124class AbandonBlockResponseProtoDefaultTypeInternal {
125 public:
126 ::google::protobuf::internal::ExplicitlyConstructed<AbandonBlockResponseProto>
127 _instance;
128} _AbandonBlockResponseProto_default_instance_;
129class AddBlockRequestProtoDefaultTypeInternal {
130 public:
131 ::google::protobuf::internal::ExplicitlyConstructed<AddBlockRequestProto>
132 _instance;
133} _AddBlockRequestProto_default_instance_;
134class AddBlockResponseProtoDefaultTypeInternal {
135 public:
136 ::google::protobuf::internal::ExplicitlyConstructed<AddBlockResponseProto>
137 _instance;
138} _AddBlockResponseProto_default_instance_;
139class GetAdditionalDatanodeRequestProtoDefaultTypeInternal {
140 public:
141 ::google::protobuf::internal::ExplicitlyConstructed<GetAdditionalDatanodeRequestProto>
142 _instance;
143} _GetAdditionalDatanodeRequestProto_default_instance_;
144class GetAdditionalDatanodeResponseProtoDefaultTypeInternal {
145 public:
146 ::google::protobuf::internal::ExplicitlyConstructed<GetAdditionalDatanodeResponseProto>
147 _instance;
148} _GetAdditionalDatanodeResponseProto_default_instance_;
149class CompleteRequestProtoDefaultTypeInternal {
150 public:
151 ::google::protobuf::internal::ExplicitlyConstructed<CompleteRequestProto>
152 _instance;
153} _CompleteRequestProto_default_instance_;
154class CompleteResponseProtoDefaultTypeInternal {
155 public:
156 ::google::protobuf::internal::ExplicitlyConstructed<CompleteResponseProto>
157 _instance;
158} _CompleteResponseProto_default_instance_;
159class ReportBadBlocksRequestProtoDefaultTypeInternal {
160 public:
161 ::google::protobuf::internal::ExplicitlyConstructed<ReportBadBlocksRequestProto>
162 _instance;
163} _ReportBadBlocksRequestProto_default_instance_;
164class ReportBadBlocksResponseProtoDefaultTypeInternal {
165 public:
166 ::google::protobuf::internal::ExplicitlyConstructed<ReportBadBlocksResponseProto>
167 _instance;
168} _ReportBadBlocksResponseProto_default_instance_;
169class ConcatRequestProtoDefaultTypeInternal {
170 public:
171 ::google::protobuf::internal::ExplicitlyConstructed<ConcatRequestProto>
172 _instance;
173} _ConcatRequestProto_default_instance_;
174class ConcatResponseProtoDefaultTypeInternal {
175 public:
176 ::google::protobuf::internal::ExplicitlyConstructed<ConcatResponseProto>
177 _instance;
178} _ConcatResponseProto_default_instance_;
179class TruncateRequestProtoDefaultTypeInternal {
180 public:
181 ::google::protobuf::internal::ExplicitlyConstructed<TruncateRequestProto>
182 _instance;
183} _TruncateRequestProto_default_instance_;
184class TruncateResponseProtoDefaultTypeInternal {
185 public:
186 ::google::protobuf::internal::ExplicitlyConstructed<TruncateResponseProto>
187 _instance;
188} _TruncateResponseProto_default_instance_;
189class GetLeaseRequestProtoDefaultTypeInternal {
190 public:
191 ::google::protobuf::internal::ExplicitlyConstructed<GetLeaseRequestProto>
192 _instance;
193} _GetLeaseRequestProto_default_instance_;
194class GetLeaseResponseProtoDefaultTypeInternal {
195 public:
196 ::google::protobuf::internal::ExplicitlyConstructed<GetLeaseResponseProto>
197 _instance;
198} _GetLeaseResponseProto_default_instance_;
199class ReleaseLeaseRequestProtoDefaultTypeInternal {
200 public:
201 ::google::protobuf::internal::ExplicitlyConstructed<ReleaseLeaseRequestProto>
202 _instance;
203} _ReleaseLeaseRequestProto_default_instance_;
204class ReleaseLeaseResponseProtoDefaultTypeInternal {
205 public:
206 ::google::protobuf::internal::ExplicitlyConstructed<ReleaseLeaseResponseProto>
207 _instance;
208} _ReleaseLeaseResponseProto_default_instance_;
209class RenameRequestProtoDefaultTypeInternal {
210 public:
211 ::google::protobuf::internal::ExplicitlyConstructed<RenameRequestProto>
212 _instance;
213} _RenameRequestProto_default_instance_;
214class RenameResponseProtoDefaultTypeInternal {
215 public:
216 ::google::protobuf::internal::ExplicitlyConstructed<RenameResponseProto>
217 _instance;
218} _RenameResponseProto_default_instance_;
219class Rename2RequestProtoDefaultTypeInternal {
220 public:
221 ::google::protobuf::internal::ExplicitlyConstructed<Rename2RequestProto>
222 _instance;
223} _Rename2RequestProto_default_instance_;
224class Rename2ResponseProtoDefaultTypeInternal {
225 public:
226 ::google::protobuf::internal::ExplicitlyConstructed<Rename2ResponseProto>
227 _instance;
228} _Rename2ResponseProto_default_instance_;
229class DeleteRequestProtoDefaultTypeInternal {
230 public:
231 ::google::protobuf::internal::ExplicitlyConstructed<DeleteRequestProto>
232 _instance;
233} _DeleteRequestProto_default_instance_;
234class DeleteResponseProtoDefaultTypeInternal {
235 public:
236 ::google::protobuf::internal::ExplicitlyConstructed<DeleteResponseProto>
237 _instance;
238} _DeleteResponseProto_default_instance_;
239class MkdirsRequestProtoDefaultTypeInternal {
240 public:
241 ::google::protobuf::internal::ExplicitlyConstructed<MkdirsRequestProto>
242 _instance;
243} _MkdirsRequestProto_default_instance_;
244class MkdirsResponseProtoDefaultTypeInternal {
245 public:
246 ::google::protobuf::internal::ExplicitlyConstructed<MkdirsResponseProto>
247 _instance;
248} _MkdirsResponseProto_default_instance_;
249class GetListingRequestProtoDefaultTypeInternal {
250 public:
251 ::google::protobuf::internal::ExplicitlyConstructed<GetListingRequestProto>
252 _instance;
253} _GetListingRequestProto_default_instance_;
254class GetListingResponseProtoDefaultTypeInternal {
255 public:
256 ::google::protobuf::internal::ExplicitlyConstructed<GetListingResponseProto>
257 _instance;
258} _GetListingResponseProto_default_instance_;
259class GetSnapshottableDirListingRequestProtoDefaultTypeInternal {
260 public:
261 ::google::protobuf::internal::ExplicitlyConstructed<GetSnapshottableDirListingRequestProto>
262 _instance;
263} _GetSnapshottableDirListingRequestProto_default_instance_;
264class GetSnapshottableDirListingResponseProtoDefaultTypeInternal {
265 public:
266 ::google::protobuf::internal::ExplicitlyConstructed<GetSnapshottableDirListingResponseProto>
267 _instance;
268} _GetSnapshottableDirListingResponseProto_default_instance_;
269class GetSnapshotDiffReportRequestProtoDefaultTypeInternal {
270 public:
271 ::google::protobuf::internal::ExplicitlyConstructed<GetSnapshotDiffReportRequestProto>
272 _instance;
273} _GetSnapshotDiffReportRequestProto_default_instance_;
274class GetSnapshotDiffReportResponseProtoDefaultTypeInternal {
275 public:
276 ::google::protobuf::internal::ExplicitlyConstructed<GetSnapshotDiffReportResponseProto>
277 _instance;
278} _GetSnapshotDiffReportResponseProto_default_instance_;
279class RenewLeaseRequestProtoDefaultTypeInternal {
280 public:
281 ::google::protobuf::internal::ExplicitlyConstructed<RenewLeaseRequestProto>
282 _instance;
283} _RenewLeaseRequestProto_default_instance_;
284class RenewLeaseResponseProtoDefaultTypeInternal {
285 public:
286 ::google::protobuf::internal::ExplicitlyConstructed<RenewLeaseResponseProto>
287 _instance;
288} _RenewLeaseResponseProto_default_instance_;
289class RecoverLeaseRequestProtoDefaultTypeInternal {
290 public:
291 ::google::protobuf::internal::ExplicitlyConstructed<RecoverLeaseRequestProto>
292 _instance;
293} _RecoverLeaseRequestProto_default_instance_;
294class RecoverLeaseResponseProtoDefaultTypeInternal {
295 public:
296 ::google::protobuf::internal::ExplicitlyConstructed<RecoverLeaseResponseProto>
297 _instance;
298} _RecoverLeaseResponseProto_default_instance_;
299class GetFsStatusRequestProtoDefaultTypeInternal {
300 public:
301 ::google::protobuf::internal::ExplicitlyConstructed<GetFsStatusRequestProto>
302 _instance;
303} _GetFsStatusRequestProto_default_instance_;
304class GetFsStatsResponseProtoDefaultTypeInternal {
305 public:
306 ::google::protobuf::internal::ExplicitlyConstructed<GetFsStatsResponseProto>
307 _instance;
308} _GetFsStatsResponseProto_default_instance_;
309class GetDatanodeReportRequestProtoDefaultTypeInternal {
310 public:
311 ::google::protobuf::internal::ExplicitlyConstructed<GetDatanodeReportRequestProto>
312 _instance;
313} _GetDatanodeReportRequestProto_default_instance_;
314class GetDatanodeReportResponseProtoDefaultTypeInternal {
315 public:
316 ::google::protobuf::internal::ExplicitlyConstructed<GetDatanodeReportResponseProto>
317 _instance;
318} _GetDatanodeReportResponseProto_default_instance_;
319class GetPreferredBlockSizeRequestProtoDefaultTypeInternal {
320 public:
321 ::google::protobuf::internal::ExplicitlyConstructed<GetPreferredBlockSizeRequestProto>
322 _instance;
323} _GetPreferredBlockSizeRequestProto_default_instance_;
324class GetPreferredBlockSizeResponseProtoDefaultTypeInternal {
325 public:
326 ::google::protobuf::internal::ExplicitlyConstructed<GetPreferredBlockSizeResponseProto>
327 _instance;
328} _GetPreferredBlockSizeResponseProto_default_instance_;
329class SetSafeModeRequestProtoDefaultTypeInternal {
330 public:
331 ::google::protobuf::internal::ExplicitlyConstructed<SetSafeModeRequestProto>
332 _instance;
333} _SetSafeModeRequestProto_default_instance_;
334class SetSafeModeResponseProtoDefaultTypeInternal {
335 public:
336 ::google::protobuf::internal::ExplicitlyConstructed<SetSafeModeResponseProto>
337 _instance;
338} _SetSafeModeResponseProto_default_instance_;
339class SaveNamespaceRequestProtoDefaultTypeInternal {
340 public:
341 ::google::protobuf::internal::ExplicitlyConstructed<SaveNamespaceRequestProto>
342 _instance;
343} _SaveNamespaceRequestProto_default_instance_;
344class SaveNamespaceResponseProtoDefaultTypeInternal {
345 public:
346 ::google::protobuf::internal::ExplicitlyConstructed<SaveNamespaceResponseProto>
347 _instance;
348} _SaveNamespaceResponseProto_default_instance_;
349class RollEditsRequestProtoDefaultTypeInternal {
350 public:
351 ::google::protobuf::internal::ExplicitlyConstructed<RollEditsRequestProto>
352 _instance;
353} _RollEditsRequestProto_default_instance_;
354class RollEditsResponseProtoDefaultTypeInternal {
355 public:
356 ::google::protobuf::internal::ExplicitlyConstructed<RollEditsResponseProto>
357 _instance;
358} _RollEditsResponseProto_default_instance_;
359class RestoreFailedStorageRequestProtoDefaultTypeInternal {
360 public:
361 ::google::protobuf::internal::ExplicitlyConstructed<RestoreFailedStorageRequestProto>
362 _instance;
363} _RestoreFailedStorageRequestProto_default_instance_;
364class RestoreFailedStorageResponseProtoDefaultTypeInternal {
365 public:
366 ::google::protobuf::internal::ExplicitlyConstructed<RestoreFailedStorageResponseProto>
367 _instance;
368} _RestoreFailedStorageResponseProto_default_instance_;
369class RefreshNodesRequestProtoDefaultTypeInternal {
370 public:
371 ::google::protobuf::internal::ExplicitlyConstructed<RefreshNodesRequestProto>
372 _instance;
373} _RefreshNodesRequestProto_default_instance_;
374class RefreshNodesResponseProtoDefaultTypeInternal {
375 public:
376 ::google::protobuf::internal::ExplicitlyConstructed<RefreshNodesResponseProto>
377 _instance;
378} _RefreshNodesResponseProto_default_instance_;
379class FinalizeUpgradeRequestProtoDefaultTypeInternal {
380 public:
381 ::google::protobuf::internal::ExplicitlyConstructed<FinalizeUpgradeRequestProto>
382 _instance;
383} _FinalizeUpgradeRequestProto_default_instance_;
384class FinalizeUpgradeResponseProtoDefaultTypeInternal {
385 public:
386 ::google::protobuf::internal::ExplicitlyConstructed<FinalizeUpgradeResponseProto>
387 _instance;
388} _FinalizeUpgradeResponseProto_default_instance_;
389class ListCorruptFileBlocksRequestProtoDefaultTypeInternal {
390 public:
391 ::google::protobuf::internal::ExplicitlyConstructed<ListCorruptFileBlocksRequestProto>
392 _instance;
393} _ListCorruptFileBlocksRequestProto_default_instance_;
394class ListCorruptFileBlocksResponseProtoDefaultTypeInternal {
395 public:
396 ::google::protobuf::internal::ExplicitlyConstructed<ListCorruptFileBlocksResponseProto>
397 _instance;
398} _ListCorruptFileBlocksResponseProto_default_instance_;
399class MetaSaveRequestProtoDefaultTypeInternal {
400 public:
401 ::google::protobuf::internal::ExplicitlyConstructed<MetaSaveRequestProto>
402 _instance;
403} _MetaSaveRequestProto_default_instance_;
404class MetaSaveResponseProtoDefaultTypeInternal {
405 public:
406 ::google::protobuf::internal::ExplicitlyConstructed<MetaSaveResponseProto>
407 _instance;
408} _MetaSaveResponseProto_default_instance_;
409class GetFileInfoRequestProtoDefaultTypeInternal {
410 public:
411 ::google::protobuf::internal::ExplicitlyConstructed<GetFileInfoRequestProto>
412 _instance;
413} _GetFileInfoRequestProto_default_instance_;
414class GetFileInfoResponseProtoDefaultTypeInternal {
415 public:
416 ::google::protobuf::internal::ExplicitlyConstructed<GetFileInfoResponseProto>
417 _instance;
418} _GetFileInfoResponseProto_default_instance_;
419class IsFileClosedRequestProtoDefaultTypeInternal {
420 public:
421 ::google::protobuf::internal::ExplicitlyConstructed<IsFileClosedRequestProto>
422 _instance;
423} _IsFileClosedRequestProto_default_instance_;
424class IsFileClosedResponseProtoDefaultTypeInternal {
425 public:
426 ::google::protobuf::internal::ExplicitlyConstructed<IsFileClosedResponseProto>
427 _instance;
428} _IsFileClosedResponseProto_default_instance_;
429class CacheDirectiveInfoProtoDefaultTypeInternal {
430 public:
431 ::google::protobuf::internal::ExplicitlyConstructed<CacheDirectiveInfoProto>
432 _instance;
433} _CacheDirectiveInfoProto_default_instance_;
434class CacheDirectiveInfoExpirationProtoDefaultTypeInternal {
435 public:
436 ::google::protobuf::internal::ExplicitlyConstructed<CacheDirectiveInfoExpirationProto>
437 _instance;
438} _CacheDirectiveInfoExpirationProto_default_instance_;
439class CacheDirectiveStatsProtoDefaultTypeInternal {
440 public:
441 ::google::protobuf::internal::ExplicitlyConstructed<CacheDirectiveStatsProto>
442 _instance;
443} _CacheDirectiveStatsProto_default_instance_;
444class AddCacheDirectiveRequestProtoDefaultTypeInternal {
445 public:
446 ::google::protobuf::internal::ExplicitlyConstructed<AddCacheDirectiveRequestProto>
447 _instance;
448} _AddCacheDirectiveRequestProto_default_instance_;
449class AddCacheDirectiveResponseProtoDefaultTypeInternal {
450 public:
451 ::google::protobuf::internal::ExplicitlyConstructed<AddCacheDirectiveResponseProto>
452 _instance;
453} _AddCacheDirectiveResponseProto_default_instance_;
454class ModifyCacheDirectiveRequestProtoDefaultTypeInternal {
455 public:
456 ::google::protobuf::internal::ExplicitlyConstructed<ModifyCacheDirectiveRequestProto>
457 _instance;
458} _ModifyCacheDirectiveRequestProto_default_instance_;
459class ModifyCacheDirectiveResponseProtoDefaultTypeInternal {
460 public:
461 ::google::protobuf::internal::ExplicitlyConstructed<ModifyCacheDirectiveResponseProto>
462 _instance;
463} _ModifyCacheDirectiveResponseProto_default_instance_;
464class RemoveCacheDirectiveRequestProtoDefaultTypeInternal {
465 public:
466 ::google::protobuf::internal::ExplicitlyConstructed<RemoveCacheDirectiveRequestProto>
467 _instance;
468} _RemoveCacheDirectiveRequestProto_default_instance_;
469class RemoveCacheDirectiveResponseProtoDefaultTypeInternal {
470 public:
471 ::google::protobuf::internal::ExplicitlyConstructed<RemoveCacheDirectiveResponseProto>
472 _instance;
473} _RemoveCacheDirectiveResponseProto_default_instance_;
474class ListCacheDirectivesRequestProtoDefaultTypeInternal {
475 public:
476 ::google::protobuf::internal::ExplicitlyConstructed<ListCacheDirectivesRequestProto>
477 _instance;
478} _ListCacheDirectivesRequestProto_default_instance_;
479class CacheDirectiveEntryProtoDefaultTypeInternal {
480 public:
481 ::google::protobuf::internal::ExplicitlyConstructed<CacheDirectiveEntryProto>
482 _instance;
483} _CacheDirectiveEntryProto_default_instance_;
484class ListCacheDirectivesResponseProtoDefaultTypeInternal {
485 public:
486 ::google::protobuf::internal::ExplicitlyConstructed<ListCacheDirectivesResponseProto>
487 _instance;
488} _ListCacheDirectivesResponseProto_default_instance_;
489class CachePoolInfoProtoDefaultTypeInternal {
490 public:
491 ::google::protobuf::internal::ExplicitlyConstructed<CachePoolInfoProto>
492 _instance;
493} _CachePoolInfoProto_default_instance_;
494class CachePoolStatsProtoDefaultTypeInternal {
495 public:
496 ::google::protobuf::internal::ExplicitlyConstructed<CachePoolStatsProto>
497 _instance;
498} _CachePoolStatsProto_default_instance_;
499class AddCachePoolRequestProtoDefaultTypeInternal {
500 public:
501 ::google::protobuf::internal::ExplicitlyConstructed<AddCachePoolRequestProto>
502 _instance;
503} _AddCachePoolRequestProto_default_instance_;
504class AddCachePoolResponseProtoDefaultTypeInternal {
505 public:
506 ::google::protobuf::internal::ExplicitlyConstructed<AddCachePoolResponseProto>
507 _instance;
508} _AddCachePoolResponseProto_default_instance_;
509class ModifyCachePoolRequestProtoDefaultTypeInternal {
510 public:
511 ::google::protobuf::internal::ExplicitlyConstructed<ModifyCachePoolRequestProto>
512 _instance;
513} _ModifyCachePoolRequestProto_default_instance_;
514class ModifyCachePoolResponseProtoDefaultTypeInternal {
515 public:
516 ::google::protobuf::internal::ExplicitlyConstructed<ModifyCachePoolResponseProto>
517 _instance;
518} _ModifyCachePoolResponseProto_default_instance_;
519class RemoveCachePoolRequestProtoDefaultTypeInternal {
520 public:
521 ::google::protobuf::internal::ExplicitlyConstructed<RemoveCachePoolRequestProto>
522 _instance;
523} _RemoveCachePoolRequestProto_default_instance_;
524class RemoveCachePoolResponseProtoDefaultTypeInternal {
525 public:
526 ::google::protobuf::internal::ExplicitlyConstructed<RemoveCachePoolResponseProto>
527 _instance;
528} _RemoveCachePoolResponseProto_default_instance_;
529class ListCachePoolsRequestProtoDefaultTypeInternal {
530 public:
531 ::google::protobuf::internal::ExplicitlyConstructed<ListCachePoolsRequestProto>
532 _instance;
533} _ListCachePoolsRequestProto_default_instance_;
534class ListCachePoolsResponseProtoDefaultTypeInternal {
535 public:
536 ::google::protobuf::internal::ExplicitlyConstructed<ListCachePoolsResponseProto>
537 _instance;
538} _ListCachePoolsResponseProto_default_instance_;
539class CachePoolEntryProtoDefaultTypeInternal {
540 public:
541 ::google::protobuf::internal::ExplicitlyConstructed<CachePoolEntryProto>
542 _instance;
543} _CachePoolEntryProto_default_instance_;
544class GetFileLinkInfoRequestProtoDefaultTypeInternal {
545 public:
546 ::google::protobuf::internal::ExplicitlyConstructed<GetFileLinkInfoRequestProto>
547 _instance;
548} _GetFileLinkInfoRequestProto_default_instance_;
549class GetFileLinkInfoResponseProtoDefaultTypeInternal {
550 public:
551 ::google::protobuf::internal::ExplicitlyConstructed<GetFileLinkInfoResponseProto>
552 _instance;
553} _GetFileLinkInfoResponseProto_default_instance_;
554class GetContentSummaryRequestProtoDefaultTypeInternal {
555 public:
556 ::google::protobuf::internal::ExplicitlyConstructed<GetContentSummaryRequestProto>
557 _instance;
558} _GetContentSummaryRequestProto_default_instance_;
559class GetContentSummaryResponseProtoDefaultTypeInternal {
560 public:
561 ::google::protobuf::internal::ExplicitlyConstructed<GetContentSummaryResponseProto>
562 _instance;
563} _GetContentSummaryResponseProto_default_instance_;
564class SetQuotaRequestProtoDefaultTypeInternal {
565 public:
566 ::google::protobuf::internal::ExplicitlyConstructed<SetQuotaRequestProto>
567 _instance;
568} _SetQuotaRequestProto_default_instance_;
569class SetQuotaResponseProtoDefaultTypeInternal {
570 public:
571 ::google::protobuf::internal::ExplicitlyConstructed<SetQuotaResponseProto>
572 _instance;
573} _SetQuotaResponseProto_default_instance_;
574class FsyncRequestProtoDefaultTypeInternal {
575 public:
576 ::google::protobuf::internal::ExplicitlyConstructed<FsyncRequestProto>
577 _instance;
578} _FsyncRequestProto_default_instance_;
579class FsyncResponseProtoDefaultTypeInternal {
580 public:
581 ::google::protobuf::internal::ExplicitlyConstructed<FsyncResponseProto>
582 _instance;
583} _FsyncResponseProto_default_instance_;
584class SetTimesRequestProtoDefaultTypeInternal {
585 public:
586 ::google::protobuf::internal::ExplicitlyConstructed<SetTimesRequestProto>
587 _instance;
588} _SetTimesRequestProto_default_instance_;
589class SetTimesResponseProtoDefaultTypeInternal {
590 public:
591 ::google::protobuf::internal::ExplicitlyConstructed<SetTimesResponseProto>
592 _instance;
593} _SetTimesResponseProto_default_instance_;
594class CreateSymlinkRequestProtoDefaultTypeInternal {
595 public:
596 ::google::protobuf::internal::ExplicitlyConstructed<CreateSymlinkRequestProto>
597 _instance;
598} _CreateSymlinkRequestProto_default_instance_;
599class CreateSymlinkResponseProtoDefaultTypeInternal {
600 public:
601 ::google::protobuf::internal::ExplicitlyConstructed<CreateSymlinkResponseProto>
602 _instance;
603} _CreateSymlinkResponseProto_default_instance_;
604class GetLinkTargetRequestProtoDefaultTypeInternal {
605 public:
606 ::google::protobuf::internal::ExplicitlyConstructed<GetLinkTargetRequestProto>
607 _instance;
608} _GetLinkTargetRequestProto_default_instance_;
609class GetLinkTargetResponseProtoDefaultTypeInternal {
610 public:
611 ::google::protobuf::internal::ExplicitlyConstructed<GetLinkTargetResponseProto>
612 _instance;
613} _GetLinkTargetResponseProto_default_instance_;
614class UpdateBlockForPipelineRequestProtoDefaultTypeInternal {
615 public:
616 ::google::protobuf::internal::ExplicitlyConstructed<UpdateBlockForPipelineRequestProto>
617 _instance;
618} _UpdateBlockForPipelineRequestProto_default_instance_;
619class UpdateBlockForPipelineResponseProtoDefaultTypeInternal {
620 public:
621 ::google::protobuf::internal::ExplicitlyConstructed<UpdateBlockForPipelineResponseProto>
622 _instance;
623} _UpdateBlockForPipelineResponseProto_default_instance_;
624class UpdatePipelineRequestProtoDefaultTypeInternal {
625 public:
626 ::google::protobuf::internal::ExplicitlyConstructed<UpdatePipelineRequestProto>
627 _instance;
628} _UpdatePipelineRequestProto_default_instance_;
629class UpdatePipelineResponseProtoDefaultTypeInternal {
630 public:
631 ::google::protobuf::internal::ExplicitlyConstructed<UpdatePipelineResponseProto>
632 _instance;
633} _UpdatePipelineResponseProto_default_instance_;
634class SetBalancerBandwidthRequestProtoDefaultTypeInternal {
635 public:
636 ::google::protobuf::internal::ExplicitlyConstructed<SetBalancerBandwidthRequestProto>
637 _instance;
638} _SetBalancerBandwidthRequestProto_default_instance_;
639class SetBalancerBandwidthResponseProtoDefaultTypeInternal {
640 public:
641 ::google::protobuf::internal::ExplicitlyConstructed<SetBalancerBandwidthResponseProto>
642 _instance;
643} _SetBalancerBandwidthResponseProto_default_instance_;
644class GetDataEncryptionKeyRequestProtoDefaultTypeInternal {
645 public:
646 ::google::protobuf::internal::ExplicitlyConstructed<GetDataEncryptionKeyRequestProto>
647 _instance;
648} _GetDataEncryptionKeyRequestProto_default_instance_;
649class GetDataEncryptionKeyResponseProtoDefaultTypeInternal {
650 public:
651 ::google::protobuf::internal::ExplicitlyConstructed<GetDataEncryptionKeyResponseProto>
652 _instance;
653} _GetDataEncryptionKeyResponseProto_default_instance_;
654class CreateSnapshotRequestProtoDefaultTypeInternal {
655 public:
656 ::google::protobuf::internal::ExplicitlyConstructed<CreateSnapshotRequestProto>
657 _instance;
658} _CreateSnapshotRequestProto_default_instance_;
659class CreateSnapshotResponseProtoDefaultTypeInternal {
660 public:
661 ::google::protobuf::internal::ExplicitlyConstructed<CreateSnapshotResponseProto>
662 _instance;
663} _CreateSnapshotResponseProto_default_instance_;
664class RenameSnapshotRequestProtoDefaultTypeInternal {
665 public:
666 ::google::protobuf::internal::ExplicitlyConstructed<RenameSnapshotRequestProto>
667 _instance;
668} _RenameSnapshotRequestProto_default_instance_;
669class RenameSnapshotResponseProtoDefaultTypeInternal {
670 public:
671 ::google::protobuf::internal::ExplicitlyConstructed<RenameSnapshotResponseProto>
672 _instance;
673} _RenameSnapshotResponseProto_default_instance_;
674class AllowSnapshotRequestProtoDefaultTypeInternal {
675 public:
676 ::google::protobuf::internal::ExplicitlyConstructed<AllowSnapshotRequestProto>
677 _instance;
678} _AllowSnapshotRequestProto_default_instance_;
679class AllowSnapshotResponseProtoDefaultTypeInternal {
680 public:
681 ::google::protobuf::internal::ExplicitlyConstructed<AllowSnapshotResponseProto>
682 _instance;
683} _AllowSnapshotResponseProto_default_instance_;
684class DisallowSnapshotRequestProtoDefaultTypeInternal {
685 public:
686 ::google::protobuf::internal::ExplicitlyConstructed<DisallowSnapshotRequestProto>
687 _instance;
688} _DisallowSnapshotRequestProto_default_instance_;
689class DisallowSnapshotResponseProtoDefaultTypeInternal {
690 public:
691 ::google::protobuf::internal::ExplicitlyConstructed<DisallowSnapshotResponseProto>
692 _instance;
693} _DisallowSnapshotResponseProto_default_instance_;
694class DeleteSnapshotRequestProtoDefaultTypeInternal {
695 public:
696 ::google::protobuf::internal::ExplicitlyConstructed<DeleteSnapshotRequestProto>
697 _instance;
698} _DeleteSnapshotRequestProto_default_instance_;
699class DeleteSnapshotResponseProtoDefaultTypeInternal {
700 public:
701 ::google::protobuf::internal::ExplicitlyConstructed<DeleteSnapshotResponseProto>
702 _instance;
703} _DeleteSnapshotResponseProto_default_instance_;
704} // namespace Internal
705} // namespace Hdfs
706namespace protobuf_ClientNamenodeProtocol_2eproto {
707static void InitDefaultsGetBlockLocationsRequestProto() {
708 GOOGLE_PROTOBUF_VERIFY_VERSION;
709
710 {
711 void* ptr = &::Hdfs::Internal::_GetBlockLocationsRequestProto_default_instance_;
712 new (ptr) ::Hdfs::Internal::GetBlockLocationsRequestProto();
713 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
714 }
715 ::Hdfs::Internal::GetBlockLocationsRequestProto::InitAsDefaultInstance();
716}
717
718::google::protobuf::internal::SCCInfo<0> scc_info_GetBlockLocationsRequestProto =
719 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetBlockLocationsRequestProto}, {}};
720
721static void InitDefaultsGetBlockLocationsResponseProto() {
722 GOOGLE_PROTOBUF_VERIFY_VERSION;
723
724 {
725 void* ptr = &::Hdfs::Internal::_GetBlockLocationsResponseProto_default_instance_;
726 new (ptr) ::Hdfs::Internal::GetBlockLocationsResponseProto();
727 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
728 }
729 ::Hdfs::Internal::GetBlockLocationsResponseProto::InitAsDefaultInstance();
730}
731
732::google::protobuf::internal::SCCInfo<1> scc_info_GetBlockLocationsResponseProto =
733 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetBlockLocationsResponseProto}, {
734 &protobuf_hdfs_2eproto::scc_info_LocatedBlocksProto.base,}};
735
736static void InitDefaultsGetServerDefaultsRequestProto() {
737 GOOGLE_PROTOBUF_VERIFY_VERSION;
738
739 {
740 void* ptr = &::Hdfs::Internal::_GetServerDefaultsRequestProto_default_instance_;
741 new (ptr) ::Hdfs::Internal::GetServerDefaultsRequestProto();
742 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
743 }
744 ::Hdfs::Internal::GetServerDefaultsRequestProto::InitAsDefaultInstance();
745}
746
747::google::protobuf::internal::SCCInfo<0> scc_info_GetServerDefaultsRequestProto =
748 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetServerDefaultsRequestProto}, {}};
749
750static void InitDefaultsGetServerDefaultsResponseProto() {
751 GOOGLE_PROTOBUF_VERIFY_VERSION;
752
753 {
754 void* ptr = &::Hdfs::Internal::_GetServerDefaultsResponseProto_default_instance_;
755 new (ptr) ::Hdfs::Internal::GetServerDefaultsResponseProto();
756 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
757 }
758 ::Hdfs::Internal::GetServerDefaultsResponseProto::InitAsDefaultInstance();
759}
760
761::google::protobuf::internal::SCCInfo<1> scc_info_GetServerDefaultsResponseProto =
762 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetServerDefaultsResponseProto}, {
763 &protobuf_hdfs_2eproto::scc_info_FsServerDefaultsProto.base,}};
764
765static void InitDefaultsCreateRequestProto() {
766 GOOGLE_PROTOBUF_VERIFY_VERSION;
767
768 {
769 void* ptr = &::Hdfs::Internal::_CreateRequestProto_default_instance_;
770 new (ptr) ::Hdfs::Internal::CreateRequestProto();
771 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
772 }
773 ::Hdfs::Internal::CreateRequestProto::InitAsDefaultInstance();
774}
775
776::google::protobuf::internal::SCCInfo<1> scc_info_CreateRequestProto =
777 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateRequestProto}, {
778 &protobuf_hdfs_2eproto::scc_info_FsPermissionProto.base,}};
779
780static void InitDefaultsCreateResponseProto() {
781 GOOGLE_PROTOBUF_VERIFY_VERSION;
782
783 {
784 void* ptr = &::Hdfs::Internal::_CreateResponseProto_default_instance_;
785 new (ptr) ::Hdfs::Internal::CreateResponseProto();
786 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
787 }
788 ::Hdfs::Internal::CreateResponseProto::InitAsDefaultInstance();
789}
790
791::google::protobuf::internal::SCCInfo<1> scc_info_CreateResponseProto =
792 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateResponseProto}, {
793 &protobuf_hdfs_2eproto::scc_info_HdfsFileStatusProto.base,}};
794
795static void InitDefaultsAppendRequestProto() {
796 GOOGLE_PROTOBUF_VERIFY_VERSION;
797
798 {
799 void* ptr = &::Hdfs::Internal::_AppendRequestProto_default_instance_;
800 new (ptr) ::Hdfs::Internal::AppendRequestProto();
801 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
802 }
803 ::Hdfs::Internal::AppendRequestProto::InitAsDefaultInstance();
804}
805
806::google::protobuf::internal::SCCInfo<0> scc_info_AppendRequestProto =
807 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAppendRequestProto}, {}};
808
809static void InitDefaultsAppendResponseProto() {
810 GOOGLE_PROTOBUF_VERIFY_VERSION;
811
812 {
813 void* ptr = &::Hdfs::Internal::_AppendResponseProto_default_instance_;
814 new (ptr) ::Hdfs::Internal::AppendResponseProto();
815 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
816 }
817 ::Hdfs::Internal::AppendResponseProto::InitAsDefaultInstance();
818}
819
820::google::protobuf::internal::SCCInfo<2> scc_info_AppendResponseProto =
821 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsAppendResponseProto}, {
822 &protobuf_hdfs_2eproto::scc_info_LocatedBlockProto.base,
823 &protobuf_hdfs_2eproto::scc_info_HdfsFileStatusProto.base,}};
824
825static void InitDefaultsSetReplicationRequestProto() {
826 GOOGLE_PROTOBUF_VERIFY_VERSION;
827
828 {
829 void* ptr = &::Hdfs::Internal::_SetReplicationRequestProto_default_instance_;
830 new (ptr) ::Hdfs::Internal::SetReplicationRequestProto();
831 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
832 }
833 ::Hdfs::Internal::SetReplicationRequestProto::InitAsDefaultInstance();
834}
835
836::google::protobuf::internal::SCCInfo<0> scc_info_SetReplicationRequestProto =
837 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetReplicationRequestProto}, {}};
838
839static void InitDefaultsSetReplicationResponseProto() {
840 GOOGLE_PROTOBUF_VERIFY_VERSION;
841
842 {
843 void* ptr = &::Hdfs::Internal::_SetReplicationResponseProto_default_instance_;
844 new (ptr) ::Hdfs::Internal::SetReplicationResponseProto();
845 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
846 }
847 ::Hdfs::Internal::SetReplicationResponseProto::InitAsDefaultInstance();
848}
849
850::google::protobuf::internal::SCCInfo<0> scc_info_SetReplicationResponseProto =
851 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetReplicationResponseProto}, {}};
852
853static void InitDefaultsSetPermissionRequestProto() {
854 GOOGLE_PROTOBUF_VERIFY_VERSION;
855
856 {
857 void* ptr = &::Hdfs::Internal::_SetPermissionRequestProto_default_instance_;
858 new (ptr) ::Hdfs::Internal::SetPermissionRequestProto();
859 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
860 }
861 ::Hdfs::Internal::SetPermissionRequestProto::InitAsDefaultInstance();
862}
863
864::google::protobuf::internal::SCCInfo<1> scc_info_SetPermissionRequestProto =
865 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSetPermissionRequestProto}, {
866 &protobuf_hdfs_2eproto::scc_info_FsPermissionProto.base,}};
867
868static void InitDefaultsSetPermissionResponseProto() {
869 GOOGLE_PROTOBUF_VERIFY_VERSION;
870
871 {
872 void* ptr = &::Hdfs::Internal::_SetPermissionResponseProto_default_instance_;
873 new (ptr) ::Hdfs::Internal::SetPermissionResponseProto();
874 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
875 }
876 ::Hdfs::Internal::SetPermissionResponseProto::InitAsDefaultInstance();
877}
878
879::google::protobuf::internal::SCCInfo<0> scc_info_SetPermissionResponseProto =
880 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetPermissionResponseProto}, {}};
881
882static void InitDefaultsSetOwnerRequestProto() {
883 GOOGLE_PROTOBUF_VERIFY_VERSION;
884
885 {
886 void* ptr = &::Hdfs::Internal::_SetOwnerRequestProto_default_instance_;
887 new (ptr) ::Hdfs::Internal::SetOwnerRequestProto();
888 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
889 }
890 ::Hdfs::Internal::SetOwnerRequestProto::InitAsDefaultInstance();
891}
892
893::google::protobuf::internal::SCCInfo<0> scc_info_SetOwnerRequestProto =
894 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetOwnerRequestProto}, {}};
895
896static void InitDefaultsSetOwnerResponseProto() {
897 GOOGLE_PROTOBUF_VERIFY_VERSION;
898
899 {
900 void* ptr = &::Hdfs::Internal::_SetOwnerResponseProto_default_instance_;
901 new (ptr) ::Hdfs::Internal::SetOwnerResponseProto();
902 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
903 }
904 ::Hdfs::Internal::SetOwnerResponseProto::InitAsDefaultInstance();
905}
906
907::google::protobuf::internal::SCCInfo<0> scc_info_SetOwnerResponseProto =
908 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetOwnerResponseProto}, {}};
909
910static void InitDefaultsAbandonBlockRequestProto() {
911 GOOGLE_PROTOBUF_VERIFY_VERSION;
912
913 {
914 void* ptr = &::Hdfs::Internal::_AbandonBlockRequestProto_default_instance_;
915 new (ptr) ::Hdfs::Internal::AbandonBlockRequestProto();
916 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
917 }
918 ::Hdfs::Internal::AbandonBlockRequestProto::InitAsDefaultInstance();
919}
920
921::google::protobuf::internal::SCCInfo<1> scc_info_AbandonBlockRequestProto =
922 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsAbandonBlockRequestProto}, {
923 &protobuf_hdfs_2eproto::scc_info_ExtendedBlockProto.base,}};
924
925static void InitDefaultsAbandonBlockResponseProto() {
926 GOOGLE_PROTOBUF_VERIFY_VERSION;
927
928 {
929 void* ptr = &::Hdfs::Internal::_AbandonBlockResponseProto_default_instance_;
930 new (ptr) ::Hdfs::Internal::AbandonBlockResponseProto();
931 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
932 }
933 ::Hdfs::Internal::AbandonBlockResponseProto::InitAsDefaultInstance();
934}
935
936::google::protobuf::internal::SCCInfo<0> scc_info_AbandonBlockResponseProto =
937 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAbandonBlockResponseProto}, {}};
938
939static void InitDefaultsAddBlockRequestProto() {
940 GOOGLE_PROTOBUF_VERIFY_VERSION;
941
942 {
943 void* ptr = &::Hdfs::Internal::_AddBlockRequestProto_default_instance_;
944 new (ptr) ::Hdfs::Internal::AddBlockRequestProto();
945 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
946 }
947 ::Hdfs::Internal::AddBlockRequestProto::InitAsDefaultInstance();
948}
949
950::google::protobuf::internal::SCCInfo<2> scc_info_AddBlockRequestProto =
951 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsAddBlockRequestProto}, {
952 &protobuf_hdfs_2eproto::scc_info_ExtendedBlockProto.base,
953 &protobuf_hdfs_2eproto::scc_info_DatanodeInfoProto.base,}};
954
955static void InitDefaultsAddBlockResponseProto() {
956 GOOGLE_PROTOBUF_VERIFY_VERSION;
957
958 {
959 void* ptr = &::Hdfs::Internal::_AddBlockResponseProto_default_instance_;
960 new (ptr) ::Hdfs::Internal::AddBlockResponseProto();
961 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
962 }
963 ::Hdfs::Internal::AddBlockResponseProto::InitAsDefaultInstance();
964}
965
966::google::protobuf::internal::SCCInfo<1> scc_info_AddBlockResponseProto =
967 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsAddBlockResponseProto}, {
968 &protobuf_hdfs_2eproto::scc_info_LocatedBlockProto.base,}};
969
970static void InitDefaultsGetAdditionalDatanodeRequestProto() {
971 GOOGLE_PROTOBUF_VERIFY_VERSION;
972
973 {
974 void* ptr = &::Hdfs::Internal::_GetAdditionalDatanodeRequestProto_default_instance_;
975 new (ptr) ::Hdfs::Internal::GetAdditionalDatanodeRequestProto();
976 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
977 }
978 ::Hdfs::Internal::GetAdditionalDatanodeRequestProto::InitAsDefaultInstance();
979}
980
981::google::protobuf::internal::SCCInfo<2> scc_info_GetAdditionalDatanodeRequestProto =
982 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsGetAdditionalDatanodeRequestProto}, {
983 &protobuf_hdfs_2eproto::scc_info_ExtendedBlockProto.base,
984 &protobuf_hdfs_2eproto::scc_info_DatanodeInfoProto.base,}};
985
986static void InitDefaultsGetAdditionalDatanodeResponseProto() {
987 GOOGLE_PROTOBUF_VERIFY_VERSION;
988
989 {
990 void* ptr = &::Hdfs::Internal::_GetAdditionalDatanodeResponseProto_default_instance_;
991 new (ptr) ::Hdfs::Internal::GetAdditionalDatanodeResponseProto();
992 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
993 }
994 ::Hdfs::Internal::GetAdditionalDatanodeResponseProto::InitAsDefaultInstance();
995}
996
997::google::protobuf::internal::SCCInfo<1> scc_info_GetAdditionalDatanodeResponseProto =
998 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetAdditionalDatanodeResponseProto}, {
999 &protobuf_hdfs_2eproto::scc_info_LocatedBlockProto.base,}};
1000
1001static void InitDefaultsCompleteRequestProto() {
1002 GOOGLE_PROTOBUF_VERIFY_VERSION;
1003
1004 {
1005 void* ptr = &::Hdfs::Internal::_CompleteRequestProto_default_instance_;
1006 new (ptr) ::Hdfs::Internal::CompleteRequestProto();
1007 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1008 }
1009 ::Hdfs::Internal::CompleteRequestProto::InitAsDefaultInstance();
1010}
1011
1012::google::protobuf::internal::SCCInfo<1> scc_info_CompleteRequestProto =
1013 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCompleteRequestProto}, {
1014 &protobuf_hdfs_2eproto::scc_info_ExtendedBlockProto.base,}};
1015
1016static void InitDefaultsCompleteResponseProto() {
1017 GOOGLE_PROTOBUF_VERIFY_VERSION;
1018
1019 {
1020 void* ptr = &::Hdfs::Internal::_CompleteResponseProto_default_instance_;
1021 new (ptr) ::Hdfs::Internal::CompleteResponseProto();
1022 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1023 }
1024 ::Hdfs::Internal::CompleteResponseProto::InitAsDefaultInstance();
1025}
1026
1027::google::protobuf::internal::SCCInfo<0> scc_info_CompleteResponseProto =
1028 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCompleteResponseProto}, {}};
1029
1030static void InitDefaultsReportBadBlocksRequestProto() {
1031 GOOGLE_PROTOBUF_VERIFY_VERSION;
1032
1033 {
1034 void* ptr = &::Hdfs::Internal::_ReportBadBlocksRequestProto_default_instance_;
1035 new (ptr) ::Hdfs::Internal::ReportBadBlocksRequestProto();
1036 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1037 }
1038 ::Hdfs::Internal::ReportBadBlocksRequestProto::InitAsDefaultInstance();
1039}
1040
1041::google::protobuf::internal::SCCInfo<1> scc_info_ReportBadBlocksRequestProto =
1042 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsReportBadBlocksRequestProto}, {
1043 &protobuf_hdfs_2eproto::scc_info_LocatedBlockProto.base,}};
1044
1045static void InitDefaultsReportBadBlocksResponseProto() {
1046 GOOGLE_PROTOBUF_VERIFY_VERSION;
1047
1048 {
1049 void* ptr = &::Hdfs::Internal::_ReportBadBlocksResponseProto_default_instance_;
1050 new (ptr) ::Hdfs::Internal::ReportBadBlocksResponseProto();
1051 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1052 }
1053 ::Hdfs::Internal::ReportBadBlocksResponseProto::InitAsDefaultInstance();
1054}
1055
1056::google::protobuf::internal::SCCInfo<0> scc_info_ReportBadBlocksResponseProto =
1057 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsReportBadBlocksResponseProto}, {}};
1058
1059static void InitDefaultsConcatRequestProto() {
1060 GOOGLE_PROTOBUF_VERIFY_VERSION;
1061
1062 {
1063 void* ptr = &::Hdfs::Internal::_ConcatRequestProto_default_instance_;
1064 new (ptr) ::Hdfs::Internal::ConcatRequestProto();
1065 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1066 }
1067 ::Hdfs::Internal::ConcatRequestProto::InitAsDefaultInstance();
1068}
1069
1070::google::protobuf::internal::SCCInfo<0> scc_info_ConcatRequestProto =
1071 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsConcatRequestProto}, {}};
1072
1073static void InitDefaultsConcatResponseProto() {
1074 GOOGLE_PROTOBUF_VERIFY_VERSION;
1075
1076 {
1077 void* ptr = &::Hdfs::Internal::_ConcatResponseProto_default_instance_;
1078 new (ptr) ::Hdfs::Internal::ConcatResponseProto();
1079 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1080 }
1081 ::Hdfs::Internal::ConcatResponseProto::InitAsDefaultInstance();
1082}
1083
1084::google::protobuf::internal::SCCInfo<0> scc_info_ConcatResponseProto =
1085 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsConcatResponseProto}, {}};
1086
1087static void InitDefaultsTruncateRequestProto() {
1088 GOOGLE_PROTOBUF_VERIFY_VERSION;
1089
1090 {
1091 void* ptr = &::Hdfs::Internal::_TruncateRequestProto_default_instance_;
1092 new (ptr) ::Hdfs::Internal::TruncateRequestProto();
1093 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1094 }
1095 ::Hdfs::Internal::TruncateRequestProto::InitAsDefaultInstance();
1096}
1097
1098::google::protobuf::internal::SCCInfo<0> scc_info_TruncateRequestProto =
1099 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTruncateRequestProto}, {}};
1100
1101static void InitDefaultsTruncateResponseProto() {
1102 GOOGLE_PROTOBUF_VERIFY_VERSION;
1103
1104 {
1105 void* ptr = &::Hdfs::Internal::_TruncateResponseProto_default_instance_;
1106 new (ptr) ::Hdfs::Internal::TruncateResponseProto();
1107 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1108 }
1109 ::Hdfs::Internal::TruncateResponseProto::InitAsDefaultInstance();
1110}
1111
1112::google::protobuf::internal::SCCInfo<0> scc_info_TruncateResponseProto =
1113 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTruncateResponseProto}, {}};
1114
1115static void InitDefaultsGetLeaseRequestProto() {
1116 GOOGLE_PROTOBUF_VERIFY_VERSION;
1117
1118 {
1119 void* ptr = &::Hdfs::Internal::_GetLeaseRequestProto_default_instance_;
1120 new (ptr) ::Hdfs::Internal::GetLeaseRequestProto();
1121 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1122 }
1123 ::Hdfs::Internal::GetLeaseRequestProto::InitAsDefaultInstance();
1124}
1125
1126::google::protobuf::internal::SCCInfo<0> scc_info_GetLeaseRequestProto =
1127 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetLeaseRequestProto}, {}};
1128
1129static void InitDefaultsGetLeaseResponseProto() {
1130 GOOGLE_PROTOBUF_VERIFY_VERSION;
1131
1132 {
1133 void* ptr = &::Hdfs::Internal::_GetLeaseResponseProto_default_instance_;
1134 new (ptr) ::Hdfs::Internal::GetLeaseResponseProto();
1135 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1136 }
1137 ::Hdfs::Internal::GetLeaseResponseProto::InitAsDefaultInstance();
1138}
1139
1140::google::protobuf::internal::SCCInfo<0> scc_info_GetLeaseResponseProto =
1141 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetLeaseResponseProto}, {}};
1142
1143static void InitDefaultsReleaseLeaseRequestProto() {
1144 GOOGLE_PROTOBUF_VERIFY_VERSION;
1145
1146 {
1147 void* ptr = &::Hdfs::Internal::_ReleaseLeaseRequestProto_default_instance_;
1148 new (ptr) ::Hdfs::Internal::ReleaseLeaseRequestProto();
1149 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1150 }
1151 ::Hdfs::Internal::ReleaseLeaseRequestProto::InitAsDefaultInstance();
1152}
1153
1154::google::protobuf::internal::SCCInfo<0> scc_info_ReleaseLeaseRequestProto =
1155 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsReleaseLeaseRequestProto}, {}};
1156
1157static void InitDefaultsReleaseLeaseResponseProto() {
1158 GOOGLE_PROTOBUF_VERIFY_VERSION;
1159
1160 {
1161 void* ptr = &::Hdfs::Internal::_ReleaseLeaseResponseProto_default_instance_;
1162 new (ptr) ::Hdfs::Internal::ReleaseLeaseResponseProto();
1163 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1164 }
1165 ::Hdfs::Internal::ReleaseLeaseResponseProto::InitAsDefaultInstance();
1166}
1167
1168::google::protobuf::internal::SCCInfo<0> scc_info_ReleaseLeaseResponseProto =
1169 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsReleaseLeaseResponseProto}, {}};
1170
1171static void InitDefaultsRenameRequestProto() {
1172 GOOGLE_PROTOBUF_VERIFY_VERSION;
1173
1174 {
1175 void* ptr = &::Hdfs::Internal::_RenameRequestProto_default_instance_;
1176 new (ptr) ::Hdfs::Internal::RenameRequestProto();
1177 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1178 }
1179 ::Hdfs::Internal::RenameRequestProto::InitAsDefaultInstance();
1180}
1181
1182::google::protobuf::internal::SCCInfo<0> scc_info_RenameRequestProto =
1183 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRenameRequestProto}, {}};
1184
1185static void InitDefaultsRenameResponseProto() {
1186 GOOGLE_PROTOBUF_VERIFY_VERSION;
1187
1188 {
1189 void* ptr = &::Hdfs::Internal::_RenameResponseProto_default_instance_;
1190 new (ptr) ::Hdfs::Internal::RenameResponseProto();
1191 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1192 }
1193 ::Hdfs::Internal::RenameResponseProto::InitAsDefaultInstance();
1194}
1195
1196::google::protobuf::internal::SCCInfo<0> scc_info_RenameResponseProto =
1197 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRenameResponseProto}, {}};
1198
1199static void InitDefaultsRename2RequestProto() {
1200 GOOGLE_PROTOBUF_VERIFY_VERSION;
1201
1202 {
1203 void* ptr = &::Hdfs::Internal::_Rename2RequestProto_default_instance_;
1204 new (ptr) ::Hdfs::Internal::Rename2RequestProto();
1205 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1206 }
1207 ::Hdfs::Internal::Rename2RequestProto::InitAsDefaultInstance();
1208}
1209
1210::google::protobuf::internal::SCCInfo<0> scc_info_Rename2RequestProto =
1211 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRename2RequestProto}, {}};
1212
1213static void InitDefaultsRename2ResponseProto() {
1214 GOOGLE_PROTOBUF_VERIFY_VERSION;
1215
1216 {
1217 void* ptr = &::Hdfs::Internal::_Rename2ResponseProto_default_instance_;
1218 new (ptr) ::Hdfs::Internal::Rename2ResponseProto();
1219 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1220 }
1221 ::Hdfs::Internal::Rename2ResponseProto::InitAsDefaultInstance();
1222}
1223
1224::google::protobuf::internal::SCCInfo<0> scc_info_Rename2ResponseProto =
1225 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRename2ResponseProto}, {}};
1226
1227static void InitDefaultsDeleteRequestProto() {
1228 GOOGLE_PROTOBUF_VERIFY_VERSION;
1229
1230 {
1231 void* ptr = &::Hdfs::Internal::_DeleteRequestProto_default_instance_;
1232 new (ptr) ::Hdfs::Internal::DeleteRequestProto();
1233 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1234 }
1235 ::Hdfs::Internal::DeleteRequestProto::InitAsDefaultInstance();
1236}
1237
1238::google::protobuf::internal::SCCInfo<0> scc_info_DeleteRequestProto =
1239 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeleteRequestProto}, {}};
1240
1241static void InitDefaultsDeleteResponseProto() {
1242 GOOGLE_PROTOBUF_VERIFY_VERSION;
1243
1244 {
1245 void* ptr = &::Hdfs::Internal::_DeleteResponseProto_default_instance_;
1246 new (ptr) ::Hdfs::Internal::DeleteResponseProto();
1247 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1248 }
1249 ::Hdfs::Internal::DeleteResponseProto::InitAsDefaultInstance();
1250}
1251
1252::google::protobuf::internal::SCCInfo<0> scc_info_DeleteResponseProto =
1253 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeleteResponseProto}, {}};
1254
1255static void InitDefaultsMkdirsRequestProto() {
1256 GOOGLE_PROTOBUF_VERIFY_VERSION;
1257
1258 {
1259 void* ptr = &::Hdfs::Internal::_MkdirsRequestProto_default_instance_;
1260 new (ptr) ::Hdfs::Internal::MkdirsRequestProto();
1261 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1262 }
1263 ::Hdfs::Internal::MkdirsRequestProto::InitAsDefaultInstance();
1264}
1265
1266::google::protobuf::internal::SCCInfo<1> scc_info_MkdirsRequestProto =
1267 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsMkdirsRequestProto}, {
1268 &protobuf_hdfs_2eproto::scc_info_FsPermissionProto.base,}};
1269
1270static void InitDefaultsMkdirsResponseProto() {
1271 GOOGLE_PROTOBUF_VERIFY_VERSION;
1272
1273 {
1274 void* ptr = &::Hdfs::Internal::_MkdirsResponseProto_default_instance_;
1275 new (ptr) ::Hdfs::Internal::MkdirsResponseProto();
1276 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1277 }
1278 ::Hdfs::Internal::MkdirsResponseProto::InitAsDefaultInstance();
1279}
1280
1281::google::protobuf::internal::SCCInfo<0> scc_info_MkdirsResponseProto =
1282 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsMkdirsResponseProto}, {}};
1283
1284static void InitDefaultsGetListingRequestProto() {
1285 GOOGLE_PROTOBUF_VERIFY_VERSION;
1286
1287 {
1288 void* ptr = &::Hdfs::Internal::_GetListingRequestProto_default_instance_;
1289 new (ptr) ::Hdfs::Internal::GetListingRequestProto();
1290 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1291 }
1292 ::Hdfs::Internal::GetListingRequestProto::InitAsDefaultInstance();
1293}
1294
1295::google::protobuf::internal::SCCInfo<0> scc_info_GetListingRequestProto =
1296 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetListingRequestProto}, {}};
1297
1298static void InitDefaultsGetListingResponseProto() {
1299 GOOGLE_PROTOBUF_VERIFY_VERSION;
1300
1301 {
1302 void* ptr = &::Hdfs::Internal::_GetListingResponseProto_default_instance_;
1303 new (ptr) ::Hdfs::Internal::GetListingResponseProto();
1304 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1305 }
1306 ::Hdfs::Internal::GetListingResponseProto::InitAsDefaultInstance();
1307}
1308
1309::google::protobuf::internal::SCCInfo<1> scc_info_GetListingResponseProto =
1310 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetListingResponseProto}, {
1311 &protobuf_hdfs_2eproto::scc_info_DirectoryListingProto.base,}};
1312
1313static void InitDefaultsGetSnapshottableDirListingRequestProto() {
1314 GOOGLE_PROTOBUF_VERIFY_VERSION;
1315
1316 {
1317 void* ptr = &::Hdfs::Internal::_GetSnapshottableDirListingRequestProto_default_instance_;
1318 new (ptr) ::Hdfs::Internal::GetSnapshottableDirListingRequestProto();
1319 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1320 }
1321 ::Hdfs::Internal::GetSnapshottableDirListingRequestProto::InitAsDefaultInstance();
1322}
1323
1324::google::protobuf::internal::SCCInfo<0> scc_info_GetSnapshottableDirListingRequestProto =
1325 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetSnapshottableDirListingRequestProto}, {}};
1326
1327static void InitDefaultsGetSnapshottableDirListingResponseProto() {
1328 GOOGLE_PROTOBUF_VERIFY_VERSION;
1329
1330 {
1331 void* ptr = &::Hdfs::Internal::_GetSnapshottableDirListingResponseProto_default_instance_;
1332 new (ptr) ::Hdfs::Internal::GetSnapshottableDirListingResponseProto();
1333 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1334 }
1335 ::Hdfs::Internal::GetSnapshottableDirListingResponseProto::InitAsDefaultInstance();
1336}
1337
1338::google::protobuf::internal::SCCInfo<1> scc_info_GetSnapshottableDirListingResponseProto =
1339 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetSnapshottableDirListingResponseProto}, {
1340 &protobuf_hdfs_2eproto::scc_info_SnapshottableDirectoryListingProto.base,}};
1341
1342static void InitDefaultsGetSnapshotDiffReportRequestProto() {
1343 GOOGLE_PROTOBUF_VERIFY_VERSION;
1344
1345 {
1346 void* ptr = &::Hdfs::Internal::_GetSnapshotDiffReportRequestProto_default_instance_;
1347 new (ptr) ::Hdfs::Internal::GetSnapshotDiffReportRequestProto();
1348 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1349 }
1350 ::Hdfs::Internal::GetSnapshotDiffReportRequestProto::InitAsDefaultInstance();
1351}
1352
1353::google::protobuf::internal::SCCInfo<0> scc_info_GetSnapshotDiffReportRequestProto =
1354 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetSnapshotDiffReportRequestProto}, {}};
1355
1356static void InitDefaultsGetSnapshotDiffReportResponseProto() {
1357 GOOGLE_PROTOBUF_VERIFY_VERSION;
1358
1359 {
1360 void* ptr = &::Hdfs::Internal::_GetSnapshotDiffReportResponseProto_default_instance_;
1361 new (ptr) ::Hdfs::Internal::GetSnapshotDiffReportResponseProto();
1362 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1363 }
1364 ::Hdfs::Internal::GetSnapshotDiffReportResponseProto::InitAsDefaultInstance();
1365}
1366
1367::google::protobuf::internal::SCCInfo<1> scc_info_GetSnapshotDiffReportResponseProto =
1368 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetSnapshotDiffReportResponseProto}, {
1369 &protobuf_hdfs_2eproto::scc_info_SnapshotDiffReportProto.base,}};
1370
1371static void InitDefaultsRenewLeaseRequestProto() {
1372 GOOGLE_PROTOBUF_VERIFY_VERSION;
1373
1374 {
1375 void* ptr = &::Hdfs::Internal::_RenewLeaseRequestProto_default_instance_;
1376 new (ptr) ::Hdfs::Internal::RenewLeaseRequestProto();
1377 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1378 }
1379 ::Hdfs::Internal::RenewLeaseRequestProto::InitAsDefaultInstance();
1380}
1381
1382::google::protobuf::internal::SCCInfo<0> scc_info_RenewLeaseRequestProto =
1383 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRenewLeaseRequestProto}, {}};
1384
1385static void InitDefaultsRenewLeaseResponseProto() {
1386 GOOGLE_PROTOBUF_VERIFY_VERSION;
1387
1388 {
1389 void* ptr = &::Hdfs::Internal::_RenewLeaseResponseProto_default_instance_;
1390 new (ptr) ::Hdfs::Internal::RenewLeaseResponseProto();
1391 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1392 }
1393 ::Hdfs::Internal::RenewLeaseResponseProto::InitAsDefaultInstance();
1394}
1395
1396::google::protobuf::internal::SCCInfo<0> scc_info_RenewLeaseResponseProto =
1397 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRenewLeaseResponseProto}, {}};
1398
1399static void InitDefaultsRecoverLeaseRequestProto() {
1400 GOOGLE_PROTOBUF_VERIFY_VERSION;
1401
1402 {
1403 void* ptr = &::Hdfs::Internal::_RecoverLeaseRequestProto_default_instance_;
1404 new (ptr) ::Hdfs::Internal::RecoverLeaseRequestProto();
1405 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1406 }
1407 ::Hdfs::Internal::RecoverLeaseRequestProto::InitAsDefaultInstance();
1408}
1409
1410::google::protobuf::internal::SCCInfo<0> scc_info_RecoverLeaseRequestProto =
1411 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRecoverLeaseRequestProto}, {}};
1412
1413static void InitDefaultsRecoverLeaseResponseProto() {
1414 GOOGLE_PROTOBUF_VERIFY_VERSION;
1415
1416 {
1417 void* ptr = &::Hdfs::Internal::_RecoverLeaseResponseProto_default_instance_;
1418 new (ptr) ::Hdfs::Internal::RecoverLeaseResponseProto();
1419 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1420 }
1421 ::Hdfs::Internal::RecoverLeaseResponseProto::InitAsDefaultInstance();
1422}
1423
1424::google::protobuf::internal::SCCInfo<0> scc_info_RecoverLeaseResponseProto =
1425 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRecoverLeaseResponseProto}, {}};
1426
1427static void InitDefaultsGetFsStatusRequestProto() {
1428 GOOGLE_PROTOBUF_VERIFY_VERSION;
1429
1430 {
1431 void* ptr = &::Hdfs::Internal::_GetFsStatusRequestProto_default_instance_;
1432 new (ptr) ::Hdfs::Internal::GetFsStatusRequestProto();
1433 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1434 }
1435 ::Hdfs::Internal::GetFsStatusRequestProto::InitAsDefaultInstance();
1436}
1437
1438::google::protobuf::internal::SCCInfo<0> scc_info_GetFsStatusRequestProto =
1439 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetFsStatusRequestProto}, {}};
1440
1441static void InitDefaultsGetFsStatsResponseProto() {
1442 GOOGLE_PROTOBUF_VERIFY_VERSION;
1443
1444 {
1445 void* ptr = &::Hdfs::Internal::_GetFsStatsResponseProto_default_instance_;
1446 new (ptr) ::Hdfs::Internal::GetFsStatsResponseProto();
1447 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1448 }
1449 ::Hdfs::Internal::GetFsStatsResponseProto::InitAsDefaultInstance();
1450}
1451
1452::google::protobuf::internal::SCCInfo<0> scc_info_GetFsStatsResponseProto =
1453 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetFsStatsResponseProto}, {}};
1454
1455static void InitDefaultsGetDatanodeReportRequestProto() {
1456 GOOGLE_PROTOBUF_VERIFY_VERSION;
1457
1458 {
1459 void* ptr = &::Hdfs::Internal::_GetDatanodeReportRequestProto_default_instance_;
1460 new (ptr) ::Hdfs::Internal::GetDatanodeReportRequestProto();
1461 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1462 }
1463 ::Hdfs::Internal::GetDatanodeReportRequestProto::InitAsDefaultInstance();
1464}
1465
1466::google::protobuf::internal::SCCInfo<0> scc_info_GetDatanodeReportRequestProto =
1467 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetDatanodeReportRequestProto}, {}};
1468
1469static void InitDefaultsGetDatanodeReportResponseProto() {
1470 GOOGLE_PROTOBUF_VERIFY_VERSION;
1471
1472 {
1473 void* ptr = &::Hdfs::Internal::_GetDatanodeReportResponseProto_default_instance_;
1474 new (ptr) ::Hdfs::Internal::GetDatanodeReportResponseProto();
1475 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1476 }
1477 ::Hdfs::Internal::GetDatanodeReportResponseProto::InitAsDefaultInstance();
1478}
1479
1480::google::protobuf::internal::SCCInfo<1> scc_info_GetDatanodeReportResponseProto =
1481 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetDatanodeReportResponseProto}, {
1482 &protobuf_hdfs_2eproto::scc_info_DatanodeInfoProto.base,}};
1483
1484static void InitDefaultsGetPreferredBlockSizeRequestProto() {
1485 GOOGLE_PROTOBUF_VERIFY_VERSION;
1486
1487 {
1488 void* ptr = &::Hdfs::Internal::_GetPreferredBlockSizeRequestProto_default_instance_;
1489 new (ptr) ::Hdfs::Internal::GetPreferredBlockSizeRequestProto();
1490 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1491 }
1492 ::Hdfs::Internal::GetPreferredBlockSizeRequestProto::InitAsDefaultInstance();
1493}
1494
1495::google::protobuf::internal::SCCInfo<0> scc_info_GetPreferredBlockSizeRequestProto =
1496 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetPreferredBlockSizeRequestProto}, {}};
1497
1498static void InitDefaultsGetPreferredBlockSizeResponseProto() {
1499 GOOGLE_PROTOBUF_VERIFY_VERSION;
1500
1501 {
1502 void* ptr = &::Hdfs::Internal::_GetPreferredBlockSizeResponseProto_default_instance_;
1503 new (ptr) ::Hdfs::Internal::GetPreferredBlockSizeResponseProto();
1504 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1505 }
1506 ::Hdfs::Internal::GetPreferredBlockSizeResponseProto::InitAsDefaultInstance();
1507}
1508
1509::google::protobuf::internal::SCCInfo<0> scc_info_GetPreferredBlockSizeResponseProto =
1510 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetPreferredBlockSizeResponseProto}, {}};
1511
1512static void InitDefaultsSetSafeModeRequestProto() {
1513 GOOGLE_PROTOBUF_VERIFY_VERSION;
1514
1515 {
1516 void* ptr = &::Hdfs::Internal::_SetSafeModeRequestProto_default_instance_;
1517 new (ptr) ::Hdfs::Internal::SetSafeModeRequestProto();
1518 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1519 }
1520 ::Hdfs::Internal::SetSafeModeRequestProto::InitAsDefaultInstance();
1521}
1522
1523::google::protobuf::internal::SCCInfo<0> scc_info_SetSafeModeRequestProto =
1524 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetSafeModeRequestProto}, {}};
1525
1526static void InitDefaultsSetSafeModeResponseProto() {
1527 GOOGLE_PROTOBUF_VERIFY_VERSION;
1528
1529 {
1530 void* ptr = &::Hdfs::Internal::_SetSafeModeResponseProto_default_instance_;
1531 new (ptr) ::Hdfs::Internal::SetSafeModeResponseProto();
1532 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1533 }
1534 ::Hdfs::Internal::SetSafeModeResponseProto::InitAsDefaultInstance();
1535}
1536
1537::google::protobuf::internal::SCCInfo<0> scc_info_SetSafeModeResponseProto =
1538 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetSafeModeResponseProto}, {}};
1539
1540static void InitDefaultsSaveNamespaceRequestProto() {
1541 GOOGLE_PROTOBUF_VERIFY_VERSION;
1542
1543 {
1544 void* ptr = &::Hdfs::Internal::_SaveNamespaceRequestProto_default_instance_;
1545 new (ptr) ::Hdfs::Internal::SaveNamespaceRequestProto();
1546 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1547 }
1548 ::Hdfs::Internal::SaveNamespaceRequestProto::InitAsDefaultInstance();
1549}
1550
1551::google::protobuf::internal::SCCInfo<0> scc_info_SaveNamespaceRequestProto =
1552 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSaveNamespaceRequestProto}, {}};
1553
1554static void InitDefaultsSaveNamespaceResponseProto() {
1555 GOOGLE_PROTOBUF_VERIFY_VERSION;
1556
1557 {
1558 void* ptr = &::Hdfs::Internal::_SaveNamespaceResponseProto_default_instance_;
1559 new (ptr) ::Hdfs::Internal::SaveNamespaceResponseProto();
1560 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1561 }
1562 ::Hdfs::Internal::SaveNamespaceResponseProto::InitAsDefaultInstance();
1563}
1564
1565::google::protobuf::internal::SCCInfo<0> scc_info_SaveNamespaceResponseProto =
1566 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSaveNamespaceResponseProto}, {}};
1567
1568static void InitDefaultsRollEditsRequestProto() {
1569 GOOGLE_PROTOBUF_VERIFY_VERSION;
1570
1571 {
1572 void* ptr = &::Hdfs::Internal::_RollEditsRequestProto_default_instance_;
1573 new (ptr) ::Hdfs::Internal::RollEditsRequestProto();
1574 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1575 }
1576 ::Hdfs::Internal::RollEditsRequestProto::InitAsDefaultInstance();
1577}
1578
1579::google::protobuf::internal::SCCInfo<0> scc_info_RollEditsRequestProto =
1580 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRollEditsRequestProto}, {}};
1581
1582static void InitDefaultsRollEditsResponseProto() {
1583 GOOGLE_PROTOBUF_VERIFY_VERSION;
1584
1585 {
1586 void* ptr = &::Hdfs::Internal::_RollEditsResponseProto_default_instance_;
1587 new (ptr) ::Hdfs::Internal::RollEditsResponseProto();
1588 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1589 }
1590 ::Hdfs::Internal::RollEditsResponseProto::InitAsDefaultInstance();
1591}
1592
1593::google::protobuf::internal::SCCInfo<0> scc_info_RollEditsResponseProto =
1594 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRollEditsResponseProto}, {}};
1595
1596static void InitDefaultsRestoreFailedStorageRequestProto() {
1597 GOOGLE_PROTOBUF_VERIFY_VERSION;
1598
1599 {
1600 void* ptr = &::Hdfs::Internal::_RestoreFailedStorageRequestProto_default_instance_;
1601 new (ptr) ::Hdfs::Internal::RestoreFailedStorageRequestProto();
1602 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1603 }
1604 ::Hdfs::Internal::RestoreFailedStorageRequestProto::InitAsDefaultInstance();
1605}
1606
1607::google::protobuf::internal::SCCInfo<0> scc_info_RestoreFailedStorageRequestProto =
1608 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRestoreFailedStorageRequestProto}, {}};
1609
1610static void InitDefaultsRestoreFailedStorageResponseProto() {
1611 GOOGLE_PROTOBUF_VERIFY_VERSION;
1612
1613 {
1614 void* ptr = &::Hdfs::Internal::_RestoreFailedStorageResponseProto_default_instance_;
1615 new (ptr) ::Hdfs::Internal::RestoreFailedStorageResponseProto();
1616 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1617 }
1618 ::Hdfs::Internal::RestoreFailedStorageResponseProto::InitAsDefaultInstance();
1619}
1620
1621::google::protobuf::internal::SCCInfo<0> scc_info_RestoreFailedStorageResponseProto =
1622 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRestoreFailedStorageResponseProto}, {}};
1623
1624static void InitDefaultsRefreshNodesRequestProto() {
1625 GOOGLE_PROTOBUF_VERIFY_VERSION;
1626
1627 {
1628 void* ptr = &::Hdfs::Internal::_RefreshNodesRequestProto_default_instance_;
1629 new (ptr) ::Hdfs::Internal::RefreshNodesRequestProto();
1630 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1631 }
1632 ::Hdfs::Internal::RefreshNodesRequestProto::InitAsDefaultInstance();
1633}
1634
1635::google::protobuf::internal::SCCInfo<0> scc_info_RefreshNodesRequestProto =
1636 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRefreshNodesRequestProto}, {}};
1637
1638static void InitDefaultsRefreshNodesResponseProto() {
1639 GOOGLE_PROTOBUF_VERIFY_VERSION;
1640
1641 {
1642 void* ptr = &::Hdfs::Internal::_RefreshNodesResponseProto_default_instance_;
1643 new (ptr) ::Hdfs::Internal::RefreshNodesResponseProto();
1644 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1645 }
1646 ::Hdfs::Internal::RefreshNodesResponseProto::InitAsDefaultInstance();
1647}
1648
1649::google::protobuf::internal::SCCInfo<0> scc_info_RefreshNodesResponseProto =
1650 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRefreshNodesResponseProto}, {}};
1651
1652static void InitDefaultsFinalizeUpgradeRequestProto() {
1653 GOOGLE_PROTOBUF_VERIFY_VERSION;
1654
1655 {
1656 void* ptr = &::Hdfs::Internal::_FinalizeUpgradeRequestProto_default_instance_;
1657 new (ptr) ::Hdfs::Internal::FinalizeUpgradeRequestProto();
1658 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1659 }
1660 ::Hdfs::Internal::FinalizeUpgradeRequestProto::InitAsDefaultInstance();
1661}
1662
1663::google::protobuf::internal::SCCInfo<0> scc_info_FinalizeUpgradeRequestProto =
1664 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsFinalizeUpgradeRequestProto}, {}};
1665
1666static void InitDefaultsFinalizeUpgradeResponseProto() {
1667 GOOGLE_PROTOBUF_VERIFY_VERSION;
1668
1669 {
1670 void* ptr = &::Hdfs::Internal::_FinalizeUpgradeResponseProto_default_instance_;
1671 new (ptr) ::Hdfs::Internal::FinalizeUpgradeResponseProto();
1672 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1673 }
1674 ::Hdfs::Internal::FinalizeUpgradeResponseProto::InitAsDefaultInstance();
1675}
1676
1677::google::protobuf::internal::SCCInfo<0> scc_info_FinalizeUpgradeResponseProto =
1678 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsFinalizeUpgradeResponseProto}, {}};
1679
1680static void InitDefaultsListCorruptFileBlocksRequestProto() {
1681 GOOGLE_PROTOBUF_VERIFY_VERSION;
1682
1683 {
1684 void* ptr = &::Hdfs::Internal::_ListCorruptFileBlocksRequestProto_default_instance_;
1685 new (ptr) ::Hdfs::Internal::ListCorruptFileBlocksRequestProto();
1686 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1687 }
1688 ::Hdfs::Internal::ListCorruptFileBlocksRequestProto::InitAsDefaultInstance();
1689}
1690
1691::google::protobuf::internal::SCCInfo<0> scc_info_ListCorruptFileBlocksRequestProto =
1692 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsListCorruptFileBlocksRequestProto}, {}};
1693
1694static void InitDefaultsListCorruptFileBlocksResponseProto() {
1695 GOOGLE_PROTOBUF_VERIFY_VERSION;
1696
1697 {
1698 void* ptr = &::Hdfs::Internal::_ListCorruptFileBlocksResponseProto_default_instance_;
1699 new (ptr) ::Hdfs::Internal::ListCorruptFileBlocksResponseProto();
1700 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1701 }
1702 ::Hdfs::Internal::ListCorruptFileBlocksResponseProto::InitAsDefaultInstance();
1703}
1704
1705::google::protobuf::internal::SCCInfo<1> scc_info_ListCorruptFileBlocksResponseProto =
1706 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsListCorruptFileBlocksResponseProto}, {
1707 &protobuf_hdfs_2eproto::scc_info_CorruptFileBlocksProto.base,}};
1708
1709static void InitDefaultsMetaSaveRequestProto() {
1710 GOOGLE_PROTOBUF_VERIFY_VERSION;
1711
1712 {
1713 void* ptr = &::Hdfs::Internal::_MetaSaveRequestProto_default_instance_;
1714 new (ptr) ::Hdfs::Internal::MetaSaveRequestProto();
1715 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1716 }
1717 ::Hdfs::Internal::MetaSaveRequestProto::InitAsDefaultInstance();
1718}
1719
1720::google::protobuf::internal::SCCInfo<0> scc_info_MetaSaveRequestProto =
1721 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsMetaSaveRequestProto}, {}};
1722
1723static void InitDefaultsMetaSaveResponseProto() {
1724 GOOGLE_PROTOBUF_VERIFY_VERSION;
1725
1726 {
1727 void* ptr = &::Hdfs::Internal::_MetaSaveResponseProto_default_instance_;
1728 new (ptr) ::Hdfs::Internal::MetaSaveResponseProto();
1729 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1730 }
1731 ::Hdfs::Internal::MetaSaveResponseProto::InitAsDefaultInstance();
1732}
1733
1734::google::protobuf::internal::SCCInfo<0> scc_info_MetaSaveResponseProto =
1735 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsMetaSaveResponseProto}, {}};
1736
1737static void InitDefaultsGetFileInfoRequestProto() {
1738 GOOGLE_PROTOBUF_VERIFY_VERSION;
1739
1740 {
1741 void* ptr = &::Hdfs::Internal::_GetFileInfoRequestProto_default_instance_;
1742 new (ptr) ::Hdfs::Internal::GetFileInfoRequestProto();
1743 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1744 }
1745 ::Hdfs::Internal::GetFileInfoRequestProto::InitAsDefaultInstance();
1746}
1747
1748::google::protobuf::internal::SCCInfo<0> scc_info_GetFileInfoRequestProto =
1749 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetFileInfoRequestProto}, {}};
1750
1751static void InitDefaultsGetFileInfoResponseProto() {
1752 GOOGLE_PROTOBUF_VERIFY_VERSION;
1753
1754 {
1755 void* ptr = &::Hdfs::Internal::_GetFileInfoResponseProto_default_instance_;
1756 new (ptr) ::Hdfs::Internal::GetFileInfoResponseProto();
1757 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1758 }
1759 ::Hdfs::Internal::GetFileInfoResponseProto::InitAsDefaultInstance();
1760}
1761
1762::google::protobuf::internal::SCCInfo<1> scc_info_GetFileInfoResponseProto =
1763 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetFileInfoResponseProto}, {
1764 &protobuf_hdfs_2eproto::scc_info_HdfsFileStatusProto.base,}};
1765
1766static void InitDefaultsIsFileClosedRequestProto() {
1767 GOOGLE_PROTOBUF_VERIFY_VERSION;
1768
1769 {
1770 void* ptr = &::Hdfs::Internal::_IsFileClosedRequestProto_default_instance_;
1771 new (ptr) ::Hdfs::Internal::IsFileClosedRequestProto();
1772 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1773 }
1774 ::Hdfs::Internal::IsFileClosedRequestProto::InitAsDefaultInstance();
1775}
1776
1777::google::protobuf::internal::SCCInfo<0> scc_info_IsFileClosedRequestProto =
1778 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsIsFileClosedRequestProto}, {}};
1779
1780static void InitDefaultsIsFileClosedResponseProto() {
1781 GOOGLE_PROTOBUF_VERIFY_VERSION;
1782
1783 {
1784 void* ptr = &::Hdfs::Internal::_IsFileClosedResponseProto_default_instance_;
1785 new (ptr) ::Hdfs::Internal::IsFileClosedResponseProto();
1786 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1787 }
1788 ::Hdfs::Internal::IsFileClosedResponseProto::InitAsDefaultInstance();
1789}
1790
1791::google::protobuf::internal::SCCInfo<0> scc_info_IsFileClosedResponseProto =
1792 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsIsFileClosedResponseProto}, {}};
1793
1794static void InitDefaultsCacheDirectiveInfoProto() {
1795 GOOGLE_PROTOBUF_VERIFY_VERSION;
1796
1797 {
1798 void* ptr = &::Hdfs::Internal::_CacheDirectiveInfoProto_default_instance_;
1799 new (ptr) ::Hdfs::Internal::CacheDirectiveInfoProto();
1800 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1801 }
1802 ::Hdfs::Internal::CacheDirectiveInfoProto::InitAsDefaultInstance();
1803}
1804
1805::google::protobuf::internal::SCCInfo<1> scc_info_CacheDirectiveInfoProto =
1806 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCacheDirectiveInfoProto}, {
1807 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveInfoExpirationProto.base,}};
1808
1809static void InitDefaultsCacheDirectiveInfoExpirationProto() {
1810 GOOGLE_PROTOBUF_VERIFY_VERSION;
1811
1812 {
1813 void* ptr = &::Hdfs::Internal::_CacheDirectiveInfoExpirationProto_default_instance_;
1814 new (ptr) ::Hdfs::Internal::CacheDirectiveInfoExpirationProto();
1815 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1816 }
1817 ::Hdfs::Internal::CacheDirectiveInfoExpirationProto::InitAsDefaultInstance();
1818}
1819
1820::google::protobuf::internal::SCCInfo<0> scc_info_CacheDirectiveInfoExpirationProto =
1821 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCacheDirectiveInfoExpirationProto}, {}};
1822
1823static void InitDefaultsCacheDirectiveStatsProto() {
1824 GOOGLE_PROTOBUF_VERIFY_VERSION;
1825
1826 {
1827 void* ptr = &::Hdfs::Internal::_CacheDirectiveStatsProto_default_instance_;
1828 new (ptr) ::Hdfs::Internal::CacheDirectiveStatsProto();
1829 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1830 }
1831 ::Hdfs::Internal::CacheDirectiveStatsProto::InitAsDefaultInstance();
1832}
1833
1834::google::protobuf::internal::SCCInfo<0> scc_info_CacheDirectiveStatsProto =
1835 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCacheDirectiveStatsProto}, {}};
1836
1837static void InitDefaultsAddCacheDirectiveRequestProto() {
1838 GOOGLE_PROTOBUF_VERIFY_VERSION;
1839
1840 {
1841 void* ptr = &::Hdfs::Internal::_AddCacheDirectiveRequestProto_default_instance_;
1842 new (ptr) ::Hdfs::Internal::AddCacheDirectiveRequestProto();
1843 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1844 }
1845 ::Hdfs::Internal::AddCacheDirectiveRequestProto::InitAsDefaultInstance();
1846}
1847
1848::google::protobuf::internal::SCCInfo<1> scc_info_AddCacheDirectiveRequestProto =
1849 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsAddCacheDirectiveRequestProto}, {
1850 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveInfoProto.base,}};
1851
1852static void InitDefaultsAddCacheDirectiveResponseProto() {
1853 GOOGLE_PROTOBUF_VERIFY_VERSION;
1854
1855 {
1856 void* ptr = &::Hdfs::Internal::_AddCacheDirectiveResponseProto_default_instance_;
1857 new (ptr) ::Hdfs::Internal::AddCacheDirectiveResponseProto();
1858 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1859 }
1860 ::Hdfs::Internal::AddCacheDirectiveResponseProto::InitAsDefaultInstance();
1861}
1862
1863::google::protobuf::internal::SCCInfo<0> scc_info_AddCacheDirectiveResponseProto =
1864 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAddCacheDirectiveResponseProto}, {}};
1865
1866static void InitDefaultsModifyCacheDirectiveRequestProto() {
1867 GOOGLE_PROTOBUF_VERIFY_VERSION;
1868
1869 {
1870 void* ptr = &::Hdfs::Internal::_ModifyCacheDirectiveRequestProto_default_instance_;
1871 new (ptr) ::Hdfs::Internal::ModifyCacheDirectiveRequestProto();
1872 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1873 }
1874 ::Hdfs::Internal::ModifyCacheDirectiveRequestProto::InitAsDefaultInstance();
1875}
1876
1877::google::protobuf::internal::SCCInfo<1> scc_info_ModifyCacheDirectiveRequestProto =
1878 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsModifyCacheDirectiveRequestProto}, {
1879 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveInfoProto.base,}};
1880
1881static void InitDefaultsModifyCacheDirectiveResponseProto() {
1882 GOOGLE_PROTOBUF_VERIFY_VERSION;
1883
1884 {
1885 void* ptr = &::Hdfs::Internal::_ModifyCacheDirectiveResponseProto_default_instance_;
1886 new (ptr) ::Hdfs::Internal::ModifyCacheDirectiveResponseProto();
1887 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1888 }
1889 ::Hdfs::Internal::ModifyCacheDirectiveResponseProto::InitAsDefaultInstance();
1890}
1891
1892::google::protobuf::internal::SCCInfo<0> scc_info_ModifyCacheDirectiveResponseProto =
1893 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsModifyCacheDirectiveResponseProto}, {}};
1894
1895static void InitDefaultsRemoveCacheDirectiveRequestProto() {
1896 GOOGLE_PROTOBUF_VERIFY_VERSION;
1897
1898 {
1899 void* ptr = &::Hdfs::Internal::_RemoveCacheDirectiveRequestProto_default_instance_;
1900 new (ptr) ::Hdfs::Internal::RemoveCacheDirectiveRequestProto();
1901 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1902 }
1903 ::Hdfs::Internal::RemoveCacheDirectiveRequestProto::InitAsDefaultInstance();
1904}
1905
1906::google::protobuf::internal::SCCInfo<0> scc_info_RemoveCacheDirectiveRequestProto =
1907 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRemoveCacheDirectiveRequestProto}, {}};
1908
1909static void InitDefaultsRemoveCacheDirectiveResponseProto() {
1910 GOOGLE_PROTOBUF_VERIFY_VERSION;
1911
1912 {
1913 void* ptr = &::Hdfs::Internal::_RemoveCacheDirectiveResponseProto_default_instance_;
1914 new (ptr) ::Hdfs::Internal::RemoveCacheDirectiveResponseProto();
1915 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1916 }
1917 ::Hdfs::Internal::RemoveCacheDirectiveResponseProto::InitAsDefaultInstance();
1918}
1919
1920::google::protobuf::internal::SCCInfo<0> scc_info_RemoveCacheDirectiveResponseProto =
1921 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRemoveCacheDirectiveResponseProto}, {}};
1922
1923static void InitDefaultsListCacheDirectivesRequestProto() {
1924 GOOGLE_PROTOBUF_VERIFY_VERSION;
1925
1926 {
1927 void* ptr = &::Hdfs::Internal::_ListCacheDirectivesRequestProto_default_instance_;
1928 new (ptr) ::Hdfs::Internal::ListCacheDirectivesRequestProto();
1929 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1930 }
1931 ::Hdfs::Internal::ListCacheDirectivesRequestProto::InitAsDefaultInstance();
1932}
1933
1934::google::protobuf::internal::SCCInfo<1> scc_info_ListCacheDirectivesRequestProto =
1935 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsListCacheDirectivesRequestProto}, {
1936 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveInfoProto.base,}};
1937
1938static void InitDefaultsCacheDirectiveEntryProto() {
1939 GOOGLE_PROTOBUF_VERIFY_VERSION;
1940
1941 {
1942 void* ptr = &::Hdfs::Internal::_CacheDirectiveEntryProto_default_instance_;
1943 new (ptr) ::Hdfs::Internal::CacheDirectiveEntryProto();
1944 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1945 }
1946 ::Hdfs::Internal::CacheDirectiveEntryProto::InitAsDefaultInstance();
1947}
1948
1949::google::protobuf::internal::SCCInfo<2> scc_info_CacheDirectiveEntryProto =
1950 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsCacheDirectiveEntryProto}, {
1951 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveInfoProto.base,
1952 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveStatsProto.base,}};
1953
1954static void InitDefaultsListCacheDirectivesResponseProto() {
1955 GOOGLE_PROTOBUF_VERIFY_VERSION;
1956
1957 {
1958 void* ptr = &::Hdfs::Internal::_ListCacheDirectivesResponseProto_default_instance_;
1959 new (ptr) ::Hdfs::Internal::ListCacheDirectivesResponseProto();
1960 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1961 }
1962 ::Hdfs::Internal::ListCacheDirectivesResponseProto::InitAsDefaultInstance();
1963}
1964
1965::google::protobuf::internal::SCCInfo<1> scc_info_ListCacheDirectivesResponseProto =
1966 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsListCacheDirectivesResponseProto}, {
1967 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveEntryProto.base,}};
1968
1969static void InitDefaultsCachePoolInfoProto() {
1970 GOOGLE_PROTOBUF_VERIFY_VERSION;
1971
1972 {
1973 void* ptr = &::Hdfs::Internal::_CachePoolInfoProto_default_instance_;
1974 new (ptr) ::Hdfs::Internal::CachePoolInfoProto();
1975 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1976 }
1977 ::Hdfs::Internal::CachePoolInfoProto::InitAsDefaultInstance();
1978}
1979
1980::google::protobuf::internal::SCCInfo<0> scc_info_CachePoolInfoProto =
1981 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCachePoolInfoProto}, {}};
1982
1983static void InitDefaultsCachePoolStatsProto() {
1984 GOOGLE_PROTOBUF_VERIFY_VERSION;
1985
1986 {
1987 void* ptr = &::Hdfs::Internal::_CachePoolStatsProto_default_instance_;
1988 new (ptr) ::Hdfs::Internal::CachePoolStatsProto();
1989 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
1990 }
1991 ::Hdfs::Internal::CachePoolStatsProto::InitAsDefaultInstance();
1992}
1993
1994::google::protobuf::internal::SCCInfo<0> scc_info_CachePoolStatsProto =
1995 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCachePoolStatsProto}, {}};
1996
1997static void InitDefaultsAddCachePoolRequestProto() {
1998 GOOGLE_PROTOBUF_VERIFY_VERSION;
1999
2000 {
2001 void* ptr = &::Hdfs::Internal::_AddCachePoolRequestProto_default_instance_;
2002 new (ptr) ::Hdfs::Internal::AddCachePoolRequestProto();
2003 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2004 }
2005 ::Hdfs::Internal::AddCachePoolRequestProto::InitAsDefaultInstance();
2006}
2007
2008::google::protobuf::internal::SCCInfo<1> scc_info_AddCachePoolRequestProto =
2009 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsAddCachePoolRequestProto}, {
2010 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CachePoolInfoProto.base,}};
2011
2012static void InitDefaultsAddCachePoolResponseProto() {
2013 GOOGLE_PROTOBUF_VERIFY_VERSION;
2014
2015 {
2016 void* ptr = &::Hdfs::Internal::_AddCachePoolResponseProto_default_instance_;
2017 new (ptr) ::Hdfs::Internal::AddCachePoolResponseProto();
2018 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2019 }
2020 ::Hdfs::Internal::AddCachePoolResponseProto::InitAsDefaultInstance();
2021}
2022
2023::google::protobuf::internal::SCCInfo<0> scc_info_AddCachePoolResponseProto =
2024 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAddCachePoolResponseProto}, {}};
2025
2026static void InitDefaultsModifyCachePoolRequestProto() {
2027 GOOGLE_PROTOBUF_VERIFY_VERSION;
2028
2029 {
2030 void* ptr = &::Hdfs::Internal::_ModifyCachePoolRequestProto_default_instance_;
2031 new (ptr) ::Hdfs::Internal::ModifyCachePoolRequestProto();
2032 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2033 }
2034 ::Hdfs::Internal::ModifyCachePoolRequestProto::InitAsDefaultInstance();
2035}
2036
2037::google::protobuf::internal::SCCInfo<1> scc_info_ModifyCachePoolRequestProto =
2038 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsModifyCachePoolRequestProto}, {
2039 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CachePoolInfoProto.base,}};
2040
2041static void InitDefaultsModifyCachePoolResponseProto() {
2042 GOOGLE_PROTOBUF_VERIFY_VERSION;
2043
2044 {
2045 void* ptr = &::Hdfs::Internal::_ModifyCachePoolResponseProto_default_instance_;
2046 new (ptr) ::Hdfs::Internal::ModifyCachePoolResponseProto();
2047 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2048 }
2049 ::Hdfs::Internal::ModifyCachePoolResponseProto::InitAsDefaultInstance();
2050}
2051
2052::google::protobuf::internal::SCCInfo<0> scc_info_ModifyCachePoolResponseProto =
2053 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsModifyCachePoolResponseProto}, {}};
2054
2055static void InitDefaultsRemoveCachePoolRequestProto() {
2056 GOOGLE_PROTOBUF_VERIFY_VERSION;
2057
2058 {
2059 void* ptr = &::Hdfs::Internal::_RemoveCachePoolRequestProto_default_instance_;
2060 new (ptr) ::Hdfs::Internal::RemoveCachePoolRequestProto();
2061 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2062 }
2063 ::Hdfs::Internal::RemoveCachePoolRequestProto::InitAsDefaultInstance();
2064}
2065
2066::google::protobuf::internal::SCCInfo<0> scc_info_RemoveCachePoolRequestProto =
2067 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRemoveCachePoolRequestProto}, {}};
2068
2069static void InitDefaultsRemoveCachePoolResponseProto() {
2070 GOOGLE_PROTOBUF_VERIFY_VERSION;
2071
2072 {
2073 void* ptr = &::Hdfs::Internal::_RemoveCachePoolResponseProto_default_instance_;
2074 new (ptr) ::Hdfs::Internal::RemoveCachePoolResponseProto();
2075 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2076 }
2077 ::Hdfs::Internal::RemoveCachePoolResponseProto::InitAsDefaultInstance();
2078}
2079
2080::google::protobuf::internal::SCCInfo<0> scc_info_RemoveCachePoolResponseProto =
2081 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRemoveCachePoolResponseProto}, {}};
2082
2083static void InitDefaultsListCachePoolsRequestProto() {
2084 GOOGLE_PROTOBUF_VERIFY_VERSION;
2085
2086 {
2087 void* ptr = &::Hdfs::Internal::_ListCachePoolsRequestProto_default_instance_;
2088 new (ptr) ::Hdfs::Internal::ListCachePoolsRequestProto();
2089 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2090 }
2091 ::Hdfs::Internal::ListCachePoolsRequestProto::InitAsDefaultInstance();
2092}
2093
2094::google::protobuf::internal::SCCInfo<0> scc_info_ListCachePoolsRequestProto =
2095 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsListCachePoolsRequestProto}, {}};
2096
2097static void InitDefaultsListCachePoolsResponseProto() {
2098 GOOGLE_PROTOBUF_VERIFY_VERSION;
2099
2100 {
2101 void* ptr = &::Hdfs::Internal::_ListCachePoolsResponseProto_default_instance_;
2102 new (ptr) ::Hdfs::Internal::ListCachePoolsResponseProto();
2103 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2104 }
2105 ::Hdfs::Internal::ListCachePoolsResponseProto::InitAsDefaultInstance();
2106}
2107
2108::google::protobuf::internal::SCCInfo<1> scc_info_ListCachePoolsResponseProto =
2109 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsListCachePoolsResponseProto}, {
2110 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CachePoolEntryProto.base,}};
2111
2112static void InitDefaultsCachePoolEntryProto() {
2113 GOOGLE_PROTOBUF_VERIFY_VERSION;
2114
2115 {
2116 void* ptr = &::Hdfs::Internal::_CachePoolEntryProto_default_instance_;
2117 new (ptr) ::Hdfs::Internal::CachePoolEntryProto();
2118 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2119 }
2120 ::Hdfs::Internal::CachePoolEntryProto::InitAsDefaultInstance();
2121}
2122
2123::google::protobuf::internal::SCCInfo<2> scc_info_CachePoolEntryProto =
2124 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsCachePoolEntryProto}, {
2125 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CachePoolInfoProto.base,
2126 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CachePoolStatsProto.base,}};
2127
2128static void InitDefaultsGetFileLinkInfoRequestProto() {
2129 GOOGLE_PROTOBUF_VERIFY_VERSION;
2130
2131 {
2132 void* ptr = &::Hdfs::Internal::_GetFileLinkInfoRequestProto_default_instance_;
2133 new (ptr) ::Hdfs::Internal::GetFileLinkInfoRequestProto();
2134 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2135 }
2136 ::Hdfs::Internal::GetFileLinkInfoRequestProto::InitAsDefaultInstance();
2137}
2138
2139::google::protobuf::internal::SCCInfo<0> scc_info_GetFileLinkInfoRequestProto =
2140 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetFileLinkInfoRequestProto}, {}};
2141
2142static void InitDefaultsGetFileLinkInfoResponseProto() {
2143 GOOGLE_PROTOBUF_VERIFY_VERSION;
2144
2145 {
2146 void* ptr = &::Hdfs::Internal::_GetFileLinkInfoResponseProto_default_instance_;
2147 new (ptr) ::Hdfs::Internal::GetFileLinkInfoResponseProto();
2148 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2149 }
2150 ::Hdfs::Internal::GetFileLinkInfoResponseProto::InitAsDefaultInstance();
2151}
2152
2153::google::protobuf::internal::SCCInfo<1> scc_info_GetFileLinkInfoResponseProto =
2154 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetFileLinkInfoResponseProto}, {
2155 &protobuf_hdfs_2eproto::scc_info_HdfsFileStatusProto.base,}};
2156
2157static void InitDefaultsGetContentSummaryRequestProto() {
2158 GOOGLE_PROTOBUF_VERIFY_VERSION;
2159
2160 {
2161 void* ptr = &::Hdfs::Internal::_GetContentSummaryRequestProto_default_instance_;
2162 new (ptr) ::Hdfs::Internal::GetContentSummaryRequestProto();
2163 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2164 }
2165 ::Hdfs::Internal::GetContentSummaryRequestProto::InitAsDefaultInstance();
2166}
2167
2168::google::protobuf::internal::SCCInfo<0> scc_info_GetContentSummaryRequestProto =
2169 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetContentSummaryRequestProto}, {}};
2170
2171static void InitDefaultsGetContentSummaryResponseProto() {
2172 GOOGLE_PROTOBUF_VERIFY_VERSION;
2173
2174 {
2175 void* ptr = &::Hdfs::Internal::_GetContentSummaryResponseProto_default_instance_;
2176 new (ptr) ::Hdfs::Internal::GetContentSummaryResponseProto();
2177 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2178 }
2179 ::Hdfs::Internal::GetContentSummaryResponseProto::InitAsDefaultInstance();
2180}
2181
2182::google::protobuf::internal::SCCInfo<1> scc_info_GetContentSummaryResponseProto =
2183 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetContentSummaryResponseProto}, {
2184 &protobuf_hdfs_2eproto::scc_info_ContentSummaryProto.base,}};
2185
2186static void InitDefaultsSetQuotaRequestProto() {
2187 GOOGLE_PROTOBUF_VERIFY_VERSION;
2188
2189 {
2190 void* ptr = &::Hdfs::Internal::_SetQuotaRequestProto_default_instance_;
2191 new (ptr) ::Hdfs::Internal::SetQuotaRequestProto();
2192 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2193 }
2194 ::Hdfs::Internal::SetQuotaRequestProto::InitAsDefaultInstance();
2195}
2196
2197::google::protobuf::internal::SCCInfo<0> scc_info_SetQuotaRequestProto =
2198 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetQuotaRequestProto}, {}};
2199
2200static void InitDefaultsSetQuotaResponseProto() {
2201 GOOGLE_PROTOBUF_VERIFY_VERSION;
2202
2203 {
2204 void* ptr = &::Hdfs::Internal::_SetQuotaResponseProto_default_instance_;
2205 new (ptr) ::Hdfs::Internal::SetQuotaResponseProto();
2206 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2207 }
2208 ::Hdfs::Internal::SetQuotaResponseProto::InitAsDefaultInstance();
2209}
2210
2211::google::protobuf::internal::SCCInfo<0> scc_info_SetQuotaResponseProto =
2212 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetQuotaResponseProto}, {}};
2213
2214static void InitDefaultsFsyncRequestProto() {
2215 GOOGLE_PROTOBUF_VERIFY_VERSION;
2216
2217 {
2218 void* ptr = &::Hdfs::Internal::_FsyncRequestProto_default_instance_;
2219 new (ptr) ::Hdfs::Internal::FsyncRequestProto();
2220 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2221 }
2222 ::Hdfs::Internal::FsyncRequestProto::InitAsDefaultInstance();
2223}
2224
2225::google::protobuf::internal::SCCInfo<0> scc_info_FsyncRequestProto =
2226 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsFsyncRequestProto}, {}};
2227
2228static void InitDefaultsFsyncResponseProto() {
2229 GOOGLE_PROTOBUF_VERIFY_VERSION;
2230
2231 {
2232 void* ptr = &::Hdfs::Internal::_FsyncResponseProto_default_instance_;
2233 new (ptr) ::Hdfs::Internal::FsyncResponseProto();
2234 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2235 }
2236 ::Hdfs::Internal::FsyncResponseProto::InitAsDefaultInstance();
2237}
2238
2239::google::protobuf::internal::SCCInfo<0> scc_info_FsyncResponseProto =
2240 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsFsyncResponseProto}, {}};
2241
2242static void InitDefaultsSetTimesRequestProto() {
2243 GOOGLE_PROTOBUF_VERIFY_VERSION;
2244
2245 {
2246 void* ptr = &::Hdfs::Internal::_SetTimesRequestProto_default_instance_;
2247 new (ptr) ::Hdfs::Internal::SetTimesRequestProto();
2248 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2249 }
2250 ::Hdfs::Internal::SetTimesRequestProto::InitAsDefaultInstance();
2251}
2252
2253::google::protobuf::internal::SCCInfo<0> scc_info_SetTimesRequestProto =
2254 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetTimesRequestProto}, {}};
2255
2256static void InitDefaultsSetTimesResponseProto() {
2257 GOOGLE_PROTOBUF_VERIFY_VERSION;
2258
2259 {
2260 void* ptr = &::Hdfs::Internal::_SetTimesResponseProto_default_instance_;
2261 new (ptr) ::Hdfs::Internal::SetTimesResponseProto();
2262 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2263 }
2264 ::Hdfs::Internal::SetTimesResponseProto::InitAsDefaultInstance();
2265}
2266
2267::google::protobuf::internal::SCCInfo<0> scc_info_SetTimesResponseProto =
2268 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetTimesResponseProto}, {}};
2269
2270static void InitDefaultsCreateSymlinkRequestProto() {
2271 GOOGLE_PROTOBUF_VERIFY_VERSION;
2272
2273 {
2274 void* ptr = &::Hdfs::Internal::_CreateSymlinkRequestProto_default_instance_;
2275 new (ptr) ::Hdfs::Internal::CreateSymlinkRequestProto();
2276 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2277 }
2278 ::Hdfs::Internal::CreateSymlinkRequestProto::InitAsDefaultInstance();
2279}
2280
2281::google::protobuf::internal::SCCInfo<1> scc_info_CreateSymlinkRequestProto =
2282 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateSymlinkRequestProto}, {
2283 &protobuf_hdfs_2eproto::scc_info_FsPermissionProto.base,}};
2284
2285static void InitDefaultsCreateSymlinkResponseProto() {
2286 GOOGLE_PROTOBUF_VERIFY_VERSION;
2287
2288 {
2289 void* ptr = &::Hdfs::Internal::_CreateSymlinkResponseProto_default_instance_;
2290 new (ptr) ::Hdfs::Internal::CreateSymlinkResponseProto();
2291 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2292 }
2293 ::Hdfs::Internal::CreateSymlinkResponseProto::InitAsDefaultInstance();
2294}
2295
2296::google::protobuf::internal::SCCInfo<0> scc_info_CreateSymlinkResponseProto =
2297 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCreateSymlinkResponseProto}, {}};
2298
2299static void InitDefaultsGetLinkTargetRequestProto() {
2300 GOOGLE_PROTOBUF_VERIFY_VERSION;
2301
2302 {
2303 void* ptr = &::Hdfs::Internal::_GetLinkTargetRequestProto_default_instance_;
2304 new (ptr) ::Hdfs::Internal::GetLinkTargetRequestProto();
2305 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2306 }
2307 ::Hdfs::Internal::GetLinkTargetRequestProto::InitAsDefaultInstance();
2308}
2309
2310::google::protobuf::internal::SCCInfo<0> scc_info_GetLinkTargetRequestProto =
2311 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetLinkTargetRequestProto}, {}};
2312
2313static void InitDefaultsGetLinkTargetResponseProto() {
2314 GOOGLE_PROTOBUF_VERIFY_VERSION;
2315
2316 {
2317 void* ptr = &::Hdfs::Internal::_GetLinkTargetResponseProto_default_instance_;
2318 new (ptr) ::Hdfs::Internal::GetLinkTargetResponseProto();
2319 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2320 }
2321 ::Hdfs::Internal::GetLinkTargetResponseProto::InitAsDefaultInstance();
2322}
2323
2324::google::protobuf::internal::SCCInfo<0> scc_info_GetLinkTargetResponseProto =
2325 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetLinkTargetResponseProto}, {}};
2326
2327static void InitDefaultsUpdateBlockForPipelineRequestProto() {
2328 GOOGLE_PROTOBUF_VERIFY_VERSION;
2329
2330 {
2331 void* ptr = &::Hdfs::Internal::_UpdateBlockForPipelineRequestProto_default_instance_;
2332 new (ptr) ::Hdfs::Internal::UpdateBlockForPipelineRequestProto();
2333 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2334 }
2335 ::Hdfs::Internal::UpdateBlockForPipelineRequestProto::InitAsDefaultInstance();
2336}
2337
2338::google::protobuf::internal::SCCInfo<1> scc_info_UpdateBlockForPipelineRequestProto =
2339 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsUpdateBlockForPipelineRequestProto}, {
2340 &protobuf_hdfs_2eproto::scc_info_ExtendedBlockProto.base,}};
2341
2342static void InitDefaultsUpdateBlockForPipelineResponseProto() {
2343 GOOGLE_PROTOBUF_VERIFY_VERSION;
2344
2345 {
2346 void* ptr = &::Hdfs::Internal::_UpdateBlockForPipelineResponseProto_default_instance_;
2347 new (ptr) ::Hdfs::Internal::UpdateBlockForPipelineResponseProto();
2348 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2349 }
2350 ::Hdfs::Internal::UpdateBlockForPipelineResponseProto::InitAsDefaultInstance();
2351}
2352
2353::google::protobuf::internal::SCCInfo<1> scc_info_UpdateBlockForPipelineResponseProto =
2354 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsUpdateBlockForPipelineResponseProto}, {
2355 &protobuf_hdfs_2eproto::scc_info_LocatedBlockProto.base,}};
2356
2357static void InitDefaultsUpdatePipelineRequestProto() {
2358 GOOGLE_PROTOBUF_VERIFY_VERSION;
2359
2360 {
2361 void* ptr = &::Hdfs::Internal::_UpdatePipelineRequestProto_default_instance_;
2362 new (ptr) ::Hdfs::Internal::UpdatePipelineRequestProto();
2363 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2364 }
2365 ::Hdfs::Internal::UpdatePipelineRequestProto::InitAsDefaultInstance();
2366}
2367
2368::google::protobuf::internal::SCCInfo<2> scc_info_UpdatePipelineRequestProto =
2369 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsUpdatePipelineRequestProto}, {
2370 &protobuf_hdfs_2eproto::scc_info_ExtendedBlockProto.base,
2371 &protobuf_hdfs_2eproto::scc_info_DatanodeIDProto.base,}};
2372
2373static void InitDefaultsUpdatePipelineResponseProto() {
2374 GOOGLE_PROTOBUF_VERIFY_VERSION;
2375
2376 {
2377 void* ptr = &::Hdfs::Internal::_UpdatePipelineResponseProto_default_instance_;
2378 new (ptr) ::Hdfs::Internal::UpdatePipelineResponseProto();
2379 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2380 }
2381 ::Hdfs::Internal::UpdatePipelineResponseProto::InitAsDefaultInstance();
2382}
2383
2384::google::protobuf::internal::SCCInfo<0> scc_info_UpdatePipelineResponseProto =
2385 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsUpdatePipelineResponseProto}, {}};
2386
2387static void InitDefaultsSetBalancerBandwidthRequestProto() {
2388 GOOGLE_PROTOBUF_VERIFY_VERSION;
2389
2390 {
2391 void* ptr = &::Hdfs::Internal::_SetBalancerBandwidthRequestProto_default_instance_;
2392 new (ptr) ::Hdfs::Internal::SetBalancerBandwidthRequestProto();
2393 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2394 }
2395 ::Hdfs::Internal::SetBalancerBandwidthRequestProto::InitAsDefaultInstance();
2396}
2397
2398::google::protobuf::internal::SCCInfo<0> scc_info_SetBalancerBandwidthRequestProto =
2399 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetBalancerBandwidthRequestProto}, {}};
2400
2401static void InitDefaultsSetBalancerBandwidthResponseProto() {
2402 GOOGLE_PROTOBUF_VERIFY_VERSION;
2403
2404 {
2405 void* ptr = &::Hdfs::Internal::_SetBalancerBandwidthResponseProto_default_instance_;
2406 new (ptr) ::Hdfs::Internal::SetBalancerBandwidthResponseProto();
2407 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2408 }
2409 ::Hdfs::Internal::SetBalancerBandwidthResponseProto::InitAsDefaultInstance();
2410}
2411
2412::google::protobuf::internal::SCCInfo<0> scc_info_SetBalancerBandwidthResponseProto =
2413 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetBalancerBandwidthResponseProto}, {}};
2414
2415static void InitDefaultsGetDataEncryptionKeyRequestProto() {
2416 GOOGLE_PROTOBUF_VERIFY_VERSION;
2417
2418 {
2419 void* ptr = &::Hdfs::Internal::_GetDataEncryptionKeyRequestProto_default_instance_;
2420 new (ptr) ::Hdfs::Internal::GetDataEncryptionKeyRequestProto();
2421 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2422 }
2423 ::Hdfs::Internal::GetDataEncryptionKeyRequestProto::InitAsDefaultInstance();
2424}
2425
2426::google::protobuf::internal::SCCInfo<0> scc_info_GetDataEncryptionKeyRequestProto =
2427 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetDataEncryptionKeyRequestProto}, {}};
2428
2429static void InitDefaultsGetDataEncryptionKeyResponseProto() {
2430 GOOGLE_PROTOBUF_VERIFY_VERSION;
2431
2432 {
2433 void* ptr = &::Hdfs::Internal::_GetDataEncryptionKeyResponseProto_default_instance_;
2434 new (ptr) ::Hdfs::Internal::GetDataEncryptionKeyResponseProto();
2435 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2436 }
2437 ::Hdfs::Internal::GetDataEncryptionKeyResponseProto::InitAsDefaultInstance();
2438}
2439
2440::google::protobuf::internal::SCCInfo<1> scc_info_GetDataEncryptionKeyResponseProto =
2441 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetDataEncryptionKeyResponseProto}, {
2442 &protobuf_hdfs_2eproto::scc_info_DataEncryptionKeyProto.base,}};
2443
2444static void InitDefaultsCreateSnapshotRequestProto() {
2445 GOOGLE_PROTOBUF_VERIFY_VERSION;
2446
2447 {
2448 void* ptr = &::Hdfs::Internal::_CreateSnapshotRequestProto_default_instance_;
2449 new (ptr) ::Hdfs::Internal::CreateSnapshotRequestProto();
2450 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2451 }
2452 ::Hdfs::Internal::CreateSnapshotRequestProto::InitAsDefaultInstance();
2453}
2454
2455::google::protobuf::internal::SCCInfo<0> scc_info_CreateSnapshotRequestProto =
2456 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCreateSnapshotRequestProto}, {}};
2457
2458static void InitDefaultsCreateSnapshotResponseProto() {
2459 GOOGLE_PROTOBUF_VERIFY_VERSION;
2460
2461 {
2462 void* ptr = &::Hdfs::Internal::_CreateSnapshotResponseProto_default_instance_;
2463 new (ptr) ::Hdfs::Internal::CreateSnapshotResponseProto();
2464 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2465 }
2466 ::Hdfs::Internal::CreateSnapshotResponseProto::InitAsDefaultInstance();
2467}
2468
2469::google::protobuf::internal::SCCInfo<0> scc_info_CreateSnapshotResponseProto =
2470 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCreateSnapshotResponseProto}, {}};
2471
2472static void InitDefaultsRenameSnapshotRequestProto() {
2473 GOOGLE_PROTOBUF_VERIFY_VERSION;
2474
2475 {
2476 void* ptr = &::Hdfs::Internal::_RenameSnapshotRequestProto_default_instance_;
2477 new (ptr) ::Hdfs::Internal::RenameSnapshotRequestProto();
2478 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2479 }
2480 ::Hdfs::Internal::RenameSnapshotRequestProto::InitAsDefaultInstance();
2481}
2482
2483::google::protobuf::internal::SCCInfo<0> scc_info_RenameSnapshotRequestProto =
2484 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRenameSnapshotRequestProto}, {}};
2485
2486static void InitDefaultsRenameSnapshotResponseProto() {
2487 GOOGLE_PROTOBUF_VERIFY_VERSION;
2488
2489 {
2490 void* ptr = &::Hdfs::Internal::_RenameSnapshotResponseProto_default_instance_;
2491 new (ptr) ::Hdfs::Internal::RenameSnapshotResponseProto();
2492 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2493 }
2494 ::Hdfs::Internal::RenameSnapshotResponseProto::InitAsDefaultInstance();
2495}
2496
2497::google::protobuf::internal::SCCInfo<0> scc_info_RenameSnapshotResponseProto =
2498 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRenameSnapshotResponseProto}, {}};
2499
2500static void InitDefaultsAllowSnapshotRequestProto() {
2501 GOOGLE_PROTOBUF_VERIFY_VERSION;
2502
2503 {
2504 void* ptr = &::Hdfs::Internal::_AllowSnapshotRequestProto_default_instance_;
2505 new (ptr) ::Hdfs::Internal::AllowSnapshotRequestProto();
2506 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2507 }
2508 ::Hdfs::Internal::AllowSnapshotRequestProto::InitAsDefaultInstance();
2509}
2510
2511::google::protobuf::internal::SCCInfo<0> scc_info_AllowSnapshotRequestProto =
2512 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAllowSnapshotRequestProto}, {}};
2513
2514static void InitDefaultsAllowSnapshotResponseProto() {
2515 GOOGLE_PROTOBUF_VERIFY_VERSION;
2516
2517 {
2518 void* ptr = &::Hdfs::Internal::_AllowSnapshotResponseProto_default_instance_;
2519 new (ptr) ::Hdfs::Internal::AllowSnapshotResponseProto();
2520 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2521 }
2522 ::Hdfs::Internal::AllowSnapshotResponseProto::InitAsDefaultInstance();
2523}
2524
2525::google::protobuf::internal::SCCInfo<0> scc_info_AllowSnapshotResponseProto =
2526 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAllowSnapshotResponseProto}, {}};
2527
2528static void InitDefaultsDisallowSnapshotRequestProto() {
2529 GOOGLE_PROTOBUF_VERIFY_VERSION;
2530
2531 {
2532 void* ptr = &::Hdfs::Internal::_DisallowSnapshotRequestProto_default_instance_;
2533 new (ptr) ::Hdfs::Internal::DisallowSnapshotRequestProto();
2534 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2535 }
2536 ::Hdfs::Internal::DisallowSnapshotRequestProto::InitAsDefaultInstance();
2537}
2538
2539::google::protobuf::internal::SCCInfo<0> scc_info_DisallowSnapshotRequestProto =
2540 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDisallowSnapshotRequestProto}, {}};
2541
2542static void InitDefaultsDisallowSnapshotResponseProto() {
2543 GOOGLE_PROTOBUF_VERIFY_VERSION;
2544
2545 {
2546 void* ptr = &::Hdfs::Internal::_DisallowSnapshotResponseProto_default_instance_;
2547 new (ptr) ::Hdfs::Internal::DisallowSnapshotResponseProto();
2548 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2549 }
2550 ::Hdfs::Internal::DisallowSnapshotResponseProto::InitAsDefaultInstance();
2551}
2552
2553::google::protobuf::internal::SCCInfo<0> scc_info_DisallowSnapshotResponseProto =
2554 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDisallowSnapshotResponseProto}, {}};
2555
2556static void InitDefaultsDeleteSnapshotRequestProto() {
2557 GOOGLE_PROTOBUF_VERIFY_VERSION;
2558
2559 {
2560 void* ptr = &::Hdfs::Internal::_DeleteSnapshotRequestProto_default_instance_;
2561 new (ptr) ::Hdfs::Internal::DeleteSnapshotRequestProto();
2562 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2563 }
2564 ::Hdfs::Internal::DeleteSnapshotRequestProto::InitAsDefaultInstance();
2565}
2566
2567::google::protobuf::internal::SCCInfo<0> scc_info_DeleteSnapshotRequestProto =
2568 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeleteSnapshotRequestProto}, {}};
2569
2570static void InitDefaultsDeleteSnapshotResponseProto() {
2571 GOOGLE_PROTOBUF_VERIFY_VERSION;
2572
2573 {
2574 void* ptr = &::Hdfs::Internal::_DeleteSnapshotResponseProto_default_instance_;
2575 new (ptr) ::Hdfs::Internal::DeleteSnapshotResponseProto();
2576 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
2577 }
2578 ::Hdfs::Internal::DeleteSnapshotResponseProto::InitAsDefaultInstance();
2579}
2580
2581::google::protobuf::internal::SCCInfo<0> scc_info_DeleteSnapshotResponseProto =
2582 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeleteSnapshotResponseProto}, {}};
2583
2584void InitDefaults() {
2585 ::google::protobuf::internal::InitSCC(&scc_info_GetBlockLocationsRequestProto.base);
2586 ::google::protobuf::internal::InitSCC(&scc_info_GetBlockLocationsResponseProto.base);
2587 ::google::protobuf::internal::InitSCC(&scc_info_GetServerDefaultsRequestProto.base);
2588 ::google::protobuf::internal::InitSCC(&scc_info_GetServerDefaultsResponseProto.base);
2589 ::google::protobuf::internal::InitSCC(&scc_info_CreateRequestProto.base);
2590 ::google::protobuf::internal::InitSCC(&scc_info_CreateResponseProto.base);
2591 ::google::protobuf::internal::InitSCC(&scc_info_AppendRequestProto.base);
2592 ::google::protobuf::internal::InitSCC(&scc_info_AppendResponseProto.base);
2593 ::google::protobuf::internal::InitSCC(&scc_info_SetReplicationRequestProto.base);
2594 ::google::protobuf::internal::InitSCC(&scc_info_SetReplicationResponseProto.base);
2595 ::google::protobuf::internal::InitSCC(&scc_info_SetPermissionRequestProto.base);
2596 ::google::protobuf::internal::InitSCC(&scc_info_SetPermissionResponseProto.base);
2597 ::google::protobuf::internal::InitSCC(&scc_info_SetOwnerRequestProto.base);
2598 ::google::protobuf::internal::InitSCC(&scc_info_SetOwnerResponseProto.base);
2599 ::google::protobuf::internal::InitSCC(&scc_info_AbandonBlockRequestProto.base);
2600 ::google::protobuf::internal::InitSCC(&scc_info_AbandonBlockResponseProto.base);
2601 ::google::protobuf::internal::InitSCC(&scc_info_AddBlockRequestProto.base);
2602 ::google::protobuf::internal::InitSCC(&scc_info_AddBlockResponseProto.base);
2603 ::google::protobuf::internal::InitSCC(&scc_info_GetAdditionalDatanodeRequestProto.base);
2604 ::google::protobuf::internal::InitSCC(&scc_info_GetAdditionalDatanodeResponseProto.base);
2605 ::google::protobuf::internal::InitSCC(&scc_info_CompleteRequestProto.base);
2606 ::google::protobuf::internal::InitSCC(&scc_info_CompleteResponseProto.base);
2607 ::google::protobuf::internal::InitSCC(&scc_info_ReportBadBlocksRequestProto.base);
2608 ::google::protobuf::internal::InitSCC(&scc_info_ReportBadBlocksResponseProto.base);
2609 ::google::protobuf::internal::InitSCC(&scc_info_ConcatRequestProto.base);
2610 ::google::protobuf::internal::InitSCC(&scc_info_ConcatResponseProto.base);
2611 ::google::protobuf::internal::InitSCC(&scc_info_TruncateRequestProto.base);
2612 ::google::protobuf::internal::InitSCC(&scc_info_TruncateResponseProto.base);
2613 ::google::protobuf::internal::InitSCC(&scc_info_GetLeaseRequestProto.base);
2614 ::google::protobuf::internal::InitSCC(&scc_info_GetLeaseResponseProto.base);
2615 ::google::protobuf::internal::InitSCC(&scc_info_ReleaseLeaseRequestProto.base);
2616 ::google::protobuf::internal::InitSCC(&scc_info_ReleaseLeaseResponseProto.base);
2617 ::google::protobuf::internal::InitSCC(&scc_info_RenameRequestProto.base);
2618 ::google::protobuf::internal::InitSCC(&scc_info_RenameResponseProto.base);
2619 ::google::protobuf::internal::InitSCC(&scc_info_Rename2RequestProto.base);
2620 ::google::protobuf::internal::InitSCC(&scc_info_Rename2ResponseProto.base);
2621 ::google::protobuf::internal::InitSCC(&scc_info_DeleteRequestProto.base);
2622 ::google::protobuf::internal::InitSCC(&scc_info_DeleteResponseProto.base);
2623 ::google::protobuf::internal::InitSCC(&scc_info_MkdirsRequestProto.base);
2624 ::google::protobuf::internal::InitSCC(&scc_info_MkdirsResponseProto.base);
2625 ::google::protobuf::internal::InitSCC(&scc_info_GetListingRequestProto.base);
2626 ::google::protobuf::internal::InitSCC(&scc_info_GetListingResponseProto.base);
2627 ::google::protobuf::internal::InitSCC(&scc_info_GetSnapshottableDirListingRequestProto.base);
2628 ::google::protobuf::internal::InitSCC(&scc_info_GetSnapshottableDirListingResponseProto.base);
2629 ::google::protobuf::internal::InitSCC(&scc_info_GetSnapshotDiffReportRequestProto.base);
2630 ::google::protobuf::internal::InitSCC(&scc_info_GetSnapshotDiffReportResponseProto.base);
2631 ::google::protobuf::internal::InitSCC(&scc_info_RenewLeaseRequestProto.base);
2632 ::google::protobuf::internal::InitSCC(&scc_info_RenewLeaseResponseProto.base);
2633 ::google::protobuf::internal::InitSCC(&scc_info_RecoverLeaseRequestProto.base);
2634 ::google::protobuf::internal::InitSCC(&scc_info_RecoverLeaseResponseProto.base);
2635 ::google::protobuf::internal::InitSCC(&scc_info_GetFsStatusRequestProto.base);
2636 ::google::protobuf::internal::InitSCC(&scc_info_GetFsStatsResponseProto.base);
2637 ::google::protobuf::internal::InitSCC(&scc_info_GetDatanodeReportRequestProto.base);
2638 ::google::protobuf::internal::InitSCC(&scc_info_GetDatanodeReportResponseProto.base);
2639 ::google::protobuf::internal::InitSCC(&scc_info_GetPreferredBlockSizeRequestProto.base);
2640 ::google::protobuf::internal::InitSCC(&scc_info_GetPreferredBlockSizeResponseProto.base);
2641 ::google::protobuf::internal::InitSCC(&scc_info_SetSafeModeRequestProto.base);
2642 ::google::protobuf::internal::InitSCC(&scc_info_SetSafeModeResponseProto.base);
2643 ::google::protobuf::internal::InitSCC(&scc_info_SaveNamespaceRequestProto.base);
2644 ::google::protobuf::internal::InitSCC(&scc_info_SaveNamespaceResponseProto.base);
2645 ::google::protobuf::internal::InitSCC(&scc_info_RollEditsRequestProto.base);
2646 ::google::protobuf::internal::InitSCC(&scc_info_RollEditsResponseProto.base);
2647 ::google::protobuf::internal::InitSCC(&scc_info_RestoreFailedStorageRequestProto.base);
2648 ::google::protobuf::internal::InitSCC(&scc_info_RestoreFailedStorageResponseProto.base);
2649 ::google::protobuf::internal::InitSCC(&scc_info_RefreshNodesRequestProto.base);
2650 ::google::protobuf::internal::InitSCC(&scc_info_RefreshNodesResponseProto.base);
2651 ::google::protobuf::internal::InitSCC(&scc_info_FinalizeUpgradeRequestProto.base);
2652 ::google::protobuf::internal::InitSCC(&scc_info_FinalizeUpgradeResponseProto.base);
2653 ::google::protobuf::internal::InitSCC(&scc_info_ListCorruptFileBlocksRequestProto.base);
2654 ::google::protobuf::internal::InitSCC(&scc_info_ListCorruptFileBlocksResponseProto.base);
2655 ::google::protobuf::internal::InitSCC(&scc_info_MetaSaveRequestProto.base);
2656 ::google::protobuf::internal::InitSCC(&scc_info_MetaSaveResponseProto.base);
2657 ::google::protobuf::internal::InitSCC(&scc_info_GetFileInfoRequestProto.base);
2658 ::google::protobuf::internal::InitSCC(&scc_info_GetFileInfoResponseProto.base);
2659 ::google::protobuf::internal::InitSCC(&scc_info_IsFileClosedRequestProto.base);
2660 ::google::protobuf::internal::InitSCC(&scc_info_IsFileClosedResponseProto.base);
2661 ::google::protobuf::internal::InitSCC(&scc_info_CacheDirectiveInfoProto.base);
2662 ::google::protobuf::internal::InitSCC(&scc_info_CacheDirectiveInfoExpirationProto.base);
2663 ::google::protobuf::internal::InitSCC(&scc_info_CacheDirectiveStatsProto.base);
2664 ::google::protobuf::internal::InitSCC(&scc_info_AddCacheDirectiveRequestProto.base);
2665 ::google::protobuf::internal::InitSCC(&scc_info_AddCacheDirectiveResponseProto.base);
2666 ::google::protobuf::internal::InitSCC(&scc_info_ModifyCacheDirectiveRequestProto.base);
2667 ::google::protobuf::internal::InitSCC(&scc_info_ModifyCacheDirectiveResponseProto.base);
2668 ::google::protobuf::internal::InitSCC(&scc_info_RemoveCacheDirectiveRequestProto.base);
2669 ::google::protobuf::internal::InitSCC(&scc_info_RemoveCacheDirectiveResponseProto.base);
2670 ::google::protobuf::internal::InitSCC(&scc_info_ListCacheDirectivesRequestProto.base);
2671 ::google::protobuf::internal::InitSCC(&scc_info_CacheDirectiveEntryProto.base);
2672 ::google::protobuf::internal::InitSCC(&scc_info_ListCacheDirectivesResponseProto.base);
2673 ::google::protobuf::internal::InitSCC(&scc_info_CachePoolInfoProto.base);
2674 ::google::protobuf::internal::InitSCC(&scc_info_CachePoolStatsProto.base);
2675 ::google::protobuf::internal::InitSCC(&scc_info_AddCachePoolRequestProto.base);
2676 ::google::protobuf::internal::InitSCC(&scc_info_AddCachePoolResponseProto.base);
2677 ::google::protobuf::internal::InitSCC(&scc_info_ModifyCachePoolRequestProto.base);
2678 ::google::protobuf::internal::InitSCC(&scc_info_ModifyCachePoolResponseProto.base);
2679 ::google::protobuf::internal::InitSCC(&scc_info_RemoveCachePoolRequestProto.base);
2680 ::google::protobuf::internal::InitSCC(&scc_info_RemoveCachePoolResponseProto.base);
2681 ::google::protobuf::internal::InitSCC(&scc_info_ListCachePoolsRequestProto.base);
2682 ::google::protobuf::internal::InitSCC(&scc_info_ListCachePoolsResponseProto.base);
2683 ::google::protobuf::internal::InitSCC(&scc_info_CachePoolEntryProto.base);
2684 ::google::protobuf::internal::InitSCC(&scc_info_GetFileLinkInfoRequestProto.base);
2685 ::google::protobuf::internal::InitSCC(&scc_info_GetFileLinkInfoResponseProto.base);
2686 ::google::protobuf::internal::InitSCC(&scc_info_GetContentSummaryRequestProto.base);
2687 ::google::protobuf::internal::InitSCC(&scc_info_GetContentSummaryResponseProto.base);
2688 ::google::protobuf::internal::InitSCC(&scc_info_SetQuotaRequestProto.base);
2689 ::google::protobuf::internal::InitSCC(&scc_info_SetQuotaResponseProto.base);
2690 ::google::protobuf::internal::InitSCC(&scc_info_FsyncRequestProto.base);
2691 ::google::protobuf::internal::InitSCC(&scc_info_FsyncResponseProto.base);
2692 ::google::protobuf::internal::InitSCC(&scc_info_SetTimesRequestProto.base);
2693 ::google::protobuf::internal::InitSCC(&scc_info_SetTimesResponseProto.base);
2694 ::google::protobuf::internal::InitSCC(&scc_info_CreateSymlinkRequestProto.base);
2695 ::google::protobuf::internal::InitSCC(&scc_info_CreateSymlinkResponseProto.base);
2696 ::google::protobuf::internal::InitSCC(&scc_info_GetLinkTargetRequestProto.base);
2697 ::google::protobuf::internal::InitSCC(&scc_info_GetLinkTargetResponseProto.base);
2698 ::google::protobuf::internal::InitSCC(&scc_info_UpdateBlockForPipelineRequestProto.base);
2699 ::google::protobuf::internal::InitSCC(&scc_info_UpdateBlockForPipelineResponseProto.base);
2700 ::google::protobuf::internal::InitSCC(&scc_info_UpdatePipelineRequestProto.base);
2701 ::google::protobuf::internal::InitSCC(&scc_info_UpdatePipelineResponseProto.base);
2702 ::google::protobuf::internal::InitSCC(&scc_info_SetBalancerBandwidthRequestProto.base);
2703 ::google::protobuf::internal::InitSCC(&scc_info_SetBalancerBandwidthResponseProto.base);
2704 ::google::protobuf::internal::InitSCC(&scc_info_GetDataEncryptionKeyRequestProto.base);
2705 ::google::protobuf::internal::InitSCC(&scc_info_GetDataEncryptionKeyResponseProto.base);
2706 ::google::protobuf::internal::InitSCC(&scc_info_CreateSnapshotRequestProto.base);
2707 ::google::protobuf::internal::InitSCC(&scc_info_CreateSnapshotResponseProto.base);
2708 ::google::protobuf::internal::InitSCC(&scc_info_RenameSnapshotRequestProto.base);
2709 ::google::protobuf::internal::InitSCC(&scc_info_RenameSnapshotResponseProto.base);
2710 ::google::protobuf::internal::InitSCC(&scc_info_AllowSnapshotRequestProto.base);
2711 ::google::protobuf::internal::InitSCC(&scc_info_AllowSnapshotResponseProto.base);
2712 ::google::protobuf::internal::InitSCC(&scc_info_DisallowSnapshotRequestProto.base);
2713 ::google::protobuf::internal::InitSCC(&scc_info_DisallowSnapshotResponseProto.base);
2714 ::google::protobuf::internal::InitSCC(&scc_info_DeleteSnapshotRequestProto.base);
2715 ::google::protobuf::internal::InitSCC(&scc_info_DeleteSnapshotResponseProto.base);
2716}
2717
2718::google::protobuf::Metadata file_level_metadata[131];
2719const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[4];
2720const ::google::protobuf::ServiceDescriptor* file_level_service_descriptors[1];
2721
2722const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
2723 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetBlockLocationsRequestProto, _has_bits_),
2724 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetBlockLocationsRequestProto, _internal_metadata_),
2725 ~0u, // no _extensions_
2726 ~0u, // no _oneof_case_
2727 ~0u, // no _weak_field_map_
2728 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetBlockLocationsRequestProto, src_),
2729 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetBlockLocationsRequestProto, offset_),
2730 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetBlockLocationsRequestProto, length_),
2731 0,
2732 1,
2733 2,
2734 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetBlockLocationsResponseProto, _has_bits_),
2735 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetBlockLocationsResponseProto, _internal_metadata_),
2736 ~0u, // no _extensions_
2737 ~0u, // no _oneof_case_
2738 ~0u, // no _weak_field_map_
2739 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetBlockLocationsResponseProto, locations_),
2740 0,
2741 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetServerDefaultsRequestProto, _has_bits_),
2742 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetServerDefaultsRequestProto, _internal_metadata_),
2743 ~0u, // no _extensions_
2744 ~0u, // no _oneof_case_
2745 ~0u, // no _weak_field_map_
2746 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetServerDefaultsResponseProto, _has_bits_),
2747 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetServerDefaultsResponseProto, _internal_metadata_),
2748 ~0u, // no _extensions_
2749 ~0u, // no _oneof_case_
2750 ~0u, // no _weak_field_map_
2751 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetServerDefaultsResponseProto, serverdefaults_),
2752 0,
2753 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateRequestProto, _has_bits_),
2754 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateRequestProto, _internal_metadata_),
2755 ~0u, // no _extensions_
2756 ~0u, // no _oneof_case_
2757 ~0u, // no _weak_field_map_
2758 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateRequestProto, src_),
2759 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateRequestProto, masked_),
2760 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateRequestProto, clientname_),
2761 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateRequestProto, createflag_),
2762 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateRequestProto, createparent_),
2763 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateRequestProto, replication_),
2764 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateRequestProto, blocksize_),
2765 0,
2766 2,
2767 1,
2768 3,
2769 4,
2770 6,
2771 5,
2772 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateResponseProto, _has_bits_),
2773 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateResponseProto, _internal_metadata_),
2774 ~0u, // no _extensions_
2775 ~0u, // no _oneof_case_
2776 ~0u, // no _weak_field_map_
2777 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateResponseProto, fs_),
2778 0,
2779 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AppendRequestProto, _has_bits_),
2780 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AppendRequestProto, _internal_metadata_),
2781 ~0u, // no _extensions_
2782 ~0u, // no _oneof_case_
2783 ~0u, // no _weak_field_map_
2784 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AppendRequestProto, src_),
2785 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AppendRequestProto, clientname_),
2786 0,
2787 1,
2788 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AppendResponseProto, _has_bits_),
2789 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AppendResponseProto, _internal_metadata_),
2790 ~0u, // no _extensions_
2791 ~0u, // no _oneof_case_
2792 ~0u, // no _weak_field_map_
2793 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AppendResponseProto, block_),
2794 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AppendResponseProto, stat_),
2795 0,
2796 1,
2797 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetReplicationRequestProto, _has_bits_),
2798 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetReplicationRequestProto, _internal_metadata_),
2799 ~0u, // no _extensions_
2800 ~0u, // no _oneof_case_
2801 ~0u, // no _weak_field_map_
2802 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetReplicationRequestProto, src_),
2803 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetReplicationRequestProto, replication_),
2804 0,
2805 1,
2806 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetReplicationResponseProto, _has_bits_),
2807 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetReplicationResponseProto, _internal_metadata_),
2808 ~0u, // no _extensions_
2809 ~0u, // no _oneof_case_
2810 ~0u, // no _weak_field_map_
2811 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetReplicationResponseProto, result_),
2812 0,
2813 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetPermissionRequestProto, _has_bits_),
2814 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetPermissionRequestProto, _internal_metadata_),
2815 ~0u, // no _extensions_
2816 ~0u, // no _oneof_case_
2817 ~0u, // no _weak_field_map_
2818 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetPermissionRequestProto, src_),
2819 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetPermissionRequestProto, permission_),
2820 0,
2821 1,
2822 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetPermissionResponseProto, _has_bits_),
2823 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetPermissionResponseProto, _internal_metadata_),
2824 ~0u, // no _extensions_
2825 ~0u, // no _oneof_case_
2826 ~0u, // no _weak_field_map_
2827 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetOwnerRequestProto, _has_bits_),
2828 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetOwnerRequestProto, _internal_metadata_),
2829 ~0u, // no _extensions_
2830 ~0u, // no _oneof_case_
2831 ~0u, // no _weak_field_map_
2832 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetOwnerRequestProto, src_),
2833 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetOwnerRequestProto, username_),
2834 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetOwnerRequestProto, groupname_),
2835 0,
2836 1,
2837 2,
2838 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetOwnerResponseProto, _has_bits_),
2839 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetOwnerResponseProto, _internal_metadata_),
2840 ~0u, // no _extensions_
2841 ~0u, // no _oneof_case_
2842 ~0u, // no _weak_field_map_
2843 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AbandonBlockRequestProto, _has_bits_),
2844 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AbandonBlockRequestProto, _internal_metadata_),
2845 ~0u, // no _extensions_
2846 ~0u, // no _oneof_case_
2847 ~0u, // no _weak_field_map_
2848 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AbandonBlockRequestProto, b_),
2849 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AbandonBlockRequestProto, src_),
2850 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AbandonBlockRequestProto, holder_),
2851 2,
2852 0,
2853 1,
2854 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AbandonBlockResponseProto, _has_bits_),
2855 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AbandonBlockResponseProto, _internal_metadata_),
2856 ~0u, // no _extensions_
2857 ~0u, // no _oneof_case_
2858 ~0u, // no _weak_field_map_
2859 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddBlockRequestProto, _has_bits_),
2860 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddBlockRequestProto, _internal_metadata_),
2861 ~0u, // no _extensions_
2862 ~0u, // no _oneof_case_
2863 ~0u, // no _weak_field_map_
2864 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddBlockRequestProto, src_),
2865 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddBlockRequestProto, clientname_),
2866 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddBlockRequestProto, previous_),
2867 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddBlockRequestProto, excludenodes_),
2868 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddBlockRequestProto, fileid_),
2869 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddBlockRequestProto, favorednodes_),
2870 0,
2871 1,
2872 2,
2873 ~0u,
2874 3,
2875 ~0u,
2876 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddBlockResponseProto, _has_bits_),
2877 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddBlockResponseProto, _internal_metadata_),
2878 ~0u, // no _extensions_
2879 ~0u, // no _oneof_case_
2880 ~0u, // no _weak_field_map_
2881 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddBlockResponseProto, block_),
2882 0,
2883 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetAdditionalDatanodeRequestProto, _has_bits_),
2884 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetAdditionalDatanodeRequestProto, _internal_metadata_),
2885 ~0u, // no _extensions_
2886 ~0u, // no _oneof_case_
2887 ~0u, // no _weak_field_map_
2888 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetAdditionalDatanodeRequestProto, src_),
2889 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetAdditionalDatanodeRequestProto, blk_),
2890 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetAdditionalDatanodeRequestProto, existings_),
2891 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetAdditionalDatanodeRequestProto, excludes_),
2892 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetAdditionalDatanodeRequestProto, numadditionalnodes_),
2893 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetAdditionalDatanodeRequestProto, clientname_),
2894 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetAdditionalDatanodeRequestProto, existingstorageuuids_),
2895 0,
2896 2,
2897 ~0u,
2898 ~0u,
2899 3,
2900 1,
2901 ~0u,
2902 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetAdditionalDatanodeResponseProto, _has_bits_),
2903 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetAdditionalDatanodeResponseProto, _internal_metadata_),
2904 ~0u, // no _extensions_
2905 ~0u, // no _oneof_case_
2906 ~0u, // no _weak_field_map_
2907 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetAdditionalDatanodeResponseProto, block_),
2908 0,
2909 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CompleteRequestProto, _has_bits_),
2910 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CompleteRequestProto, _internal_metadata_),
2911 ~0u, // no _extensions_
2912 ~0u, // no _oneof_case_
2913 ~0u, // no _weak_field_map_
2914 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CompleteRequestProto, src_),
2915 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CompleteRequestProto, clientname_),
2916 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CompleteRequestProto, last_),
2917 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CompleteRequestProto, fileid_),
2918 0,
2919 1,
2920 2,
2921 3,
2922 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CompleteResponseProto, _has_bits_),
2923 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CompleteResponseProto, _internal_metadata_),
2924 ~0u, // no _extensions_
2925 ~0u, // no _oneof_case_
2926 ~0u, // no _weak_field_map_
2927 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CompleteResponseProto, result_),
2928 0,
2929 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ReportBadBlocksRequestProto, _has_bits_),
2930 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ReportBadBlocksRequestProto, _internal_metadata_),
2931 ~0u, // no _extensions_
2932 ~0u, // no _oneof_case_
2933 ~0u, // no _weak_field_map_
2934 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ReportBadBlocksRequestProto, blocks_),
2935 ~0u,
2936 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ReportBadBlocksResponseProto, _has_bits_),
2937 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ReportBadBlocksResponseProto, _internal_metadata_),
2938 ~0u, // no _extensions_
2939 ~0u, // no _oneof_case_
2940 ~0u, // no _weak_field_map_
2941 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ConcatRequestProto, _has_bits_),
2942 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ConcatRequestProto, _internal_metadata_),
2943 ~0u, // no _extensions_
2944 ~0u, // no _oneof_case_
2945 ~0u, // no _weak_field_map_
2946 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ConcatRequestProto, trg_),
2947 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ConcatRequestProto, srcs_),
2948 0,
2949 ~0u,
2950 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ConcatResponseProto, _has_bits_),
2951 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ConcatResponseProto, _internal_metadata_),
2952 ~0u, // no _extensions_
2953 ~0u, // no _oneof_case_
2954 ~0u, // no _weak_field_map_
2955 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::TruncateRequestProto, _has_bits_),
2956 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::TruncateRequestProto, _internal_metadata_),
2957 ~0u, // no _extensions_
2958 ~0u, // no _oneof_case_
2959 ~0u, // no _weak_field_map_
2960 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::TruncateRequestProto, src_),
2961 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::TruncateRequestProto, newlength_),
2962 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::TruncateRequestProto, clientname_),
2963 0,
2964 2,
2965 1,
2966 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::TruncateResponseProto, _has_bits_),
2967 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::TruncateResponseProto, _internal_metadata_),
2968 ~0u, // no _extensions_
2969 ~0u, // no _oneof_case_
2970 ~0u, // no _weak_field_map_
2971 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::TruncateResponseProto, result_),
2972 0,
2973 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetLeaseRequestProto, _has_bits_),
2974 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetLeaseRequestProto, _internal_metadata_),
2975 ~0u, // no _extensions_
2976 ~0u, // no _oneof_case_
2977 ~0u, // no _weak_field_map_
2978 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetLeaseRequestProto, src_),
2979 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetLeaseRequestProto, clientname_),
2980 0,
2981 1,
2982 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetLeaseResponseProto, _has_bits_),
2983 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetLeaseResponseProto, _internal_metadata_),
2984 ~0u, // no _extensions_
2985 ~0u, // no _oneof_case_
2986 ~0u, // no _weak_field_map_
2987 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ReleaseLeaseRequestProto, _has_bits_),
2988 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ReleaseLeaseRequestProto, _internal_metadata_),
2989 ~0u, // no _extensions_
2990 ~0u, // no _oneof_case_
2991 ~0u, // no _weak_field_map_
2992 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ReleaseLeaseRequestProto, src_),
2993 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ReleaseLeaseRequestProto, clientname_),
2994 0,
2995 1,
2996 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ReleaseLeaseResponseProto, _has_bits_),
2997 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ReleaseLeaseResponseProto, _internal_metadata_),
2998 ~0u, // no _extensions_
2999 ~0u, // no _oneof_case_
3000 ~0u, // no _weak_field_map_
3001 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameRequestProto, _has_bits_),
3002 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameRequestProto, _internal_metadata_),
3003 ~0u, // no _extensions_
3004 ~0u, // no _oneof_case_
3005 ~0u, // no _weak_field_map_
3006 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameRequestProto, src_),
3007 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameRequestProto, dst_),
3008 0,
3009 1,
3010 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameResponseProto, _has_bits_),
3011 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameResponseProto, _internal_metadata_),
3012 ~0u, // no _extensions_
3013 ~0u, // no _oneof_case_
3014 ~0u, // no _weak_field_map_
3015 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameResponseProto, result_),
3016 0,
3017 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::Rename2RequestProto, _has_bits_),
3018 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::Rename2RequestProto, _internal_metadata_),
3019 ~0u, // no _extensions_
3020 ~0u, // no _oneof_case_
3021 ~0u, // no _weak_field_map_
3022 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::Rename2RequestProto, src_),
3023 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::Rename2RequestProto, dst_),
3024 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::Rename2RequestProto, overwritedest_),
3025 0,
3026 1,
3027 2,
3028 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::Rename2ResponseProto, _has_bits_),
3029 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::Rename2ResponseProto, _internal_metadata_),
3030 ~0u, // no _extensions_
3031 ~0u, // no _oneof_case_
3032 ~0u, // no _weak_field_map_
3033 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DeleteRequestProto, _has_bits_),
3034 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DeleteRequestProto, _internal_metadata_),
3035 ~0u, // no _extensions_
3036 ~0u, // no _oneof_case_
3037 ~0u, // no _weak_field_map_
3038 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DeleteRequestProto, src_),
3039 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DeleteRequestProto, recursive_),
3040 0,
3041 1,
3042 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DeleteResponseProto, _has_bits_),
3043 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DeleteResponseProto, _internal_metadata_),
3044 ~0u, // no _extensions_
3045 ~0u, // no _oneof_case_
3046 ~0u, // no _weak_field_map_
3047 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DeleteResponseProto, result_),
3048 0,
3049 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::MkdirsRequestProto, _has_bits_),
3050 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::MkdirsRequestProto, _internal_metadata_),
3051 ~0u, // no _extensions_
3052 ~0u, // no _oneof_case_
3053 ~0u, // no _weak_field_map_
3054 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::MkdirsRequestProto, src_),
3055 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::MkdirsRequestProto, masked_),
3056 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::MkdirsRequestProto, createparent_),
3057 0,
3058 1,
3059 2,
3060 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::MkdirsResponseProto, _has_bits_),
3061 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::MkdirsResponseProto, _internal_metadata_),
3062 ~0u, // no _extensions_
3063 ~0u, // no _oneof_case_
3064 ~0u, // no _weak_field_map_
3065 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::MkdirsResponseProto, result_),
3066 0,
3067 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetListingRequestProto, _has_bits_),
3068 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetListingRequestProto, _internal_metadata_),
3069 ~0u, // no _extensions_
3070 ~0u, // no _oneof_case_
3071 ~0u, // no _weak_field_map_
3072 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetListingRequestProto, src_),
3073 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetListingRequestProto, startafter_),
3074 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetListingRequestProto, needlocation_),
3075 0,
3076 1,
3077 2,
3078 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetListingResponseProto, _has_bits_),
3079 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetListingResponseProto, _internal_metadata_),
3080 ~0u, // no _extensions_
3081 ~0u, // no _oneof_case_
3082 ~0u, // no _weak_field_map_
3083 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetListingResponseProto, dirlist_),
3084 0,
3085 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetSnapshottableDirListingRequestProto, _has_bits_),
3086 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetSnapshottableDirListingRequestProto, _internal_metadata_),
3087 ~0u, // no _extensions_
3088 ~0u, // no _oneof_case_
3089 ~0u, // no _weak_field_map_
3090 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetSnapshottableDirListingResponseProto, _has_bits_),
3091 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetSnapshottableDirListingResponseProto, _internal_metadata_),
3092 ~0u, // no _extensions_
3093 ~0u, // no _oneof_case_
3094 ~0u, // no _weak_field_map_
3095 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetSnapshottableDirListingResponseProto, snapshottabledirlist_),
3096 0,
3097 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetSnapshotDiffReportRequestProto, _has_bits_),
3098 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetSnapshotDiffReportRequestProto, _internal_metadata_),
3099 ~0u, // no _extensions_
3100 ~0u, // no _oneof_case_
3101 ~0u, // no _weak_field_map_
3102 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetSnapshotDiffReportRequestProto, snapshotroot_),
3103 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetSnapshotDiffReportRequestProto, fromsnapshot_),
3104 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetSnapshotDiffReportRequestProto, tosnapshot_),
3105 0,
3106 1,
3107 2,
3108 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetSnapshotDiffReportResponseProto, _has_bits_),
3109 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetSnapshotDiffReportResponseProto, _internal_metadata_),
3110 ~0u, // no _extensions_
3111 ~0u, // no _oneof_case_
3112 ~0u, // no _weak_field_map_
3113 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetSnapshotDiffReportResponseProto, diffreport_),
3114 0,
3115 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenewLeaseRequestProto, _has_bits_),
3116 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenewLeaseRequestProto, _internal_metadata_),
3117 ~0u, // no _extensions_
3118 ~0u, // no _oneof_case_
3119 ~0u, // no _weak_field_map_
3120 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenewLeaseRequestProto, clientname_),
3121 0,
3122 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenewLeaseResponseProto, _has_bits_),
3123 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenewLeaseResponseProto, _internal_metadata_),
3124 ~0u, // no _extensions_
3125 ~0u, // no _oneof_case_
3126 ~0u, // no _weak_field_map_
3127 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RecoverLeaseRequestProto, _has_bits_),
3128 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RecoverLeaseRequestProto, _internal_metadata_),
3129 ~0u, // no _extensions_
3130 ~0u, // no _oneof_case_
3131 ~0u, // no _weak_field_map_
3132 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RecoverLeaseRequestProto, src_),
3133 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RecoverLeaseRequestProto, clientname_),
3134 0,
3135 1,
3136 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RecoverLeaseResponseProto, _has_bits_),
3137 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RecoverLeaseResponseProto, _internal_metadata_),
3138 ~0u, // no _extensions_
3139 ~0u, // no _oneof_case_
3140 ~0u, // no _weak_field_map_
3141 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RecoverLeaseResponseProto, result_),
3142 0,
3143 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFsStatusRequestProto, _has_bits_),
3144 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFsStatusRequestProto, _internal_metadata_),
3145 ~0u, // no _extensions_
3146 ~0u, // no _oneof_case_
3147 ~0u, // no _weak_field_map_
3148 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFsStatsResponseProto, _has_bits_),
3149 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFsStatsResponseProto, _internal_metadata_),
3150 ~0u, // no _extensions_
3151 ~0u, // no _oneof_case_
3152 ~0u, // no _weak_field_map_
3153 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFsStatsResponseProto, capacity_),
3154 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFsStatsResponseProto, used_),
3155 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFsStatsResponseProto, remaining_),
3156 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFsStatsResponseProto, under_replicated_),
3157 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFsStatsResponseProto, corrupt_blocks_),
3158 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFsStatsResponseProto, missing_blocks_),
3159 0,
3160 1,
3161 2,
3162 3,
3163 4,
3164 5,
3165 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetDatanodeReportRequestProto, _has_bits_),
3166 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetDatanodeReportRequestProto, _internal_metadata_),
3167 ~0u, // no _extensions_
3168 ~0u, // no _oneof_case_
3169 ~0u, // no _weak_field_map_
3170 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetDatanodeReportRequestProto, type_),
3171 0,
3172 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetDatanodeReportResponseProto, _has_bits_),
3173 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetDatanodeReportResponseProto, _internal_metadata_),
3174 ~0u, // no _extensions_
3175 ~0u, // no _oneof_case_
3176 ~0u, // no _weak_field_map_
3177 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetDatanodeReportResponseProto, di_),
3178 ~0u,
3179 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetPreferredBlockSizeRequestProto, _has_bits_),
3180 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetPreferredBlockSizeRequestProto, _internal_metadata_),
3181 ~0u, // no _extensions_
3182 ~0u, // no _oneof_case_
3183 ~0u, // no _weak_field_map_
3184 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetPreferredBlockSizeRequestProto, filename_),
3185 0,
3186 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetPreferredBlockSizeResponseProto, _has_bits_),
3187 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetPreferredBlockSizeResponseProto, _internal_metadata_),
3188 ~0u, // no _extensions_
3189 ~0u, // no _oneof_case_
3190 ~0u, // no _weak_field_map_
3191 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetPreferredBlockSizeResponseProto, bsize_),
3192 0,
3193 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetSafeModeRequestProto, _has_bits_),
3194 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetSafeModeRequestProto, _internal_metadata_),
3195 ~0u, // no _extensions_
3196 ~0u, // no _oneof_case_
3197 ~0u, // no _weak_field_map_
3198 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetSafeModeRequestProto, action_),
3199 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetSafeModeRequestProto, checked_),
3200 1,
3201 0,
3202 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetSafeModeResponseProto, _has_bits_),
3203 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetSafeModeResponseProto, _internal_metadata_),
3204 ~0u, // no _extensions_
3205 ~0u, // no _oneof_case_
3206 ~0u, // no _weak_field_map_
3207 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetSafeModeResponseProto, result_),
3208 0,
3209 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SaveNamespaceRequestProto, _has_bits_),
3210 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SaveNamespaceRequestProto, _internal_metadata_),
3211 ~0u, // no _extensions_
3212 ~0u, // no _oneof_case_
3213 ~0u, // no _weak_field_map_
3214 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SaveNamespaceResponseProto, _has_bits_),
3215 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SaveNamespaceResponseProto, _internal_metadata_),
3216 ~0u, // no _extensions_
3217 ~0u, // no _oneof_case_
3218 ~0u, // no _weak_field_map_
3219 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RollEditsRequestProto, _has_bits_),
3220 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RollEditsRequestProto, _internal_metadata_),
3221 ~0u, // no _extensions_
3222 ~0u, // no _oneof_case_
3223 ~0u, // no _weak_field_map_
3224 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RollEditsResponseProto, _has_bits_),
3225 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RollEditsResponseProto, _internal_metadata_),
3226 ~0u, // no _extensions_
3227 ~0u, // no _oneof_case_
3228 ~0u, // no _weak_field_map_
3229 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RollEditsResponseProto, newsegmenttxid_),
3230 0,
3231 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RestoreFailedStorageRequestProto, _has_bits_),
3232 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RestoreFailedStorageRequestProto, _internal_metadata_),
3233 ~0u, // no _extensions_
3234 ~0u, // no _oneof_case_
3235 ~0u, // no _weak_field_map_
3236 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RestoreFailedStorageRequestProto, arg_),
3237 0,
3238 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RestoreFailedStorageResponseProto, _has_bits_),
3239 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RestoreFailedStorageResponseProto, _internal_metadata_),
3240 ~0u, // no _extensions_
3241 ~0u, // no _oneof_case_
3242 ~0u, // no _weak_field_map_
3243 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RestoreFailedStorageResponseProto, result_),
3244 0,
3245 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RefreshNodesRequestProto, _has_bits_),
3246 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RefreshNodesRequestProto, _internal_metadata_),
3247 ~0u, // no _extensions_
3248 ~0u, // no _oneof_case_
3249 ~0u, // no _weak_field_map_
3250 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RefreshNodesResponseProto, _has_bits_),
3251 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RefreshNodesResponseProto, _internal_metadata_),
3252 ~0u, // no _extensions_
3253 ~0u, // no _oneof_case_
3254 ~0u, // no _weak_field_map_
3255 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::FinalizeUpgradeRequestProto, _has_bits_),
3256 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::FinalizeUpgradeRequestProto, _internal_metadata_),
3257 ~0u, // no _extensions_
3258 ~0u, // no _oneof_case_
3259 ~0u, // no _weak_field_map_
3260 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::FinalizeUpgradeResponseProto, _has_bits_),
3261 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::FinalizeUpgradeResponseProto, _internal_metadata_),
3262 ~0u, // no _extensions_
3263 ~0u, // no _oneof_case_
3264 ~0u, // no _weak_field_map_
3265 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCorruptFileBlocksRequestProto, _has_bits_),
3266 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCorruptFileBlocksRequestProto, _internal_metadata_),
3267 ~0u, // no _extensions_
3268 ~0u, // no _oneof_case_
3269 ~0u, // no _weak_field_map_
3270 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCorruptFileBlocksRequestProto, path_),
3271 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCorruptFileBlocksRequestProto, cookie_),
3272 0,
3273 1,
3274 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCorruptFileBlocksResponseProto, _has_bits_),
3275 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCorruptFileBlocksResponseProto, _internal_metadata_),
3276 ~0u, // no _extensions_
3277 ~0u, // no _oneof_case_
3278 ~0u, // no _weak_field_map_
3279 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCorruptFileBlocksResponseProto, corrupt_),
3280 0,
3281 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::MetaSaveRequestProto, _has_bits_),
3282 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::MetaSaveRequestProto, _internal_metadata_),
3283 ~0u, // no _extensions_
3284 ~0u, // no _oneof_case_
3285 ~0u, // no _weak_field_map_
3286 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::MetaSaveRequestProto, filename_),
3287 0,
3288 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::MetaSaveResponseProto, _has_bits_),
3289 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::MetaSaveResponseProto, _internal_metadata_),
3290 ~0u, // no _extensions_
3291 ~0u, // no _oneof_case_
3292 ~0u, // no _weak_field_map_
3293 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFileInfoRequestProto, _has_bits_),
3294 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFileInfoRequestProto, _internal_metadata_),
3295 ~0u, // no _extensions_
3296 ~0u, // no _oneof_case_
3297 ~0u, // no _weak_field_map_
3298 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFileInfoRequestProto, src_),
3299 0,
3300 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFileInfoResponseProto, _has_bits_),
3301 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFileInfoResponseProto, _internal_metadata_),
3302 ~0u, // no _extensions_
3303 ~0u, // no _oneof_case_
3304 ~0u, // no _weak_field_map_
3305 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFileInfoResponseProto, fs_),
3306 0,
3307 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::IsFileClosedRequestProto, _has_bits_),
3308 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::IsFileClosedRequestProto, _internal_metadata_),
3309 ~0u, // no _extensions_
3310 ~0u, // no _oneof_case_
3311 ~0u, // no _weak_field_map_
3312 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::IsFileClosedRequestProto, src_),
3313 0,
3314 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::IsFileClosedResponseProto, _has_bits_),
3315 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::IsFileClosedResponseProto, _internal_metadata_),
3316 ~0u, // no _extensions_
3317 ~0u, // no _oneof_case_
3318 ~0u, // no _weak_field_map_
3319 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::IsFileClosedResponseProto, result_),
3320 0,
3321 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveInfoProto, _has_bits_),
3322 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveInfoProto, _internal_metadata_),
3323 ~0u, // no _extensions_
3324 ~0u, // no _oneof_case_
3325 ~0u, // no _weak_field_map_
3326 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveInfoProto, id_),
3327 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveInfoProto, path_),
3328 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveInfoProto, replication_),
3329 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveInfoProto, pool_),
3330 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveInfoProto, expiration_),
3331 3,
3332 0,
3333 4,
3334 1,
3335 2,
3336 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveInfoExpirationProto, _has_bits_),
3337 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveInfoExpirationProto, _internal_metadata_),
3338 ~0u, // no _extensions_
3339 ~0u, // no _oneof_case_
3340 ~0u, // no _weak_field_map_
3341 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveInfoExpirationProto, millis_),
3342 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveInfoExpirationProto, isrelative_),
3343 0,
3344 1,
3345 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveStatsProto, _has_bits_),
3346 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveStatsProto, _internal_metadata_),
3347 ~0u, // no _extensions_
3348 ~0u, // no _oneof_case_
3349 ~0u, // no _weak_field_map_
3350 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveStatsProto, bytesneeded_),
3351 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveStatsProto, bytescached_),
3352 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveStatsProto, filesneeded_),
3353 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveStatsProto, filescached_),
3354 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveStatsProto, hasexpired_),
3355 0,
3356 1,
3357 2,
3358 3,
3359 4,
3360 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddCacheDirectiveRequestProto, _has_bits_),
3361 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddCacheDirectiveRequestProto, _internal_metadata_),
3362 ~0u, // no _extensions_
3363 ~0u, // no _oneof_case_
3364 ~0u, // no _weak_field_map_
3365 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddCacheDirectiveRequestProto, info_),
3366 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddCacheDirectiveRequestProto, cacheflags_),
3367 0,
3368 1,
3369 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddCacheDirectiveResponseProto, _has_bits_),
3370 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddCacheDirectiveResponseProto, _internal_metadata_),
3371 ~0u, // no _extensions_
3372 ~0u, // no _oneof_case_
3373 ~0u, // no _weak_field_map_
3374 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddCacheDirectiveResponseProto, id_),
3375 0,
3376 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ModifyCacheDirectiveRequestProto, _has_bits_),
3377 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ModifyCacheDirectiveRequestProto, _internal_metadata_),
3378 ~0u, // no _extensions_
3379 ~0u, // no _oneof_case_
3380 ~0u, // no _weak_field_map_
3381 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ModifyCacheDirectiveRequestProto, info_),
3382 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ModifyCacheDirectiveRequestProto, cacheflags_),
3383 0,
3384 1,
3385 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ModifyCacheDirectiveResponseProto, _has_bits_),
3386 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ModifyCacheDirectiveResponseProto, _internal_metadata_),
3387 ~0u, // no _extensions_
3388 ~0u, // no _oneof_case_
3389 ~0u, // no _weak_field_map_
3390 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RemoveCacheDirectiveRequestProto, _has_bits_),
3391 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RemoveCacheDirectiveRequestProto, _internal_metadata_),
3392 ~0u, // no _extensions_
3393 ~0u, // no _oneof_case_
3394 ~0u, // no _weak_field_map_
3395 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RemoveCacheDirectiveRequestProto, id_),
3396 0,
3397 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RemoveCacheDirectiveResponseProto, _has_bits_),
3398 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RemoveCacheDirectiveResponseProto, _internal_metadata_),
3399 ~0u, // no _extensions_
3400 ~0u, // no _oneof_case_
3401 ~0u, // no _weak_field_map_
3402 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCacheDirectivesRequestProto, _has_bits_),
3403 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCacheDirectivesRequestProto, _internal_metadata_),
3404 ~0u, // no _extensions_
3405 ~0u, // no _oneof_case_
3406 ~0u, // no _weak_field_map_
3407 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCacheDirectivesRequestProto, previd_),
3408 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCacheDirectivesRequestProto, filter_),
3409 1,
3410 0,
3411 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveEntryProto, _has_bits_),
3412 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveEntryProto, _internal_metadata_),
3413 ~0u, // no _extensions_
3414 ~0u, // no _oneof_case_
3415 ~0u, // no _weak_field_map_
3416 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveEntryProto, info_),
3417 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CacheDirectiveEntryProto, stats_),
3418 0,
3419 1,
3420 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCacheDirectivesResponseProto, _has_bits_),
3421 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCacheDirectivesResponseProto, _internal_metadata_),
3422 ~0u, // no _extensions_
3423 ~0u, // no _oneof_case_
3424 ~0u, // no _weak_field_map_
3425 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCacheDirectivesResponseProto, elements_),
3426 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCacheDirectivesResponseProto, hasmore_),
3427 ~0u,
3428 0,
3429 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolInfoProto, _has_bits_),
3430 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolInfoProto, _internal_metadata_),
3431 ~0u, // no _extensions_
3432 ~0u, // no _oneof_case_
3433 ~0u, // no _weak_field_map_
3434 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolInfoProto, poolname_),
3435 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolInfoProto, ownername_),
3436 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolInfoProto, groupname_),
3437 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolInfoProto, mode_),
3438 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolInfoProto, limit_),
3439 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolInfoProto, maxrelativeexpiry_),
3440 0,
3441 1,
3442 2,
3443 5,
3444 3,
3445 4,
3446 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolStatsProto, _has_bits_),
3447 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolStatsProto, _internal_metadata_),
3448 ~0u, // no _extensions_
3449 ~0u, // no _oneof_case_
3450 ~0u, // no _weak_field_map_
3451 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolStatsProto, bytesneeded_),
3452 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolStatsProto, bytescached_),
3453 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolStatsProto, bytesoverlimit_),
3454 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolStatsProto, filesneeded_),
3455 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolStatsProto, filescached_),
3456 0,
3457 1,
3458 2,
3459 3,
3460 4,
3461 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddCachePoolRequestProto, _has_bits_),
3462 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddCachePoolRequestProto, _internal_metadata_),
3463 ~0u, // no _extensions_
3464 ~0u, // no _oneof_case_
3465 ~0u, // no _weak_field_map_
3466 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddCachePoolRequestProto, info_),
3467 0,
3468 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddCachePoolResponseProto, _has_bits_),
3469 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AddCachePoolResponseProto, _internal_metadata_),
3470 ~0u, // no _extensions_
3471 ~0u, // no _oneof_case_
3472 ~0u, // no _weak_field_map_
3473 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ModifyCachePoolRequestProto, _has_bits_),
3474 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ModifyCachePoolRequestProto, _internal_metadata_),
3475 ~0u, // no _extensions_
3476 ~0u, // no _oneof_case_
3477 ~0u, // no _weak_field_map_
3478 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ModifyCachePoolRequestProto, info_),
3479 0,
3480 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ModifyCachePoolResponseProto, _has_bits_),
3481 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ModifyCachePoolResponseProto, _internal_metadata_),
3482 ~0u, // no _extensions_
3483 ~0u, // no _oneof_case_
3484 ~0u, // no _weak_field_map_
3485 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RemoveCachePoolRequestProto, _has_bits_),
3486 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RemoveCachePoolRequestProto, _internal_metadata_),
3487 ~0u, // no _extensions_
3488 ~0u, // no _oneof_case_
3489 ~0u, // no _weak_field_map_
3490 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RemoveCachePoolRequestProto, poolname_),
3491 0,
3492 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RemoveCachePoolResponseProto, _has_bits_),
3493 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RemoveCachePoolResponseProto, _internal_metadata_),
3494 ~0u, // no _extensions_
3495 ~0u, // no _oneof_case_
3496 ~0u, // no _weak_field_map_
3497 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCachePoolsRequestProto, _has_bits_),
3498 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCachePoolsRequestProto, _internal_metadata_),
3499 ~0u, // no _extensions_
3500 ~0u, // no _oneof_case_
3501 ~0u, // no _weak_field_map_
3502 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCachePoolsRequestProto, prevpoolname_),
3503 0,
3504 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCachePoolsResponseProto, _has_bits_),
3505 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCachePoolsResponseProto, _internal_metadata_),
3506 ~0u, // no _extensions_
3507 ~0u, // no _oneof_case_
3508 ~0u, // no _weak_field_map_
3509 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCachePoolsResponseProto, entries_),
3510 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::ListCachePoolsResponseProto, hasmore_),
3511 ~0u,
3512 0,
3513 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolEntryProto, _has_bits_),
3514 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolEntryProto, _internal_metadata_),
3515 ~0u, // no _extensions_
3516 ~0u, // no _oneof_case_
3517 ~0u, // no _weak_field_map_
3518 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolEntryProto, info_),
3519 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CachePoolEntryProto, stats_),
3520 0,
3521 1,
3522 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFileLinkInfoRequestProto, _has_bits_),
3523 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFileLinkInfoRequestProto, _internal_metadata_),
3524 ~0u, // no _extensions_
3525 ~0u, // no _oneof_case_
3526 ~0u, // no _weak_field_map_
3527 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFileLinkInfoRequestProto, src_),
3528 0,
3529 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFileLinkInfoResponseProto, _has_bits_),
3530 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFileLinkInfoResponseProto, _internal_metadata_),
3531 ~0u, // no _extensions_
3532 ~0u, // no _oneof_case_
3533 ~0u, // no _weak_field_map_
3534 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetFileLinkInfoResponseProto, fs_),
3535 0,
3536 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetContentSummaryRequestProto, _has_bits_),
3537 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetContentSummaryRequestProto, _internal_metadata_),
3538 ~0u, // no _extensions_
3539 ~0u, // no _oneof_case_
3540 ~0u, // no _weak_field_map_
3541 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetContentSummaryRequestProto, path_),
3542 0,
3543 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetContentSummaryResponseProto, _has_bits_),
3544 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetContentSummaryResponseProto, _internal_metadata_),
3545 ~0u, // no _extensions_
3546 ~0u, // no _oneof_case_
3547 ~0u, // no _weak_field_map_
3548 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetContentSummaryResponseProto, summary_),
3549 0,
3550 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetQuotaRequestProto, _has_bits_),
3551 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetQuotaRequestProto, _internal_metadata_),
3552 ~0u, // no _extensions_
3553 ~0u, // no _oneof_case_
3554 ~0u, // no _weak_field_map_
3555 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetQuotaRequestProto, path_),
3556 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetQuotaRequestProto, namespacequota_),
3557 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetQuotaRequestProto, diskspacequota_),
3558 0,
3559 1,
3560 2,
3561 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetQuotaResponseProto, _has_bits_),
3562 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetQuotaResponseProto, _internal_metadata_),
3563 ~0u, // no _extensions_
3564 ~0u, // no _oneof_case_
3565 ~0u, // no _weak_field_map_
3566 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::FsyncRequestProto, _has_bits_),
3567 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::FsyncRequestProto, _internal_metadata_),
3568 ~0u, // no _extensions_
3569 ~0u, // no _oneof_case_
3570 ~0u, // no _weak_field_map_
3571 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::FsyncRequestProto, src_),
3572 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::FsyncRequestProto, client_),
3573 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::FsyncRequestProto, lastblocklength_),
3574 0,
3575 1,
3576 2,
3577 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::FsyncResponseProto, _has_bits_),
3578 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::FsyncResponseProto, _internal_metadata_),
3579 ~0u, // no _extensions_
3580 ~0u, // no _oneof_case_
3581 ~0u, // no _weak_field_map_
3582 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetTimesRequestProto, _has_bits_),
3583 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetTimesRequestProto, _internal_metadata_),
3584 ~0u, // no _extensions_
3585 ~0u, // no _oneof_case_
3586 ~0u, // no _weak_field_map_
3587 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetTimesRequestProto, src_),
3588 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetTimesRequestProto, mtime_),
3589 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetTimesRequestProto, atime_),
3590 0,
3591 1,
3592 2,
3593 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetTimesResponseProto, _has_bits_),
3594 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetTimesResponseProto, _internal_metadata_),
3595 ~0u, // no _extensions_
3596 ~0u, // no _oneof_case_
3597 ~0u, // no _weak_field_map_
3598 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSymlinkRequestProto, _has_bits_),
3599 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSymlinkRequestProto, _internal_metadata_),
3600 ~0u, // no _extensions_
3601 ~0u, // no _oneof_case_
3602 ~0u, // no _weak_field_map_
3603 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSymlinkRequestProto, target_),
3604 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSymlinkRequestProto, link_),
3605 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSymlinkRequestProto, dirperm_),
3606 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSymlinkRequestProto, createparent_),
3607 0,
3608 1,
3609 2,
3610 3,
3611 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSymlinkResponseProto, _has_bits_),
3612 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSymlinkResponseProto, _internal_metadata_),
3613 ~0u, // no _extensions_
3614 ~0u, // no _oneof_case_
3615 ~0u, // no _weak_field_map_
3616 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetLinkTargetRequestProto, _has_bits_),
3617 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetLinkTargetRequestProto, _internal_metadata_),
3618 ~0u, // no _extensions_
3619 ~0u, // no _oneof_case_
3620 ~0u, // no _weak_field_map_
3621 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetLinkTargetRequestProto, path_),
3622 0,
3623 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetLinkTargetResponseProto, _has_bits_),
3624 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetLinkTargetResponseProto, _internal_metadata_),
3625 ~0u, // no _extensions_
3626 ~0u, // no _oneof_case_
3627 ~0u, // no _weak_field_map_
3628 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetLinkTargetResponseProto, targetpath_),
3629 0,
3630 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdateBlockForPipelineRequestProto, _has_bits_),
3631 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdateBlockForPipelineRequestProto, _internal_metadata_),
3632 ~0u, // no _extensions_
3633 ~0u, // no _oneof_case_
3634 ~0u, // no _weak_field_map_
3635 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdateBlockForPipelineRequestProto, block_),
3636 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdateBlockForPipelineRequestProto, clientname_),
3637 1,
3638 0,
3639 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdateBlockForPipelineResponseProto, _has_bits_),
3640 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdateBlockForPipelineResponseProto, _internal_metadata_),
3641 ~0u, // no _extensions_
3642 ~0u, // no _oneof_case_
3643 ~0u, // no _weak_field_map_
3644 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdateBlockForPipelineResponseProto, block_),
3645 0,
3646 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdatePipelineRequestProto, _has_bits_),
3647 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdatePipelineRequestProto, _internal_metadata_),
3648 ~0u, // no _extensions_
3649 ~0u, // no _oneof_case_
3650 ~0u, // no _weak_field_map_
3651 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdatePipelineRequestProto, clientname_),
3652 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdatePipelineRequestProto, oldblock_),
3653 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdatePipelineRequestProto, newblock_),
3654 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdatePipelineRequestProto, newnodes_),
3655 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdatePipelineRequestProto, storageids_),
3656 0,
3657 1,
3658 2,
3659 ~0u,
3660 ~0u,
3661 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdatePipelineResponseProto, _has_bits_),
3662 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::UpdatePipelineResponseProto, _internal_metadata_),
3663 ~0u, // no _extensions_
3664 ~0u, // no _oneof_case_
3665 ~0u, // no _weak_field_map_
3666 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetBalancerBandwidthRequestProto, _has_bits_),
3667 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetBalancerBandwidthRequestProto, _internal_metadata_),
3668 ~0u, // no _extensions_
3669 ~0u, // no _oneof_case_
3670 ~0u, // no _weak_field_map_
3671 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetBalancerBandwidthRequestProto, bandwidth_),
3672 0,
3673 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetBalancerBandwidthResponseProto, _has_bits_),
3674 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::SetBalancerBandwidthResponseProto, _internal_metadata_),
3675 ~0u, // no _extensions_
3676 ~0u, // no _oneof_case_
3677 ~0u, // no _weak_field_map_
3678 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetDataEncryptionKeyRequestProto, _has_bits_),
3679 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetDataEncryptionKeyRequestProto, _internal_metadata_),
3680 ~0u, // no _extensions_
3681 ~0u, // no _oneof_case_
3682 ~0u, // no _weak_field_map_
3683 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetDataEncryptionKeyResponseProto, _has_bits_),
3684 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetDataEncryptionKeyResponseProto, _internal_metadata_),
3685 ~0u, // no _extensions_
3686 ~0u, // no _oneof_case_
3687 ~0u, // no _weak_field_map_
3688 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::GetDataEncryptionKeyResponseProto, dataencryptionkey_),
3689 0,
3690 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSnapshotRequestProto, _has_bits_),
3691 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSnapshotRequestProto, _internal_metadata_),
3692 ~0u, // no _extensions_
3693 ~0u, // no _oneof_case_
3694 ~0u, // no _weak_field_map_
3695 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSnapshotRequestProto, snapshotroot_),
3696 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSnapshotRequestProto, snapshotname_),
3697 0,
3698 1,
3699 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSnapshotResponseProto, _has_bits_),
3700 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSnapshotResponseProto, _internal_metadata_),
3701 ~0u, // no _extensions_
3702 ~0u, // no _oneof_case_
3703 ~0u, // no _weak_field_map_
3704 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::CreateSnapshotResponseProto, snapshotpath_),
3705 0,
3706 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameSnapshotRequestProto, _has_bits_),
3707 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameSnapshotRequestProto, _internal_metadata_),
3708 ~0u, // no _extensions_
3709 ~0u, // no _oneof_case_
3710 ~0u, // no _weak_field_map_
3711 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameSnapshotRequestProto, snapshotroot_),
3712 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameSnapshotRequestProto, snapshotoldname_),
3713 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameSnapshotRequestProto, snapshotnewname_),
3714 0,
3715 1,
3716 2,
3717 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameSnapshotResponseProto, _has_bits_),
3718 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::RenameSnapshotResponseProto, _internal_metadata_),
3719 ~0u, // no _extensions_
3720 ~0u, // no _oneof_case_
3721 ~0u, // no _weak_field_map_
3722 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AllowSnapshotRequestProto, _has_bits_),
3723 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AllowSnapshotRequestProto, _internal_metadata_),
3724 ~0u, // no _extensions_
3725 ~0u, // no _oneof_case_
3726 ~0u, // no _weak_field_map_
3727 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AllowSnapshotRequestProto, snapshotroot_),
3728 0,
3729 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AllowSnapshotResponseProto, _has_bits_),
3730 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::AllowSnapshotResponseProto, _internal_metadata_),
3731 ~0u, // no _extensions_
3732 ~0u, // no _oneof_case_
3733 ~0u, // no _weak_field_map_
3734 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DisallowSnapshotRequestProto, _has_bits_),
3735 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DisallowSnapshotRequestProto, _internal_metadata_),
3736 ~0u, // no _extensions_
3737 ~0u, // no _oneof_case_
3738 ~0u, // no _weak_field_map_
3739 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DisallowSnapshotRequestProto, snapshotroot_),
3740 0,
3741 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DisallowSnapshotResponseProto, _has_bits_),
3742 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DisallowSnapshotResponseProto, _internal_metadata_),
3743 ~0u, // no _extensions_
3744 ~0u, // no _oneof_case_
3745 ~0u, // no _weak_field_map_
3746 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DeleteSnapshotRequestProto, _has_bits_),
3747 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DeleteSnapshotRequestProto, _internal_metadata_),
3748 ~0u, // no _extensions_
3749 ~0u, // no _oneof_case_
3750 ~0u, // no _weak_field_map_
3751 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DeleteSnapshotRequestProto, snapshotroot_),
3752 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DeleteSnapshotRequestProto, snapshotname_),
3753 0,
3754 1,
3755 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DeleteSnapshotResponseProto, _has_bits_),
3756 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Hdfs::Internal::DeleteSnapshotResponseProto, _internal_metadata_),
3757 ~0u, // no _extensions_
3758 ~0u, // no _oneof_case_
3759 ~0u, // no _weak_field_map_
3760};
3761static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
3762 { 0, 8, sizeof(::Hdfs::Internal::GetBlockLocationsRequestProto)},
3763 { 11, 17, sizeof(::Hdfs::Internal::GetBlockLocationsResponseProto)},
3764 { 18, 23, sizeof(::Hdfs::Internal::GetServerDefaultsRequestProto)},
3765 { 23, 29, sizeof(::Hdfs::Internal::GetServerDefaultsResponseProto)},
3766 { 30, 42, sizeof(::Hdfs::Internal::CreateRequestProto)},
3767 { 49, 55, sizeof(::Hdfs::Internal::CreateResponseProto)},
3768 { 56, 63, sizeof(::Hdfs::Internal::AppendRequestProto)},
3769 { 65, 72, sizeof(::Hdfs::Internal::AppendResponseProto)},
3770 { 74, 81, sizeof(::Hdfs::Internal::SetReplicationRequestProto)},
3771 { 83, 89, sizeof(::Hdfs::Internal::SetReplicationResponseProto)},
3772 { 90, 97, sizeof(::Hdfs::Internal::SetPermissionRequestProto)},
3773 { 99, 104, sizeof(::Hdfs::Internal::SetPermissionResponseProto)},
3774 { 104, 112, sizeof(::Hdfs::Internal::SetOwnerRequestProto)},
3775 { 115, 120, sizeof(::Hdfs::Internal::SetOwnerResponseProto)},
3776 { 120, 128, sizeof(::Hdfs::Internal::AbandonBlockRequestProto)},
3777 { 131, 136, sizeof(::Hdfs::Internal::AbandonBlockResponseProto)},
3778 { 136, 147, sizeof(::Hdfs::Internal::AddBlockRequestProto)},
3779 { 153, 159, sizeof(::Hdfs::Internal::AddBlockResponseProto)},
3780 { 160, 172, sizeof(::Hdfs::Internal::GetAdditionalDatanodeRequestProto)},
3781 { 179, 185, sizeof(::Hdfs::Internal::GetAdditionalDatanodeResponseProto)},
3782 { 186, 195, sizeof(::Hdfs::Internal::CompleteRequestProto)},
3783 { 199, 205, sizeof(::Hdfs::Internal::CompleteResponseProto)},
3784 { 206, 212, sizeof(::Hdfs::Internal::ReportBadBlocksRequestProto)},
3785 { 213, 218, sizeof(::Hdfs::Internal::ReportBadBlocksResponseProto)},
3786 { 218, 225, sizeof(::Hdfs::Internal::ConcatRequestProto)},
3787 { 227, 232, sizeof(::Hdfs::Internal::ConcatResponseProto)},
3788 { 232, 240, sizeof(::Hdfs::Internal::TruncateRequestProto)},
3789 { 243, 249, sizeof(::Hdfs::Internal::TruncateResponseProto)},
3790 { 250, 257, sizeof(::Hdfs::Internal::GetLeaseRequestProto)},
3791 { 259, 264, sizeof(::Hdfs::Internal::GetLeaseResponseProto)},
3792 { 264, 271, sizeof(::Hdfs::Internal::ReleaseLeaseRequestProto)},
3793 { 273, 278, sizeof(::Hdfs::Internal::ReleaseLeaseResponseProto)},
3794 { 278, 285, sizeof(::Hdfs::Internal::RenameRequestProto)},
3795 { 287, 293, sizeof(::Hdfs::Internal::RenameResponseProto)},
3796 { 294, 302, sizeof(::Hdfs::Internal::Rename2RequestProto)},
3797 { 305, 310, sizeof(::Hdfs::Internal::Rename2ResponseProto)},
3798 { 310, 317, sizeof(::Hdfs::Internal::DeleteRequestProto)},
3799 { 319, 325, sizeof(::Hdfs::Internal::DeleteResponseProto)},
3800 { 326, 334, sizeof(::Hdfs::Internal::MkdirsRequestProto)},
3801 { 337, 343, sizeof(::Hdfs::Internal::MkdirsResponseProto)},
3802 { 344, 352, sizeof(::Hdfs::Internal::GetListingRequestProto)},
3803 { 355, 361, sizeof(::Hdfs::Internal::GetListingResponseProto)},
3804 { 362, 367, sizeof(::Hdfs::Internal::GetSnapshottableDirListingRequestProto)},
3805 { 367, 373, sizeof(::Hdfs::Internal::GetSnapshottableDirListingResponseProto)},
3806 { 374, 382, sizeof(::Hdfs::Internal::GetSnapshotDiffReportRequestProto)},
3807 { 385, 391, sizeof(::Hdfs::Internal::GetSnapshotDiffReportResponseProto)},
3808 { 392, 398, sizeof(::Hdfs::Internal::RenewLeaseRequestProto)},
3809 { 399, 404, sizeof(::Hdfs::Internal::RenewLeaseResponseProto)},
3810 { 404, 411, sizeof(::Hdfs::Internal::RecoverLeaseRequestProto)},
3811 { 413, 419, sizeof(::Hdfs::Internal::RecoverLeaseResponseProto)},
3812 { 420, 425, sizeof(::Hdfs::Internal::GetFsStatusRequestProto)},
3813 { 425, 436, sizeof(::Hdfs::Internal::GetFsStatsResponseProto)},
3814 { 442, 448, sizeof(::Hdfs::Internal::GetDatanodeReportRequestProto)},
3815 { 449, 455, sizeof(::Hdfs::Internal::GetDatanodeReportResponseProto)},
3816 { 456, 462, sizeof(::Hdfs::Internal::GetPreferredBlockSizeRequestProto)},
3817 { 463, 469, sizeof(::Hdfs::Internal::GetPreferredBlockSizeResponseProto)},
3818 { 470, 477, sizeof(::Hdfs::Internal::SetSafeModeRequestProto)},
3819 { 479, 485, sizeof(::Hdfs::Internal::SetSafeModeResponseProto)},
3820 { 486, 491, sizeof(::Hdfs::Internal::SaveNamespaceRequestProto)},
3821 { 491, 496, sizeof(::Hdfs::Internal::SaveNamespaceResponseProto)},
3822 { 496, 501, sizeof(::Hdfs::Internal::RollEditsRequestProto)},
3823 { 501, 507, sizeof(::Hdfs::Internal::RollEditsResponseProto)},
3824 { 508, 514, sizeof(::Hdfs::Internal::RestoreFailedStorageRequestProto)},
3825 { 515, 521, sizeof(::Hdfs::Internal::RestoreFailedStorageResponseProto)},
3826 { 522, 527, sizeof(::Hdfs::Internal::RefreshNodesRequestProto)},
3827 { 527, 532, sizeof(::Hdfs::Internal::RefreshNodesResponseProto)},
3828 { 532, 537, sizeof(::Hdfs::Internal::FinalizeUpgradeRequestProto)},
3829 { 537, 542, sizeof(::Hdfs::Internal::FinalizeUpgradeResponseProto)},
3830 { 542, 549, sizeof(::Hdfs::Internal::ListCorruptFileBlocksRequestProto)},
3831 { 551, 557, sizeof(::Hdfs::Internal::ListCorruptFileBlocksResponseProto)},
3832 { 558, 564, sizeof(::Hdfs::Internal::MetaSaveRequestProto)},
3833 { 565, 570, sizeof(::Hdfs::Internal::MetaSaveResponseProto)},
3834 { 570, 576, sizeof(::Hdfs::Internal::GetFileInfoRequestProto)},
3835 { 577, 583, sizeof(::Hdfs::Internal::GetFileInfoResponseProto)},
3836 { 584, 590, sizeof(::Hdfs::Internal::IsFileClosedRequestProto)},
3837 { 591, 597, sizeof(::Hdfs::Internal::IsFileClosedResponseProto)},
3838 { 598, 608, sizeof(::Hdfs::Internal::CacheDirectiveInfoProto)},
3839 { 613, 620, sizeof(::Hdfs::Internal::CacheDirectiveInfoExpirationProto)},
3840 { 622, 632, sizeof(::Hdfs::Internal::CacheDirectiveStatsProto)},
3841 { 637, 644, sizeof(::Hdfs::Internal::AddCacheDirectiveRequestProto)},
3842 { 646, 652, sizeof(::Hdfs::Internal::AddCacheDirectiveResponseProto)},
3843 { 653, 660, sizeof(::Hdfs::Internal::ModifyCacheDirectiveRequestProto)},
3844 { 662, 667, sizeof(::Hdfs::Internal::ModifyCacheDirectiveResponseProto)},
3845 { 667, 673, sizeof(::Hdfs::Internal::RemoveCacheDirectiveRequestProto)},
3846 { 674, 679, sizeof(::Hdfs::Internal::RemoveCacheDirectiveResponseProto)},
3847 { 679, 686, sizeof(::Hdfs::Internal::ListCacheDirectivesRequestProto)},
3848 { 688, 695, sizeof(::Hdfs::Internal::CacheDirectiveEntryProto)},
3849 { 697, 704, sizeof(::Hdfs::Internal::ListCacheDirectivesResponseProto)},
3850 { 706, 717, sizeof(::Hdfs::Internal::CachePoolInfoProto)},
3851 { 723, 733, sizeof(::Hdfs::Internal::CachePoolStatsProto)},
3852 { 738, 744, sizeof(::Hdfs::Internal::AddCachePoolRequestProto)},
3853 { 745, 750, sizeof(::Hdfs::Internal::AddCachePoolResponseProto)},
3854 { 750, 756, sizeof(::Hdfs::Internal::ModifyCachePoolRequestProto)},
3855 { 757, 762, sizeof(::Hdfs::Internal::ModifyCachePoolResponseProto)},
3856 { 762, 768, sizeof(::Hdfs::Internal::RemoveCachePoolRequestProto)},
3857 { 769, 774, sizeof(::Hdfs::Internal::RemoveCachePoolResponseProto)},
3858 { 774, 780, sizeof(::Hdfs::Internal::ListCachePoolsRequestProto)},
3859 { 781, 788, sizeof(::Hdfs::Internal::ListCachePoolsResponseProto)},
3860 { 790, 797, sizeof(::Hdfs::Internal::CachePoolEntryProto)},
3861 { 799, 805, sizeof(::Hdfs::Internal::GetFileLinkInfoRequestProto)},
3862 { 806, 812, sizeof(::Hdfs::Internal::GetFileLinkInfoResponseProto)},
3863 { 813, 819, sizeof(::Hdfs::Internal::GetContentSummaryRequestProto)},
3864 { 820, 826, sizeof(::Hdfs::Internal::GetContentSummaryResponseProto)},
3865 { 827, 835, sizeof(::Hdfs::Internal::SetQuotaRequestProto)},
3866 { 838, 843, sizeof(::Hdfs::Internal::SetQuotaResponseProto)},
3867 { 843, 851, sizeof(::Hdfs::Internal::FsyncRequestProto)},
3868 { 854, 859, sizeof(::Hdfs::Internal::FsyncResponseProto)},
3869 { 859, 867, sizeof(::Hdfs::Internal::SetTimesRequestProto)},
3870 { 870, 875, sizeof(::Hdfs::Internal::SetTimesResponseProto)},
3871 { 875, 884, sizeof(::Hdfs::Internal::CreateSymlinkRequestProto)},
3872 { 888, 893, sizeof(::Hdfs::Internal::CreateSymlinkResponseProto)},
3873 { 893, 899, sizeof(::Hdfs::Internal::GetLinkTargetRequestProto)},
3874 { 900, 906, sizeof(::Hdfs::Internal::GetLinkTargetResponseProto)},
3875 { 907, 914, sizeof(::Hdfs::Internal::UpdateBlockForPipelineRequestProto)},
3876 { 916, 922, sizeof(::Hdfs::Internal::UpdateBlockForPipelineResponseProto)},
3877 { 923, 933, sizeof(::Hdfs::Internal::UpdatePipelineRequestProto)},
3878 { 938, 943, sizeof(::Hdfs::Internal::UpdatePipelineResponseProto)},
3879 { 943, 949, sizeof(::Hdfs::Internal::SetBalancerBandwidthRequestProto)},
3880 { 950, 955, sizeof(::Hdfs::Internal::SetBalancerBandwidthResponseProto)},
3881 { 955, 960, sizeof(::Hdfs::Internal::GetDataEncryptionKeyRequestProto)},
3882 { 960, 966, sizeof(::Hdfs::Internal::GetDataEncryptionKeyResponseProto)},
3883 { 967, 974, sizeof(::Hdfs::Internal::CreateSnapshotRequestProto)},
3884 { 976, 982, sizeof(::Hdfs::Internal::CreateSnapshotResponseProto)},
3885 { 983, 991, sizeof(::Hdfs::Internal::RenameSnapshotRequestProto)},
3886 { 994, 999, sizeof(::Hdfs::Internal::RenameSnapshotResponseProto)},
3887 { 999, 1005, sizeof(::Hdfs::Internal::AllowSnapshotRequestProto)},
3888 { 1006, 1011, sizeof(::Hdfs::Internal::AllowSnapshotResponseProto)},
3889 { 1011, 1017, sizeof(::Hdfs::Internal::DisallowSnapshotRequestProto)},
3890 { 1018, 1023, sizeof(::Hdfs::Internal::DisallowSnapshotResponseProto)},
3891 { 1023, 1030, sizeof(::Hdfs::Internal::DeleteSnapshotRequestProto)},
3892 { 1032, 1037, sizeof(::Hdfs::Internal::DeleteSnapshotResponseProto)},
3893};
3894
3895static ::google::protobuf::Message const * const file_default_instances[] = {
3896 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetBlockLocationsRequestProto_default_instance_),
3897 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetBlockLocationsResponseProto_default_instance_),
3898 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetServerDefaultsRequestProto_default_instance_),
3899 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetServerDefaultsResponseProto_default_instance_),
3900 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CreateRequestProto_default_instance_),
3901 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CreateResponseProto_default_instance_),
3902 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_AppendRequestProto_default_instance_),
3903 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_AppendResponseProto_default_instance_),
3904 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetReplicationRequestProto_default_instance_),
3905 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetReplicationResponseProto_default_instance_),
3906 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetPermissionRequestProto_default_instance_),
3907 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetPermissionResponseProto_default_instance_),
3908 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetOwnerRequestProto_default_instance_),
3909 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetOwnerResponseProto_default_instance_),
3910 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_AbandonBlockRequestProto_default_instance_),
3911 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_AbandonBlockResponseProto_default_instance_),
3912 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_AddBlockRequestProto_default_instance_),
3913 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_AddBlockResponseProto_default_instance_),
3914 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetAdditionalDatanodeRequestProto_default_instance_),
3915 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetAdditionalDatanodeResponseProto_default_instance_),
3916 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CompleteRequestProto_default_instance_),
3917 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CompleteResponseProto_default_instance_),
3918 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ReportBadBlocksRequestProto_default_instance_),
3919 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ReportBadBlocksResponseProto_default_instance_),
3920 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ConcatRequestProto_default_instance_),
3921 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ConcatResponseProto_default_instance_),
3922 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_TruncateRequestProto_default_instance_),
3923 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_TruncateResponseProto_default_instance_),
3924 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetLeaseRequestProto_default_instance_),
3925 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetLeaseResponseProto_default_instance_),
3926 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ReleaseLeaseRequestProto_default_instance_),
3927 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ReleaseLeaseResponseProto_default_instance_),
3928 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RenameRequestProto_default_instance_),
3929 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RenameResponseProto_default_instance_),
3930 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_Rename2RequestProto_default_instance_),
3931 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_Rename2ResponseProto_default_instance_),
3932 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_DeleteRequestProto_default_instance_),
3933 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_DeleteResponseProto_default_instance_),
3934 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_MkdirsRequestProto_default_instance_),
3935 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_MkdirsResponseProto_default_instance_),
3936 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetListingRequestProto_default_instance_),
3937 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetListingResponseProto_default_instance_),
3938 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetSnapshottableDirListingRequestProto_default_instance_),
3939 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetSnapshottableDirListingResponseProto_default_instance_),
3940 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetSnapshotDiffReportRequestProto_default_instance_),
3941 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetSnapshotDiffReportResponseProto_default_instance_),
3942 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RenewLeaseRequestProto_default_instance_),
3943 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RenewLeaseResponseProto_default_instance_),
3944 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RecoverLeaseRequestProto_default_instance_),
3945 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RecoverLeaseResponseProto_default_instance_),
3946 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetFsStatusRequestProto_default_instance_),
3947 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetFsStatsResponseProto_default_instance_),
3948 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetDatanodeReportRequestProto_default_instance_),
3949 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetDatanodeReportResponseProto_default_instance_),
3950 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetPreferredBlockSizeRequestProto_default_instance_),
3951 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetPreferredBlockSizeResponseProto_default_instance_),
3952 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetSafeModeRequestProto_default_instance_),
3953 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetSafeModeResponseProto_default_instance_),
3954 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SaveNamespaceRequestProto_default_instance_),
3955 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SaveNamespaceResponseProto_default_instance_),
3956 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RollEditsRequestProto_default_instance_),
3957 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RollEditsResponseProto_default_instance_),
3958 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RestoreFailedStorageRequestProto_default_instance_),
3959 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RestoreFailedStorageResponseProto_default_instance_),
3960 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RefreshNodesRequestProto_default_instance_),
3961 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RefreshNodesResponseProto_default_instance_),
3962 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_FinalizeUpgradeRequestProto_default_instance_),
3963 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_FinalizeUpgradeResponseProto_default_instance_),
3964 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ListCorruptFileBlocksRequestProto_default_instance_),
3965 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ListCorruptFileBlocksResponseProto_default_instance_),
3966 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_MetaSaveRequestProto_default_instance_),
3967 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_MetaSaveResponseProto_default_instance_),
3968 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetFileInfoRequestProto_default_instance_),
3969 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetFileInfoResponseProto_default_instance_),
3970 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_IsFileClosedRequestProto_default_instance_),
3971 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_IsFileClosedResponseProto_default_instance_),
3972 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CacheDirectiveInfoProto_default_instance_),
3973 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CacheDirectiveInfoExpirationProto_default_instance_),
3974 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CacheDirectiveStatsProto_default_instance_),
3975 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_AddCacheDirectiveRequestProto_default_instance_),
3976 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_AddCacheDirectiveResponseProto_default_instance_),
3977 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ModifyCacheDirectiveRequestProto_default_instance_),
3978 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ModifyCacheDirectiveResponseProto_default_instance_),
3979 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RemoveCacheDirectiveRequestProto_default_instance_),
3980 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RemoveCacheDirectiveResponseProto_default_instance_),
3981 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ListCacheDirectivesRequestProto_default_instance_),
3982 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CacheDirectiveEntryProto_default_instance_),
3983 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ListCacheDirectivesResponseProto_default_instance_),
3984 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CachePoolInfoProto_default_instance_),
3985 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CachePoolStatsProto_default_instance_),
3986 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_AddCachePoolRequestProto_default_instance_),
3987 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_AddCachePoolResponseProto_default_instance_),
3988 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ModifyCachePoolRequestProto_default_instance_),
3989 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ModifyCachePoolResponseProto_default_instance_),
3990 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RemoveCachePoolRequestProto_default_instance_),
3991 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RemoveCachePoolResponseProto_default_instance_),
3992 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ListCachePoolsRequestProto_default_instance_),
3993 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_ListCachePoolsResponseProto_default_instance_),
3994 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CachePoolEntryProto_default_instance_),
3995 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetFileLinkInfoRequestProto_default_instance_),
3996 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetFileLinkInfoResponseProto_default_instance_),
3997 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetContentSummaryRequestProto_default_instance_),
3998 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetContentSummaryResponseProto_default_instance_),
3999 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetQuotaRequestProto_default_instance_),
4000 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetQuotaResponseProto_default_instance_),
4001 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_FsyncRequestProto_default_instance_),
4002 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_FsyncResponseProto_default_instance_),
4003 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetTimesRequestProto_default_instance_),
4004 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetTimesResponseProto_default_instance_),
4005 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CreateSymlinkRequestProto_default_instance_),
4006 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CreateSymlinkResponseProto_default_instance_),
4007 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetLinkTargetRequestProto_default_instance_),
4008 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetLinkTargetResponseProto_default_instance_),
4009 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_UpdateBlockForPipelineRequestProto_default_instance_),
4010 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_UpdateBlockForPipelineResponseProto_default_instance_),
4011 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_UpdatePipelineRequestProto_default_instance_),
4012 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_UpdatePipelineResponseProto_default_instance_),
4013 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetBalancerBandwidthRequestProto_default_instance_),
4014 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_SetBalancerBandwidthResponseProto_default_instance_),
4015 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetDataEncryptionKeyRequestProto_default_instance_),
4016 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_GetDataEncryptionKeyResponseProto_default_instance_),
4017 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CreateSnapshotRequestProto_default_instance_),
4018 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_CreateSnapshotResponseProto_default_instance_),
4019 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RenameSnapshotRequestProto_default_instance_),
4020 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_RenameSnapshotResponseProto_default_instance_),
4021 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_AllowSnapshotRequestProto_default_instance_),
4022 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_AllowSnapshotResponseProto_default_instance_),
4023 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_DisallowSnapshotRequestProto_default_instance_),
4024 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_DisallowSnapshotResponseProto_default_instance_),
4025 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_DeleteSnapshotRequestProto_default_instance_),
4026 reinterpret_cast<const ::google::protobuf::Message*>(&::Hdfs::Internal::_DeleteSnapshotResponseProto_default_instance_),
4027};
4028
4029void protobuf_AssignDescriptors() {
4030 AddDescriptors();
4031 AssignDescriptors(
4032 "ClientNamenodeProtocol.proto", schemas, file_default_instances, TableStruct::offsets,
4033 file_level_metadata, file_level_enum_descriptors, file_level_service_descriptors);
4034}
4035
4036void protobuf_AssignDescriptorsOnce() {
4037 static ::google::protobuf::internal::once_flag once;
4038 ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
4039}
4040
4041void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
4042void protobuf_RegisterTypes(const ::std::string&) {
4043 protobuf_AssignDescriptorsOnce();
4044 ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 131);
4045}
4046
4047void AddDescriptorsImpl() {
4048 InitDefaults();
4049 static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
4050 "\n\034ClientNamenodeProtocol.proto\022\rHdfs.Int"
4051 "ernal\032\nhdfs.proto\032\016Security.proto\"L\n\035Get"
4052 "BlockLocationsRequestProto\022\013\n\003src\030\001 \002(\t\022"
4053 "\016\n\006offset\030\002 \002(\004\022\016\n\006length\030\003 \002(\004\"V\n\036GetBl"
4054 "ockLocationsResponseProto\0224\n\tlocations\030\001"
4055 " \001(\0132!.Hdfs.Internal.LocatedBlocksProto\""
4056 "\037\n\035GetServerDefaultsRequestProto\"^\n\036GetS"
4057 "erverDefaultsResponseProto\022<\n\016serverDefa"
4058 "ults\030\001 \002(\0132$.Hdfs.Internal.FsServerDefau"
4059 "ltsProto\"\271\001\n\022CreateRequestProto\022\013\n\003src\030\001"
4060 " \002(\t\0220\n\006masked\030\002 \002(\0132 .Hdfs.Internal.FsP"
4061 "ermissionProto\022\022\n\nclientName\030\003 \002(\t\022\022\n\ncr"
4062 "eateFlag\030\004 \002(\r\022\024\n\014createParent\030\005 \002(\010\022\023\n\013"
4063 "replication\030\006 \002(\r\022\021\n\tblockSize\030\007 \002(\004\"E\n\023"
4064 "CreateResponseProto\022.\n\002fs\030\001 \001(\0132\".Hdfs.I"
4065 "nternal.HdfsFileStatusProto\"5\n\022AppendReq"
4066 "uestProto\022\013\n\003src\030\001 \002(\t\022\022\n\nclientName\030\002 \002"
4067 "(\t\"x\n\023AppendResponseProto\022/\n\005block\030\001 \001(\013"
4068 "2 .Hdfs.Internal.LocatedBlockProto\0220\n\004st"
4069 "at\030\002 \001(\0132\".Hdfs.Internal.HdfsFileStatusP"
4070 "roto\">\n\032SetReplicationRequestProto\022\013\n\003sr"
4071 "c\030\001 \002(\t\022\023\n\013replication\030\002 \002(\r\"-\n\033SetRepli"
4072 "cationResponseProto\022\016\n\006result\030\001 \002(\010\"^\n\031S"
4073 "etPermissionRequestProto\022\013\n\003src\030\001 \002(\t\0224\n"
4074 "\npermission\030\002 \002(\0132 .Hdfs.Internal.FsPerm"
4075 "issionProto\"\034\n\032SetPermissionResponseProt"
4076 "o\"H\n\024SetOwnerRequestProto\022\013\n\003src\030\001 \002(\t\022\020"
4077 "\n\010username\030\002 \001(\t\022\021\n\tgroupname\030\003 \001(\t\"\027\n\025S"
4078 "etOwnerResponseProto\"e\n\030AbandonBlockRequ"
4079 "estProto\022,\n\001b\030\001 \002(\0132!.Hdfs.Internal.Exte"
4080 "ndedBlockProto\022\013\n\003src\030\002 \002(\t\022\016\n\006holder\030\003 "
4081 "\002(\t\"\033\n\031AbandonBlockResponseProto\"\315\001\n\024Add"
4082 "BlockRequestProto\022\013\n\003src\030\001 \002(\t\022\022\n\nclient"
4083 "Name\030\002 \002(\t\0223\n\010previous\030\003 \001(\0132!.Hdfs.Inte"
4084 "rnal.ExtendedBlockProto\0226\n\014excludeNodes\030"
4085 "\004 \003(\0132 .Hdfs.Internal.DatanodeInfoProto\022"
4086 "\021\n\006fileId\030\005 \001(\004:\0010\022\024\n\014favoredNodes\030\006 \003(\t"
4087 "\"H\n\025AddBlockResponseProto\022/\n\005block\030\001 \002(\013"
4088 "2 .Hdfs.Internal.LocatedBlockProto\"\227\002\n!G"
4089 "etAdditionalDatanodeRequestProto\022\013\n\003src\030"
4090 "\001 \002(\t\022.\n\003blk\030\002 \002(\0132!.Hdfs.Internal.Exten"
4091 "dedBlockProto\0223\n\texistings\030\003 \003(\0132 .Hdfs."
4092 "Internal.DatanodeInfoProto\0222\n\010excludes\030\004"
4093 " \003(\0132 .Hdfs.Internal.DatanodeInfoProto\022\032"
4094 "\n\022numAdditionalNodes\030\005 \002(\r\022\022\n\nclientName"
4095 "\030\006 \002(\t\022\034\n\024existingStorageUuids\030\007 \003(\t\"U\n\""
4096 "GetAdditionalDatanodeResponseProto\022/\n\005bl"
4097 "ock\030\001 \002(\0132 .Hdfs.Internal.LocatedBlockPr"
4098 "oto\"{\n\024CompleteRequestProto\022\013\n\003src\030\001 \002(\t"
4099 "\022\022\n\nclientName\030\002 \002(\t\022/\n\004last\030\003 \001(\0132!.Hdf"
4100 "s.Internal.ExtendedBlockProto\022\021\n\006fileId\030"
4101 "\004 \001(\004:\0010\"\'\n\025CompleteResponseProto\022\016\n\006res"
4102 "ult\030\001 \002(\010\"O\n\033ReportBadBlocksRequestProto"
4103 "\0220\n\006blocks\030\001 \003(\0132 .Hdfs.Internal.Located"
4104 "BlockProto\"\036\n\034ReportBadBlocksResponsePro"
4105 "to\"/\n\022ConcatRequestProto\022\013\n\003trg\030\001 \002(\t\022\014\n"
4106 "\004srcs\030\002 \003(\t\"\025\n\023ConcatResponseProto\"J\n\024Tr"
4107 "uncateRequestProto\022\013\n\003src\030\001 \002(\t\022\021\n\tnewLe"
4108 "ngth\030\002 \002(\004\022\022\n\nclientName\030\003 \002(\t\"\'\n\025Trunca"
4109 "teResponseProto\022\016\n\006result\030\001 \002(\010\"7\n\024GetLe"
4110 "aseRequestProto\022\013\n\003src\030\001 \002(\t\022\022\n\nclientNa"
4111 "me\030\002 \002(\t\"\027\n\025GetLeaseResponseProto\";\n\030Rel"
4112 "easeLeaseRequestProto\022\013\n\003src\030\001 \002(\t\022\022\n\ncl"
4113 "ientName\030\002 \002(\t\"\033\n\031ReleaseLeaseResponsePr"
4114 "oto\".\n\022RenameRequestProto\022\013\n\003src\030\001 \002(\t\022\013"
4115 "\n\003dst\030\002 \002(\t\"%\n\023RenameResponseProto\022\016\n\006re"
4116 "sult\030\001 \002(\010\"F\n\023Rename2RequestProto\022\013\n\003src"
4117 "\030\001 \002(\t\022\013\n\003dst\030\002 \002(\t\022\025\n\roverwriteDest\030\003 \002"
4118 "(\010\"\026\n\024Rename2ResponseProto\"4\n\022DeleteRequ"
4119 "estProto\022\013\n\003src\030\001 \002(\t\022\021\n\trecursive\030\002 \002(\010"
4120 "\"%\n\023DeleteResponseProto\022\016\n\006result\030\001 \002(\010\""
4121 "i\n\022MkdirsRequestProto\022\013\n\003src\030\001 \002(\t\0220\n\006ma"
4122 "sked\030\002 \002(\0132 .Hdfs.Internal.FsPermissionP"
4123 "roto\022\024\n\014createParent\030\003 \002(\010\"%\n\023MkdirsResp"
4124 "onseProto\022\016\n\006result\030\001 \002(\010\"O\n\026GetListingR"
4125 "equestProto\022\013\n\003src\030\001 \002(\t\022\022\n\nstartAfter\030\002"
4126 " \002(\014\022\024\n\014needLocation\030\003 \002(\010\"P\n\027GetListing"
4127 "ResponseProto\0225\n\007dirList\030\001 \001(\0132$.Hdfs.In"
4128 "ternal.DirectoryListingProto\"(\n&GetSnaps"
4129 "hottableDirListingRequestProto\"z\n\'GetSna"
4130 "pshottableDirListingResponseProto\022O\n\024sna"
4131 "pshottableDirList\030\001 \001(\01321.Hdfs.Internal."
4132 "SnapshottableDirectoryListingProto\"c\n!Ge"
4133 "tSnapshotDiffReportRequestProto\022\024\n\014snaps"
4134 "hotRoot\030\001 \002(\t\022\024\n\014fromSnapshot\030\002 \002(\t\022\022\n\nt"
4135 "oSnapshot\030\003 \002(\t\"`\n\"GetSnapshotDiffReport"
4136 "ResponseProto\022:\n\ndiffReport\030\001 \002(\0132&.Hdfs"
4137 ".Internal.SnapshotDiffReportProto\",\n\026Ren"
4138 "ewLeaseRequestProto\022\022\n\nclientName\030\001 \002(\t\""
4139 "\031\n\027RenewLeaseResponseProto\";\n\030RecoverLea"
4140 "seRequestProto\022\013\n\003src\030\001 \002(\t\022\022\n\nclientNam"
4141 "e\030\002 \002(\t\"+\n\031RecoverLeaseResponseProto\022\016\n\006"
4142 "result\030\001 \002(\010\"\031\n\027GetFsStatusRequestProto\""
4143 "\226\001\n\027GetFsStatsResponseProto\022\020\n\010capacity\030"
4144 "\001 \002(\004\022\014\n\004used\030\002 \002(\004\022\021\n\tremaining\030\003 \002(\004\022\030"
4145 "\n\020under_replicated\030\004 \002(\004\022\026\n\016corrupt_bloc"
4146 "ks\030\005 \002(\004\022\026\n\016missing_blocks\030\006 \002(\004\"U\n\035GetD"
4147 "atanodeReportRequestProto\0224\n\004type\030\001 \002(\0162"
4148 "&.Hdfs.Internal.DatanodeReportTypeProto\""
4149 "N\n\036GetDatanodeReportResponseProto\022,\n\002di\030"
4150 "\001 \003(\0132 .Hdfs.Internal.DatanodeInfoProto\""
4151 "5\n!GetPreferredBlockSizeRequestProto\022\020\n\010"
4152 "filename\030\001 \002(\t\"3\n\"GetPreferredBlockSizeR"
4153 "esponseProto\022\r\n\005bsize\030\001 \002(\004\"e\n\027SetSafeMo"
4154 "deRequestProto\0222\n\006action\030\001 \002(\0162\".Hdfs.In"
4155 "ternal.SafeModeActionProto\022\026\n\007checked\030\002 "
4156 "\001(\010:\005false\"*\n\030SetSafeModeResponseProto\022\016"
4157 "\n\006result\030\001 \002(\010\"\033\n\031SaveNamespaceRequestPr"
4158 "oto\"\034\n\032SaveNamespaceResponseProto\"\027\n\025Rol"
4159 "lEditsRequestProto\"0\n\026RollEditsResponseP"
4160 "roto\022\026\n\016newSegmentTxId\030\001 \002(\004\"/\n RestoreF"
4161 "ailedStorageRequestProto\022\013\n\003arg\030\001 \002(\t\"3\n"
4162 "!RestoreFailedStorageResponseProto\022\016\n\006re"
4163 "sult\030\001 \002(\010\"\032\n\030RefreshNodesRequestProto\"\033"
4164 "\n\031RefreshNodesResponseProto\"\035\n\033FinalizeU"
4165 "pgradeRequestProto\"\036\n\034FinalizeUpgradeRes"
4166 "ponseProto\"A\n!ListCorruptFileBlocksReque"
4167 "stProto\022\014\n\004path\030\001 \002(\t\022\016\n\006cookie\030\002 \001(\t\"\\\n"
4168 "\"ListCorruptFileBlocksResponseProto\0226\n\007c"
4169 "orrupt\030\001 \002(\0132%.Hdfs.Internal.CorruptFile"
4170 "BlocksProto\"(\n\024MetaSaveRequestProto\022\020\n\010f"
4171 "ilename\030\001 \002(\t\"\027\n\025MetaSaveResponseProto\"&"
4172 "\n\027GetFileInfoRequestProto\022\013\n\003src\030\001 \002(\t\"J"
4173 "\n\030GetFileInfoResponseProto\022.\n\002fs\030\001 \001(\0132\""
4174 ".Hdfs.Internal.HdfsFileStatusProto\"\'\n\030Is"
4175 "FileClosedRequestProto\022\013\n\003src\030\001 \002(\t\"+\n\031I"
4176 "sFileClosedResponseProto\022\016\n\006result\030\001 \002(\010"
4177 "\"\234\001\n\027CacheDirectiveInfoProto\022\n\n\002id\030\001 \001(\003"
4178 "\022\014\n\004path\030\002 \001(\t\022\023\n\013replication\030\003 \001(\r\022\014\n\004p"
4179 "ool\030\004 \001(\t\022D\n\nexpiration\030\005 \001(\01320.Hdfs.Int"
4180 "ernal.CacheDirectiveInfoExpirationProto\""
4181 "G\n!CacheDirectiveInfoExpirationProto\022\016\n\006"
4182 "millis\030\001 \002(\003\022\022\n\nisRelative\030\002 \002(\010\"\202\001\n\030Cac"
4183 "heDirectiveStatsProto\022\023\n\013bytesNeeded\030\001 \002"
4184 "(\003\022\023\n\013bytesCached\030\002 \002(\003\022\023\n\013filesNeeded\030\003"
4185 " \002(\003\022\023\n\013filesCached\030\004 \002(\003\022\022\n\nhasExpired\030"
4186 "\005 \002(\010\"i\n\035AddCacheDirectiveRequestProto\0224"
4187 "\n\004info\030\001 \002(\0132&.Hdfs.Internal.CacheDirect"
4188 "iveInfoProto\022\022\n\ncacheFlags\030\002 \001(\r\",\n\036AddC"
4189 "acheDirectiveResponseProto\022\n\n\002id\030\001 \002(\003\"l"
4190 "\n ModifyCacheDirectiveRequestProto\0224\n\004in"
4191 "fo\030\001 \002(\0132&.Hdfs.Internal.CacheDirectiveI"
4192 "nfoProto\022\022\n\ncacheFlags\030\002 \001(\r\"#\n!ModifyCa"
4193 "cheDirectiveResponseProto\".\n RemoveCache"
4194 "DirectiveRequestProto\022\n\n\002id\030\001 \002(\003\"#\n!Rem"
4195 "oveCacheDirectiveResponseProto\"i\n\037ListCa"
4196 "cheDirectivesRequestProto\022\016\n\006prevId\030\001 \002("
4197 "\003\0226\n\006filter\030\002 \002(\0132&.Hdfs.Internal.CacheD"
4198 "irectiveInfoProto\"\210\001\n\030CacheDirectiveEntr"
4199 "yProto\0224\n\004info\030\001 \002(\0132&.Hdfs.Internal.Cac"
4200 "heDirectiveInfoProto\0226\n\005stats\030\002 \002(\0132\'.Hd"
4201 "fs.Internal.CacheDirectiveStatsProto\"n\n "
4202 "ListCacheDirectivesResponseProto\0229\n\010elem"
4203 "ents\030\001 \003(\0132\'.Hdfs.Internal.CacheDirectiv"
4204 "eEntryProto\022\017\n\007hasMore\030\002 \002(\010\"\204\001\n\022CachePo"
4205 "olInfoProto\022\020\n\010poolName\030\001 \001(\t\022\021\n\townerNa"
4206 "me\030\002 \001(\t\022\021\n\tgroupName\030\003 \001(\t\022\014\n\004mode\030\004 \001("
4207 "\005\022\r\n\005limit\030\005 \001(\003\022\031\n\021maxRelativeExpiry\030\006 "
4208 "\001(\003\"\201\001\n\023CachePoolStatsProto\022\023\n\013bytesNeed"
4209 "ed\030\001 \002(\003\022\023\n\013bytesCached\030\002 \002(\003\022\026\n\016bytesOv"
4210 "erlimit\030\003 \002(\003\022\023\n\013filesNeeded\030\004 \002(\003\022\023\n\013fi"
4211 "lesCached\030\005 \002(\003\"K\n\030AddCachePoolRequestPr"
4212 "oto\022/\n\004info\030\001 \002(\0132!.Hdfs.Internal.CacheP"
4213 "oolInfoProto\"\033\n\031AddCachePoolResponseProt"
4214 "o\"N\n\033ModifyCachePoolRequestProto\022/\n\004info"
4215 "\030\001 \002(\0132!.Hdfs.Internal.CachePoolInfoProt"
4216 "o\"\036\n\034ModifyCachePoolResponseProto\"/\n\033Rem"
4217 "oveCachePoolRequestProto\022\020\n\010poolName\030\001 \002"
4218 "(\t\"\036\n\034RemoveCachePoolResponseProto\"2\n\032Li"
4219 "stCachePoolsRequestProto\022\024\n\014prevPoolName"
4220 "\030\001 \002(\t\"c\n\033ListCachePoolsResponseProto\0223\n"
4221 "\007entries\030\001 \003(\0132\".Hdfs.Internal.CachePool"
4222 "EntryProto\022\017\n\007hasMore\030\002 \002(\010\"y\n\023CachePool"
4223 "EntryProto\022/\n\004info\030\001 \002(\0132!.Hdfs.Internal"
4224 ".CachePoolInfoProto\0221\n\005stats\030\002 \002(\0132\".Hdf"
4225 "s.Internal.CachePoolStatsProto\"*\n\033GetFil"
4226 "eLinkInfoRequestProto\022\013\n\003src\030\001 \002(\t\"N\n\034Ge"
4227 "tFileLinkInfoResponseProto\022.\n\002fs\030\001 \001(\0132\""
4228 ".Hdfs.Internal.HdfsFileStatusProto\"-\n\035Ge"
4229 "tContentSummaryRequestProto\022\014\n\004path\030\001 \002("
4230 "\t\"U\n\036GetContentSummaryResponseProto\0223\n\007s"
4231 "ummary\030\001 \002(\0132\".Hdfs.Internal.ContentSumm"
4232 "aryProto\"T\n\024SetQuotaRequestProto\022\014\n\004path"
4233 "\030\001 \002(\t\022\026\n\016namespaceQuota\030\002 \002(\004\022\026\n\016disksp"
4234 "aceQuota\030\003 \002(\004\"\027\n\025SetQuotaResponseProto\""
4235 "M\n\021FsyncRequestProto\022\013\n\003src\030\001 \002(\t\022\016\n\006cli"
4236 "ent\030\002 \002(\t\022\033\n\017lastBlockLength\030\003 \001(\022:\002-1\"\024"
4237 "\n\022FsyncResponseProto\"A\n\024SetTimesRequestP"
4238 "roto\022\013\n\003src\030\001 \002(\t\022\r\n\005mtime\030\002 \002(\004\022\r\n\005atim"
4239 "e\030\003 \002(\004\"\027\n\025SetTimesResponseProto\"\202\001\n\031Cre"
4240 "ateSymlinkRequestProto\022\016\n\006target\030\001 \002(\t\022\014"
4241 "\n\004link\030\002 \002(\t\0221\n\007dirPerm\030\003 \002(\0132 .Hdfs.Int"
4242 "ernal.FsPermissionProto\022\024\n\014createParent\030"
4243 "\004 \002(\010\"\034\n\032CreateSymlinkResponseProto\")\n\031G"
4244 "etLinkTargetRequestProto\022\014\n\004path\030\001 \002(\t\"0"
4245 "\n\032GetLinkTargetResponseProto\022\022\n\ntargetPa"
4246 "th\030\001 \001(\t\"j\n\"UpdateBlockForPipelineReques"
4247 "tProto\0220\n\005block\030\001 \002(\0132!.Hdfs.Internal.Ex"
4248 "tendedBlockProto\022\022\n\nclientName\030\002 \002(\t\"V\n#"
4249 "UpdateBlockForPipelineResponseProto\022/\n\005b"
4250 "lock\030\001 \002(\0132 .Hdfs.Internal.LocatedBlockP"
4251 "roto\"\340\001\n\032UpdatePipelineRequestProto\022\022\n\nc"
4252 "lientName\030\001 \002(\t\0223\n\010oldBlock\030\002 \002(\0132!.Hdfs"
4253 ".Internal.ExtendedBlockProto\0223\n\010newBlock"
4254 "\030\003 \002(\0132!.Hdfs.Internal.ExtendedBlockProt"
4255 "o\0220\n\010newNodes\030\004 \003(\0132\036.Hdfs.Internal.Data"
4256 "nodeIDProto\022\022\n\nstorageIDs\030\005 \003(\t\"\035\n\033Updat"
4257 "ePipelineResponseProto\"5\n SetBalancerBan"
4258 "dwidthRequestProto\022\021\n\tbandwidth\030\001 \002(\003\"#\n"
4259 "!SetBalancerBandwidthResponseProto\"\"\n Ge"
4260 "tDataEncryptionKeyRequestProto\"e\n!GetDat"
4261 "aEncryptionKeyResponseProto\022@\n\021dataEncry"
4262 "ptionKey\030\001 \001(\0132%.Hdfs.Internal.DataEncry"
4263 "ptionKeyProto\"H\n\032CreateSnapshotRequestPr"
4264 "oto\022\024\n\014snapshotRoot\030\001 \002(\t\022\024\n\014snapshotNam"
4265 "e\030\002 \001(\t\"3\n\033CreateSnapshotResponseProto\022\024"
4266 "\n\014snapshotPath\030\001 \002(\t\"d\n\032RenameSnapshotRe"
4267 "questProto\022\024\n\014snapshotRoot\030\001 \002(\t\022\027\n\017snap"
4268 "shotOldName\030\002 \002(\t\022\027\n\017snapshotNewName\030\003 \002"
4269 "(\t\"\035\n\033RenameSnapshotResponseProto\"1\n\031All"
4270 "owSnapshotRequestProto\022\024\n\014snapshotRoot\030\001"
4271 " \002(\t\"\034\n\032AllowSnapshotResponseProto\"4\n\034Di"
4272 "sallowSnapshotRequestProto\022\024\n\014snapshotRo"
4273 "ot\030\001 \002(\t\"\037\n\035DisallowSnapshotResponseProt"
4274 "o\"H\n\032DeleteSnapshotRequestProto\022\024\n\014snaps"
4275 "hotRoot\030\001 \002(\t\022\024\n\014snapshotName\030\002 \002(\t\"\035\n\033D"
4276 "eleteSnapshotResponseProto*8\n\017CreateFlag"
4277 "Proto\022\n\n\006CREATE\020\001\022\r\n\tOVERWRITE\020\002\022\n\n\006APPE"
4278 "ND\020\004*6\n\027DatanodeReportTypeProto\022\007\n\003ALL\020\001"
4279 "\022\010\n\004LIVE\020\002\022\010\n\004DEAD\020\003*O\n\023SafeModeActionPr"
4280 "oto\022\022\n\016SAFEMODE_LEAVE\020\001\022\022\n\016SAFEMODE_ENTE"
4281 "R\020\002\022\020\n\014SAFEMODE_GET\020\003*\033\n\016CacheFlagProto\022"
4282 "\t\n\005FORCE\020\0012\3554\n\026ClientNamenodeProtocol\022p\n"
4283 "\021getBlockLocations\022,.Hdfs.Internal.GetBl"
4284 "ockLocationsRequestProto\032-.Hdfs.Internal"
4285 ".GetBlockLocationsResponseProto\022p\n\021getSe"
4286 "rverDefaults\022,.Hdfs.Internal.GetServerDe"
4287 "faultsRequestProto\032-.Hdfs.Internal.GetSe"
4288 "rverDefaultsResponseProto\022O\n\006create\022!.Hd"
4289 "fs.Internal.CreateRequestProto\032\".Hdfs.In"
4290 "ternal.CreateResponseProto\022O\n\006append\022!.H"
4291 "dfs.Internal.AppendRequestProto\032\".Hdfs.I"
4292 "nternal.AppendResponseProto\022g\n\016setReplic"
4293 "ation\022).Hdfs.Internal.SetReplicationRequ"
4294 "estProto\032*.Hdfs.Internal.SetReplicationR"
4295 "esponseProto\022d\n\rsetPermission\022(.Hdfs.Int"
4296 "ernal.SetPermissionRequestProto\032).Hdfs.I"
4297 "nternal.SetPermissionResponseProto\022U\n\010se"
4298 "tOwner\022#.Hdfs.Internal.SetOwnerRequestPr"
4299 "oto\032$.Hdfs.Internal.SetOwnerResponseProt"
4300 "o\022a\n\014abandonBlock\022\'.Hdfs.Internal.Abando"
4301 "nBlockRequestProto\032(.Hdfs.Internal.Aband"
4302 "onBlockResponseProto\022U\n\010addBlock\022#.Hdfs."
4303 "Internal.AddBlockRequestProto\032$.Hdfs.Int"
4304 "ernal.AddBlockResponseProto\022|\n\025getAdditi"
4305 "onalDatanode\0220.Hdfs.Internal.GetAddition"
4306 "alDatanodeRequestProto\0321.Hdfs.Internal.G"
4307 "etAdditionalDatanodeResponseProto\022U\n\010com"
4308 "plete\022#.Hdfs.Internal.CompleteRequestPro"
4309 "to\032$.Hdfs.Internal.CompleteResponseProto"
4310 "\022j\n\017reportBadBlocks\022*.Hdfs.Internal.Repo"
4311 "rtBadBlocksRequestProto\032+.Hdfs.Internal."
4312 "ReportBadBlocksResponseProto\022O\n\006concat\022!"
4313 ".Hdfs.Internal.ConcatRequestProto\032\".Hdfs"
4314 ".Internal.ConcatResponseProto\022U\n\010truncat"
4315 "e\022#.Hdfs.Internal.TruncateRequestProto\032$"
4316 ".Hdfs.Internal.TruncateResponseProto\022U\n\010"
4317 "getLease\022#.Hdfs.Internal.GetLeaseRequest"
4318 "Proto\032$.Hdfs.Internal.GetLeaseResponsePr"
4319 "oto\022a\n\014releaseLease\022\'.Hdfs.Internal.Rele"
4320 "aseLeaseRequestProto\032(.Hdfs.Internal.Rel"
4321 "easeLeaseResponseProto\022O\n\006rename\022!.Hdfs."
4322 "Internal.RenameRequestProto\032\".Hdfs.Inter"
4323 "nal.RenameResponseProto\022R\n\007rename2\022\".Hdf"
4324 "s.Internal.Rename2RequestProto\032#.Hdfs.In"
4325 "ternal.Rename2ResponseProto\022S\n\ndeleteFil"
4326 "e\022!.Hdfs.Internal.DeleteRequestProto\032\".H"
4327 "dfs.Internal.DeleteResponseProto\022O\n\006mkdi"
4328 "rs\022!.Hdfs.Internal.MkdirsRequestProto\032\"."
4329 "Hdfs.Internal.MkdirsResponseProto\022[\n\nget"
4330 "Listing\022%.Hdfs.Internal.GetListingReques"
4331 "tProto\032&.Hdfs.Internal.GetListingRespons"
4332 "eProto\022[\n\nrenewLease\022%.Hdfs.Internal.Ren"
4333 "ewLeaseRequestProto\032&.Hdfs.Internal.Rene"
4334 "wLeaseResponseProto\022a\n\014recoverLease\022\'.Hd"
4335 "fs.Internal.RecoverLeaseRequestProto\032(.H"
4336 "dfs.Internal.RecoverLeaseResponseProto\022\\"
4337 "\n\ngetFsStats\022&.Hdfs.Internal.GetFsStatus"
4338 "RequestProto\032&.Hdfs.Internal.GetFsStatsR"
4339 "esponseProto\022p\n\021getDatanodeReport\022,.Hdfs"
4340 ".Internal.GetDatanodeReportRequestProto\032"
4341 "-.Hdfs.Internal.GetDatanodeReportRespons"
4342 "eProto\022|\n\025getPreferredBlockSize\0220.Hdfs.I"
4343 "nternal.GetPreferredBlockSizeRequestProt"
4344 "o\0321.Hdfs.Internal.GetPreferredBlockSizeR"
4345 "esponseProto\022^\n\013setSafeMode\022&.Hdfs.Inter"
4346 "nal.SetSafeModeRequestProto\032\'.Hdfs.Inter"
4347 "nal.SetSafeModeResponseProto\022d\n\rsaveName"
4348 "space\022(.Hdfs.Internal.SaveNamespaceReque"
4349 "stProto\032).Hdfs.Internal.SaveNamespaceRes"
4350 "ponseProto\022X\n\trollEdits\022$.Hdfs.Internal."
4351 "RollEditsRequestProto\032%.Hdfs.Internal.Ro"
4352 "llEditsResponseProto\022y\n\024restoreFailedSto"
4353 "rage\022/.Hdfs.Internal.RestoreFailedStorag"
4354 "eRequestProto\0320.Hdfs.Internal.RestoreFai"
4355 "ledStorageResponseProto\022a\n\014refreshNodes\022"
4356 "\'.Hdfs.Internal.RefreshNodesRequestProto"
4357 "\032(.Hdfs.Internal.RefreshNodesResponsePro"
4358 "to\022j\n\017finalizeUpgrade\022*.Hdfs.Internal.Fi"
4359 "nalizeUpgradeRequestProto\032+.Hdfs.Interna"
4360 "l.FinalizeUpgradeResponseProto\022|\n\025listCo"
4361 "rruptFileBlocks\0220.Hdfs.Internal.ListCorr"
4362 "uptFileBlocksRequestProto\0321.Hdfs.Interna"
4363 "l.ListCorruptFileBlocksResponseProto\022U\n\010"
4364 "metaSave\022#.Hdfs.Internal.MetaSaveRequest"
4365 "Proto\032$.Hdfs.Internal.MetaSaveResponsePr"
4366 "oto\022^\n\013getFileInfo\022&.Hdfs.Internal.GetFi"
4367 "leInfoRequestProto\032\'.Hdfs.Internal.GetFi"
4368 "leInfoResponseProto\022p\n\021addCacheDirective"
4369 "\022,.Hdfs.Internal.AddCacheDirectiveReques"
4370 "tProto\032-.Hdfs.Internal.AddCacheDirective"
4371 "ResponseProto\022y\n\024modifyCacheDirective\022/."
4372 "Hdfs.Internal.ModifyCacheDirectiveReques"
4373 "tProto\0320.Hdfs.Internal.ModifyCacheDirect"
4374 "iveResponseProto\022y\n\024removeCacheDirective"
4375 "\022/.Hdfs.Internal.RemoveCacheDirectiveReq"
4376 "uestProto\0320.Hdfs.Internal.RemoveCacheDir"
4377 "ectiveResponseProto\022v\n\023listCacheDirectiv"
4378 "es\022..Hdfs.Internal.ListCacheDirectivesRe"
4379 "questProto\032/.Hdfs.Internal.ListCacheDire"
4380 "ctivesResponseProto\022a\n\014addCachePool\022\'.Hd"
4381 "fs.Internal.AddCachePoolRequestProto\032(.H"
4382 "dfs.Internal.AddCachePoolResponseProto\022j"
4383 "\n\017modifyCachePool\022*.Hdfs.Internal.Modify"
4384 "CachePoolRequestProto\032+.Hdfs.Internal.Mo"
4385 "difyCachePoolResponseProto\022j\n\017removeCach"
4386 "ePool\022*.Hdfs.Internal.RemoveCachePoolReq"
4387 "uestProto\032+.Hdfs.Internal.RemoveCachePoo"
4388 "lResponseProto\022g\n\016listCachePools\022).Hdfs."
4389 "Internal.ListCachePoolsRequestProto\032*.Hd"
4390 "fs.Internal.ListCachePoolsResponseProto\022"
4391 "j\n\017getFileLinkInfo\022*.Hdfs.Internal.GetFi"
4392 "leLinkInfoRequestProto\032+.Hdfs.Internal.G"
4393 "etFileLinkInfoResponseProto\022p\n\021getConten"
4394 "tSummary\022,.Hdfs.Internal.GetContentSumma"
4395 "ryRequestProto\032-.Hdfs.Internal.GetConten"
4396 "tSummaryResponseProto\022U\n\010setQuota\022#.Hdfs"
4397 ".Internal.SetQuotaRequestProto\032$.Hdfs.In"
4398 "ternal.SetQuotaResponseProto\022L\n\005fsync\022 ."
4399 "Hdfs.Internal.FsyncRequestProto\032!.Hdfs.I"
4400 "nternal.FsyncResponseProto\022U\n\010setTimes\022#"
4401 ".Hdfs.Internal.SetTimesRequestProto\032$.Hd"
4402 "fs.Internal.SetTimesResponseProto\022d\n\rcre"
4403 "ateSymlink\022(.Hdfs.Internal.CreateSymlink"
4404 "RequestProto\032).Hdfs.Internal.CreateSymli"
4405 "nkResponseProto\022d\n\rgetLinkTarget\022(.Hdfs."
4406 "Internal.GetLinkTargetRequestProto\032).Hdf"
4407 "s.Internal.GetLinkTargetResponseProto\022\177\n"
4408 "\026updateBlockForPipeline\0221.Hdfs.Internal."
4409 "UpdateBlockForPipelineRequestProto\0322.Hdf"
4410 "s.Internal.UpdateBlockForPipelineRespons"
4411 "eProto\022g\n\016updatePipeline\022).Hdfs.Internal"
4412 ".UpdatePipelineRequestProto\032*.Hdfs.Inter"
4413 "nal.UpdatePipelineResponseProto\022s\n\022getDe"
4414 "legationToken\022-.Hdfs.Internal.GetDelegat"
4415 "ionTokenRequestProto\032..Hdfs.Internal.Get"
4416 "DelegationTokenResponseProto\022y\n\024renewDel"
4417 "egationToken\022/.Hdfs.Internal.RenewDelega"
4418 "tionTokenRequestProto\0320.Hdfs.Internal.Re"
4419 "newDelegationTokenResponseProto\022|\n\025cance"
4420 "lDelegationToken\0220.Hdfs.Internal.CancelD"
4421 "elegationTokenRequestProto\0321.Hdfs.Intern"
4422 "al.CancelDelegationTokenResponseProto\022y\n"
4423 "\024setBalancerBandwidth\022/.Hdfs.Internal.Se"
4424 "tBalancerBandwidthRequestProto\0320.Hdfs.In"
4425 "ternal.SetBalancerBandwidthResponseProto"
4426 "\022y\n\024getDataEncryptionKey\022/.Hdfs.Internal"
4427 ".GetDataEncryptionKeyRequestProto\0320.Hdfs"
4428 ".Internal.GetDataEncryptionKeyResponsePr"
4429 "oto\022g\n\016createSnapshot\022).Hdfs.Internal.Cr"
4430 "eateSnapshotRequestProto\032*.Hdfs.Internal"
4431 ".CreateSnapshotResponseProto\022g\n\016renameSn"
4432 "apshot\022).Hdfs.Internal.RenameSnapshotReq"
4433 "uestProto\032*.Hdfs.Internal.RenameSnapshot"
4434 "ResponseProto\022d\n\rallowSnapshot\022(.Hdfs.In"
4435 "ternal.AllowSnapshotRequestProto\032).Hdfs."
4436 "Internal.AllowSnapshotResponseProto\022m\n\020d"
4437 "isallowSnapshot\022+.Hdfs.Internal.Disallow"
4438 "SnapshotRequestProto\032,.Hdfs.Internal.Dis"
4439 "allowSnapshotResponseProto\022\213\001\n\032getSnapsh"
4440 "ottableDirListing\0225.Hdfs.Internal.GetSna"
4441 "pshottableDirListingRequestProto\0326.Hdfs."
4442 "Internal.GetSnapshottableDirListingRespo"
4443 "nseProto\022g\n\016deleteSnapshot\022).Hdfs.Intern"
4444 "al.DeleteSnapshotRequestProto\032*.Hdfs.Int"
4445 "ernal.DeleteSnapshotResponseProto\022|\n\025get"
4446 "SnapshotDiffReport\0220.Hdfs.Internal.GetSn"
4447 "apshotDiffReportRequestProto\0321.Hdfs.Inte"
4448 "rnal.GetSnapshotDiffReportResponseProto\022"
4449 "a\n\014isFileClosed\022\'.Hdfs.Internal.IsFileCl"
4450 "osedRequestProto\032(.Hdfs.Internal.IsFileC"
4451 "losedResponseProtoBN\n%org.apache.hadoop."
4452 "hdfs.protocol.protoB\034ClientNamenodeProto"
4453 "colProtos\200\001\001\210\001\001\240\001\001"
4454 };
4455 ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
4456 descriptor, 16138);
4457 ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
4458 "ClientNamenodeProtocol.proto", &protobuf_RegisterTypes);
4459 ::protobuf_hdfs_2eproto::AddDescriptors();
4460 ::protobuf_Security_2eproto::AddDescriptors();
4461}
4462
4463void AddDescriptors() {
4464 static ::google::protobuf::internal::once_flag once;
4465 ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
4466}
4467// Force AddDescriptors() to be called at dynamic initialization time.
4468struct StaticDescriptorInitializer {
4469 StaticDescriptorInitializer() {
4470 AddDescriptors();
4471 }
4472} static_descriptor_initializer;
4473} // namespace protobuf_ClientNamenodeProtocol_2eproto
4474namespace Hdfs {
4475namespace Internal {
4476const ::google::protobuf::EnumDescriptor* CreateFlagProto_descriptor() {
4477 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
4478 return protobuf_ClientNamenodeProtocol_2eproto::file_level_enum_descriptors[0];
4479}
4480bool CreateFlagProto_IsValid(int value) {
4481 switch (value) {
4482 case 1:
4483 case 2:
4484 case 4:
4485 return true;
4486 default:
4487 return false;
4488 }
4489}
4490
4491const ::google::protobuf::EnumDescriptor* DatanodeReportTypeProto_descriptor() {
4492 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
4493 return protobuf_ClientNamenodeProtocol_2eproto::file_level_enum_descriptors[1];
4494}
4495bool DatanodeReportTypeProto_IsValid(int value) {
4496 switch (value) {
4497 case 1:
4498 case 2:
4499 case 3:
4500 return true;
4501 default:
4502 return false;
4503 }
4504}
4505
4506const ::google::protobuf::EnumDescriptor* SafeModeActionProto_descriptor() {
4507 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
4508 return protobuf_ClientNamenodeProtocol_2eproto::file_level_enum_descriptors[2];
4509}
4510bool SafeModeActionProto_IsValid(int value) {
4511 switch (value) {
4512 case 1:
4513 case 2:
4514 case 3:
4515 return true;
4516 default:
4517 return false;
4518 }
4519}
4520
4521const ::google::protobuf::EnumDescriptor* CacheFlagProto_descriptor() {
4522 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
4523 return protobuf_ClientNamenodeProtocol_2eproto::file_level_enum_descriptors[3];
4524}
4525bool CacheFlagProto_IsValid(int value) {
4526 switch (value) {
4527 case 1:
4528 return true;
4529 default:
4530 return false;
4531 }
4532}
4533
4534
4535// ===================================================================
4536
4537void GetBlockLocationsRequestProto::InitAsDefaultInstance() {
4538}
4539#if !defined(_MSC_VER) || _MSC_VER >= 1900
4540const int GetBlockLocationsRequestProto::kSrcFieldNumber;
4541const int GetBlockLocationsRequestProto::kOffsetFieldNumber;
4542const int GetBlockLocationsRequestProto::kLengthFieldNumber;
4543#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
4544
4545GetBlockLocationsRequestProto::GetBlockLocationsRequestProto()
4546 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4547 ::google::protobuf::internal::InitSCC(
4548 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetBlockLocationsRequestProto.base);
4549 SharedCtor();
4550 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetBlockLocationsRequestProto)
4551}
4552GetBlockLocationsRequestProto::GetBlockLocationsRequestProto(const GetBlockLocationsRequestProto& from)
4553 : ::google::protobuf::Message(),
4554 _internal_metadata_(NULL),
4555 _has_bits_(from._has_bits_) {
4556 _internal_metadata_.MergeFrom(from._internal_metadata_);
4557 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4558 if (from.has_src()) {
4559 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
4560 }
4561 ::memcpy(&offset_, &from.offset_,
4562 static_cast<size_t>(reinterpret_cast<char*>(&length_) -
4563 reinterpret_cast<char*>(&offset_)) + sizeof(length_));
4564 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetBlockLocationsRequestProto)
4565}
4566
4567void GetBlockLocationsRequestProto::SharedCtor() {
4568 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4569 ::memset(&offset_, 0, static_cast<size_t>(
4570 reinterpret_cast<char*>(&length_) -
4571 reinterpret_cast<char*>(&offset_)) + sizeof(length_));
4572}
4573
4574GetBlockLocationsRequestProto::~GetBlockLocationsRequestProto() {
4575 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetBlockLocationsRequestProto)
4576 SharedDtor();
4577}
4578
4579void GetBlockLocationsRequestProto::SharedDtor() {
4580 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4581}
4582
4583void GetBlockLocationsRequestProto::SetCachedSize(int size) const {
4584 _cached_size_.Set(size);
4585}
4586const ::google::protobuf::Descriptor* GetBlockLocationsRequestProto::descriptor() {
4587 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
4588 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4589}
4590
4591const GetBlockLocationsRequestProto& GetBlockLocationsRequestProto::default_instance() {
4592 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetBlockLocationsRequestProto.base);
4593 return *internal_default_instance();
4594}
4595
4596
4597void GetBlockLocationsRequestProto::Clear() {
4598// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetBlockLocationsRequestProto)
4599 ::google::protobuf::uint32 cached_has_bits = 0;
4600 // Prevent compiler warnings about cached_has_bits being unused
4601 (void) cached_has_bits;
4602
4603 cached_has_bits = _has_bits_[0];
4604 if (cached_has_bits & 0x00000001u) {
4605 src_.ClearNonDefaultToEmptyNoArena();
4606 }
4607 if (cached_has_bits & 6u) {
4608 ::memset(&offset_, 0, static_cast<size_t>(
4609 reinterpret_cast<char*>(&length_) -
4610 reinterpret_cast<char*>(&offset_)) + sizeof(length_));
4611 }
4612 _has_bits_.Clear();
4613 _internal_metadata_.Clear();
4614}
4615
4616bool GetBlockLocationsRequestProto::MergePartialFromCodedStream(
4617 ::google::protobuf::io::CodedInputStream* input) {
4618#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4619 ::google::protobuf::uint32 tag;
4620 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetBlockLocationsRequestProto)
4621 for (;;) {
4622 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4623 tag = p.first;
4624 if (!p.second) goto handle_unusual;
4625 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4626 // required string src = 1;
4627 case 1: {
4628 if (static_cast< ::google::protobuf::uint8>(tag) ==
4629 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4630 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
4631 input, this->mutable_src()));
4632 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
4633 this->src().data(), static_cast<int>(this->src().length()),
4634 ::google::protobuf::internal::WireFormat::PARSE,
4635 "Hdfs.Internal.GetBlockLocationsRequestProto.src");
4636 } else {
4637 goto handle_unusual;
4638 }
4639 break;
4640 }
4641
4642 // required uint64 offset = 2;
4643 case 2: {
4644 if (static_cast< ::google::protobuf::uint8>(tag) ==
4645 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
4646 set_has_offset();
4647 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4648 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
4649 input, &offset_)));
4650 } else {
4651 goto handle_unusual;
4652 }
4653 break;
4654 }
4655
4656 // required uint64 length = 3;
4657 case 3: {
4658 if (static_cast< ::google::protobuf::uint8>(tag) ==
4659 static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
4660 set_has_length();
4661 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4662 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
4663 input, &length_)));
4664 } else {
4665 goto handle_unusual;
4666 }
4667 break;
4668 }
4669
4670 default: {
4671 handle_unusual:
4672 if (tag == 0) {
4673 goto success;
4674 }
4675 DO_(::google::protobuf::internal::WireFormat::SkipField(
4676 input, tag, _internal_metadata_.mutable_unknown_fields()));
4677 break;
4678 }
4679 }
4680 }
4681success:
4682 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetBlockLocationsRequestProto)
4683 return true;
4684failure:
4685 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetBlockLocationsRequestProto)
4686 return false;
4687#undef DO_
4688}
4689
4690void GetBlockLocationsRequestProto::SerializeWithCachedSizes(
4691 ::google::protobuf::io::CodedOutputStream* output) const {
4692 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetBlockLocationsRequestProto)
4693 ::google::protobuf::uint32 cached_has_bits = 0;
4694 (void) cached_has_bits;
4695
4696 cached_has_bits = _has_bits_[0];
4697 // required string src = 1;
4698 if (cached_has_bits & 0x00000001u) {
4699 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
4700 this->src().data(), static_cast<int>(this->src().length()),
4701 ::google::protobuf::internal::WireFormat::SERIALIZE,
4702 "Hdfs.Internal.GetBlockLocationsRequestProto.src");
4703 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4704 1, this->src(), output);
4705 }
4706
4707 // required uint64 offset = 2;
4708 if (cached_has_bits & 0x00000002u) {
4709 ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->offset(), output);
4710 }
4711
4712 // required uint64 length = 3;
4713 if (cached_has_bits & 0x00000004u) {
4714 ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->length(), output);
4715 }
4716
4717 if (_internal_metadata_.have_unknown_fields()) {
4718 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4719 _internal_metadata_.unknown_fields(), output);
4720 }
4721 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetBlockLocationsRequestProto)
4722}
4723
4724::google::protobuf::uint8* GetBlockLocationsRequestProto::InternalSerializeWithCachedSizesToArray(
4725 bool deterministic, ::google::protobuf::uint8* target) const {
4726 (void)deterministic; // Unused
4727 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetBlockLocationsRequestProto)
4728 ::google::protobuf::uint32 cached_has_bits = 0;
4729 (void) cached_has_bits;
4730
4731 cached_has_bits = _has_bits_[0];
4732 // required string src = 1;
4733 if (cached_has_bits & 0x00000001u) {
4734 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
4735 this->src().data(), static_cast<int>(this->src().length()),
4736 ::google::protobuf::internal::WireFormat::SERIALIZE,
4737 "Hdfs.Internal.GetBlockLocationsRequestProto.src");
4738 target =
4739 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4740 1, this->src(), target);
4741 }
4742
4743 // required uint64 offset = 2;
4744 if (cached_has_bits & 0x00000002u) {
4745 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->offset(), target);
4746 }
4747
4748 // required uint64 length = 3;
4749 if (cached_has_bits & 0x00000004u) {
4750 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->length(), target);
4751 }
4752
4753 if (_internal_metadata_.have_unknown_fields()) {
4754 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4755 _internal_metadata_.unknown_fields(), target);
4756 }
4757 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetBlockLocationsRequestProto)
4758 return target;
4759}
4760
4761size_t GetBlockLocationsRequestProto::RequiredFieldsByteSizeFallback() const {
4762// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.GetBlockLocationsRequestProto)
4763 size_t total_size = 0;
4764
4765 if (has_src()) {
4766 // required string src = 1;
4767 total_size += 1 +
4768 ::google::protobuf::internal::WireFormatLite::StringSize(
4769 this->src());
4770 }
4771
4772 if (has_offset()) {
4773 // required uint64 offset = 2;
4774 total_size += 1 +
4775 ::google::protobuf::internal::WireFormatLite::UInt64Size(
4776 this->offset());
4777 }
4778
4779 if (has_length()) {
4780 // required uint64 length = 3;
4781 total_size += 1 +
4782 ::google::protobuf::internal::WireFormatLite::UInt64Size(
4783 this->length());
4784 }
4785
4786 return total_size;
4787}
4788size_t GetBlockLocationsRequestProto::ByteSizeLong() const {
4789// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetBlockLocationsRequestProto)
4790 size_t total_size = 0;
4791
4792 if (_internal_metadata_.have_unknown_fields()) {
4793 total_size +=
4794 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4795 _internal_metadata_.unknown_fields());
4796 }
4797 if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
4798 // required string src = 1;
4799 total_size += 1 +
4800 ::google::protobuf::internal::WireFormatLite::StringSize(
4801 this->src());
4802
4803 // required uint64 offset = 2;
4804 total_size += 1 +
4805 ::google::protobuf::internal::WireFormatLite::UInt64Size(
4806 this->offset());
4807
4808 // required uint64 length = 3;
4809 total_size += 1 +
4810 ::google::protobuf::internal::WireFormatLite::UInt64Size(
4811 this->length());
4812
4813 } else {
4814 total_size += RequiredFieldsByteSizeFallback();
4815 }
4816 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4817 SetCachedSize(cached_size);
4818 return total_size;
4819}
4820
4821void GetBlockLocationsRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
4822// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetBlockLocationsRequestProto)
4823 GOOGLE_DCHECK_NE(&from, this);
4824 const GetBlockLocationsRequestProto* source =
4825 ::google::protobuf::internal::DynamicCastToGenerated<const GetBlockLocationsRequestProto>(
4826 &from);
4827 if (source == NULL) {
4828 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetBlockLocationsRequestProto)
4829 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4830 } else {
4831 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetBlockLocationsRequestProto)
4832 MergeFrom(*source);
4833 }
4834}
4835
4836void GetBlockLocationsRequestProto::MergeFrom(const GetBlockLocationsRequestProto& from) {
4837// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetBlockLocationsRequestProto)
4838 GOOGLE_DCHECK_NE(&from, this);
4839 _internal_metadata_.MergeFrom(from._internal_metadata_);
4840 ::google::protobuf::uint32 cached_has_bits = 0;
4841 (void) cached_has_bits;
4842
4843 cached_has_bits = from._has_bits_[0];
4844 if (cached_has_bits & 7u) {
4845 if (cached_has_bits & 0x00000001u) {
4846 set_has_src();
4847 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
4848 }
4849 if (cached_has_bits & 0x00000002u) {
4850 offset_ = from.offset_;
4851 }
4852 if (cached_has_bits & 0x00000004u) {
4853 length_ = from.length_;
4854 }
4855 _has_bits_[0] |= cached_has_bits;
4856 }
4857}
4858
4859void GetBlockLocationsRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
4860// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetBlockLocationsRequestProto)
4861 if (&from == this) return;
4862 Clear();
4863 MergeFrom(from);
4864}
4865
4866void GetBlockLocationsRequestProto::CopyFrom(const GetBlockLocationsRequestProto& from) {
4867// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetBlockLocationsRequestProto)
4868 if (&from == this) return;
4869 Clear();
4870 MergeFrom(from);
4871}
4872
4873bool GetBlockLocationsRequestProto::IsInitialized() const {
4874 if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
4875 return true;
4876}
4877
4878void GetBlockLocationsRequestProto::Swap(GetBlockLocationsRequestProto* other) {
4879 if (other == this) return;
4880 InternalSwap(other);
4881}
4882void GetBlockLocationsRequestProto::InternalSwap(GetBlockLocationsRequestProto* other) {
4883 using std::swap;
4884 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4885 GetArenaNoVirtual());
4886 swap(offset_, other->offset_);
4887 swap(length_, other->length_);
4888 swap(_has_bits_[0], other->_has_bits_[0]);
4889 _internal_metadata_.Swap(&other->_internal_metadata_);
4890}
4891
4892::google::protobuf::Metadata GetBlockLocationsRequestProto::GetMetadata() const {
4893 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
4894 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
4895}
4896
4897
4898// ===================================================================
4899
4900void GetBlockLocationsResponseProto::InitAsDefaultInstance() {
4901 ::Hdfs::Internal::_GetBlockLocationsResponseProto_default_instance_._instance.get_mutable()->locations_ = const_cast< ::Hdfs::Internal::LocatedBlocksProto*>(
4902 ::Hdfs::Internal::LocatedBlocksProto::internal_default_instance());
4903}
4904void GetBlockLocationsResponseProto::clear_locations() {
4905 if (locations_ != NULL) locations_->Clear();
4906 clear_has_locations();
4907}
4908#if !defined(_MSC_VER) || _MSC_VER >= 1900
4909const int GetBlockLocationsResponseProto::kLocationsFieldNumber;
4910#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
4911
4912GetBlockLocationsResponseProto::GetBlockLocationsResponseProto()
4913 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4914 ::google::protobuf::internal::InitSCC(
4915 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetBlockLocationsResponseProto.base);
4916 SharedCtor();
4917 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetBlockLocationsResponseProto)
4918}
4919GetBlockLocationsResponseProto::GetBlockLocationsResponseProto(const GetBlockLocationsResponseProto& from)
4920 : ::google::protobuf::Message(),
4921 _internal_metadata_(NULL),
4922 _has_bits_(from._has_bits_) {
4923 _internal_metadata_.MergeFrom(from._internal_metadata_);
4924 if (from.has_locations()) {
4925 locations_ = new ::Hdfs::Internal::LocatedBlocksProto(*from.locations_);
4926 } else {
4927 locations_ = NULL;
4928 }
4929 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetBlockLocationsResponseProto)
4930}
4931
4932void GetBlockLocationsResponseProto::SharedCtor() {
4933 locations_ = NULL;
4934}
4935
4936GetBlockLocationsResponseProto::~GetBlockLocationsResponseProto() {
4937 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetBlockLocationsResponseProto)
4938 SharedDtor();
4939}
4940
4941void GetBlockLocationsResponseProto::SharedDtor() {
4942 if (this != internal_default_instance()) delete locations_;
4943}
4944
4945void GetBlockLocationsResponseProto::SetCachedSize(int size) const {
4946 _cached_size_.Set(size);
4947}
4948const ::google::protobuf::Descriptor* GetBlockLocationsResponseProto::descriptor() {
4949 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
4950 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4951}
4952
4953const GetBlockLocationsResponseProto& GetBlockLocationsResponseProto::default_instance() {
4954 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetBlockLocationsResponseProto.base);
4955 return *internal_default_instance();
4956}
4957
4958
4959void GetBlockLocationsResponseProto::Clear() {
4960// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetBlockLocationsResponseProto)
4961 ::google::protobuf::uint32 cached_has_bits = 0;
4962 // Prevent compiler warnings about cached_has_bits being unused
4963 (void) cached_has_bits;
4964
4965 cached_has_bits = _has_bits_[0];
4966 if (cached_has_bits & 0x00000001u) {
4967 GOOGLE_DCHECK(locations_ != NULL);
4968 locations_->Clear();
4969 }
4970 _has_bits_.Clear();
4971 _internal_metadata_.Clear();
4972}
4973
4974bool GetBlockLocationsResponseProto::MergePartialFromCodedStream(
4975 ::google::protobuf::io::CodedInputStream* input) {
4976#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4977 ::google::protobuf::uint32 tag;
4978 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetBlockLocationsResponseProto)
4979 for (;;) {
4980 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4981 tag = p.first;
4982 if (!p.second) goto handle_unusual;
4983 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4984 // optional .Hdfs.Internal.LocatedBlocksProto locations = 1;
4985 case 1: {
4986 if (static_cast< ::google::protobuf::uint8>(tag) ==
4987 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4988 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4989 input, mutable_locations()));
4990 } else {
4991 goto handle_unusual;
4992 }
4993 break;
4994 }
4995
4996 default: {
4997 handle_unusual:
4998 if (tag == 0) {
4999 goto success;
5000 }
5001 DO_(::google::protobuf::internal::WireFormat::SkipField(
5002 input, tag, _internal_metadata_.mutable_unknown_fields()));
5003 break;
5004 }
5005 }
5006 }
5007success:
5008 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetBlockLocationsResponseProto)
5009 return true;
5010failure:
5011 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetBlockLocationsResponseProto)
5012 return false;
5013#undef DO_
5014}
5015
5016void GetBlockLocationsResponseProto::SerializeWithCachedSizes(
5017 ::google::protobuf::io::CodedOutputStream* output) const {
5018 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetBlockLocationsResponseProto)
5019 ::google::protobuf::uint32 cached_has_bits = 0;
5020 (void) cached_has_bits;
5021
5022 cached_has_bits = _has_bits_[0];
5023 // optional .Hdfs.Internal.LocatedBlocksProto locations = 1;
5024 if (cached_has_bits & 0x00000001u) {
5025 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5026 1, this->_internal_locations(), output);
5027 }
5028
5029 if (_internal_metadata_.have_unknown_fields()) {
5030 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5031 _internal_metadata_.unknown_fields(), output);
5032 }
5033 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetBlockLocationsResponseProto)
5034}
5035
5036::google::protobuf::uint8* GetBlockLocationsResponseProto::InternalSerializeWithCachedSizesToArray(
5037 bool deterministic, ::google::protobuf::uint8* target) const {
5038 (void)deterministic; // Unused
5039 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetBlockLocationsResponseProto)
5040 ::google::protobuf::uint32 cached_has_bits = 0;
5041 (void) cached_has_bits;
5042
5043 cached_has_bits = _has_bits_[0];
5044 // optional .Hdfs.Internal.LocatedBlocksProto locations = 1;
5045 if (cached_has_bits & 0x00000001u) {
5046 target = ::google::protobuf::internal::WireFormatLite::
5047 InternalWriteMessageToArray(
5048 1, this->_internal_locations(), deterministic, target);
5049 }
5050
5051 if (_internal_metadata_.have_unknown_fields()) {
5052 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5053 _internal_metadata_.unknown_fields(), target);
5054 }
5055 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetBlockLocationsResponseProto)
5056 return target;
5057}
5058
5059size_t GetBlockLocationsResponseProto::ByteSizeLong() const {
5060// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetBlockLocationsResponseProto)
5061 size_t total_size = 0;
5062
5063 if (_internal_metadata_.have_unknown_fields()) {
5064 total_size +=
5065 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5066 _internal_metadata_.unknown_fields());
5067 }
5068 // optional .Hdfs.Internal.LocatedBlocksProto locations = 1;
5069 if (has_locations()) {
5070 total_size += 1 +
5071 ::google::protobuf::internal::WireFormatLite::MessageSize(
5072 *locations_);
5073 }
5074
5075 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5076 SetCachedSize(cached_size);
5077 return total_size;
5078}
5079
5080void GetBlockLocationsResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
5081// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetBlockLocationsResponseProto)
5082 GOOGLE_DCHECK_NE(&from, this);
5083 const GetBlockLocationsResponseProto* source =
5084 ::google::protobuf::internal::DynamicCastToGenerated<const GetBlockLocationsResponseProto>(
5085 &from);
5086 if (source == NULL) {
5087 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetBlockLocationsResponseProto)
5088 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5089 } else {
5090 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetBlockLocationsResponseProto)
5091 MergeFrom(*source);
5092 }
5093}
5094
5095void GetBlockLocationsResponseProto::MergeFrom(const GetBlockLocationsResponseProto& from) {
5096// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetBlockLocationsResponseProto)
5097 GOOGLE_DCHECK_NE(&from, this);
5098 _internal_metadata_.MergeFrom(from._internal_metadata_);
5099 ::google::protobuf::uint32 cached_has_bits = 0;
5100 (void) cached_has_bits;
5101
5102 if (from.has_locations()) {
5103 mutable_locations()->::Hdfs::Internal::LocatedBlocksProto::MergeFrom(from.locations());
5104 }
5105}
5106
5107void GetBlockLocationsResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
5108// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetBlockLocationsResponseProto)
5109 if (&from == this) return;
5110 Clear();
5111 MergeFrom(from);
5112}
5113
5114void GetBlockLocationsResponseProto::CopyFrom(const GetBlockLocationsResponseProto& from) {
5115// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetBlockLocationsResponseProto)
5116 if (&from == this) return;
5117 Clear();
5118 MergeFrom(from);
5119}
5120
5121bool GetBlockLocationsResponseProto::IsInitialized() const {
5122 if (has_locations()) {
5123 if (!this->locations_->IsInitialized()) return false;
5124 }
5125 return true;
5126}
5127
5128void GetBlockLocationsResponseProto::Swap(GetBlockLocationsResponseProto* other) {
5129 if (other == this) return;
5130 InternalSwap(other);
5131}
5132void GetBlockLocationsResponseProto::InternalSwap(GetBlockLocationsResponseProto* other) {
5133 using std::swap;
5134 swap(locations_, other->locations_);
5135 swap(_has_bits_[0], other->_has_bits_[0]);
5136 _internal_metadata_.Swap(&other->_internal_metadata_);
5137}
5138
5139::google::protobuf::Metadata GetBlockLocationsResponseProto::GetMetadata() const {
5140 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
5141 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
5142}
5143
5144
5145// ===================================================================
5146
5147void GetServerDefaultsRequestProto::InitAsDefaultInstance() {
5148}
5149#if !defined(_MSC_VER) || _MSC_VER >= 1900
5150#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
5151
5152GetServerDefaultsRequestProto::GetServerDefaultsRequestProto()
5153 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5154 ::google::protobuf::internal::InitSCC(
5155 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetServerDefaultsRequestProto.base);
5156 SharedCtor();
5157 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetServerDefaultsRequestProto)
5158}
5159GetServerDefaultsRequestProto::GetServerDefaultsRequestProto(const GetServerDefaultsRequestProto& from)
5160 : ::google::protobuf::Message(),
5161 _internal_metadata_(NULL),
5162 _has_bits_(from._has_bits_) {
5163 _internal_metadata_.MergeFrom(from._internal_metadata_);
5164 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetServerDefaultsRequestProto)
5165}
5166
5167void GetServerDefaultsRequestProto::SharedCtor() {
5168}
5169
5170GetServerDefaultsRequestProto::~GetServerDefaultsRequestProto() {
5171 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetServerDefaultsRequestProto)
5172 SharedDtor();
5173}
5174
5175void GetServerDefaultsRequestProto::SharedDtor() {
5176}
5177
5178void GetServerDefaultsRequestProto::SetCachedSize(int size) const {
5179 _cached_size_.Set(size);
5180}
5181const ::google::protobuf::Descriptor* GetServerDefaultsRequestProto::descriptor() {
5182 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
5183 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5184}
5185
5186const GetServerDefaultsRequestProto& GetServerDefaultsRequestProto::default_instance() {
5187 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetServerDefaultsRequestProto.base);
5188 return *internal_default_instance();
5189}
5190
5191
5192void GetServerDefaultsRequestProto::Clear() {
5193// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetServerDefaultsRequestProto)
5194 ::google::protobuf::uint32 cached_has_bits = 0;
5195 // Prevent compiler warnings about cached_has_bits being unused
5196 (void) cached_has_bits;
5197
5198 _has_bits_.Clear();
5199 _internal_metadata_.Clear();
5200}
5201
5202bool GetServerDefaultsRequestProto::MergePartialFromCodedStream(
5203 ::google::protobuf::io::CodedInputStream* input) {
5204#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5205 ::google::protobuf::uint32 tag;
5206 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetServerDefaultsRequestProto)
5207 for (;;) {
5208 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5209 tag = p.first;
5210 if (!p.second) goto handle_unusual;
5211 handle_unusual:
5212 if (tag == 0) {
5213 goto success;
5214 }
5215 DO_(::google::protobuf::internal::WireFormat::SkipField(
5216 input, tag, _internal_metadata_.mutable_unknown_fields()));
5217 }
5218success:
5219 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetServerDefaultsRequestProto)
5220 return true;
5221failure:
5222 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetServerDefaultsRequestProto)
5223 return false;
5224#undef DO_
5225}
5226
5227void GetServerDefaultsRequestProto::SerializeWithCachedSizes(
5228 ::google::protobuf::io::CodedOutputStream* output) const {
5229 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetServerDefaultsRequestProto)
5230 ::google::protobuf::uint32 cached_has_bits = 0;
5231 (void) cached_has_bits;
5232
5233 if (_internal_metadata_.have_unknown_fields()) {
5234 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5235 _internal_metadata_.unknown_fields(), output);
5236 }
5237 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetServerDefaultsRequestProto)
5238}
5239
5240::google::protobuf::uint8* GetServerDefaultsRequestProto::InternalSerializeWithCachedSizesToArray(
5241 bool deterministic, ::google::protobuf::uint8* target) const {
5242 (void)deterministic; // Unused
5243 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetServerDefaultsRequestProto)
5244 ::google::protobuf::uint32 cached_has_bits = 0;
5245 (void) cached_has_bits;
5246
5247 if (_internal_metadata_.have_unknown_fields()) {
5248 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5249 _internal_metadata_.unknown_fields(), target);
5250 }
5251 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetServerDefaultsRequestProto)
5252 return target;
5253}
5254
5255size_t GetServerDefaultsRequestProto::ByteSizeLong() const {
5256// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetServerDefaultsRequestProto)
5257 size_t total_size = 0;
5258
5259 if (_internal_metadata_.have_unknown_fields()) {
5260 total_size +=
5261 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5262 _internal_metadata_.unknown_fields());
5263 }
5264 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5265 SetCachedSize(cached_size);
5266 return total_size;
5267}
5268
5269void GetServerDefaultsRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
5270// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetServerDefaultsRequestProto)
5271 GOOGLE_DCHECK_NE(&from, this);
5272 const GetServerDefaultsRequestProto* source =
5273 ::google::protobuf::internal::DynamicCastToGenerated<const GetServerDefaultsRequestProto>(
5274 &from);
5275 if (source == NULL) {
5276 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetServerDefaultsRequestProto)
5277 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5278 } else {
5279 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetServerDefaultsRequestProto)
5280 MergeFrom(*source);
5281 }
5282}
5283
5284void GetServerDefaultsRequestProto::MergeFrom(const GetServerDefaultsRequestProto& from) {
5285// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetServerDefaultsRequestProto)
5286 GOOGLE_DCHECK_NE(&from, this);
5287 _internal_metadata_.MergeFrom(from._internal_metadata_);
5288 ::google::protobuf::uint32 cached_has_bits = 0;
5289 (void) cached_has_bits;
5290
5291}
5292
5293void GetServerDefaultsRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
5294// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetServerDefaultsRequestProto)
5295 if (&from == this) return;
5296 Clear();
5297 MergeFrom(from);
5298}
5299
5300void GetServerDefaultsRequestProto::CopyFrom(const GetServerDefaultsRequestProto& from) {
5301// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetServerDefaultsRequestProto)
5302 if (&from == this) return;
5303 Clear();
5304 MergeFrom(from);
5305}
5306
5307bool GetServerDefaultsRequestProto::IsInitialized() const {
5308 return true;
5309}
5310
5311void GetServerDefaultsRequestProto::Swap(GetServerDefaultsRequestProto* other) {
5312 if (other == this) return;
5313 InternalSwap(other);
5314}
5315void GetServerDefaultsRequestProto::InternalSwap(GetServerDefaultsRequestProto* other) {
5316 using std::swap;
5317 swap(_has_bits_[0], other->_has_bits_[0]);
5318 _internal_metadata_.Swap(&other->_internal_metadata_);
5319}
5320
5321::google::protobuf::Metadata GetServerDefaultsRequestProto::GetMetadata() const {
5322 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
5323 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
5324}
5325
5326
5327// ===================================================================
5328
5329void GetServerDefaultsResponseProto::InitAsDefaultInstance() {
5330 ::Hdfs::Internal::_GetServerDefaultsResponseProto_default_instance_._instance.get_mutable()->serverdefaults_ = const_cast< ::Hdfs::Internal::FsServerDefaultsProto*>(
5331 ::Hdfs::Internal::FsServerDefaultsProto::internal_default_instance());
5332}
5333void GetServerDefaultsResponseProto::clear_serverdefaults() {
5334 if (serverdefaults_ != NULL) serverdefaults_->Clear();
5335 clear_has_serverdefaults();
5336}
5337#if !defined(_MSC_VER) || _MSC_VER >= 1900
5338const int GetServerDefaultsResponseProto::kServerDefaultsFieldNumber;
5339#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
5340
5341GetServerDefaultsResponseProto::GetServerDefaultsResponseProto()
5342 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5343 ::google::protobuf::internal::InitSCC(
5344 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetServerDefaultsResponseProto.base);
5345 SharedCtor();
5346 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetServerDefaultsResponseProto)
5347}
5348GetServerDefaultsResponseProto::GetServerDefaultsResponseProto(const GetServerDefaultsResponseProto& from)
5349 : ::google::protobuf::Message(),
5350 _internal_metadata_(NULL),
5351 _has_bits_(from._has_bits_) {
5352 _internal_metadata_.MergeFrom(from._internal_metadata_);
5353 if (from.has_serverdefaults()) {
5354 serverdefaults_ = new ::Hdfs::Internal::FsServerDefaultsProto(*from.serverdefaults_);
5355 } else {
5356 serverdefaults_ = NULL;
5357 }
5358 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetServerDefaultsResponseProto)
5359}
5360
5361void GetServerDefaultsResponseProto::SharedCtor() {
5362 serverdefaults_ = NULL;
5363}
5364
5365GetServerDefaultsResponseProto::~GetServerDefaultsResponseProto() {
5366 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetServerDefaultsResponseProto)
5367 SharedDtor();
5368}
5369
5370void GetServerDefaultsResponseProto::SharedDtor() {
5371 if (this != internal_default_instance()) delete serverdefaults_;
5372}
5373
5374void GetServerDefaultsResponseProto::SetCachedSize(int size) const {
5375 _cached_size_.Set(size);
5376}
5377const ::google::protobuf::Descriptor* GetServerDefaultsResponseProto::descriptor() {
5378 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
5379 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5380}
5381
5382const GetServerDefaultsResponseProto& GetServerDefaultsResponseProto::default_instance() {
5383 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetServerDefaultsResponseProto.base);
5384 return *internal_default_instance();
5385}
5386
5387
5388void GetServerDefaultsResponseProto::Clear() {
5389// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetServerDefaultsResponseProto)
5390 ::google::protobuf::uint32 cached_has_bits = 0;
5391 // Prevent compiler warnings about cached_has_bits being unused
5392 (void) cached_has_bits;
5393
5394 cached_has_bits = _has_bits_[0];
5395 if (cached_has_bits & 0x00000001u) {
5396 GOOGLE_DCHECK(serverdefaults_ != NULL);
5397 serverdefaults_->Clear();
5398 }
5399 _has_bits_.Clear();
5400 _internal_metadata_.Clear();
5401}
5402
5403bool GetServerDefaultsResponseProto::MergePartialFromCodedStream(
5404 ::google::protobuf::io::CodedInputStream* input) {
5405#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5406 ::google::protobuf::uint32 tag;
5407 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetServerDefaultsResponseProto)
5408 for (;;) {
5409 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5410 tag = p.first;
5411 if (!p.second) goto handle_unusual;
5412 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5413 // required .Hdfs.Internal.FsServerDefaultsProto serverDefaults = 1;
5414 case 1: {
5415 if (static_cast< ::google::protobuf::uint8>(tag) ==
5416 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5417 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5418 input, mutable_serverdefaults()));
5419 } else {
5420 goto handle_unusual;
5421 }
5422 break;
5423 }
5424
5425 default: {
5426 handle_unusual:
5427 if (tag == 0) {
5428 goto success;
5429 }
5430 DO_(::google::protobuf::internal::WireFormat::SkipField(
5431 input, tag, _internal_metadata_.mutable_unknown_fields()));
5432 break;
5433 }
5434 }
5435 }
5436success:
5437 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetServerDefaultsResponseProto)
5438 return true;
5439failure:
5440 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetServerDefaultsResponseProto)
5441 return false;
5442#undef DO_
5443}
5444
5445void GetServerDefaultsResponseProto::SerializeWithCachedSizes(
5446 ::google::protobuf::io::CodedOutputStream* output) const {
5447 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetServerDefaultsResponseProto)
5448 ::google::protobuf::uint32 cached_has_bits = 0;
5449 (void) cached_has_bits;
5450
5451 cached_has_bits = _has_bits_[0];
5452 // required .Hdfs.Internal.FsServerDefaultsProto serverDefaults = 1;
5453 if (cached_has_bits & 0x00000001u) {
5454 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5455 1, this->_internal_serverdefaults(), output);
5456 }
5457
5458 if (_internal_metadata_.have_unknown_fields()) {
5459 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5460 _internal_metadata_.unknown_fields(), output);
5461 }
5462 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetServerDefaultsResponseProto)
5463}
5464
5465::google::protobuf::uint8* GetServerDefaultsResponseProto::InternalSerializeWithCachedSizesToArray(
5466 bool deterministic, ::google::protobuf::uint8* target) const {
5467 (void)deterministic; // Unused
5468 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetServerDefaultsResponseProto)
5469 ::google::protobuf::uint32 cached_has_bits = 0;
5470 (void) cached_has_bits;
5471
5472 cached_has_bits = _has_bits_[0];
5473 // required .Hdfs.Internal.FsServerDefaultsProto serverDefaults = 1;
5474 if (cached_has_bits & 0x00000001u) {
5475 target = ::google::protobuf::internal::WireFormatLite::
5476 InternalWriteMessageToArray(
5477 1, this->_internal_serverdefaults(), deterministic, target);
5478 }
5479
5480 if (_internal_metadata_.have_unknown_fields()) {
5481 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5482 _internal_metadata_.unknown_fields(), target);
5483 }
5484 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetServerDefaultsResponseProto)
5485 return target;
5486}
5487
5488size_t GetServerDefaultsResponseProto::ByteSizeLong() const {
5489// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetServerDefaultsResponseProto)
5490 size_t total_size = 0;
5491
5492 if (_internal_metadata_.have_unknown_fields()) {
5493 total_size +=
5494 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5495 _internal_metadata_.unknown_fields());
5496 }
5497 // required .Hdfs.Internal.FsServerDefaultsProto serverDefaults = 1;
5498 if (has_serverdefaults()) {
5499 total_size += 1 +
5500 ::google::protobuf::internal::WireFormatLite::MessageSize(
5501 *serverdefaults_);
5502 }
5503 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5504 SetCachedSize(cached_size);
5505 return total_size;
5506}
5507
5508void GetServerDefaultsResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
5509// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetServerDefaultsResponseProto)
5510 GOOGLE_DCHECK_NE(&from, this);
5511 const GetServerDefaultsResponseProto* source =
5512 ::google::protobuf::internal::DynamicCastToGenerated<const GetServerDefaultsResponseProto>(
5513 &from);
5514 if (source == NULL) {
5515 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetServerDefaultsResponseProto)
5516 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5517 } else {
5518 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetServerDefaultsResponseProto)
5519 MergeFrom(*source);
5520 }
5521}
5522
5523void GetServerDefaultsResponseProto::MergeFrom(const GetServerDefaultsResponseProto& from) {
5524// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetServerDefaultsResponseProto)
5525 GOOGLE_DCHECK_NE(&from, this);
5526 _internal_metadata_.MergeFrom(from._internal_metadata_);
5527 ::google::protobuf::uint32 cached_has_bits = 0;
5528 (void) cached_has_bits;
5529
5530 if (from.has_serverdefaults()) {
5531 mutable_serverdefaults()->::Hdfs::Internal::FsServerDefaultsProto::MergeFrom(from.serverdefaults());
5532 }
5533}
5534
5535void GetServerDefaultsResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
5536// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetServerDefaultsResponseProto)
5537 if (&from == this) return;
5538 Clear();
5539 MergeFrom(from);
5540}
5541
5542void GetServerDefaultsResponseProto::CopyFrom(const GetServerDefaultsResponseProto& from) {
5543// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetServerDefaultsResponseProto)
5544 if (&from == this) return;
5545 Clear();
5546 MergeFrom(from);
5547}
5548
5549bool GetServerDefaultsResponseProto::IsInitialized() const {
5550 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
5551 if (has_serverdefaults()) {
5552 if (!this->serverdefaults_->IsInitialized()) return false;
5553 }
5554 return true;
5555}
5556
5557void GetServerDefaultsResponseProto::Swap(GetServerDefaultsResponseProto* other) {
5558 if (other == this) return;
5559 InternalSwap(other);
5560}
5561void GetServerDefaultsResponseProto::InternalSwap(GetServerDefaultsResponseProto* other) {
5562 using std::swap;
5563 swap(serverdefaults_, other->serverdefaults_);
5564 swap(_has_bits_[0], other->_has_bits_[0]);
5565 _internal_metadata_.Swap(&other->_internal_metadata_);
5566}
5567
5568::google::protobuf::Metadata GetServerDefaultsResponseProto::GetMetadata() const {
5569 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
5570 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
5571}
5572
5573
5574// ===================================================================
5575
5576void CreateRequestProto::InitAsDefaultInstance() {
5577 ::Hdfs::Internal::_CreateRequestProto_default_instance_._instance.get_mutable()->masked_ = const_cast< ::Hdfs::Internal::FsPermissionProto*>(
5578 ::Hdfs::Internal::FsPermissionProto::internal_default_instance());
5579}
5580void CreateRequestProto::clear_masked() {
5581 if (masked_ != NULL) masked_->Clear();
5582 clear_has_masked();
5583}
5584#if !defined(_MSC_VER) || _MSC_VER >= 1900
5585const int CreateRequestProto::kSrcFieldNumber;
5586const int CreateRequestProto::kMaskedFieldNumber;
5587const int CreateRequestProto::kClientNameFieldNumber;
5588const int CreateRequestProto::kCreateFlagFieldNumber;
5589const int CreateRequestProto::kCreateParentFieldNumber;
5590const int CreateRequestProto::kReplicationFieldNumber;
5591const int CreateRequestProto::kBlockSizeFieldNumber;
5592#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
5593
5594CreateRequestProto::CreateRequestProto()
5595 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5596 ::google::protobuf::internal::InitSCC(
5597 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CreateRequestProto.base);
5598 SharedCtor();
5599 // @@protoc_insertion_point(constructor:Hdfs.Internal.CreateRequestProto)
5600}
5601CreateRequestProto::CreateRequestProto(const CreateRequestProto& from)
5602 : ::google::protobuf::Message(),
5603 _internal_metadata_(NULL),
5604 _has_bits_(from._has_bits_) {
5605 _internal_metadata_.MergeFrom(from._internal_metadata_);
5606 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5607 if (from.has_src()) {
5608 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
5609 }
5610 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5611 if (from.has_clientname()) {
5612 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
5613 }
5614 if (from.has_masked()) {
5615 masked_ = new ::Hdfs::Internal::FsPermissionProto(*from.masked_);
5616 } else {
5617 masked_ = NULL;
5618 }
5619 ::memcpy(&createflag_, &from.createflag_,
5620 static_cast<size_t>(reinterpret_cast<char*>(&replication_) -
5621 reinterpret_cast<char*>(&createflag_)) + sizeof(replication_));
5622 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CreateRequestProto)
5623}
5624
5625void CreateRequestProto::SharedCtor() {
5626 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5627 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5628 ::memset(&masked_, 0, static_cast<size_t>(
5629 reinterpret_cast<char*>(&replication_) -
5630 reinterpret_cast<char*>(&masked_)) + sizeof(replication_));
5631}
5632
5633CreateRequestProto::~CreateRequestProto() {
5634 // @@protoc_insertion_point(destructor:Hdfs.Internal.CreateRequestProto)
5635 SharedDtor();
5636}
5637
5638void CreateRequestProto::SharedDtor() {
5639 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5640 clientname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5641 if (this != internal_default_instance()) delete masked_;
5642}
5643
5644void CreateRequestProto::SetCachedSize(int size) const {
5645 _cached_size_.Set(size);
5646}
5647const ::google::protobuf::Descriptor* CreateRequestProto::descriptor() {
5648 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
5649 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5650}
5651
5652const CreateRequestProto& CreateRequestProto::default_instance() {
5653 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CreateRequestProto.base);
5654 return *internal_default_instance();
5655}
5656
5657
5658void CreateRequestProto::Clear() {
5659// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CreateRequestProto)
5660 ::google::protobuf::uint32 cached_has_bits = 0;
5661 // Prevent compiler warnings about cached_has_bits being unused
5662 (void) cached_has_bits;
5663
5664 cached_has_bits = _has_bits_[0];
5665 if (cached_has_bits & 7u) {
5666 if (cached_has_bits & 0x00000001u) {
5667 src_.ClearNonDefaultToEmptyNoArena();
5668 }
5669 if (cached_has_bits & 0x00000002u) {
5670 clientname_.ClearNonDefaultToEmptyNoArena();
5671 }
5672 if (cached_has_bits & 0x00000004u) {
5673 GOOGLE_DCHECK(masked_ != NULL);
5674 masked_->Clear();
5675 }
5676 }
5677 if (cached_has_bits & 120u) {
5678 ::memset(&createflag_, 0, static_cast<size_t>(
5679 reinterpret_cast<char*>(&replication_) -
5680 reinterpret_cast<char*>(&createflag_)) + sizeof(replication_));
5681 }
5682 _has_bits_.Clear();
5683 _internal_metadata_.Clear();
5684}
5685
5686bool CreateRequestProto::MergePartialFromCodedStream(
5687 ::google::protobuf::io::CodedInputStream* input) {
5688#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5689 ::google::protobuf::uint32 tag;
5690 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CreateRequestProto)
5691 for (;;) {
5692 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5693 tag = p.first;
5694 if (!p.second) goto handle_unusual;
5695 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5696 // required string src = 1;
5697 case 1: {
5698 if (static_cast< ::google::protobuf::uint8>(tag) ==
5699 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5700 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
5701 input, this->mutable_src()));
5702 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5703 this->src().data(), static_cast<int>(this->src().length()),
5704 ::google::protobuf::internal::WireFormat::PARSE,
5705 "Hdfs.Internal.CreateRequestProto.src");
5706 } else {
5707 goto handle_unusual;
5708 }
5709 break;
5710 }
5711
5712 // required .Hdfs.Internal.FsPermissionProto masked = 2;
5713 case 2: {
5714 if (static_cast< ::google::protobuf::uint8>(tag) ==
5715 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
5716 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5717 input, mutable_masked()));
5718 } else {
5719 goto handle_unusual;
5720 }
5721 break;
5722 }
5723
5724 // required string clientName = 3;
5725 case 3: {
5726 if (static_cast< ::google::protobuf::uint8>(tag) ==
5727 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
5728 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
5729 input, this->mutable_clientname()));
5730 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5731 this->clientname().data(), static_cast<int>(this->clientname().length()),
5732 ::google::protobuf::internal::WireFormat::PARSE,
5733 "Hdfs.Internal.CreateRequestProto.clientName");
5734 } else {
5735 goto handle_unusual;
5736 }
5737 break;
5738 }
5739
5740 // required uint32 createFlag = 4;
5741 case 4: {
5742 if (static_cast< ::google::protobuf::uint8>(tag) ==
5743 static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
5744 set_has_createflag();
5745 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5746 ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
5747 input, &createflag_)));
5748 } else {
5749 goto handle_unusual;
5750 }
5751 break;
5752 }
5753
5754 // required bool createParent = 5;
5755 case 5: {
5756 if (static_cast< ::google::protobuf::uint8>(tag) ==
5757 static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
5758 set_has_createparent();
5759 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5760 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
5761 input, &createparent_)));
5762 } else {
5763 goto handle_unusual;
5764 }
5765 break;
5766 }
5767
5768 // required uint32 replication = 6;
5769 case 6: {
5770 if (static_cast< ::google::protobuf::uint8>(tag) ==
5771 static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
5772 set_has_replication();
5773 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5774 ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
5775 input, &replication_)));
5776 } else {
5777 goto handle_unusual;
5778 }
5779 break;
5780 }
5781
5782 // required uint64 blockSize = 7;
5783 case 7: {
5784 if (static_cast< ::google::protobuf::uint8>(tag) ==
5785 static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
5786 set_has_blocksize();
5787 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5788 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
5789 input, &blocksize_)));
5790 } else {
5791 goto handle_unusual;
5792 }
5793 break;
5794 }
5795
5796 default: {
5797 handle_unusual:
5798 if (tag == 0) {
5799 goto success;
5800 }
5801 DO_(::google::protobuf::internal::WireFormat::SkipField(
5802 input, tag, _internal_metadata_.mutable_unknown_fields()));
5803 break;
5804 }
5805 }
5806 }
5807success:
5808 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CreateRequestProto)
5809 return true;
5810failure:
5811 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CreateRequestProto)
5812 return false;
5813#undef DO_
5814}
5815
5816void CreateRequestProto::SerializeWithCachedSizes(
5817 ::google::protobuf::io::CodedOutputStream* output) const {
5818 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CreateRequestProto)
5819 ::google::protobuf::uint32 cached_has_bits = 0;
5820 (void) cached_has_bits;
5821
5822 cached_has_bits = _has_bits_[0];
5823 // required string src = 1;
5824 if (cached_has_bits & 0x00000001u) {
5825 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5826 this->src().data(), static_cast<int>(this->src().length()),
5827 ::google::protobuf::internal::WireFormat::SERIALIZE,
5828 "Hdfs.Internal.CreateRequestProto.src");
5829 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
5830 1, this->src(), output);
5831 }
5832
5833 // required .Hdfs.Internal.FsPermissionProto masked = 2;
5834 if (cached_has_bits & 0x00000004u) {
5835 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5836 2, this->_internal_masked(), output);
5837 }
5838
5839 // required string clientName = 3;
5840 if (cached_has_bits & 0x00000002u) {
5841 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5842 this->clientname().data(), static_cast<int>(this->clientname().length()),
5843 ::google::protobuf::internal::WireFormat::SERIALIZE,
5844 "Hdfs.Internal.CreateRequestProto.clientName");
5845 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
5846 3, this->clientname(), output);
5847 }
5848
5849 // required uint32 createFlag = 4;
5850 if (cached_has_bits & 0x00000008u) {
5851 ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->createflag(), output);
5852 }
5853
5854 // required bool createParent = 5;
5855 if (cached_has_bits & 0x00000010u) {
5856 ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->createparent(), output);
5857 }
5858
5859 // required uint32 replication = 6;
5860 if (cached_has_bits & 0x00000040u) {
5861 ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->replication(), output);
5862 }
5863
5864 // required uint64 blockSize = 7;
5865 if (cached_has_bits & 0x00000020u) {
5866 ::google::protobuf::internal::WireFormatLite::WriteUInt64(7, this->blocksize(), output);
5867 }
5868
5869 if (_internal_metadata_.have_unknown_fields()) {
5870 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5871 _internal_metadata_.unknown_fields(), output);
5872 }
5873 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CreateRequestProto)
5874}
5875
5876::google::protobuf::uint8* CreateRequestProto::InternalSerializeWithCachedSizesToArray(
5877 bool deterministic, ::google::protobuf::uint8* target) const {
5878 (void)deterministic; // Unused
5879 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CreateRequestProto)
5880 ::google::protobuf::uint32 cached_has_bits = 0;
5881 (void) cached_has_bits;
5882
5883 cached_has_bits = _has_bits_[0];
5884 // required string src = 1;
5885 if (cached_has_bits & 0x00000001u) {
5886 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5887 this->src().data(), static_cast<int>(this->src().length()),
5888 ::google::protobuf::internal::WireFormat::SERIALIZE,
5889 "Hdfs.Internal.CreateRequestProto.src");
5890 target =
5891 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
5892 1, this->src(), target);
5893 }
5894
5895 // required .Hdfs.Internal.FsPermissionProto masked = 2;
5896 if (cached_has_bits & 0x00000004u) {
5897 target = ::google::protobuf::internal::WireFormatLite::
5898 InternalWriteMessageToArray(
5899 2, this->_internal_masked(), deterministic, target);
5900 }
5901
5902 // required string clientName = 3;
5903 if (cached_has_bits & 0x00000002u) {
5904 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5905 this->clientname().data(), static_cast<int>(this->clientname().length()),
5906 ::google::protobuf::internal::WireFormat::SERIALIZE,
5907 "Hdfs.Internal.CreateRequestProto.clientName");
5908 target =
5909 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
5910 3, this->clientname(), target);
5911 }
5912
5913 // required uint32 createFlag = 4;
5914 if (cached_has_bits & 0x00000008u) {
5915 target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->createflag(), target);
5916 }
5917
5918 // required bool createParent = 5;
5919 if (cached_has_bits & 0x00000010u) {
5920 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->createparent(), target);
5921 }
5922
5923 // required uint32 replication = 6;
5924 if (cached_has_bits & 0x00000040u) {
5925 target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->replication(), target);
5926 }
5927
5928 // required uint64 blockSize = 7;
5929 if (cached_has_bits & 0x00000020u) {
5930 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(7, this->blocksize(), target);
5931 }
5932
5933 if (_internal_metadata_.have_unknown_fields()) {
5934 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5935 _internal_metadata_.unknown_fields(), target);
5936 }
5937 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CreateRequestProto)
5938 return target;
5939}
5940
5941size_t CreateRequestProto::RequiredFieldsByteSizeFallback() const {
5942// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.CreateRequestProto)
5943 size_t total_size = 0;
5944
5945 if (has_src()) {
5946 // required string src = 1;
5947 total_size += 1 +
5948 ::google::protobuf::internal::WireFormatLite::StringSize(
5949 this->src());
5950 }
5951
5952 if (has_clientname()) {
5953 // required string clientName = 3;
5954 total_size += 1 +
5955 ::google::protobuf::internal::WireFormatLite::StringSize(
5956 this->clientname());
5957 }
5958
5959 if (has_masked()) {
5960 // required .Hdfs.Internal.FsPermissionProto masked = 2;
5961 total_size += 1 +
5962 ::google::protobuf::internal::WireFormatLite::MessageSize(
5963 *masked_);
5964 }
5965
5966 if (has_createflag()) {
5967 // required uint32 createFlag = 4;
5968 total_size += 1 +
5969 ::google::protobuf::internal::WireFormatLite::UInt32Size(
5970 this->createflag());
5971 }
5972
5973 if (has_createparent()) {
5974 // required bool createParent = 5;
5975 total_size += 1 + 1;
5976 }
5977
5978 if (has_blocksize()) {
5979 // required uint64 blockSize = 7;
5980 total_size += 1 +
5981 ::google::protobuf::internal::WireFormatLite::UInt64Size(
5982 this->blocksize());
5983 }
5984
5985 if (has_replication()) {
5986 // required uint32 replication = 6;
5987 total_size += 1 +
5988 ::google::protobuf::internal::WireFormatLite::UInt32Size(
5989 this->replication());
5990 }
5991
5992 return total_size;
5993}
5994size_t CreateRequestProto::ByteSizeLong() const {
5995// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CreateRequestProto)
5996 size_t total_size = 0;
5997
5998 if (_internal_metadata_.have_unknown_fields()) {
5999 total_size +=
6000 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6001 _internal_metadata_.unknown_fields());
6002 }
6003 if (((_has_bits_[0] & 0x0000007f) ^ 0x0000007f) == 0) { // All required fields are present.
6004 // required string src = 1;
6005 total_size += 1 +
6006 ::google::protobuf::internal::WireFormatLite::StringSize(
6007 this->src());
6008
6009 // required string clientName = 3;
6010 total_size += 1 +
6011 ::google::protobuf::internal::WireFormatLite::StringSize(
6012 this->clientname());
6013
6014 // required .Hdfs.Internal.FsPermissionProto masked = 2;
6015 total_size += 1 +
6016 ::google::protobuf::internal::WireFormatLite::MessageSize(
6017 *masked_);
6018
6019 // required uint32 createFlag = 4;
6020 total_size += 1 +
6021 ::google::protobuf::internal::WireFormatLite::UInt32Size(
6022 this->createflag());
6023
6024 // required bool createParent = 5;
6025 total_size += 1 + 1;
6026
6027 // required uint64 blockSize = 7;
6028 total_size += 1 +
6029 ::google::protobuf::internal::WireFormatLite::UInt64Size(
6030 this->blocksize());
6031
6032 // required uint32 replication = 6;
6033 total_size += 1 +
6034 ::google::protobuf::internal::WireFormatLite::UInt32Size(
6035 this->replication());
6036
6037 } else {
6038 total_size += RequiredFieldsByteSizeFallback();
6039 }
6040 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6041 SetCachedSize(cached_size);
6042 return total_size;
6043}
6044
6045void CreateRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
6046// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CreateRequestProto)
6047 GOOGLE_DCHECK_NE(&from, this);
6048 const CreateRequestProto* source =
6049 ::google::protobuf::internal::DynamicCastToGenerated<const CreateRequestProto>(
6050 &from);
6051 if (source == NULL) {
6052 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CreateRequestProto)
6053 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6054 } else {
6055 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CreateRequestProto)
6056 MergeFrom(*source);
6057 }
6058}
6059
6060void CreateRequestProto::MergeFrom(const CreateRequestProto& from) {
6061// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CreateRequestProto)
6062 GOOGLE_DCHECK_NE(&from, this);
6063 _internal_metadata_.MergeFrom(from._internal_metadata_);
6064 ::google::protobuf::uint32 cached_has_bits = 0;
6065 (void) cached_has_bits;
6066
6067 cached_has_bits = from._has_bits_[0];
6068 if (cached_has_bits & 127u) {
6069 if (cached_has_bits & 0x00000001u) {
6070 set_has_src();
6071 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
6072 }
6073 if (cached_has_bits & 0x00000002u) {
6074 set_has_clientname();
6075 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
6076 }
6077 if (cached_has_bits & 0x00000004u) {
6078 mutable_masked()->::Hdfs::Internal::FsPermissionProto::MergeFrom(from.masked());
6079 }
6080 if (cached_has_bits & 0x00000008u) {
6081 createflag_ = from.createflag_;
6082 }
6083 if (cached_has_bits & 0x00000010u) {
6084 createparent_ = from.createparent_;
6085 }
6086 if (cached_has_bits & 0x00000020u) {
6087 blocksize_ = from.blocksize_;
6088 }
6089 if (cached_has_bits & 0x00000040u) {
6090 replication_ = from.replication_;
6091 }
6092 _has_bits_[0] |= cached_has_bits;
6093 }
6094}
6095
6096void CreateRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
6097// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CreateRequestProto)
6098 if (&from == this) return;
6099 Clear();
6100 MergeFrom(from);
6101}
6102
6103void CreateRequestProto::CopyFrom(const CreateRequestProto& from) {
6104// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CreateRequestProto)
6105 if (&from == this) return;
6106 Clear();
6107 MergeFrom(from);
6108}
6109
6110bool CreateRequestProto::IsInitialized() const {
6111 if ((_has_bits_[0] & 0x0000007f) != 0x0000007f) return false;
6112 if (has_masked()) {
6113 if (!this->masked_->IsInitialized()) return false;
6114 }
6115 return true;
6116}
6117
6118void CreateRequestProto::Swap(CreateRequestProto* other) {
6119 if (other == this) return;
6120 InternalSwap(other);
6121}
6122void CreateRequestProto::InternalSwap(CreateRequestProto* other) {
6123 using std::swap;
6124 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6125 GetArenaNoVirtual());
6126 clientname_.Swap(&other->clientname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6127 GetArenaNoVirtual());
6128 swap(masked_, other->masked_);
6129 swap(createflag_, other->createflag_);
6130 swap(createparent_, other->createparent_);
6131 swap(blocksize_, other->blocksize_);
6132 swap(replication_, other->replication_);
6133 swap(_has_bits_[0], other->_has_bits_[0]);
6134 _internal_metadata_.Swap(&other->_internal_metadata_);
6135}
6136
6137::google::protobuf::Metadata CreateRequestProto::GetMetadata() const {
6138 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
6139 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
6140}
6141
6142
6143// ===================================================================
6144
6145void CreateResponseProto::InitAsDefaultInstance() {
6146 ::Hdfs::Internal::_CreateResponseProto_default_instance_._instance.get_mutable()->fs_ = const_cast< ::Hdfs::Internal::HdfsFileStatusProto*>(
6147 ::Hdfs::Internal::HdfsFileStatusProto::internal_default_instance());
6148}
6149void CreateResponseProto::clear_fs() {
6150 if (fs_ != NULL) fs_->Clear();
6151 clear_has_fs();
6152}
6153#if !defined(_MSC_VER) || _MSC_VER >= 1900
6154const int CreateResponseProto::kFsFieldNumber;
6155#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
6156
6157CreateResponseProto::CreateResponseProto()
6158 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6159 ::google::protobuf::internal::InitSCC(
6160 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CreateResponseProto.base);
6161 SharedCtor();
6162 // @@protoc_insertion_point(constructor:Hdfs.Internal.CreateResponseProto)
6163}
6164CreateResponseProto::CreateResponseProto(const CreateResponseProto& from)
6165 : ::google::protobuf::Message(),
6166 _internal_metadata_(NULL),
6167 _has_bits_(from._has_bits_) {
6168 _internal_metadata_.MergeFrom(from._internal_metadata_);
6169 if (from.has_fs()) {
6170 fs_ = new ::Hdfs::Internal::HdfsFileStatusProto(*from.fs_);
6171 } else {
6172 fs_ = NULL;
6173 }
6174 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CreateResponseProto)
6175}
6176
6177void CreateResponseProto::SharedCtor() {
6178 fs_ = NULL;
6179}
6180
6181CreateResponseProto::~CreateResponseProto() {
6182 // @@protoc_insertion_point(destructor:Hdfs.Internal.CreateResponseProto)
6183 SharedDtor();
6184}
6185
6186void CreateResponseProto::SharedDtor() {
6187 if (this != internal_default_instance()) delete fs_;
6188}
6189
6190void CreateResponseProto::SetCachedSize(int size) const {
6191 _cached_size_.Set(size);
6192}
6193const ::google::protobuf::Descriptor* CreateResponseProto::descriptor() {
6194 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
6195 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6196}
6197
6198const CreateResponseProto& CreateResponseProto::default_instance() {
6199 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CreateResponseProto.base);
6200 return *internal_default_instance();
6201}
6202
6203
6204void CreateResponseProto::Clear() {
6205// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CreateResponseProto)
6206 ::google::protobuf::uint32 cached_has_bits = 0;
6207 // Prevent compiler warnings about cached_has_bits being unused
6208 (void) cached_has_bits;
6209
6210 cached_has_bits = _has_bits_[0];
6211 if (cached_has_bits & 0x00000001u) {
6212 GOOGLE_DCHECK(fs_ != NULL);
6213 fs_->Clear();
6214 }
6215 _has_bits_.Clear();
6216 _internal_metadata_.Clear();
6217}
6218
6219bool CreateResponseProto::MergePartialFromCodedStream(
6220 ::google::protobuf::io::CodedInputStream* input) {
6221#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6222 ::google::protobuf::uint32 tag;
6223 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CreateResponseProto)
6224 for (;;) {
6225 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6226 tag = p.first;
6227 if (!p.second) goto handle_unusual;
6228 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6229 // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1;
6230 case 1: {
6231 if (static_cast< ::google::protobuf::uint8>(tag) ==
6232 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6233 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6234 input, mutable_fs()));
6235 } else {
6236 goto handle_unusual;
6237 }
6238 break;
6239 }
6240
6241 default: {
6242 handle_unusual:
6243 if (tag == 0) {
6244 goto success;
6245 }
6246 DO_(::google::protobuf::internal::WireFormat::SkipField(
6247 input, tag, _internal_metadata_.mutable_unknown_fields()));
6248 break;
6249 }
6250 }
6251 }
6252success:
6253 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CreateResponseProto)
6254 return true;
6255failure:
6256 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CreateResponseProto)
6257 return false;
6258#undef DO_
6259}
6260
6261void CreateResponseProto::SerializeWithCachedSizes(
6262 ::google::protobuf::io::CodedOutputStream* output) const {
6263 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CreateResponseProto)
6264 ::google::protobuf::uint32 cached_has_bits = 0;
6265 (void) cached_has_bits;
6266
6267 cached_has_bits = _has_bits_[0];
6268 // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1;
6269 if (cached_has_bits & 0x00000001u) {
6270 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6271 1, this->_internal_fs(), output);
6272 }
6273
6274 if (_internal_metadata_.have_unknown_fields()) {
6275 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6276 _internal_metadata_.unknown_fields(), output);
6277 }
6278 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CreateResponseProto)
6279}
6280
6281::google::protobuf::uint8* CreateResponseProto::InternalSerializeWithCachedSizesToArray(
6282 bool deterministic, ::google::protobuf::uint8* target) const {
6283 (void)deterministic; // Unused
6284 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CreateResponseProto)
6285 ::google::protobuf::uint32 cached_has_bits = 0;
6286 (void) cached_has_bits;
6287
6288 cached_has_bits = _has_bits_[0];
6289 // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1;
6290 if (cached_has_bits & 0x00000001u) {
6291 target = ::google::protobuf::internal::WireFormatLite::
6292 InternalWriteMessageToArray(
6293 1, this->_internal_fs(), deterministic, target);
6294 }
6295
6296 if (_internal_metadata_.have_unknown_fields()) {
6297 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6298 _internal_metadata_.unknown_fields(), target);
6299 }
6300 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CreateResponseProto)
6301 return target;
6302}
6303
6304size_t CreateResponseProto::ByteSizeLong() const {
6305// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CreateResponseProto)
6306 size_t total_size = 0;
6307
6308 if (_internal_metadata_.have_unknown_fields()) {
6309 total_size +=
6310 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6311 _internal_metadata_.unknown_fields());
6312 }
6313 // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1;
6314 if (has_fs()) {
6315 total_size += 1 +
6316 ::google::protobuf::internal::WireFormatLite::MessageSize(
6317 *fs_);
6318 }
6319
6320 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6321 SetCachedSize(cached_size);
6322 return total_size;
6323}
6324
6325void CreateResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
6326// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CreateResponseProto)
6327 GOOGLE_DCHECK_NE(&from, this);
6328 const CreateResponseProto* source =
6329 ::google::protobuf::internal::DynamicCastToGenerated<const CreateResponseProto>(
6330 &from);
6331 if (source == NULL) {
6332 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CreateResponseProto)
6333 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6334 } else {
6335 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CreateResponseProto)
6336 MergeFrom(*source);
6337 }
6338}
6339
6340void CreateResponseProto::MergeFrom(const CreateResponseProto& from) {
6341// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CreateResponseProto)
6342 GOOGLE_DCHECK_NE(&from, this);
6343 _internal_metadata_.MergeFrom(from._internal_metadata_);
6344 ::google::protobuf::uint32 cached_has_bits = 0;
6345 (void) cached_has_bits;
6346
6347 if (from.has_fs()) {
6348 mutable_fs()->::Hdfs::Internal::HdfsFileStatusProto::MergeFrom(from.fs());
6349 }
6350}
6351
6352void CreateResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
6353// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CreateResponseProto)
6354 if (&from == this) return;
6355 Clear();
6356 MergeFrom(from);
6357}
6358
6359void CreateResponseProto::CopyFrom(const CreateResponseProto& from) {
6360// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CreateResponseProto)
6361 if (&from == this) return;
6362 Clear();
6363 MergeFrom(from);
6364}
6365
6366bool CreateResponseProto::IsInitialized() const {
6367 if (has_fs()) {
6368 if (!this->fs_->IsInitialized()) return false;
6369 }
6370 return true;
6371}
6372
6373void CreateResponseProto::Swap(CreateResponseProto* other) {
6374 if (other == this) return;
6375 InternalSwap(other);
6376}
6377void CreateResponseProto::InternalSwap(CreateResponseProto* other) {
6378 using std::swap;
6379 swap(fs_, other->fs_);
6380 swap(_has_bits_[0], other->_has_bits_[0]);
6381 _internal_metadata_.Swap(&other->_internal_metadata_);
6382}
6383
6384::google::protobuf::Metadata CreateResponseProto::GetMetadata() const {
6385 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
6386 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
6387}
6388
6389
6390// ===================================================================
6391
6392void AppendRequestProto::InitAsDefaultInstance() {
6393}
6394#if !defined(_MSC_VER) || _MSC_VER >= 1900
6395const int AppendRequestProto::kSrcFieldNumber;
6396const int AppendRequestProto::kClientNameFieldNumber;
6397#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
6398
6399AppendRequestProto::AppendRequestProto()
6400 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6401 ::google::protobuf::internal::InitSCC(
6402 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_AppendRequestProto.base);
6403 SharedCtor();
6404 // @@protoc_insertion_point(constructor:Hdfs.Internal.AppendRequestProto)
6405}
6406AppendRequestProto::AppendRequestProto(const AppendRequestProto& from)
6407 : ::google::protobuf::Message(),
6408 _internal_metadata_(NULL),
6409 _has_bits_(from._has_bits_) {
6410 _internal_metadata_.MergeFrom(from._internal_metadata_);
6411 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6412 if (from.has_src()) {
6413 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
6414 }
6415 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6416 if (from.has_clientname()) {
6417 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
6418 }
6419 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.AppendRequestProto)
6420}
6421
6422void AppendRequestProto::SharedCtor() {
6423 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6424 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6425}
6426
6427AppendRequestProto::~AppendRequestProto() {
6428 // @@protoc_insertion_point(destructor:Hdfs.Internal.AppendRequestProto)
6429 SharedDtor();
6430}
6431
6432void AppendRequestProto::SharedDtor() {
6433 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6434 clientname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6435}
6436
6437void AppendRequestProto::SetCachedSize(int size) const {
6438 _cached_size_.Set(size);
6439}
6440const ::google::protobuf::Descriptor* AppendRequestProto::descriptor() {
6441 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
6442 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6443}
6444
6445const AppendRequestProto& AppendRequestProto::default_instance() {
6446 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_AppendRequestProto.base);
6447 return *internal_default_instance();
6448}
6449
6450
6451void AppendRequestProto::Clear() {
6452// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.AppendRequestProto)
6453 ::google::protobuf::uint32 cached_has_bits = 0;
6454 // Prevent compiler warnings about cached_has_bits being unused
6455 (void) cached_has_bits;
6456
6457 cached_has_bits = _has_bits_[0];
6458 if (cached_has_bits & 3u) {
6459 if (cached_has_bits & 0x00000001u) {
6460 src_.ClearNonDefaultToEmptyNoArena();
6461 }
6462 if (cached_has_bits & 0x00000002u) {
6463 clientname_.ClearNonDefaultToEmptyNoArena();
6464 }
6465 }
6466 _has_bits_.Clear();
6467 _internal_metadata_.Clear();
6468}
6469
6470bool AppendRequestProto::MergePartialFromCodedStream(
6471 ::google::protobuf::io::CodedInputStream* input) {
6472#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6473 ::google::protobuf::uint32 tag;
6474 // @@protoc_insertion_point(parse_start:Hdfs.Internal.AppendRequestProto)
6475 for (;;) {
6476 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6477 tag = p.first;
6478 if (!p.second) goto handle_unusual;
6479 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6480 // required string src = 1;
6481 case 1: {
6482 if (static_cast< ::google::protobuf::uint8>(tag) ==
6483 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6484 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
6485 input, this->mutable_src()));
6486 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6487 this->src().data(), static_cast<int>(this->src().length()),
6488 ::google::protobuf::internal::WireFormat::PARSE,
6489 "Hdfs.Internal.AppendRequestProto.src");
6490 } else {
6491 goto handle_unusual;
6492 }
6493 break;
6494 }
6495
6496 // required string clientName = 2;
6497 case 2: {
6498 if (static_cast< ::google::protobuf::uint8>(tag) ==
6499 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
6500 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
6501 input, this->mutable_clientname()));
6502 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6503 this->clientname().data(), static_cast<int>(this->clientname().length()),
6504 ::google::protobuf::internal::WireFormat::PARSE,
6505 "Hdfs.Internal.AppendRequestProto.clientName");
6506 } else {
6507 goto handle_unusual;
6508 }
6509 break;
6510 }
6511
6512 default: {
6513 handle_unusual:
6514 if (tag == 0) {
6515 goto success;
6516 }
6517 DO_(::google::protobuf::internal::WireFormat::SkipField(
6518 input, tag, _internal_metadata_.mutable_unknown_fields()));
6519 break;
6520 }
6521 }
6522 }
6523success:
6524 // @@protoc_insertion_point(parse_success:Hdfs.Internal.AppendRequestProto)
6525 return true;
6526failure:
6527 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.AppendRequestProto)
6528 return false;
6529#undef DO_
6530}
6531
6532void AppendRequestProto::SerializeWithCachedSizes(
6533 ::google::protobuf::io::CodedOutputStream* output) const {
6534 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.AppendRequestProto)
6535 ::google::protobuf::uint32 cached_has_bits = 0;
6536 (void) cached_has_bits;
6537
6538 cached_has_bits = _has_bits_[0];
6539 // required string src = 1;
6540 if (cached_has_bits & 0x00000001u) {
6541 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6542 this->src().data(), static_cast<int>(this->src().length()),
6543 ::google::protobuf::internal::WireFormat::SERIALIZE,
6544 "Hdfs.Internal.AppendRequestProto.src");
6545 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
6546 1, this->src(), output);
6547 }
6548
6549 // required string clientName = 2;
6550 if (cached_has_bits & 0x00000002u) {
6551 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6552 this->clientname().data(), static_cast<int>(this->clientname().length()),
6553 ::google::protobuf::internal::WireFormat::SERIALIZE,
6554 "Hdfs.Internal.AppendRequestProto.clientName");
6555 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
6556 2, this->clientname(), output);
6557 }
6558
6559 if (_internal_metadata_.have_unknown_fields()) {
6560 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6561 _internal_metadata_.unknown_fields(), output);
6562 }
6563 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.AppendRequestProto)
6564}
6565
6566::google::protobuf::uint8* AppendRequestProto::InternalSerializeWithCachedSizesToArray(
6567 bool deterministic, ::google::protobuf::uint8* target) const {
6568 (void)deterministic; // Unused
6569 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.AppendRequestProto)
6570 ::google::protobuf::uint32 cached_has_bits = 0;
6571 (void) cached_has_bits;
6572
6573 cached_has_bits = _has_bits_[0];
6574 // required string src = 1;
6575 if (cached_has_bits & 0x00000001u) {
6576 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6577 this->src().data(), static_cast<int>(this->src().length()),
6578 ::google::protobuf::internal::WireFormat::SERIALIZE,
6579 "Hdfs.Internal.AppendRequestProto.src");
6580 target =
6581 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6582 1, this->src(), target);
6583 }
6584
6585 // required string clientName = 2;
6586 if (cached_has_bits & 0x00000002u) {
6587 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6588 this->clientname().data(), static_cast<int>(this->clientname().length()),
6589 ::google::protobuf::internal::WireFormat::SERIALIZE,
6590 "Hdfs.Internal.AppendRequestProto.clientName");
6591 target =
6592 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6593 2, this->clientname(), target);
6594 }
6595
6596 if (_internal_metadata_.have_unknown_fields()) {
6597 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6598 _internal_metadata_.unknown_fields(), target);
6599 }
6600 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.AppendRequestProto)
6601 return target;
6602}
6603
6604size_t AppendRequestProto::RequiredFieldsByteSizeFallback() const {
6605// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.AppendRequestProto)
6606 size_t total_size = 0;
6607
6608 if (has_src()) {
6609 // required string src = 1;
6610 total_size += 1 +
6611 ::google::protobuf::internal::WireFormatLite::StringSize(
6612 this->src());
6613 }
6614
6615 if (has_clientname()) {
6616 // required string clientName = 2;
6617 total_size += 1 +
6618 ::google::protobuf::internal::WireFormatLite::StringSize(
6619 this->clientname());
6620 }
6621
6622 return total_size;
6623}
6624size_t AppendRequestProto::ByteSizeLong() const {
6625// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.AppendRequestProto)
6626 size_t total_size = 0;
6627
6628 if (_internal_metadata_.have_unknown_fields()) {
6629 total_size +=
6630 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6631 _internal_metadata_.unknown_fields());
6632 }
6633 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
6634 // required string src = 1;
6635 total_size += 1 +
6636 ::google::protobuf::internal::WireFormatLite::StringSize(
6637 this->src());
6638
6639 // required string clientName = 2;
6640 total_size += 1 +
6641 ::google::protobuf::internal::WireFormatLite::StringSize(
6642 this->clientname());
6643
6644 } else {
6645 total_size += RequiredFieldsByteSizeFallback();
6646 }
6647 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6648 SetCachedSize(cached_size);
6649 return total_size;
6650}
6651
6652void AppendRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
6653// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.AppendRequestProto)
6654 GOOGLE_DCHECK_NE(&from, this);
6655 const AppendRequestProto* source =
6656 ::google::protobuf::internal::DynamicCastToGenerated<const AppendRequestProto>(
6657 &from);
6658 if (source == NULL) {
6659 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.AppendRequestProto)
6660 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6661 } else {
6662 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.AppendRequestProto)
6663 MergeFrom(*source);
6664 }
6665}
6666
6667void AppendRequestProto::MergeFrom(const AppendRequestProto& from) {
6668// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.AppendRequestProto)
6669 GOOGLE_DCHECK_NE(&from, this);
6670 _internal_metadata_.MergeFrom(from._internal_metadata_);
6671 ::google::protobuf::uint32 cached_has_bits = 0;
6672 (void) cached_has_bits;
6673
6674 cached_has_bits = from._has_bits_[0];
6675 if (cached_has_bits & 3u) {
6676 if (cached_has_bits & 0x00000001u) {
6677 set_has_src();
6678 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
6679 }
6680 if (cached_has_bits & 0x00000002u) {
6681 set_has_clientname();
6682 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
6683 }
6684 }
6685}
6686
6687void AppendRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
6688// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.AppendRequestProto)
6689 if (&from == this) return;
6690 Clear();
6691 MergeFrom(from);
6692}
6693
6694void AppendRequestProto::CopyFrom(const AppendRequestProto& from) {
6695// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.AppendRequestProto)
6696 if (&from == this) return;
6697 Clear();
6698 MergeFrom(from);
6699}
6700
6701bool AppendRequestProto::IsInitialized() const {
6702 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
6703 return true;
6704}
6705
6706void AppendRequestProto::Swap(AppendRequestProto* other) {
6707 if (other == this) return;
6708 InternalSwap(other);
6709}
6710void AppendRequestProto::InternalSwap(AppendRequestProto* other) {
6711 using std::swap;
6712 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6713 GetArenaNoVirtual());
6714 clientname_.Swap(&other->clientname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6715 GetArenaNoVirtual());
6716 swap(_has_bits_[0], other->_has_bits_[0]);
6717 _internal_metadata_.Swap(&other->_internal_metadata_);
6718}
6719
6720::google::protobuf::Metadata AppendRequestProto::GetMetadata() const {
6721 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
6722 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
6723}
6724
6725
6726// ===================================================================
6727
6728void AppendResponseProto::InitAsDefaultInstance() {
6729 ::Hdfs::Internal::_AppendResponseProto_default_instance_._instance.get_mutable()->block_ = const_cast< ::Hdfs::Internal::LocatedBlockProto*>(
6730 ::Hdfs::Internal::LocatedBlockProto::internal_default_instance());
6731 ::Hdfs::Internal::_AppendResponseProto_default_instance_._instance.get_mutable()->stat_ = const_cast< ::Hdfs::Internal::HdfsFileStatusProto*>(
6732 ::Hdfs::Internal::HdfsFileStatusProto::internal_default_instance());
6733}
6734void AppendResponseProto::clear_block() {
6735 if (block_ != NULL) block_->Clear();
6736 clear_has_block();
6737}
6738void AppendResponseProto::clear_stat() {
6739 if (stat_ != NULL) stat_->Clear();
6740 clear_has_stat();
6741}
6742#if !defined(_MSC_VER) || _MSC_VER >= 1900
6743const int AppendResponseProto::kBlockFieldNumber;
6744const int AppendResponseProto::kStatFieldNumber;
6745#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
6746
6747AppendResponseProto::AppendResponseProto()
6748 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6749 ::google::protobuf::internal::InitSCC(
6750 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_AppendResponseProto.base);
6751 SharedCtor();
6752 // @@protoc_insertion_point(constructor:Hdfs.Internal.AppendResponseProto)
6753}
6754AppendResponseProto::AppendResponseProto(const AppendResponseProto& from)
6755 : ::google::protobuf::Message(),
6756 _internal_metadata_(NULL),
6757 _has_bits_(from._has_bits_) {
6758 _internal_metadata_.MergeFrom(from._internal_metadata_);
6759 if (from.has_block()) {
6760 block_ = new ::Hdfs::Internal::LocatedBlockProto(*from.block_);
6761 } else {
6762 block_ = NULL;
6763 }
6764 if (from.has_stat()) {
6765 stat_ = new ::Hdfs::Internal::HdfsFileStatusProto(*from.stat_);
6766 } else {
6767 stat_ = NULL;
6768 }
6769 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.AppendResponseProto)
6770}
6771
6772void AppendResponseProto::SharedCtor() {
6773 ::memset(&block_, 0, static_cast<size_t>(
6774 reinterpret_cast<char*>(&stat_) -
6775 reinterpret_cast<char*>(&block_)) + sizeof(stat_));
6776}
6777
6778AppendResponseProto::~AppendResponseProto() {
6779 // @@protoc_insertion_point(destructor:Hdfs.Internal.AppendResponseProto)
6780 SharedDtor();
6781}
6782
6783void AppendResponseProto::SharedDtor() {
6784 if (this != internal_default_instance()) delete block_;
6785 if (this != internal_default_instance()) delete stat_;
6786}
6787
6788void AppendResponseProto::SetCachedSize(int size) const {
6789 _cached_size_.Set(size);
6790}
6791const ::google::protobuf::Descriptor* AppendResponseProto::descriptor() {
6792 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
6793 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6794}
6795
6796const AppendResponseProto& AppendResponseProto::default_instance() {
6797 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_AppendResponseProto.base);
6798 return *internal_default_instance();
6799}
6800
6801
6802void AppendResponseProto::Clear() {
6803// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.AppendResponseProto)
6804 ::google::protobuf::uint32 cached_has_bits = 0;
6805 // Prevent compiler warnings about cached_has_bits being unused
6806 (void) cached_has_bits;
6807
6808 cached_has_bits = _has_bits_[0];
6809 if (cached_has_bits & 3u) {
6810 if (cached_has_bits & 0x00000001u) {
6811 GOOGLE_DCHECK(block_ != NULL);
6812 block_->Clear();
6813 }
6814 if (cached_has_bits & 0x00000002u) {
6815 GOOGLE_DCHECK(stat_ != NULL);
6816 stat_->Clear();
6817 }
6818 }
6819 _has_bits_.Clear();
6820 _internal_metadata_.Clear();
6821}
6822
6823bool AppendResponseProto::MergePartialFromCodedStream(
6824 ::google::protobuf::io::CodedInputStream* input) {
6825#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6826 ::google::protobuf::uint32 tag;
6827 // @@protoc_insertion_point(parse_start:Hdfs.Internal.AppendResponseProto)
6828 for (;;) {
6829 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6830 tag = p.first;
6831 if (!p.second) goto handle_unusual;
6832 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6833 // optional .Hdfs.Internal.LocatedBlockProto block = 1;
6834 case 1: {
6835 if (static_cast< ::google::protobuf::uint8>(tag) ==
6836 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6837 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6838 input, mutable_block()));
6839 } else {
6840 goto handle_unusual;
6841 }
6842 break;
6843 }
6844
6845 // optional .Hdfs.Internal.HdfsFileStatusProto stat = 2;
6846 case 2: {
6847 if (static_cast< ::google::protobuf::uint8>(tag) ==
6848 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
6849 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6850 input, mutable_stat()));
6851 } else {
6852 goto handle_unusual;
6853 }
6854 break;
6855 }
6856
6857 default: {
6858 handle_unusual:
6859 if (tag == 0) {
6860 goto success;
6861 }
6862 DO_(::google::protobuf::internal::WireFormat::SkipField(
6863 input, tag, _internal_metadata_.mutable_unknown_fields()));
6864 break;
6865 }
6866 }
6867 }
6868success:
6869 // @@protoc_insertion_point(parse_success:Hdfs.Internal.AppendResponseProto)
6870 return true;
6871failure:
6872 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.AppendResponseProto)
6873 return false;
6874#undef DO_
6875}
6876
6877void AppendResponseProto::SerializeWithCachedSizes(
6878 ::google::protobuf::io::CodedOutputStream* output) const {
6879 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.AppendResponseProto)
6880 ::google::protobuf::uint32 cached_has_bits = 0;
6881 (void) cached_has_bits;
6882
6883 cached_has_bits = _has_bits_[0];
6884 // optional .Hdfs.Internal.LocatedBlockProto block = 1;
6885 if (cached_has_bits & 0x00000001u) {
6886 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6887 1, this->_internal_block(), output);
6888 }
6889
6890 // optional .Hdfs.Internal.HdfsFileStatusProto stat = 2;
6891 if (cached_has_bits & 0x00000002u) {
6892 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6893 2, this->_internal_stat(), output);
6894 }
6895
6896 if (_internal_metadata_.have_unknown_fields()) {
6897 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6898 _internal_metadata_.unknown_fields(), output);
6899 }
6900 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.AppendResponseProto)
6901}
6902
6903::google::protobuf::uint8* AppendResponseProto::InternalSerializeWithCachedSizesToArray(
6904 bool deterministic, ::google::protobuf::uint8* target) const {
6905 (void)deterministic; // Unused
6906 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.AppendResponseProto)
6907 ::google::protobuf::uint32 cached_has_bits = 0;
6908 (void) cached_has_bits;
6909
6910 cached_has_bits = _has_bits_[0];
6911 // optional .Hdfs.Internal.LocatedBlockProto block = 1;
6912 if (cached_has_bits & 0x00000001u) {
6913 target = ::google::protobuf::internal::WireFormatLite::
6914 InternalWriteMessageToArray(
6915 1, this->_internal_block(), deterministic, target);
6916 }
6917
6918 // optional .Hdfs.Internal.HdfsFileStatusProto stat = 2;
6919 if (cached_has_bits & 0x00000002u) {
6920 target = ::google::protobuf::internal::WireFormatLite::
6921 InternalWriteMessageToArray(
6922 2, this->_internal_stat(), deterministic, target);
6923 }
6924
6925 if (_internal_metadata_.have_unknown_fields()) {
6926 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6927 _internal_metadata_.unknown_fields(), target);
6928 }
6929 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.AppendResponseProto)
6930 return target;
6931}
6932
6933size_t AppendResponseProto::ByteSizeLong() const {
6934// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.AppendResponseProto)
6935 size_t total_size = 0;
6936
6937 if (_internal_metadata_.have_unknown_fields()) {
6938 total_size +=
6939 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6940 _internal_metadata_.unknown_fields());
6941 }
6942 if (_has_bits_[0 / 32] & 3u) {
6943 // optional .Hdfs.Internal.LocatedBlockProto block = 1;
6944 if (has_block()) {
6945 total_size += 1 +
6946 ::google::protobuf::internal::WireFormatLite::MessageSize(
6947 *block_);
6948 }
6949
6950 // optional .Hdfs.Internal.HdfsFileStatusProto stat = 2;
6951 if (has_stat()) {
6952 total_size += 1 +
6953 ::google::protobuf::internal::WireFormatLite::MessageSize(
6954 *stat_);
6955 }
6956
6957 }
6958 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6959 SetCachedSize(cached_size);
6960 return total_size;
6961}
6962
6963void AppendResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
6964// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.AppendResponseProto)
6965 GOOGLE_DCHECK_NE(&from, this);
6966 const AppendResponseProto* source =
6967 ::google::protobuf::internal::DynamicCastToGenerated<const AppendResponseProto>(
6968 &from);
6969 if (source == NULL) {
6970 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.AppendResponseProto)
6971 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6972 } else {
6973 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.AppendResponseProto)
6974 MergeFrom(*source);
6975 }
6976}
6977
6978void AppendResponseProto::MergeFrom(const AppendResponseProto& from) {
6979// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.AppendResponseProto)
6980 GOOGLE_DCHECK_NE(&from, this);
6981 _internal_metadata_.MergeFrom(from._internal_metadata_);
6982 ::google::protobuf::uint32 cached_has_bits = 0;
6983 (void) cached_has_bits;
6984
6985 cached_has_bits = from._has_bits_[0];
6986 if (cached_has_bits & 3u) {
6987 if (cached_has_bits & 0x00000001u) {
6988 mutable_block()->::Hdfs::Internal::LocatedBlockProto::MergeFrom(from.block());
6989 }
6990 if (cached_has_bits & 0x00000002u) {
6991 mutable_stat()->::Hdfs::Internal::HdfsFileStatusProto::MergeFrom(from.stat());
6992 }
6993 }
6994}
6995
6996void AppendResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
6997// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.AppendResponseProto)
6998 if (&from == this) return;
6999 Clear();
7000 MergeFrom(from);
7001}
7002
7003void AppendResponseProto::CopyFrom(const AppendResponseProto& from) {
7004// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.AppendResponseProto)
7005 if (&from == this) return;
7006 Clear();
7007 MergeFrom(from);
7008}
7009
7010bool AppendResponseProto::IsInitialized() const {
7011 if (has_block()) {
7012 if (!this->block_->IsInitialized()) return false;
7013 }
7014 if (has_stat()) {
7015 if (!this->stat_->IsInitialized()) return false;
7016 }
7017 return true;
7018}
7019
7020void AppendResponseProto::Swap(AppendResponseProto* other) {
7021 if (other == this) return;
7022 InternalSwap(other);
7023}
7024void AppendResponseProto::InternalSwap(AppendResponseProto* other) {
7025 using std::swap;
7026 swap(block_, other->block_);
7027 swap(stat_, other->stat_);
7028 swap(_has_bits_[0], other->_has_bits_[0]);
7029 _internal_metadata_.Swap(&other->_internal_metadata_);
7030}
7031
7032::google::protobuf::Metadata AppendResponseProto::GetMetadata() const {
7033 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
7034 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
7035}
7036
7037
7038// ===================================================================
7039
7040void SetReplicationRequestProto::InitAsDefaultInstance() {
7041}
7042#if !defined(_MSC_VER) || _MSC_VER >= 1900
7043const int SetReplicationRequestProto::kSrcFieldNumber;
7044const int SetReplicationRequestProto::kReplicationFieldNumber;
7045#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
7046
7047SetReplicationRequestProto::SetReplicationRequestProto()
7048 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7049 ::google::protobuf::internal::InitSCC(
7050 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetReplicationRequestProto.base);
7051 SharedCtor();
7052 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetReplicationRequestProto)
7053}
7054SetReplicationRequestProto::SetReplicationRequestProto(const SetReplicationRequestProto& from)
7055 : ::google::protobuf::Message(),
7056 _internal_metadata_(NULL),
7057 _has_bits_(from._has_bits_) {
7058 _internal_metadata_.MergeFrom(from._internal_metadata_);
7059 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7060 if (from.has_src()) {
7061 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
7062 }
7063 replication_ = from.replication_;
7064 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetReplicationRequestProto)
7065}
7066
7067void SetReplicationRequestProto::SharedCtor() {
7068 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7069 replication_ = 0u;
7070}
7071
7072SetReplicationRequestProto::~SetReplicationRequestProto() {
7073 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetReplicationRequestProto)
7074 SharedDtor();
7075}
7076
7077void SetReplicationRequestProto::SharedDtor() {
7078 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7079}
7080
7081void SetReplicationRequestProto::SetCachedSize(int size) const {
7082 _cached_size_.Set(size);
7083}
7084const ::google::protobuf::Descriptor* SetReplicationRequestProto::descriptor() {
7085 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
7086 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7087}
7088
7089const SetReplicationRequestProto& SetReplicationRequestProto::default_instance() {
7090 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetReplicationRequestProto.base);
7091 return *internal_default_instance();
7092}
7093
7094
7095void SetReplicationRequestProto::Clear() {
7096// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetReplicationRequestProto)
7097 ::google::protobuf::uint32 cached_has_bits = 0;
7098 // Prevent compiler warnings about cached_has_bits being unused
7099 (void) cached_has_bits;
7100
7101 cached_has_bits = _has_bits_[0];
7102 if (cached_has_bits & 0x00000001u) {
7103 src_.ClearNonDefaultToEmptyNoArena();
7104 }
7105 replication_ = 0u;
7106 _has_bits_.Clear();
7107 _internal_metadata_.Clear();
7108}
7109
7110bool SetReplicationRequestProto::MergePartialFromCodedStream(
7111 ::google::protobuf::io::CodedInputStream* input) {
7112#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7113 ::google::protobuf::uint32 tag;
7114 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetReplicationRequestProto)
7115 for (;;) {
7116 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7117 tag = p.first;
7118 if (!p.second) goto handle_unusual;
7119 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7120 // required string src = 1;
7121 case 1: {
7122 if (static_cast< ::google::protobuf::uint8>(tag) ==
7123 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7124 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7125 input, this->mutable_src()));
7126 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7127 this->src().data(), static_cast<int>(this->src().length()),
7128 ::google::protobuf::internal::WireFormat::PARSE,
7129 "Hdfs.Internal.SetReplicationRequestProto.src");
7130 } else {
7131 goto handle_unusual;
7132 }
7133 break;
7134 }
7135
7136 // required uint32 replication = 2;
7137 case 2: {
7138 if (static_cast< ::google::protobuf::uint8>(tag) ==
7139 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
7140 set_has_replication();
7141 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7142 ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
7143 input, &replication_)));
7144 } else {
7145 goto handle_unusual;
7146 }
7147 break;
7148 }
7149
7150 default: {
7151 handle_unusual:
7152 if (tag == 0) {
7153 goto success;
7154 }
7155 DO_(::google::protobuf::internal::WireFormat::SkipField(
7156 input, tag, _internal_metadata_.mutable_unknown_fields()));
7157 break;
7158 }
7159 }
7160 }
7161success:
7162 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetReplicationRequestProto)
7163 return true;
7164failure:
7165 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetReplicationRequestProto)
7166 return false;
7167#undef DO_
7168}
7169
7170void SetReplicationRequestProto::SerializeWithCachedSizes(
7171 ::google::protobuf::io::CodedOutputStream* output) const {
7172 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetReplicationRequestProto)
7173 ::google::protobuf::uint32 cached_has_bits = 0;
7174 (void) cached_has_bits;
7175
7176 cached_has_bits = _has_bits_[0];
7177 // required string src = 1;
7178 if (cached_has_bits & 0x00000001u) {
7179 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7180 this->src().data(), static_cast<int>(this->src().length()),
7181 ::google::protobuf::internal::WireFormat::SERIALIZE,
7182 "Hdfs.Internal.SetReplicationRequestProto.src");
7183 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7184 1, this->src(), output);
7185 }
7186
7187 // required uint32 replication = 2;
7188 if (cached_has_bits & 0x00000002u) {
7189 ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->replication(), output);
7190 }
7191
7192 if (_internal_metadata_.have_unknown_fields()) {
7193 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7194 _internal_metadata_.unknown_fields(), output);
7195 }
7196 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetReplicationRequestProto)
7197}
7198
7199::google::protobuf::uint8* SetReplicationRequestProto::InternalSerializeWithCachedSizesToArray(
7200 bool deterministic, ::google::protobuf::uint8* target) const {
7201 (void)deterministic; // Unused
7202 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetReplicationRequestProto)
7203 ::google::protobuf::uint32 cached_has_bits = 0;
7204 (void) cached_has_bits;
7205
7206 cached_has_bits = _has_bits_[0];
7207 // required string src = 1;
7208 if (cached_has_bits & 0x00000001u) {
7209 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7210 this->src().data(), static_cast<int>(this->src().length()),
7211 ::google::protobuf::internal::WireFormat::SERIALIZE,
7212 "Hdfs.Internal.SetReplicationRequestProto.src");
7213 target =
7214 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7215 1, this->src(), target);
7216 }
7217
7218 // required uint32 replication = 2;
7219 if (cached_has_bits & 0x00000002u) {
7220 target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->replication(), target);
7221 }
7222
7223 if (_internal_metadata_.have_unknown_fields()) {
7224 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7225 _internal_metadata_.unknown_fields(), target);
7226 }
7227 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetReplicationRequestProto)
7228 return target;
7229}
7230
7231size_t SetReplicationRequestProto::RequiredFieldsByteSizeFallback() const {
7232// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.SetReplicationRequestProto)
7233 size_t total_size = 0;
7234
7235 if (has_src()) {
7236 // required string src = 1;
7237 total_size += 1 +
7238 ::google::protobuf::internal::WireFormatLite::StringSize(
7239 this->src());
7240 }
7241
7242 if (has_replication()) {
7243 // required uint32 replication = 2;
7244 total_size += 1 +
7245 ::google::protobuf::internal::WireFormatLite::UInt32Size(
7246 this->replication());
7247 }
7248
7249 return total_size;
7250}
7251size_t SetReplicationRequestProto::ByteSizeLong() const {
7252// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetReplicationRequestProto)
7253 size_t total_size = 0;
7254
7255 if (_internal_metadata_.have_unknown_fields()) {
7256 total_size +=
7257 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7258 _internal_metadata_.unknown_fields());
7259 }
7260 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
7261 // required string src = 1;
7262 total_size += 1 +
7263 ::google::protobuf::internal::WireFormatLite::StringSize(
7264 this->src());
7265
7266 // required uint32 replication = 2;
7267 total_size += 1 +
7268 ::google::protobuf::internal::WireFormatLite::UInt32Size(
7269 this->replication());
7270
7271 } else {
7272 total_size += RequiredFieldsByteSizeFallback();
7273 }
7274 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7275 SetCachedSize(cached_size);
7276 return total_size;
7277}
7278
7279void SetReplicationRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
7280// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetReplicationRequestProto)
7281 GOOGLE_DCHECK_NE(&from, this);
7282 const SetReplicationRequestProto* source =
7283 ::google::protobuf::internal::DynamicCastToGenerated<const SetReplicationRequestProto>(
7284 &from);
7285 if (source == NULL) {
7286 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetReplicationRequestProto)
7287 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7288 } else {
7289 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetReplicationRequestProto)
7290 MergeFrom(*source);
7291 }
7292}
7293
7294void SetReplicationRequestProto::MergeFrom(const SetReplicationRequestProto& from) {
7295// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetReplicationRequestProto)
7296 GOOGLE_DCHECK_NE(&from, this);
7297 _internal_metadata_.MergeFrom(from._internal_metadata_);
7298 ::google::protobuf::uint32 cached_has_bits = 0;
7299 (void) cached_has_bits;
7300
7301 cached_has_bits = from._has_bits_[0];
7302 if (cached_has_bits & 3u) {
7303 if (cached_has_bits & 0x00000001u) {
7304 set_has_src();
7305 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
7306 }
7307 if (cached_has_bits & 0x00000002u) {
7308 replication_ = from.replication_;
7309 }
7310 _has_bits_[0] |= cached_has_bits;
7311 }
7312}
7313
7314void SetReplicationRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
7315// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetReplicationRequestProto)
7316 if (&from == this) return;
7317 Clear();
7318 MergeFrom(from);
7319}
7320
7321void SetReplicationRequestProto::CopyFrom(const SetReplicationRequestProto& from) {
7322// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetReplicationRequestProto)
7323 if (&from == this) return;
7324 Clear();
7325 MergeFrom(from);
7326}
7327
7328bool SetReplicationRequestProto::IsInitialized() const {
7329 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
7330 return true;
7331}
7332
7333void SetReplicationRequestProto::Swap(SetReplicationRequestProto* other) {
7334 if (other == this) return;
7335 InternalSwap(other);
7336}
7337void SetReplicationRequestProto::InternalSwap(SetReplicationRequestProto* other) {
7338 using std::swap;
7339 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7340 GetArenaNoVirtual());
7341 swap(replication_, other->replication_);
7342 swap(_has_bits_[0], other->_has_bits_[0]);
7343 _internal_metadata_.Swap(&other->_internal_metadata_);
7344}
7345
7346::google::protobuf::Metadata SetReplicationRequestProto::GetMetadata() const {
7347 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
7348 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
7349}
7350
7351
7352// ===================================================================
7353
7354void SetReplicationResponseProto::InitAsDefaultInstance() {
7355}
7356#if !defined(_MSC_VER) || _MSC_VER >= 1900
7357const int SetReplicationResponseProto::kResultFieldNumber;
7358#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
7359
7360SetReplicationResponseProto::SetReplicationResponseProto()
7361 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7362 ::google::protobuf::internal::InitSCC(
7363 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetReplicationResponseProto.base);
7364 SharedCtor();
7365 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetReplicationResponseProto)
7366}
7367SetReplicationResponseProto::SetReplicationResponseProto(const SetReplicationResponseProto& from)
7368 : ::google::protobuf::Message(),
7369 _internal_metadata_(NULL),
7370 _has_bits_(from._has_bits_) {
7371 _internal_metadata_.MergeFrom(from._internal_metadata_);
7372 result_ = from.result_;
7373 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetReplicationResponseProto)
7374}
7375
7376void SetReplicationResponseProto::SharedCtor() {
7377 result_ = false;
7378}
7379
7380SetReplicationResponseProto::~SetReplicationResponseProto() {
7381 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetReplicationResponseProto)
7382 SharedDtor();
7383}
7384
7385void SetReplicationResponseProto::SharedDtor() {
7386}
7387
7388void SetReplicationResponseProto::SetCachedSize(int size) const {
7389 _cached_size_.Set(size);
7390}
7391const ::google::protobuf::Descriptor* SetReplicationResponseProto::descriptor() {
7392 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
7393 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7394}
7395
7396const SetReplicationResponseProto& SetReplicationResponseProto::default_instance() {
7397 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetReplicationResponseProto.base);
7398 return *internal_default_instance();
7399}
7400
7401
7402void SetReplicationResponseProto::Clear() {
7403// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetReplicationResponseProto)
7404 ::google::protobuf::uint32 cached_has_bits = 0;
7405 // Prevent compiler warnings about cached_has_bits being unused
7406 (void) cached_has_bits;
7407
7408 result_ = false;
7409 _has_bits_.Clear();
7410 _internal_metadata_.Clear();
7411}
7412
7413bool SetReplicationResponseProto::MergePartialFromCodedStream(
7414 ::google::protobuf::io::CodedInputStream* input) {
7415#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7416 ::google::protobuf::uint32 tag;
7417 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetReplicationResponseProto)
7418 for (;;) {
7419 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7420 tag = p.first;
7421 if (!p.second) goto handle_unusual;
7422 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7423 // required bool result = 1;
7424 case 1: {
7425 if (static_cast< ::google::protobuf::uint8>(tag) ==
7426 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
7427 set_has_result();
7428 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7429 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
7430 input, &result_)));
7431 } else {
7432 goto handle_unusual;
7433 }
7434 break;
7435 }
7436
7437 default: {
7438 handle_unusual:
7439 if (tag == 0) {
7440 goto success;
7441 }
7442 DO_(::google::protobuf::internal::WireFormat::SkipField(
7443 input, tag, _internal_metadata_.mutable_unknown_fields()));
7444 break;
7445 }
7446 }
7447 }
7448success:
7449 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetReplicationResponseProto)
7450 return true;
7451failure:
7452 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetReplicationResponseProto)
7453 return false;
7454#undef DO_
7455}
7456
7457void SetReplicationResponseProto::SerializeWithCachedSizes(
7458 ::google::protobuf::io::CodedOutputStream* output) const {
7459 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetReplicationResponseProto)
7460 ::google::protobuf::uint32 cached_has_bits = 0;
7461 (void) cached_has_bits;
7462
7463 cached_has_bits = _has_bits_[0];
7464 // required bool result = 1;
7465 if (cached_has_bits & 0x00000001u) {
7466 ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->result(), output);
7467 }
7468
7469 if (_internal_metadata_.have_unknown_fields()) {
7470 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7471 _internal_metadata_.unknown_fields(), output);
7472 }
7473 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetReplicationResponseProto)
7474}
7475
7476::google::protobuf::uint8* SetReplicationResponseProto::InternalSerializeWithCachedSizesToArray(
7477 bool deterministic, ::google::protobuf::uint8* target) const {
7478 (void)deterministic; // Unused
7479 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetReplicationResponseProto)
7480 ::google::protobuf::uint32 cached_has_bits = 0;
7481 (void) cached_has_bits;
7482
7483 cached_has_bits = _has_bits_[0];
7484 // required bool result = 1;
7485 if (cached_has_bits & 0x00000001u) {
7486 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->result(), target);
7487 }
7488
7489 if (_internal_metadata_.have_unknown_fields()) {
7490 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7491 _internal_metadata_.unknown_fields(), target);
7492 }
7493 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetReplicationResponseProto)
7494 return target;
7495}
7496
7497size_t SetReplicationResponseProto::ByteSizeLong() const {
7498// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetReplicationResponseProto)
7499 size_t total_size = 0;
7500
7501 if (_internal_metadata_.have_unknown_fields()) {
7502 total_size +=
7503 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7504 _internal_metadata_.unknown_fields());
7505 }
7506 // required bool result = 1;
7507 if (has_result()) {
7508 total_size += 1 + 1;
7509 }
7510 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7511 SetCachedSize(cached_size);
7512 return total_size;
7513}
7514
7515void SetReplicationResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
7516// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetReplicationResponseProto)
7517 GOOGLE_DCHECK_NE(&from, this);
7518 const SetReplicationResponseProto* source =
7519 ::google::protobuf::internal::DynamicCastToGenerated<const SetReplicationResponseProto>(
7520 &from);
7521 if (source == NULL) {
7522 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetReplicationResponseProto)
7523 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7524 } else {
7525 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetReplicationResponseProto)
7526 MergeFrom(*source);
7527 }
7528}
7529
7530void SetReplicationResponseProto::MergeFrom(const SetReplicationResponseProto& from) {
7531// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetReplicationResponseProto)
7532 GOOGLE_DCHECK_NE(&from, this);
7533 _internal_metadata_.MergeFrom(from._internal_metadata_);
7534 ::google::protobuf::uint32 cached_has_bits = 0;
7535 (void) cached_has_bits;
7536
7537 if (from.has_result()) {
7538 set_result(from.result());
7539 }
7540}
7541
7542void SetReplicationResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
7543// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetReplicationResponseProto)
7544 if (&from == this) return;
7545 Clear();
7546 MergeFrom(from);
7547}
7548
7549void SetReplicationResponseProto::CopyFrom(const SetReplicationResponseProto& from) {
7550// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetReplicationResponseProto)
7551 if (&from == this) return;
7552 Clear();
7553 MergeFrom(from);
7554}
7555
7556bool SetReplicationResponseProto::IsInitialized() const {
7557 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
7558 return true;
7559}
7560
7561void SetReplicationResponseProto::Swap(SetReplicationResponseProto* other) {
7562 if (other == this) return;
7563 InternalSwap(other);
7564}
7565void SetReplicationResponseProto::InternalSwap(SetReplicationResponseProto* other) {
7566 using std::swap;
7567 swap(result_, other->result_);
7568 swap(_has_bits_[0], other->_has_bits_[0]);
7569 _internal_metadata_.Swap(&other->_internal_metadata_);
7570}
7571
7572::google::protobuf::Metadata SetReplicationResponseProto::GetMetadata() const {
7573 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
7574 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
7575}
7576
7577
7578// ===================================================================
7579
7580void SetPermissionRequestProto::InitAsDefaultInstance() {
7581 ::Hdfs::Internal::_SetPermissionRequestProto_default_instance_._instance.get_mutable()->permission_ = const_cast< ::Hdfs::Internal::FsPermissionProto*>(
7582 ::Hdfs::Internal::FsPermissionProto::internal_default_instance());
7583}
7584void SetPermissionRequestProto::clear_permission() {
7585 if (permission_ != NULL) permission_->Clear();
7586 clear_has_permission();
7587}
7588#if !defined(_MSC_VER) || _MSC_VER >= 1900
7589const int SetPermissionRequestProto::kSrcFieldNumber;
7590const int SetPermissionRequestProto::kPermissionFieldNumber;
7591#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
7592
7593SetPermissionRequestProto::SetPermissionRequestProto()
7594 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7595 ::google::protobuf::internal::InitSCC(
7596 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetPermissionRequestProto.base);
7597 SharedCtor();
7598 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetPermissionRequestProto)
7599}
7600SetPermissionRequestProto::SetPermissionRequestProto(const SetPermissionRequestProto& from)
7601 : ::google::protobuf::Message(),
7602 _internal_metadata_(NULL),
7603 _has_bits_(from._has_bits_) {
7604 _internal_metadata_.MergeFrom(from._internal_metadata_);
7605 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7606 if (from.has_src()) {
7607 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
7608 }
7609 if (from.has_permission()) {
7610 permission_ = new ::Hdfs::Internal::FsPermissionProto(*from.permission_);
7611 } else {
7612 permission_ = NULL;
7613 }
7614 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetPermissionRequestProto)
7615}
7616
7617void SetPermissionRequestProto::SharedCtor() {
7618 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7619 permission_ = NULL;
7620}
7621
7622SetPermissionRequestProto::~SetPermissionRequestProto() {
7623 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetPermissionRequestProto)
7624 SharedDtor();
7625}
7626
7627void SetPermissionRequestProto::SharedDtor() {
7628 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7629 if (this != internal_default_instance()) delete permission_;
7630}
7631
7632void SetPermissionRequestProto::SetCachedSize(int size) const {
7633 _cached_size_.Set(size);
7634}
7635const ::google::protobuf::Descriptor* SetPermissionRequestProto::descriptor() {
7636 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
7637 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7638}
7639
7640const SetPermissionRequestProto& SetPermissionRequestProto::default_instance() {
7641 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetPermissionRequestProto.base);
7642 return *internal_default_instance();
7643}
7644
7645
7646void SetPermissionRequestProto::Clear() {
7647// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetPermissionRequestProto)
7648 ::google::protobuf::uint32 cached_has_bits = 0;
7649 // Prevent compiler warnings about cached_has_bits being unused
7650 (void) cached_has_bits;
7651
7652 cached_has_bits = _has_bits_[0];
7653 if (cached_has_bits & 3u) {
7654 if (cached_has_bits & 0x00000001u) {
7655 src_.ClearNonDefaultToEmptyNoArena();
7656 }
7657 if (cached_has_bits & 0x00000002u) {
7658 GOOGLE_DCHECK(permission_ != NULL);
7659 permission_->Clear();
7660 }
7661 }
7662 _has_bits_.Clear();
7663 _internal_metadata_.Clear();
7664}
7665
7666bool SetPermissionRequestProto::MergePartialFromCodedStream(
7667 ::google::protobuf::io::CodedInputStream* input) {
7668#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7669 ::google::protobuf::uint32 tag;
7670 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetPermissionRequestProto)
7671 for (;;) {
7672 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7673 tag = p.first;
7674 if (!p.second) goto handle_unusual;
7675 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7676 // required string src = 1;
7677 case 1: {
7678 if (static_cast< ::google::protobuf::uint8>(tag) ==
7679 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7680 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7681 input, this->mutable_src()));
7682 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7683 this->src().data(), static_cast<int>(this->src().length()),
7684 ::google::protobuf::internal::WireFormat::PARSE,
7685 "Hdfs.Internal.SetPermissionRequestProto.src");
7686 } else {
7687 goto handle_unusual;
7688 }
7689 break;
7690 }
7691
7692 // required .Hdfs.Internal.FsPermissionProto permission = 2;
7693 case 2: {
7694 if (static_cast< ::google::protobuf::uint8>(tag) ==
7695 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
7696 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7697 input, mutable_permission()));
7698 } else {
7699 goto handle_unusual;
7700 }
7701 break;
7702 }
7703
7704 default: {
7705 handle_unusual:
7706 if (tag == 0) {
7707 goto success;
7708 }
7709 DO_(::google::protobuf::internal::WireFormat::SkipField(
7710 input, tag, _internal_metadata_.mutable_unknown_fields()));
7711 break;
7712 }
7713 }
7714 }
7715success:
7716 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetPermissionRequestProto)
7717 return true;
7718failure:
7719 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetPermissionRequestProto)
7720 return false;
7721#undef DO_
7722}
7723
7724void SetPermissionRequestProto::SerializeWithCachedSizes(
7725 ::google::protobuf::io::CodedOutputStream* output) const {
7726 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetPermissionRequestProto)
7727 ::google::protobuf::uint32 cached_has_bits = 0;
7728 (void) cached_has_bits;
7729
7730 cached_has_bits = _has_bits_[0];
7731 // required string src = 1;
7732 if (cached_has_bits & 0x00000001u) {
7733 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7734 this->src().data(), static_cast<int>(this->src().length()),
7735 ::google::protobuf::internal::WireFormat::SERIALIZE,
7736 "Hdfs.Internal.SetPermissionRequestProto.src");
7737 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7738 1, this->src(), output);
7739 }
7740
7741 // required .Hdfs.Internal.FsPermissionProto permission = 2;
7742 if (cached_has_bits & 0x00000002u) {
7743 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7744 2, this->_internal_permission(), output);
7745 }
7746
7747 if (_internal_metadata_.have_unknown_fields()) {
7748 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7749 _internal_metadata_.unknown_fields(), output);
7750 }
7751 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetPermissionRequestProto)
7752}
7753
7754::google::protobuf::uint8* SetPermissionRequestProto::InternalSerializeWithCachedSizesToArray(
7755 bool deterministic, ::google::protobuf::uint8* target) const {
7756 (void)deterministic; // Unused
7757 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetPermissionRequestProto)
7758 ::google::protobuf::uint32 cached_has_bits = 0;
7759 (void) cached_has_bits;
7760
7761 cached_has_bits = _has_bits_[0];
7762 // required string src = 1;
7763 if (cached_has_bits & 0x00000001u) {
7764 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
7765 this->src().data(), static_cast<int>(this->src().length()),
7766 ::google::protobuf::internal::WireFormat::SERIALIZE,
7767 "Hdfs.Internal.SetPermissionRequestProto.src");
7768 target =
7769 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7770 1, this->src(), target);
7771 }
7772
7773 // required .Hdfs.Internal.FsPermissionProto permission = 2;
7774 if (cached_has_bits & 0x00000002u) {
7775 target = ::google::protobuf::internal::WireFormatLite::
7776 InternalWriteMessageToArray(
7777 2, this->_internal_permission(), deterministic, target);
7778 }
7779
7780 if (_internal_metadata_.have_unknown_fields()) {
7781 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7782 _internal_metadata_.unknown_fields(), target);
7783 }
7784 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetPermissionRequestProto)
7785 return target;
7786}
7787
7788size_t SetPermissionRequestProto::RequiredFieldsByteSizeFallback() const {
7789// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.SetPermissionRequestProto)
7790 size_t total_size = 0;
7791
7792 if (has_src()) {
7793 // required string src = 1;
7794 total_size += 1 +
7795 ::google::protobuf::internal::WireFormatLite::StringSize(
7796 this->src());
7797 }
7798
7799 if (has_permission()) {
7800 // required .Hdfs.Internal.FsPermissionProto permission = 2;
7801 total_size += 1 +
7802 ::google::protobuf::internal::WireFormatLite::MessageSize(
7803 *permission_);
7804 }
7805
7806 return total_size;
7807}
7808size_t SetPermissionRequestProto::ByteSizeLong() const {
7809// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetPermissionRequestProto)
7810 size_t total_size = 0;
7811
7812 if (_internal_metadata_.have_unknown_fields()) {
7813 total_size +=
7814 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7815 _internal_metadata_.unknown_fields());
7816 }
7817 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
7818 // required string src = 1;
7819 total_size += 1 +
7820 ::google::protobuf::internal::WireFormatLite::StringSize(
7821 this->src());
7822
7823 // required .Hdfs.Internal.FsPermissionProto permission = 2;
7824 total_size += 1 +
7825 ::google::protobuf::internal::WireFormatLite::MessageSize(
7826 *permission_);
7827
7828 } else {
7829 total_size += RequiredFieldsByteSizeFallback();
7830 }
7831 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7832 SetCachedSize(cached_size);
7833 return total_size;
7834}
7835
7836void SetPermissionRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
7837// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetPermissionRequestProto)
7838 GOOGLE_DCHECK_NE(&from, this);
7839 const SetPermissionRequestProto* source =
7840 ::google::protobuf::internal::DynamicCastToGenerated<const SetPermissionRequestProto>(
7841 &from);
7842 if (source == NULL) {
7843 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetPermissionRequestProto)
7844 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7845 } else {
7846 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetPermissionRequestProto)
7847 MergeFrom(*source);
7848 }
7849}
7850
7851void SetPermissionRequestProto::MergeFrom(const SetPermissionRequestProto& from) {
7852// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetPermissionRequestProto)
7853 GOOGLE_DCHECK_NE(&from, this);
7854 _internal_metadata_.MergeFrom(from._internal_metadata_);
7855 ::google::protobuf::uint32 cached_has_bits = 0;
7856 (void) cached_has_bits;
7857
7858 cached_has_bits = from._has_bits_[0];
7859 if (cached_has_bits & 3u) {
7860 if (cached_has_bits & 0x00000001u) {
7861 set_has_src();
7862 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
7863 }
7864 if (cached_has_bits & 0x00000002u) {
7865 mutable_permission()->::Hdfs::Internal::FsPermissionProto::MergeFrom(from.permission());
7866 }
7867 }
7868}
7869
7870void SetPermissionRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
7871// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetPermissionRequestProto)
7872 if (&from == this) return;
7873 Clear();
7874 MergeFrom(from);
7875}
7876
7877void SetPermissionRequestProto::CopyFrom(const SetPermissionRequestProto& from) {
7878// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetPermissionRequestProto)
7879 if (&from == this) return;
7880 Clear();
7881 MergeFrom(from);
7882}
7883
7884bool SetPermissionRequestProto::IsInitialized() const {
7885 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
7886 if (has_permission()) {
7887 if (!this->permission_->IsInitialized()) return false;
7888 }
7889 return true;
7890}
7891
7892void SetPermissionRequestProto::Swap(SetPermissionRequestProto* other) {
7893 if (other == this) return;
7894 InternalSwap(other);
7895}
7896void SetPermissionRequestProto::InternalSwap(SetPermissionRequestProto* other) {
7897 using std::swap;
7898 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7899 GetArenaNoVirtual());
7900 swap(permission_, other->permission_);
7901 swap(_has_bits_[0], other->_has_bits_[0]);
7902 _internal_metadata_.Swap(&other->_internal_metadata_);
7903}
7904
7905::google::protobuf::Metadata SetPermissionRequestProto::GetMetadata() const {
7906 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
7907 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
7908}
7909
7910
7911// ===================================================================
7912
7913void SetPermissionResponseProto::InitAsDefaultInstance() {
7914}
7915#if !defined(_MSC_VER) || _MSC_VER >= 1900
7916#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
7917
7918SetPermissionResponseProto::SetPermissionResponseProto()
7919 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7920 ::google::protobuf::internal::InitSCC(
7921 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetPermissionResponseProto.base);
7922 SharedCtor();
7923 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetPermissionResponseProto)
7924}
7925SetPermissionResponseProto::SetPermissionResponseProto(const SetPermissionResponseProto& from)
7926 : ::google::protobuf::Message(),
7927 _internal_metadata_(NULL),
7928 _has_bits_(from._has_bits_) {
7929 _internal_metadata_.MergeFrom(from._internal_metadata_);
7930 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetPermissionResponseProto)
7931}
7932
7933void SetPermissionResponseProto::SharedCtor() {
7934}
7935
7936SetPermissionResponseProto::~SetPermissionResponseProto() {
7937 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetPermissionResponseProto)
7938 SharedDtor();
7939}
7940
7941void SetPermissionResponseProto::SharedDtor() {
7942}
7943
7944void SetPermissionResponseProto::SetCachedSize(int size) const {
7945 _cached_size_.Set(size);
7946}
7947const ::google::protobuf::Descriptor* SetPermissionResponseProto::descriptor() {
7948 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
7949 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7950}
7951
7952const SetPermissionResponseProto& SetPermissionResponseProto::default_instance() {
7953 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetPermissionResponseProto.base);
7954 return *internal_default_instance();
7955}
7956
7957
7958void SetPermissionResponseProto::Clear() {
7959// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetPermissionResponseProto)
7960 ::google::protobuf::uint32 cached_has_bits = 0;
7961 // Prevent compiler warnings about cached_has_bits being unused
7962 (void) cached_has_bits;
7963
7964 _has_bits_.Clear();
7965 _internal_metadata_.Clear();
7966}
7967
7968bool SetPermissionResponseProto::MergePartialFromCodedStream(
7969 ::google::protobuf::io::CodedInputStream* input) {
7970#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7971 ::google::protobuf::uint32 tag;
7972 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetPermissionResponseProto)
7973 for (;;) {
7974 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7975 tag = p.first;
7976 if (!p.second) goto handle_unusual;
7977 handle_unusual:
7978 if (tag == 0) {
7979 goto success;
7980 }
7981 DO_(::google::protobuf::internal::WireFormat::SkipField(
7982 input, tag, _internal_metadata_.mutable_unknown_fields()));
7983 }
7984success:
7985 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetPermissionResponseProto)
7986 return true;
7987failure:
7988 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetPermissionResponseProto)
7989 return false;
7990#undef DO_
7991}
7992
7993void SetPermissionResponseProto::SerializeWithCachedSizes(
7994 ::google::protobuf::io::CodedOutputStream* output) const {
7995 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetPermissionResponseProto)
7996 ::google::protobuf::uint32 cached_has_bits = 0;
7997 (void) cached_has_bits;
7998
7999 if (_internal_metadata_.have_unknown_fields()) {
8000 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8001 _internal_metadata_.unknown_fields(), output);
8002 }
8003 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetPermissionResponseProto)
8004}
8005
8006::google::protobuf::uint8* SetPermissionResponseProto::InternalSerializeWithCachedSizesToArray(
8007 bool deterministic, ::google::protobuf::uint8* target) const {
8008 (void)deterministic; // Unused
8009 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetPermissionResponseProto)
8010 ::google::protobuf::uint32 cached_has_bits = 0;
8011 (void) cached_has_bits;
8012
8013 if (_internal_metadata_.have_unknown_fields()) {
8014 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8015 _internal_metadata_.unknown_fields(), target);
8016 }
8017 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetPermissionResponseProto)
8018 return target;
8019}
8020
8021size_t SetPermissionResponseProto::ByteSizeLong() const {
8022// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetPermissionResponseProto)
8023 size_t total_size = 0;
8024
8025 if (_internal_metadata_.have_unknown_fields()) {
8026 total_size +=
8027 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8028 _internal_metadata_.unknown_fields());
8029 }
8030 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8031 SetCachedSize(cached_size);
8032 return total_size;
8033}
8034
8035void SetPermissionResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
8036// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetPermissionResponseProto)
8037 GOOGLE_DCHECK_NE(&from, this);
8038 const SetPermissionResponseProto* source =
8039 ::google::protobuf::internal::DynamicCastToGenerated<const SetPermissionResponseProto>(
8040 &from);
8041 if (source == NULL) {
8042 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetPermissionResponseProto)
8043 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8044 } else {
8045 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetPermissionResponseProto)
8046 MergeFrom(*source);
8047 }
8048}
8049
8050void SetPermissionResponseProto::MergeFrom(const SetPermissionResponseProto& from) {
8051// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetPermissionResponseProto)
8052 GOOGLE_DCHECK_NE(&from, this);
8053 _internal_metadata_.MergeFrom(from._internal_metadata_);
8054 ::google::protobuf::uint32 cached_has_bits = 0;
8055 (void) cached_has_bits;
8056
8057}
8058
8059void SetPermissionResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
8060// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetPermissionResponseProto)
8061 if (&from == this) return;
8062 Clear();
8063 MergeFrom(from);
8064}
8065
8066void SetPermissionResponseProto::CopyFrom(const SetPermissionResponseProto& from) {
8067// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetPermissionResponseProto)
8068 if (&from == this) return;
8069 Clear();
8070 MergeFrom(from);
8071}
8072
8073bool SetPermissionResponseProto::IsInitialized() const {
8074 return true;
8075}
8076
8077void SetPermissionResponseProto::Swap(SetPermissionResponseProto* other) {
8078 if (other == this) return;
8079 InternalSwap(other);
8080}
8081void SetPermissionResponseProto::InternalSwap(SetPermissionResponseProto* other) {
8082 using std::swap;
8083 swap(_has_bits_[0], other->_has_bits_[0]);
8084 _internal_metadata_.Swap(&other->_internal_metadata_);
8085}
8086
8087::google::protobuf::Metadata SetPermissionResponseProto::GetMetadata() const {
8088 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
8089 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
8090}
8091
8092
8093// ===================================================================
8094
8095void SetOwnerRequestProto::InitAsDefaultInstance() {
8096}
8097#if !defined(_MSC_VER) || _MSC_VER >= 1900
8098const int SetOwnerRequestProto::kSrcFieldNumber;
8099const int SetOwnerRequestProto::kUsernameFieldNumber;
8100const int SetOwnerRequestProto::kGroupnameFieldNumber;
8101#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
8102
8103SetOwnerRequestProto::SetOwnerRequestProto()
8104 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8105 ::google::protobuf::internal::InitSCC(
8106 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetOwnerRequestProto.base);
8107 SharedCtor();
8108 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetOwnerRequestProto)
8109}
8110SetOwnerRequestProto::SetOwnerRequestProto(const SetOwnerRequestProto& from)
8111 : ::google::protobuf::Message(),
8112 _internal_metadata_(NULL),
8113 _has_bits_(from._has_bits_) {
8114 _internal_metadata_.MergeFrom(from._internal_metadata_);
8115 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8116 if (from.has_src()) {
8117 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
8118 }
8119 username_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8120 if (from.has_username()) {
8121 username_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.username_);
8122 }
8123 groupname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8124 if (from.has_groupname()) {
8125 groupname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.groupname_);
8126 }
8127 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetOwnerRequestProto)
8128}
8129
8130void SetOwnerRequestProto::SharedCtor() {
8131 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8132 username_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8133 groupname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8134}
8135
8136SetOwnerRequestProto::~SetOwnerRequestProto() {
8137 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetOwnerRequestProto)
8138 SharedDtor();
8139}
8140
8141void SetOwnerRequestProto::SharedDtor() {
8142 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8143 username_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8144 groupname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8145}
8146
8147void SetOwnerRequestProto::SetCachedSize(int size) const {
8148 _cached_size_.Set(size);
8149}
8150const ::google::protobuf::Descriptor* SetOwnerRequestProto::descriptor() {
8151 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
8152 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8153}
8154
8155const SetOwnerRequestProto& SetOwnerRequestProto::default_instance() {
8156 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetOwnerRequestProto.base);
8157 return *internal_default_instance();
8158}
8159
8160
8161void SetOwnerRequestProto::Clear() {
8162// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetOwnerRequestProto)
8163 ::google::protobuf::uint32 cached_has_bits = 0;
8164 // Prevent compiler warnings about cached_has_bits being unused
8165 (void) cached_has_bits;
8166
8167 cached_has_bits = _has_bits_[0];
8168 if (cached_has_bits & 7u) {
8169 if (cached_has_bits & 0x00000001u) {
8170 src_.ClearNonDefaultToEmptyNoArena();
8171 }
8172 if (cached_has_bits & 0x00000002u) {
8173 username_.ClearNonDefaultToEmptyNoArena();
8174 }
8175 if (cached_has_bits & 0x00000004u) {
8176 groupname_.ClearNonDefaultToEmptyNoArena();
8177 }
8178 }
8179 _has_bits_.Clear();
8180 _internal_metadata_.Clear();
8181}
8182
8183bool SetOwnerRequestProto::MergePartialFromCodedStream(
8184 ::google::protobuf::io::CodedInputStream* input) {
8185#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8186 ::google::protobuf::uint32 tag;
8187 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetOwnerRequestProto)
8188 for (;;) {
8189 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8190 tag = p.first;
8191 if (!p.second) goto handle_unusual;
8192 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8193 // required string src = 1;
8194 case 1: {
8195 if (static_cast< ::google::protobuf::uint8>(tag) ==
8196 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8197 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8198 input, this->mutable_src()));
8199 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8200 this->src().data(), static_cast<int>(this->src().length()),
8201 ::google::protobuf::internal::WireFormat::PARSE,
8202 "Hdfs.Internal.SetOwnerRequestProto.src");
8203 } else {
8204 goto handle_unusual;
8205 }
8206 break;
8207 }
8208
8209 // optional string username = 2;
8210 case 2: {
8211 if (static_cast< ::google::protobuf::uint8>(tag) ==
8212 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
8213 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8214 input, this->mutable_username()));
8215 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8216 this->username().data(), static_cast<int>(this->username().length()),
8217 ::google::protobuf::internal::WireFormat::PARSE,
8218 "Hdfs.Internal.SetOwnerRequestProto.username");
8219 } else {
8220 goto handle_unusual;
8221 }
8222 break;
8223 }
8224
8225 // optional string groupname = 3;
8226 case 3: {
8227 if (static_cast< ::google::protobuf::uint8>(tag) ==
8228 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
8229 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8230 input, this->mutable_groupname()));
8231 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8232 this->groupname().data(), static_cast<int>(this->groupname().length()),
8233 ::google::protobuf::internal::WireFormat::PARSE,
8234 "Hdfs.Internal.SetOwnerRequestProto.groupname");
8235 } else {
8236 goto handle_unusual;
8237 }
8238 break;
8239 }
8240
8241 default: {
8242 handle_unusual:
8243 if (tag == 0) {
8244 goto success;
8245 }
8246 DO_(::google::protobuf::internal::WireFormat::SkipField(
8247 input, tag, _internal_metadata_.mutable_unknown_fields()));
8248 break;
8249 }
8250 }
8251 }
8252success:
8253 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetOwnerRequestProto)
8254 return true;
8255failure:
8256 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetOwnerRequestProto)
8257 return false;
8258#undef DO_
8259}
8260
8261void SetOwnerRequestProto::SerializeWithCachedSizes(
8262 ::google::protobuf::io::CodedOutputStream* output) const {
8263 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetOwnerRequestProto)
8264 ::google::protobuf::uint32 cached_has_bits = 0;
8265 (void) cached_has_bits;
8266
8267 cached_has_bits = _has_bits_[0];
8268 // required string src = 1;
8269 if (cached_has_bits & 0x00000001u) {
8270 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8271 this->src().data(), static_cast<int>(this->src().length()),
8272 ::google::protobuf::internal::WireFormat::SERIALIZE,
8273 "Hdfs.Internal.SetOwnerRequestProto.src");
8274 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8275 1, this->src(), output);
8276 }
8277
8278 // optional string username = 2;
8279 if (cached_has_bits & 0x00000002u) {
8280 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8281 this->username().data(), static_cast<int>(this->username().length()),
8282 ::google::protobuf::internal::WireFormat::SERIALIZE,
8283 "Hdfs.Internal.SetOwnerRequestProto.username");
8284 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8285 2, this->username(), output);
8286 }
8287
8288 // optional string groupname = 3;
8289 if (cached_has_bits & 0x00000004u) {
8290 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8291 this->groupname().data(), static_cast<int>(this->groupname().length()),
8292 ::google::protobuf::internal::WireFormat::SERIALIZE,
8293 "Hdfs.Internal.SetOwnerRequestProto.groupname");
8294 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8295 3, this->groupname(), output);
8296 }
8297
8298 if (_internal_metadata_.have_unknown_fields()) {
8299 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8300 _internal_metadata_.unknown_fields(), output);
8301 }
8302 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetOwnerRequestProto)
8303}
8304
8305::google::protobuf::uint8* SetOwnerRequestProto::InternalSerializeWithCachedSizesToArray(
8306 bool deterministic, ::google::protobuf::uint8* target) const {
8307 (void)deterministic; // Unused
8308 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetOwnerRequestProto)
8309 ::google::protobuf::uint32 cached_has_bits = 0;
8310 (void) cached_has_bits;
8311
8312 cached_has_bits = _has_bits_[0];
8313 // required string src = 1;
8314 if (cached_has_bits & 0x00000001u) {
8315 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8316 this->src().data(), static_cast<int>(this->src().length()),
8317 ::google::protobuf::internal::WireFormat::SERIALIZE,
8318 "Hdfs.Internal.SetOwnerRequestProto.src");
8319 target =
8320 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8321 1, this->src(), target);
8322 }
8323
8324 // optional string username = 2;
8325 if (cached_has_bits & 0x00000002u) {
8326 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8327 this->username().data(), static_cast<int>(this->username().length()),
8328 ::google::protobuf::internal::WireFormat::SERIALIZE,
8329 "Hdfs.Internal.SetOwnerRequestProto.username");
8330 target =
8331 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8332 2, this->username(), target);
8333 }
8334
8335 // optional string groupname = 3;
8336 if (cached_has_bits & 0x00000004u) {
8337 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8338 this->groupname().data(), static_cast<int>(this->groupname().length()),
8339 ::google::protobuf::internal::WireFormat::SERIALIZE,
8340 "Hdfs.Internal.SetOwnerRequestProto.groupname");
8341 target =
8342 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8343 3, this->groupname(), target);
8344 }
8345
8346 if (_internal_metadata_.have_unknown_fields()) {
8347 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8348 _internal_metadata_.unknown_fields(), target);
8349 }
8350 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetOwnerRequestProto)
8351 return target;
8352}
8353
8354size_t SetOwnerRequestProto::ByteSizeLong() const {
8355// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetOwnerRequestProto)
8356 size_t total_size = 0;
8357
8358 if (_internal_metadata_.have_unknown_fields()) {
8359 total_size +=
8360 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8361 _internal_metadata_.unknown_fields());
8362 }
8363 // required string src = 1;
8364 if (has_src()) {
8365 total_size += 1 +
8366 ::google::protobuf::internal::WireFormatLite::StringSize(
8367 this->src());
8368 }
8369 if (_has_bits_[0 / 32] & 6u) {
8370 // optional string username = 2;
8371 if (has_username()) {
8372 total_size += 1 +
8373 ::google::protobuf::internal::WireFormatLite::StringSize(
8374 this->username());
8375 }
8376
8377 // optional string groupname = 3;
8378 if (has_groupname()) {
8379 total_size += 1 +
8380 ::google::protobuf::internal::WireFormatLite::StringSize(
8381 this->groupname());
8382 }
8383
8384 }
8385 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8386 SetCachedSize(cached_size);
8387 return total_size;
8388}
8389
8390void SetOwnerRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
8391// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetOwnerRequestProto)
8392 GOOGLE_DCHECK_NE(&from, this);
8393 const SetOwnerRequestProto* source =
8394 ::google::protobuf::internal::DynamicCastToGenerated<const SetOwnerRequestProto>(
8395 &from);
8396 if (source == NULL) {
8397 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetOwnerRequestProto)
8398 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8399 } else {
8400 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetOwnerRequestProto)
8401 MergeFrom(*source);
8402 }
8403}
8404
8405void SetOwnerRequestProto::MergeFrom(const SetOwnerRequestProto& from) {
8406// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetOwnerRequestProto)
8407 GOOGLE_DCHECK_NE(&from, this);
8408 _internal_metadata_.MergeFrom(from._internal_metadata_);
8409 ::google::protobuf::uint32 cached_has_bits = 0;
8410 (void) cached_has_bits;
8411
8412 cached_has_bits = from._has_bits_[0];
8413 if (cached_has_bits & 7u) {
8414 if (cached_has_bits & 0x00000001u) {
8415 set_has_src();
8416 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
8417 }
8418 if (cached_has_bits & 0x00000002u) {
8419 set_has_username();
8420 username_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.username_);
8421 }
8422 if (cached_has_bits & 0x00000004u) {
8423 set_has_groupname();
8424 groupname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.groupname_);
8425 }
8426 }
8427}
8428
8429void SetOwnerRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
8430// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetOwnerRequestProto)
8431 if (&from == this) return;
8432 Clear();
8433 MergeFrom(from);
8434}
8435
8436void SetOwnerRequestProto::CopyFrom(const SetOwnerRequestProto& from) {
8437// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetOwnerRequestProto)
8438 if (&from == this) return;
8439 Clear();
8440 MergeFrom(from);
8441}
8442
8443bool SetOwnerRequestProto::IsInitialized() const {
8444 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
8445 return true;
8446}
8447
8448void SetOwnerRequestProto::Swap(SetOwnerRequestProto* other) {
8449 if (other == this) return;
8450 InternalSwap(other);
8451}
8452void SetOwnerRequestProto::InternalSwap(SetOwnerRequestProto* other) {
8453 using std::swap;
8454 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8455 GetArenaNoVirtual());
8456 username_.Swap(&other->username_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8457 GetArenaNoVirtual());
8458 groupname_.Swap(&other->groupname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8459 GetArenaNoVirtual());
8460 swap(_has_bits_[0], other->_has_bits_[0]);
8461 _internal_metadata_.Swap(&other->_internal_metadata_);
8462}
8463
8464::google::protobuf::Metadata SetOwnerRequestProto::GetMetadata() const {
8465 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
8466 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
8467}
8468
8469
8470// ===================================================================
8471
8472void SetOwnerResponseProto::InitAsDefaultInstance() {
8473}
8474#if !defined(_MSC_VER) || _MSC_VER >= 1900
8475#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
8476
8477SetOwnerResponseProto::SetOwnerResponseProto()
8478 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8479 ::google::protobuf::internal::InitSCC(
8480 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetOwnerResponseProto.base);
8481 SharedCtor();
8482 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetOwnerResponseProto)
8483}
8484SetOwnerResponseProto::SetOwnerResponseProto(const SetOwnerResponseProto& from)
8485 : ::google::protobuf::Message(),
8486 _internal_metadata_(NULL),
8487 _has_bits_(from._has_bits_) {
8488 _internal_metadata_.MergeFrom(from._internal_metadata_);
8489 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetOwnerResponseProto)
8490}
8491
8492void SetOwnerResponseProto::SharedCtor() {
8493}
8494
8495SetOwnerResponseProto::~SetOwnerResponseProto() {
8496 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetOwnerResponseProto)
8497 SharedDtor();
8498}
8499
8500void SetOwnerResponseProto::SharedDtor() {
8501}
8502
8503void SetOwnerResponseProto::SetCachedSize(int size) const {
8504 _cached_size_.Set(size);
8505}
8506const ::google::protobuf::Descriptor* SetOwnerResponseProto::descriptor() {
8507 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
8508 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8509}
8510
8511const SetOwnerResponseProto& SetOwnerResponseProto::default_instance() {
8512 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetOwnerResponseProto.base);
8513 return *internal_default_instance();
8514}
8515
8516
8517void SetOwnerResponseProto::Clear() {
8518// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetOwnerResponseProto)
8519 ::google::protobuf::uint32 cached_has_bits = 0;
8520 // Prevent compiler warnings about cached_has_bits being unused
8521 (void) cached_has_bits;
8522
8523 _has_bits_.Clear();
8524 _internal_metadata_.Clear();
8525}
8526
8527bool SetOwnerResponseProto::MergePartialFromCodedStream(
8528 ::google::protobuf::io::CodedInputStream* input) {
8529#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8530 ::google::protobuf::uint32 tag;
8531 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetOwnerResponseProto)
8532 for (;;) {
8533 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8534 tag = p.first;
8535 if (!p.second) goto handle_unusual;
8536 handle_unusual:
8537 if (tag == 0) {
8538 goto success;
8539 }
8540 DO_(::google::protobuf::internal::WireFormat::SkipField(
8541 input, tag, _internal_metadata_.mutable_unknown_fields()));
8542 }
8543success:
8544 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetOwnerResponseProto)
8545 return true;
8546failure:
8547 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetOwnerResponseProto)
8548 return false;
8549#undef DO_
8550}
8551
8552void SetOwnerResponseProto::SerializeWithCachedSizes(
8553 ::google::protobuf::io::CodedOutputStream* output) const {
8554 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetOwnerResponseProto)
8555 ::google::protobuf::uint32 cached_has_bits = 0;
8556 (void) cached_has_bits;
8557
8558 if (_internal_metadata_.have_unknown_fields()) {
8559 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8560 _internal_metadata_.unknown_fields(), output);
8561 }
8562 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetOwnerResponseProto)
8563}
8564
8565::google::protobuf::uint8* SetOwnerResponseProto::InternalSerializeWithCachedSizesToArray(
8566 bool deterministic, ::google::protobuf::uint8* target) const {
8567 (void)deterministic; // Unused
8568 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetOwnerResponseProto)
8569 ::google::protobuf::uint32 cached_has_bits = 0;
8570 (void) cached_has_bits;
8571
8572 if (_internal_metadata_.have_unknown_fields()) {
8573 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8574 _internal_metadata_.unknown_fields(), target);
8575 }
8576 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetOwnerResponseProto)
8577 return target;
8578}
8579
8580size_t SetOwnerResponseProto::ByteSizeLong() const {
8581// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetOwnerResponseProto)
8582 size_t total_size = 0;
8583
8584 if (_internal_metadata_.have_unknown_fields()) {
8585 total_size +=
8586 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8587 _internal_metadata_.unknown_fields());
8588 }
8589 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8590 SetCachedSize(cached_size);
8591 return total_size;
8592}
8593
8594void SetOwnerResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
8595// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetOwnerResponseProto)
8596 GOOGLE_DCHECK_NE(&from, this);
8597 const SetOwnerResponseProto* source =
8598 ::google::protobuf::internal::DynamicCastToGenerated<const SetOwnerResponseProto>(
8599 &from);
8600 if (source == NULL) {
8601 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetOwnerResponseProto)
8602 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8603 } else {
8604 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetOwnerResponseProto)
8605 MergeFrom(*source);
8606 }
8607}
8608
8609void SetOwnerResponseProto::MergeFrom(const SetOwnerResponseProto& from) {
8610// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetOwnerResponseProto)
8611 GOOGLE_DCHECK_NE(&from, this);
8612 _internal_metadata_.MergeFrom(from._internal_metadata_);
8613 ::google::protobuf::uint32 cached_has_bits = 0;
8614 (void) cached_has_bits;
8615
8616}
8617
8618void SetOwnerResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
8619// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetOwnerResponseProto)
8620 if (&from == this) return;
8621 Clear();
8622 MergeFrom(from);
8623}
8624
8625void SetOwnerResponseProto::CopyFrom(const SetOwnerResponseProto& from) {
8626// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetOwnerResponseProto)
8627 if (&from == this) return;
8628 Clear();
8629 MergeFrom(from);
8630}
8631
8632bool SetOwnerResponseProto::IsInitialized() const {
8633 return true;
8634}
8635
8636void SetOwnerResponseProto::Swap(SetOwnerResponseProto* other) {
8637 if (other == this) return;
8638 InternalSwap(other);
8639}
8640void SetOwnerResponseProto::InternalSwap(SetOwnerResponseProto* other) {
8641 using std::swap;
8642 swap(_has_bits_[0], other->_has_bits_[0]);
8643 _internal_metadata_.Swap(&other->_internal_metadata_);
8644}
8645
8646::google::protobuf::Metadata SetOwnerResponseProto::GetMetadata() const {
8647 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
8648 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
8649}
8650
8651
8652// ===================================================================
8653
8654void AbandonBlockRequestProto::InitAsDefaultInstance() {
8655 ::Hdfs::Internal::_AbandonBlockRequestProto_default_instance_._instance.get_mutable()->b_ = const_cast< ::Hdfs::Internal::ExtendedBlockProto*>(
8656 ::Hdfs::Internal::ExtendedBlockProto::internal_default_instance());
8657}
8658void AbandonBlockRequestProto::clear_b() {
8659 if (b_ != NULL) b_->Clear();
8660 clear_has_b();
8661}
8662#if !defined(_MSC_VER) || _MSC_VER >= 1900
8663const int AbandonBlockRequestProto::kBFieldNumber;
8664const int AbandonBlockRequestProto::kSrcFieldNumber;
8665const int AbandonBlockRequestProto::kHolderFieldNumber;
8666#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
8667
8668AbandonBlockRequestProto::AbandonBlockRequestProto()
8669 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8670 ::google::protobuf::internal::InitSCC(
8671 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_AbandonBlockRequestProto.base);
8672 SharedCtor();
8673 // @@protoc_insertion_point(constructor:Hdfs.Internal.AbandonBlockRequestProto)
8674}
8675AbandonBlockRequestProto::AbandonBlockRequestProto(const AbandonBlockRequestProto& from)
8676 : ::google::protobuf::Message(),
8677 _internal_metadata_(NULL),
8678 _has_bits_(from._has_bits_) {
8679 _internal_metadata_.MergeFrom(from._internal_metadata_);
8680 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8681 if (from.has_src()) {
8682 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
8683 }
8684 holder_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8685 if (from.has_holder()) {
8686 holder_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.holder_);
8687 }
8688 if (from.has_b()) {
8689 b_ = new ::Hdfs::Internal::ExtendedBlockProto(*from.b_);
8690 } else {
8691 b_ = NULL;
8692 }
8693 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.AbandonBlockRequestProto)
8694}
8695
8696void AbandonBlockRequestProto::SharedCtor() {
8697 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8698 holder_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8699 b_ = NULL;
8700}
8701
8702AbandonBlockRequestProto::~AbandonBlockRequestProto() {
8703 // @@protoc_insertion_point(destructor:Hdfs.Internal.AbandonBlockRequestProto)
8704 SharedDtor();
8705}
8706
8707void AbandonBlockRequestProto::SharedDtor() {
8708 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8709 holder_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8710 if (this != internal_default_instance()) delete b_;
8711}
8712
8713void AbandonBlockRequestProto::SetCachedSize(int size) const {
8714 _cached_size_.Set(size);
8715}
8716const ::google::protobuf::Descriptor* AbandonBlockRequestProto::descriptor() {
8717 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
8718 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8719}
8720
8721const AbandonBlockRequestProto& AbandonBlockRequestProto::default_instance() {
8722 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_AbandonBlockRequestProto.base);
8723 return *internal_default_instance();
8724}
8725
8726
8727void AbandonBlockRequestProto::Clear() {
8728// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.AbandonBlockRequestProto)
8729 ::google::protobuf::uint32 cached_has_bits = 0;
8730 // Prevent compiler warnings about cached_has_bits being unused
8731 (void) cached_has_bits;
8732
8733 cached_has_bits = _has_bits_[0];
8734 if (cached_has_bits & 7u) {
8735 if (cached_has_bits & 0x00000001u) {
8736 src_.ClearNonDefaultToEmptyNoArena();
8737 }
8738 if (cached_has_bits & 0x00000002u) {
8739 holder_.ClearNonDefaultToEmptyNoArena();
8740 }
8741 if (cached_has_bits & 0x00000004u) {
8742 GOOGLE_DCHECK(b_ != NULL);
8743 b_->Clear();
8744 }
8745 }
8746 _has_bits_.Clear();
8747 _internal_metadata_.Clear();
8748}
8749
8750bool AbandonBlockRequestProto::MergePartialFromCodedStream(
8751 ::google::protobuf::io::CodedInputStream* input) {
8752#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8753 ::google::protobuf::uint32 tag;
8754 // @@protoc_insertion_point(parse_start:Hdfs.Internal.AbandonBlockRequestProto)
8755 for (;;) {
8756 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8757 tag = p.first;
8758 if (!p.second) goto handle_unusual;
8759 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8760 // required .Hdfs.Internal.ExtendedBlockProto b = 1;
8761 case 1: {
8762 if (static_cast< ::google::protobuf::uint8>(tag) ==
8763 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8764 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8765 input, mutable_b()));
8766 } else {
8767 goto handle_unusual;
8768 }
8769 break;
8770 }
8771
8772 // required string src = 2;
8773 case 2: {
8774 if (static_cast< ::google::protobuf::uint8>(tag) ==
8775 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
8776 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8777 input, this->mutable_src()));
8778 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8779 this->src().data(), static_cast<int>(this->src().length()),
8780 ::google::protobuf::internal::WireFormat::PARSE,
8781 "Hdfs.Internal.AbandonBlockRequestProto.src");
8782 } else {
8783 goto handle_unusual;
8784 }
8785 break;
8786 }
8787
8788 // required string holder = 3;
8789 case 3: {
8790 if (static_cast< ::google::protobuf::uint8>(tag) ==
8791 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
8792 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8793 input, this->mutable_holder()));
8794 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8795 this->holder().data(), static_cast<int>(this->holder().length()),
8796 ::google::protobuf::internal::WireFormat::PARSE,
8797 "Hdfs.Internal.AbandonBlockRequestProto.holder");
8798 } else {
8799 goto handle_unusual;
8800 }
8801 break;
8802 }
8803
8804 default: {
8805 handle_unusual:
8806 if (tag == 0) {
8807 goto success;
8808 }
8809 DO_(::google::protobuf::internal::WireFormat::SkipField(
8810 input, tag, _internal_metadata_.mutable_unknown_fields()));
8811 break;
8812 }
8813 }
8814 }
8815success:
8816 // @@protoc_insertion_point(parse_success:Hdfs.Internal.AbandonBlockRequestProto)
8817 return true;
8818failure:
8819 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.AbandonBlockRequestProto)
8820 return false;
8821#undef DO_
8822}
8823
8824void AbandonBlockRequestProto::SerializeWithCachedSizes(
8825 ::google::protobuf::io::CodedOutputStream* output) const {
8826 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.AbandonBlockRequestProto)
8827 ::google::protobuf::uint32 cached_has_bits = 0;
8828 (void) cached_has_bits;
8829
8830 cached_has_bits = _has_bits_[0];
8831 // required .Hdfs.Internal.ExtendedBlockProto b = 1;
8832 if (cached_has_bits & 0x00000004u) {
8833 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8834 1, this->_internal_b(), output);
8835 }
8836
8837 // required string src = 2;
8838 if (cached_has_bits & 0x00000001u) {
8839 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8840 this->src().data(), static_cast<int>(this->src().length()),
8841 ::google::protobuf::internal::WireFormat::SERIALIZE,
8842 "Hdfs.Internal.AbandonBlockRequestProto.src");
8843 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8844 2, this->src(), output);
8845 }
8846
8847 // required string holder = 3;
8848 if (cached_has_bits & 0x00000002u) {
8849 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8850 this->holder().data(), static_cast<int>(this->holder().length()),
8851 ::google::protobuf::internal::WireFormat::SERIALIZE,
8852 "Hdfs.Internal.AbandonBlockRequestProto.holder");
8853 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8854 3, this->holder(), output);
8855 }
8856
8857 if (_internal_metadata_.have_unknown_fields()) {
8858 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8859 _internal_metadata_.unknown_fields(), output);
8860 }
8861 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.AbandonBlockRequestProto)
8862}
8863
8864::google::protobuf::uint8* AbandonBlockRequestProto::InternalSerializeWithCachedSizesToArray(
8865 bool deterministic, ::google::protobuf::uint8* target) const {
8866 (void)deterministic; // Unused
8867 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.AbandonBlockRequestProto)
8868 ::google::protobuf::uint32 cached_has_bits = 0;
8869 (void) cached_has_bits;
8870
8871 cached_has_bits = _has_bits_[0];
8872 // required .Hdfs.Internal.ExtendedBlockProto b = 1;
8873 if (cached_has_bits & 0x00000004u) {
8874 target = ::google::protobuf::internal::WireFormatLite::
8875 InternalWriteMessageToArray(
8876 1, this->_internal_b(), deterministic, target);
8877 }
8878
8879 // required string src = 2;
8880 if (cached_has_bits & 0x00000001u) {
8881 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8882 this->src().data(), static_cast<int>(this->src().length()),
8883 ::google::protobuf::internal::WireFormat::SERIALIZE,
8884 "Hdfs.Internal.AbandonBlockRequestProto.src");
8885 target =
8886 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8887 2, this->src(), target);
8888 }
8889
8890 // required string holder = 3;
8891 if (cached_has_bits & 0x00000002u) {
8892 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8893 this->holder().data(), static_cast<int>(this->holder().length()),
8894 ::google::protobuf::internal::WireFormat::SERIALIZE,
8895 "Hdfs.Internal.AbandonBlockRequestProto.holder");
8896 target =
8897 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8898 3, this->holder(), target);
8899 }
8900
8901 if (_internal_metadata_.have_unknown_fields()) {
8902 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8903 _internal_metadata_.unknown_fields(), target);
8904 }
8905 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.AbandonBlockRequestProto)
8906 return target;
8907}
8908
8909size_t AbandonBlockRequestProto::RequiredFieldsByteSizeFallback() const {
8910// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.AbandonBlockRequestProto)
8911 size_t total_size = 0;
8912
8913 if (has_src()) {
8914 // required string src = 2;
8915 total_size += 1 +
8916 ::google::protobuf::internal::WireFormatLite::StringSize(
8917 this->src());
8918 }
8919
8920 if (has_holder()) {
8921 // required string holder = 3;
8922 total_size += 1 +
8923 ::google::protobuf::internal::WireFormatLite::StringSize(
8924 this->holder());
8925 }
8926
8927 if (has_b()) {
8928 // required .Hdfs.Internal.ExtendedBlockProto b = 1;
8929 total_size += 1 +
8930 ::google::protobuf::internal::WireFormatLite::MessageSize(
8931 *b_);
8932 }
8933
8934 return total_size;
8935}
8936size_t AbandonBlockRequestProto::ByteSizeLong() const {
8937// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.AbandonBlockRequestProto)
8938 size_t total_size = 0;
8939
8940 if (_internal_metadata_.have_unknown_fields()) {
8941 total_size +=
8942 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8943 _internal_metadata_.unknown_fields());
8944 }
8945 if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
8946 // required string src = 2;
8947 total_size += 1 +
8948 ::google::protobuf::internal::WireFormatLite::StringSize(
8949 this->src());
8950
8951 // required string holder = 3;
8952 total_size += 1 +
8953 ::google::protobuf::internal::WireFormatLite::StringSize(
8954 this->holder());
8955
8956 // required .Hdfs.Internal.ExtendedBlockProto b = 1;
8957 total_size += 1 +
8958 ::google::protobuf::internal::WireFormatLite::MessageSize(
8959 *b_);
8960
8961 } else {
8962 total_size += RequiredFieldsByteSizeFallback();
8963 }
8964 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8965 SetCachedSize(cached_size);
8966 return total_size;
8967}
8968
8969void AbandonBlockRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
8970// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.AbandonBlockRequestProto)
8971 GOOGLE_DCHECK_NE(&from, this);
8972 const AbandonBlockRequestProto* source =
8973 ::google::protobuf::internal::DynamicCastToGenerated<const AbandonBlockRequestProto>(
8974 &from);
8975 if (source == NULL) {
8976 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.AbandonBlockRequestProto)
8977 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8978 } else {
8979 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.AbandonBlockRequestProto)
8980 MergeFrom(*source);
8981 }
8982}
8983
8984void AbandonBlockRequestProto::MergeFrom(const AbandonBlockRequestProto& from) {
8985// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.AbandonBlockRequestProto)
8986 GOOGLE_DCHECK_NE(&from, this);
8987 _internal_metadata_.MergeFrom(from._internal_metadata_);
8988 ::google::protobuf::uint32 cached_has_bits = 0;
8989 (void) cached_has_bits;
8990
8991 cached_has_bits = from._has_bits_[0];
8992 if (cached_has_bits & 7u) {
8993 if (cached_has_bits & 0x00000001u) {
8994 set_has_src();
8995 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
8996 }
8997 if (cached_has_bits & 0x00000002u) {
8998 set_has_holder();
8999 holder_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.holder_);
9000 }
9001 if (cached_has_bits & 0x00000004u) {
9002 mutable_b()->::Hdfs::Internal::ExtendedBlockProto::MergeFrom(from.b());
9003 }
9004 }
9005}
9006
9007void AbandonBlockRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
9008// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.AbandonBlockRequestProto)
9009 if (&from == this) return;
9010 Clear();
9011 MergeFrom(from);
9012}
9013
9014void AbandonBlockRequestProto::CopyFrom(const AbandonBlockRequestProto& from) {
9015// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.AbandonBlockRequestProto)
9016 if (&from == this) return;
9017 Clear();
9018 MergeFrom(from);
9019}
9020
9021bool AbandonBlockRequestProto::IsInitialized() const {
9022 if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
9023 if (has_b()) {
9024 if (!this->b_->IsInitialized()) return false;
9025 }
9026 return true;
9027}
9028
9029void AbandonBlockRequestProto::Swap(AbandonBlockRequestProto* other) {
9030 if (other == this) return;
9031 InternalSwap(other);
9032}
9033void AbandonBlockRequestProto::InternalSwap(AbandonBlockRequestProto* other) {
9034 using std::swap;
9035 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9036 GetArenaNoVirtual());
9037 holder_.Swap(&other->holder_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9038 GetArenaNoVirtual());
9039 swap(b_, other->b_);
9040 swap(_has_bits_[0], other->_has_bits_[0]);
9041 _internal_metadata_.Swap(&other->_internal_metadata_);
9042}
9043
9044::google::protobuf::Metadata AbandonBlockRequestProto::GetMetadata() const {
9045 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
9046 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
9047}
9048
9049
9050// ===================================================================
9051
9052void AbandonBlockResponseProto::InitAsDefaultInstance() {
9053}
9054#if !defined(_MSC_VER) || _MSC_VER >= 1900
9055#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
9056
9057AbandonBlockResponseProto::AbandonBlockResponseProto()
9058 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9059 ::google::protobuf::internal::InitSCC(
9060 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_AbandonBlockResponseProto.base);
9061 SharedCtor();
9062 // @@protoc_insertion_point(constructor:Hdfs.Internal.AbandonBlockResponseProto)
9063}
9064AbandonBlockResponseProto::AbandonBlockResponseProto(const AbandonBlockResponseProto& from)
9065 : ::google::protobuf::Message(),
9066 _internal_metadata_(NULL),
9067 _has_bits_(from._has_bits_) {
9068 _internal_metadata_.MergeFrom(from._internal_metadata_);
9069 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.AbandonBlockResponseProto)
9070}
9071
9072void AbandonBlockResponseProto::SharedCtor() {
9073}
9074
9075AbandonBlockResponseProto::~AbandonBlockResponseProto() {
9076 // @@protoc_insertion_point(destructor:Hdfs.Internal.AbandonBlockResponseProto)
9077 SharedDtor();
9078}
9079
9080void AbandonBlockResponseProto::SharedDtor() {
9081}
9082
9083void AbandonBlockResponseProto::SetCachedSize(int size) const {
9084 _cached_size_.Set(size);
9085}
9086const ::google::protobuf::Descriptor* AbandonBlockResponseProto::descriptor() {
9087 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
9088 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9089}
9090
9091const AbandonBlockResponseProto& AbandonBlockResponseProto::default_instance() {
9092 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_AbandonBlockResponseProto.base);
9093 return *internal_default_instance();
9094}
9095
9096
9097void AbandonBlockResponseProto::Clear() {
9098// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.AbandonBlockResponseProto)
9099 ::google::protobuf::uint32 cached_has_bits = 0;
9100 // Prevent compiler warnings about cached_has_bits being unused
9101 (void) cached_has_bits;
9102
9103 _has_bits_.Clear();
9104 _internal_metadata_.Clear();
9105}
9106
9107bool AbandonBlockResponseProto::MergePartialFromCodedStream(
9108 ::google::protobuf::io::CodedInputStream* input) {
9109#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
9110 ::google::protobuf::uint32 tag;
9111 // @@protoc_insertion_point(parse_start:Hdfs.Internal.AbandonBlockResponseProto)
9112 for (;;) {
9113 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9114 tag = p.first;
9115 if (!p.second) goto handle_unusual;
9116 handle_unusual:
9117 if (tag == 0) {
9118 goto success;
9119 }
9120 DO_(::google::protobuf::internal::WireFormat::SkipField(
9121 input, tag, _internal_metadata_.mutable_unknown_fields()));
9122 }
9123success:
9124 // @@protoc_insertion_point(parse_success:Hdfs.Internal.AbandonBlockResponseProto)
9125 return true;
9126failure:
9127 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.AbandonBlockResponseProto)
9128 return false;
9129#undef DO_
9130}
9131
9132void AbandonBlockResponseProto::SerializeWithCachedSizes(
9133 ::google::protobuf::io::CodedOutputStream* output) const {
9134 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.AbandonBlockResponseProto)
9135 ::google::protobuf::uint32 cached_has_bits = 0;
9136 (void) cached_has_bits;
9137
9138 if (_internal_metadata_.have_unknown_fields()) {
9139 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9140 _internal_metadata_.unknown_fields(), output);
9141 }
9142 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.AbandonBlockResponseProto)
9143}
9144
9145::google::protobuf::uint8* AbandonBlockResponseProto::InternalSerializeWithCachedSizesToArray(
9146 bool deterministic, ::google::protobuf::uint8* target) const {
9147 (void)deterministic; // Unused
9148 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.AbandonBlockResponseProto)
9149 ::google::protobuf::uint32 cached_has_bits = 0;
9150 (void) cached_has_bits;
9151
9152 if (_internal_metadata_.have_unknown_fields()) {
9153 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9154 _internal_metadata_.unknown_fields(), target);
9155 }
9156 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.AbandonBlockResponseProto)
9157 return target;
9158}
9159
9160size_t AbandonBlockResponseProto::ByteSizeLong() const {
9161// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.AbandonBlockResponseProto)
9162 size_t total_size = 0;
9163
9164 if (_internal_metadata_.have_unknown_fields()) {
9165 total_size +=
9166 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9167 _internal_metadata_.unknown_fields());
9168 }
9169 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9170 SetCachedSize(cached_size);
9171 return total_size;
9172}
9173
9174void AbandonBlockResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
9175// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.AbandonBlockResponseProto)
9176 GOOGLE_DCHECK_NE(&from, this);
9177 const AbandonBlockResponseProto* source =
9178 ::google::protobuf::internal::DynamicCastToGenerated<const AbandonBlockResponseProto>(
9179 &from);
9180 if (source == NULL) {
9181 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.AbandonBlockResponseProto)
9182 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9183 } else {
9184 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.AbandonBlockResponseProto)
9185 MergeFrom(*source);
9186 }
9187}
9188
9189void AbandonBlockResponseProto::MergeFrom(const AbandonBlockResponseProto& from) {
9190// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.AbandonBlockResponseProto)
9191 GOOGLE_DCHECK_NE(&from, this);
9192 _internal_metadata_.MergeFrom(from._internal_metadata_);
9193 ::google::protobuf::uint32 cached_has_bits = 0;
9194 (void) cached_has_bits;
9195
9196}
9197
9198void AbandonBlockResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
9199// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.AbandonBlockResponseProto)
9200 if (&from == this) return;
9201 Clear();
9202 MergeFrom(from);
9203}
9204
9205void AbandonBlockResponseProto::CopyFrom(const AbandonBlockResponseProto& from) {
9206// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.AbandonBlockResponseProto)
9207 if (&from == this) return;
9208 Clear();
9209 MergeFrom(from);
9210}
9211
9212bool AbandonBlockResponseProto::IsInitialized() const {
9213 return true;
9214}
9215
9216void AbandonBlockResponseProto::Swap(AbandonBlockResponseProto* other) {
9217 if (other == this) return;
9218 InternalSwap(other);
9219}
9220void AbandonBlockResponseProto::InternalSwap(AbandonBlockResponseProto* other) {
9221 using std::swap;
9222 swap(_has_bits_[0], other->_has_bits_[0]);
9223 _internal_metadata_.Swap(&other->_internal_metadata_);
9224}
9225
9226::google::protobuf::Metadata AbandonBlockResponseProto::GetMetadata() const {
9227 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
9228 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
9229}
9230
9231
9232// ===================================================================
9233
9234void AddBlockRequestProto::InitAsDefaultInstance() {
9235 ::Hdfs::Internal::_AddBlockRequestProto_default_instance_._instance.get_mutable()->previous_ = const_cast< ::Hdfs::Internal::ExtendedBlockProto*>(
9236 ::Hdfs::Internal::ExtendedBlockProto::internal_default_instance());
9237}
9238void AddBlockRequestProto::clear_previous() {
9239 if (previous_ != NULL) previous_->Clear();
9240 clear_has_previous();
9241}
9242void AddBlockRequestProto::clear_excludenodes() {
9243 excludenodes_.Clear();
9244}
9245#if !defined(_MSC_VER) || _MSC_VER >= 1900
9246const int AddBlockRequestProto::kSrcFieldNumber;
9247const int AddBlockRequestProto::kClientNameFieldNumber;
9248const int AddBlockRequestProto::kPreviousFieldNumber;
9249const int AddBlockRequestProto::kExcludeNodesFieldNumber;
9250const int AddBlockRequestProto::kFileIdFieldNumber;
9251const int AddBlockRequestProto::kFavoredNodesFieldNumber;
9252#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
9253
9254AddBlockRequestProto::AddBlockRequestProto()
9255 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9256 ::google::protobuf::internal::InitSCC(
9257 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_AddBlockRequestProto.base);
9258 SharedCtor();
9259 // @@protoc_insertion_point(constructor:Hdfs.Internal.AddBlockRequestProto)
9260}
9261AddBlockRequestProto::AddBlockRequestProto(const AddBlockRequestProto& from)
9262 : ::google::protobuf::Message(),
9263 _internal_metadata_(NULL),
9264 _has_bits_(from._has_bits_),
9265 excludenodes_(from.excludenodes_),
9266 favorednodes_(from.favorednodes_) {
9267 _internal_metadata_.MergeFrom(from._internal_metadata_);
9268 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9269 if (from.has_src()) {
9270 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
9271 }
9272 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9273 if (from.has_clientname()) {
9274 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
9275 }
9276 if (from.has_previous()) {
9277 previous_ = new ::Hdfs::Internal::ExtendedBlockProto(*from.previous_);
9278 } else {
9279 previous_ = NULL;
9280 }
9281 fileid_ = from.fileid_;
9282 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.AddBlockRequestProto)
9283}
9284
9285void AddBlockRequestProto::SharedCtor() {
9286 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9287 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9288 ::memset(&previous_, 0, static_cast<size_t>(
9289 reinterpret_cast<char*>(&fileid_) -
9290 reinterpret_cast<char*>(&previous_)) + sizeof(fileid_));
9291}
9292
9293AddBlockRequestProto::~AddBlockRequestProto() {
9294 // @@protoc_insertion_point(destructor:Hdfs.Internal.AddBlockRequestProto)
9295 SharedDtor();
9296}
9297
9298void AddBlockRequestProto::SharedDtor() {
9299 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9300 clientname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9301 if (this != internal_default_instance()) delete previous_;
9302}
9303
9304void AddBlockRequestProto::SetCachedSize(int size) const {
9305 _cached_size_.Set(size);
9306}
9307const ::google::protobuf::Descriptor* AddBlockRequestProto::descriptor() {
9308 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
9309 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9310}
9311
9312const AddBlockRequestProto& AddBlockRequestProto::default_instance() {
9313 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_AddBlockRequestProto.base);
9314 return *internal_default_instance();
9315}
9316
9317
9318void AddBlockRequestProto::Clear() {
9319// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.AddBlockRequestProto)
9320 ::google::protobuf::uint32 cached_has_bits = 0;
9321 // Prevent compiler warnings about cached_has_bits being unused
9322 (void) cached_has_bits;
9323
9324 excludenodes_.Clear();
9325 favorednodes_.Clear();
9326 cached_has_bits = _has_bits_[0];
9327 if (cached_has_bits & 7u) {
9328 if (cached_has_bits & 0x00000001u) {
9329 src_.ClearNonDefaultToEmptyNoArena();
9330 }
9331 if (cached_has_bits & 0x00000002u) {
9332 clientname_.ClearNonDefaultToEmptyNoArena();
9333 }
9334 if (cached_has_bits & 0x00000004u) {
9335 GOOGLE_DCHECK(previous_ != NULL);
9336 previous_->Clear();
9337 }
9338 }
9339 fileid_ = GOOGLE_ULONGLONG(0);
9340 _has_bits_.Clear();
9341 _internal_metadata_.Clear();
9342}
9343
9344bool AddBlockRequestProto::MergePartialFromCodedStream(
9345 ::google::protobuf::io::CodedInputStream* input) {
9346#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
9347 ::google::protobuf::uint32 tag;
9348 // @@protoc_insertion_point(parse_start:Hdfs.Internal.AddBlockRequestProto)
9349 for (;;) {
9350 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9351 tag = p.first;
9352 if (!p.second) goto handle_unusual;
9353 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9354 // required string src = 1;
9355 case 1: {
9356 if (static_cast< ::google::protobuf::uint8>(tag) ==
9357 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
9358 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
9359 input, this->mutable_src()));
9360 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
9361 this->src().data(), static_cast<int>(this->src().length()),
9362 ::google::protobuf::internal::WireFormat::PARSE,
9363 "Hdfs.Internal.AddBlockRequestProto.src");
9364 } else {
9365 goto handle_unusual;
9366 }
9367 break;
9368 }
9369
9370 // required string clientName = 2;
9371 case 2: {
9372 if (static_cast< ::google::protobuf::uint8>(tag) ==
9373 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
9374 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
9375 input, this->mutable_clientname()));
9376 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
9377 this->clientname().data(), static_cast<int>(this->clientname().length()),
9378 ::google::protobuf::internal::WireFormat::PARSE,
9379 "Hdfs.Internal.AddBlockRequestProto.clientName");
9380 } else {
9381 goto handle_unusual;
9382 }
9383 break;
9384 }
9385
9386 // optional .Hdfs.Internal.ExtendedBlockProto previous = 3;
9387 case 3: {
9388 if (static_cast< ::google::protobuf::uint8>(tag) ==
9389 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
9390 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9391 input, mutable_previous()));
9392 } else {
9393 goto handle_unusual;
9394 }
9395 break;
9396 }
9397
9398 // repeated .Hdfs.Internal.DatanodeInfoProto excludeNodes = 4;
9399 case 4: {
9400 if (static_cast< ::google::protobuf::uint8>(tag) ==
9401 static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
9402 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9403 input, add_excludenodes()));
9404 } else {
9405 goto handle_unusual;
9406 }
9407 break;
9408 }
9409
9410 // optional uint64 fileId = 5 [default = 0];
9411 case 5: {
9412 if (static_cast< ::google::protobuf::uint8>(tag) ==
9413 static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
9414 set_has_fileid();
9415 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9416 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
9417 input, &fileid_)));
9418 } else {
9419 goto handle_unusual;
9420 }
9421 break;
9422 }
9423
9424 // repeated string favoredNodes = 6;
9425 case 6: {
9426 if (static_cast< ::google::protobuf::uint8>(tag) ==
9427 static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
9428 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
9429 input, this->add_favorednodes()));
9430 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
9431 this->favorednodes(this->favorednodes_size() - 1).data(),
9432 static_cast<int>(this->favorednodes(this->favorednodes_size() - 1).length()),
9433 ::google::protobuf::internal::WireFormat::PARSE,
9434 "Hdfs.Internal.AddBlockRequestProto.favoredNodes");
9435 } else {
9436 goto handle_unusual;
9437 }
9438 break;
9439 }
9440
9441 default: {
9442 handle_unusual:
9443 if (tag == 0) {
9444 goto success;
9445 }
9446 DO_(::google::protobuf::internal::WireFormat::SkipField(
9447 input, tag, _internal_metadata_.mutable_unknown_fields()));
9448 break;
9449 }
9450 }
9451 }
9452success:
9453 // @@protoc_insertion_point(parse_success:Hdfs.Internal.AddBlockRequestProto)
9454 return true;
9455failure:
9456 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.AddBlockRequestProto)
9457 return false;
9458#undef DO_
9459}
9460
9461void AddBlockRequestProto::SerializeWithCachedSizes(
9462 ::google::protobuf::io::CodedOutputStream* output) const {
9463 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.AddBlockRequestProto)
9464 ::google::protobuf::uint32 cached_has_bits = 0;
9465 (void) cached_has_bits;
9466
9467 cached_has_bits = _has_bits_[0];
9468 // required string src = 1;
9469 if (cached_has_bits & 0x00000001u) {
9470 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
9471 this->src().data(), static_cast<int>(this->src().length()),
9472 ::google::protobuf::internal::WireFormat::SERIALIZE,
9473 "Hdfs.Internal.AddBlockRequestProto.src");
9474 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
9475 1, this->src(), output);
9476 }
9477
9478 // required string clientName = 2;
9479 if (cached_has_bits & 0x00000002u) {
9480 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
9481 this->clientname().data(), static_cast<int>(this->clientname().length()),
9482 ::google::protobuf::internal::WireFormat::SERIALIZE,
9483 "Hdfs.Internal.AddBlockRequestProto.clientName");
9484 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
9485 2, this->clientname(), output);
9486 }
9487
9488 // optional .Hdfs.Internal.ExtendedBlockProto previous = 3;
9489 if (cached_has_bits & 0x00000004u) {
9490 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9491 3, this->_internal_previous(), output);
9492 }
9493
9494 // repeated .Hdfs.Internal.DatanodeInfoProto excludeNodes = 4;
9495 for (unsigned int i = 0,
9496 n = static_cast<unsigned int>(this->excludenodes_size()); i < n; i++) {
9497 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9498 4,
9499 this->excludenodes(static_cast<int>(i)),
9500 output);
9501 }
9502
9503 // optional uint64 fileId = 5 [default = 0];
9504 if (cached_has_bits & 0x00000008u) {
9505 ::google::protobuf::internal::WireFormatLite::WriteUInt64(5, this->fileid(), output);
9506 }
9507
9508 // repeated string favoredNodes = 6;
9509 for (int i = 0, n = this->favorednodes_size(); i < n; i++) {
9510 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
9511 this->favorednodes(i).data(), static_cast<int>(this->favorednodes(i).length()),
9512 ::google::protobuf::internal::WireFormat::SERIALIZE,
9513 "Hdfs.Internal.AddBlockRequestProto.favoredNodes");
9514 ::google::protobuf::internal::WireFormatLite::WriteString(
9515 6, this->favorednodes(i), output);
9516 }
9517
9518 if (_internal_metadata_.have_unknown_fields()) {
9519 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9520 _internal_metadata_.unknown_fields(), output);
9521 }
9522 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.AddBlockRequestProto)
9523}
9524
9525::google::protobuf::uint8* AddBlockRequestProto::InternalSerializeWithCachedSizesToArray(
9526 bool deterministic, ::google::protobuf::uint8* target) const {
9527 (void)deterministic; // Unused
9528 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.AddBlockRequestProto)
9529 ::google::protobuf::uint32 cached_has_bits = 0;
9530 (void) cached_has_bits;
9531
9532 cached_has_bits = _has_bits_[0];
9533 // required string src = 1;
9534 if (cached_has_bits & 0x00000001u) {
9535 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
9536 this->src().data(), static_cast<int>(this->src().length()),
9537 ::google::protobuf::internal::WireFormat::SERIALIZE,
9538 "Hdfs.Internal.AddBlockRequestProto.src");
9539 target =
9540 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
9541 1, this->src(), target);
9542 }
9543
9544 // required string clientName = 2;
9545 if (cached_has_bits & 0x00000002u) {
9546 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
9547 this->clientname().data(), static_cast<int>(this->clientname().length()),
9548 ::google::protobuf::internal::WireFormat::SERIALIZE,
9549 "Hdfs.Internal.AddBlockRequestProto.clientName");
9550 target =
9551 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
9552 2, this->clientname(), target);
9553 }
9554
9555 // optional .Hdfs.Internal.ExtendedBlockProto previous = 3;
9556 if (cached_has_bits & 0x00000004u) {
9557 target = ::google::protobuf::internal::WireFormatLite::
9558 InternalWriteMessageToArray(
9559 3, this->_internal_previous(), deterministic, target);
9560 }
9561
9562 // repeated .Hdfs.Internal.DatanodeInfoProto excludeNodes = 4;
9563 for (unsigned int i = 0,
9564 n = static_cast<unsigned int>(this->excludenodes_size()); i < n; i++) {
9565 target = ::google::protobuf::internal::WireFormatLite::
9566 InternalWriteMessageToArray(
9567 4, this->excludenodes(static_cast<int>(i)), deterministic, target);
9568 }
9569
9570 // optional uint64 fileId = 5 [default = 0];
9571 if (cached_has_bits & 0x00000008u) {
9572 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(5, this->fileid(), target);
9573 }
9574
9575 // repeated string favoredNodes = 6;
9576 for (int i = 0, n = this->favorednodes_size(); i < n; i++) {
9577 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
9578 this->favorednodes(i).data(), static_cast<int>(this->favorednodes(i).length()),
9579 ::google::protobuf::internal::WireFormat::SERIALIZE,
9580 "Hdfs.Internal.AddBlockRequestProto.favoredNodes");
9581 target = ::google::protobuf::internal::WireFormatLite::
9582 WriteStringToArray(6, this->favorednodes(i), target);
9583 }
9584
9585 if (_internal_metadata_.have_unknown_fields()) {
9586 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9587 _internal_metadata_.unknown_fields(), target);
9588 }
9589 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.AddBlockRequestProto)
9590 return target;
9591}
9592
9593size_t AddBlockRequestProto::RequiredFieldsByteSizeFallback() const {
9594// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.AddBlockRequestProto)
9595 size_t total_size = 0;
9596
9597 if (has_src()) {
9598 // required string src = 1;
9599 total_size += 1 +
9600 ::google::protobuf::internal::WireFormatLite::StringSize(
9601 this->src());
9602 }
9603
9604 if (has_clientname()) {
9605 // required string clientName = 2;
9606 total_size += 1 +
9607 ::google::protobuf::internal::WireFormatLite::StringSize(
9608 this->clientname());
9609 }
9610
9611 return total_size;
9612}
9613size_t AddBlockRequestProto::ByteSizeLong() const {
9614// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.AddBlockRequestProto)
9615 size_t total_size = 0;
9616
9617 if (_internal_metadata_.have_unknown_fields()) {
9618 total_size +=
9619 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9620 _internal_metadata_.unknown_fields());
9621 }
9622 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
9623 // required string src = 1;
9624 total_size += 1 +
9625 ::google::protobuf::internal::WireFormatLite::StringSize(
9626 this->src());
9627
9628 // required string clientName = 2;
9629 total_size += 1 +
9630 ::google::protobuf::internal::WireFormatLite::StringSize(
9631 this->clientname());
9632
9633 } else {
9634 total_size += RequiredFieldsByteSizeFallback();
9635 }
9636 // repeated .Hdfs.Internal.DatanodeInfoProto excludeNodes = 4;
9637 {
9638 unsigned int count = static_cast<unsigned int>(this->excludenodes_size());
9639 total_size += 1UL * count;
9640 for (unsigned int i = 0; i < count; i++) {
9641 total_size +=
9642 ::google::protobuf::internal::WireFormatLite::MessageSize(
9643 this->excludenodes(static_cast<int>(i)));
9644 }
9645 }
9646
9647 // repeated string favoredNodes = 6;
9648 total_size += 1 *
9649 ::google::protobuf::internal::FromIntSize(this->favorednodes_size());
9650 for (int i = 0, n = this->favorednodes_size(); i < n; i++) {
9651 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
9652 this->favorednodes(i));
9653 }
9654
9655 if (_has_bits_[0 / 32] & 12u) {
9656 // optional .Hdfs.Internal.ExtendedBlockProto previous = 3;
9657 if (has_previous()) {
9658 total_size += 1 +
9659 ::google::protobuf::internal::WireFormatLite::MessageSize(
9660 *previous_);
9661 }
9662
9663 // optional uint64 fileId = 5 [default = 0];
9664 if (has_fileid()) {
9665 total_size += 1 +
9666 ::google::protobuf::internal::WireFormatLite::UInt64Size(
9667 this->fileid());
9668 }
9669
9670 }
9671 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9672 SetCachedSize(cached_size);
9673 return total_size;
9674}
9675
9676void AddBlockRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
9677// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.AddBlockRequestProto)
9678 GOOGLE_DCHECK_NE(&from, this);
9679 const AddBlockRequestProto* source =
9680 ::google::protobuf::internal::DynamicCastToGenerated<const AddBlockRequestProto>(
9681 &from);
9682 if (source == NULL) {
9683 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.AddBlockRequestProto)
9684 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9685 } else {
9686 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.AddBlockRequestProto)
9687 MergeFrom(*source);
9688 }
9689}
9690
9691void AddBlockRequestProto::MergeFrom(const AddBlockRequestProto& from) {
9692// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.AddBlockRequestProto)
9693 GOOGLE_DCHECK_NE(&from, this);
9694 _internal_metadata_.MergeFrom(from._internal_metadata_);
9695 ::google::protobuf::uint32 cached_has_bits = 0;
9696 (void) cached_has_bits;
9697
9698 excludenodes_.MergeFrom(from.excludenodes_);
9699 favorednodes_.MergeFrom(from.favorednodes_);
9700 cached_has_bits = from._has_bits_[0];
9701 if (cached_has_bits & 15u) {
9702 if (cached_has_bits & 0x00000001u) {
9703 set_has_src();
9704 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
9705 }
9706 if (cached_has_bits & 0x00000002u) {
9707 set_has_clientname();
9708 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
9709 }
9710 if (cached_has_bits & 0x00000004u) {
9711 mutable_previous()->::Hdfs::Internal::ExtendedBlockProto::MergeFrom(from.previous());
9712 }
9713 if (cached_has_bits & 0x00000008u) {
9714 fileid_ = from.fileid_;
9715 }
9716 _has_bits_[0] |= cached_has_bits;
9717 }
9718}
9719
9720void AddBlockRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
9721// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.AddBlockRequestProto)
9722 if (&from == this) return;
9723 Clear();
9724 MergeFrom(from);
9725}
9726
9727void AddBlockRequestProto::CopyFrom(const AddBlockRequestProto& from) {
9728// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.AddBlockRequestProto)
9729 if (&from == this) return;
9730 Clear();
9731 MergeFrom(from);
9732}
9733
9734bool AddBlockRequestProto::IsInitialized() const {
9735 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
9736 if (!::google::protobuf::internal::AllAreInitialized(this->excludenodes())) return false;
9737 if (has_previous()) {
9738 if (!this->previous_->IsInitialized()) return false;
9739 }
9740 return true;
9741}
9742
9743void AddBlockRequestProto::Swap(AddBlockRequestProto* other) {
9744 if (other == this) return;
9745 InternalSwap(other);
9746}
9747void AddBlockRequestProto::InternalSwap(AddBlockRequestProto* other) {
9748 using std::swap;
9749 CastToBase(&excludenodes_)->InternalSwap(CastToBase(&other->excludenodes_));
9750 favorednodes_.InternalSwap(CastToBase(&other->favorednodes_));
9751 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9752 GetArenaNoVirtual());
9753 clientname_.Swap(&other->clientname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9754 GetArenaNoVirtual());
9755 swap(previous_, other->previous_);
9756 swap(fileid_, other->fileid_);
9757 swap(_has_bits_[0], other->_has_bits_[0]);
9758 _internal_metadata_.Swap(&other->_internal_metadata_);
9759}
9760
9761::google::protobuf::Metadata AddBlockRequestProto::GetMetadata() const {
9762 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
9763 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
9764}
9765
9766
9767// ===================================================================
9768
9769void AddBlockResponseProto::InitAsDefaultInstance() {
9770 ::Hdfs::Internal::_AddBlockResponseProto_default_instance_._instance.get_mutable()->block_ = const_cast< ::Hdfs::Internal::LocatedBlockProto*>(
9771 ::Hdfs::Internal::LocatedBlockProto::internal_default_instance());
9772}
9773void AddBlockResponseProto::clear_block() {
9774 if (block_ != NULL) block_->Clear();
9775 clear_has_block();
9776}
9777#if !defined(_MSC_VER) || _MSC_VER >= 1900
9778const int AddBlockResponseProto::kBlockFieldNumber;
9779#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
9780
9781AddBlockResponseProto::AddBlockResponseProto()
9782 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9783 ::google::protobuf::internal::InitSCC(
9784 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_AddBlockResponseProto.base);
9785 SharedCtor();
9786 // @@protoc_insertion_point(constructor:Hdfs.Internal.AddBlockResponseProto)
9787}
9788AddBlockResponseProto::AddBlockResponseProto(const AddBlockResponseProto& from)
9789 : ::google::protobuf::Message(),
9790 _internal_metadata_(NULL),
9791 _has_bits_(from._has_bits_) {
9792 _internal_metadata_.MergeFrom(from._internal_metadata_);
9793 if (from.has_block()) {
9794 block_ = new ::Hdfs::Internal::LocatedBlockProto(*from.block_);
9795 } else {
9796 block_ = NULL;
9797 }
9798 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.AddBlockResponseProto)
9799}
9800
9801void AddBlockResponseProto::SharedCtor() {
9802 block_ = NULL;
9803}
9804
9805AddBlockResponseProto::~AddBlockResponseProto() {
9806 // @@protoc_insertion_point(destructor:Hdfs.Internal.AddBlockResponseProto)
9807 SharedDtor();
9808}
9809
9810void AddBlockResponseProto::SharedDtor() {
9811 if (this != internal_default_instance()) delete block_;
9812}
9813
9814void AddBlockResponseProto::SetCachedSize(int size) const {
9815 _cached_size_.Set(size);
9816}
9817const ::google::protobuf::Descriptor* AddBlockResponseProto::descriptor() {
9818 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
9819 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9820}
9821
9822const AddBlockResponseProto& AddBlockResponseProto::default_instance() {
9823 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_AddBlockResponseProto.base);
9824 return *internal_default_instance();
9825}
9826
9827
9828void AddBlockResponseProto::Clear() {
9829// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.AddBlockResponseProto)
9830 ::google::protobuf::uint32 cached_has_bits = 0;
9831 // Prevent compiler warnings about cached_has_bits being unused
9832 (void) cached_has_bits;
9833
9834 cached_has_bits = _has_bits_[0];
9835 if (cached_has_bits & 0x00000001u) {
9836 GOOGLE_DCHECK(block_ != NULL);
9837 block_->Clear();
9838 }
9839 _has_bits_.Clear();
9840 _internal_metadata_.Clear();
9841}
9842
9843bool AddBlockResponseProto::MergePartialFromCodedStream(
9844 ::google::protobuf::io::CodedInputStream* input) {
9845#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
9846 ::google::protobuf::uint32 tag;
9847 // @@protoc_insertion_point(parse_start:Hdfs.Internal.AddBlockResponseProto)
9848 for (;;) {
9849 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9850 tag = p.first;
9851 if (!p.second) goto handle_unusual;
9852 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9853 // required .Hdfs.Internal.LocatedBlockProto block = 1;
9854 case 1: {
9855 if (static_cast< ::google::protobuf::uint8>(tag) ==
9856 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
9857 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9858 input, mutable_block()));
9859 } else {
9860 goto handle_unusual;
9861 }
9862 break;
9863 }
9864
9865 default: {
9866 handle_unusual:
9867 if (tag == 0) {
9868 goto success;
9869 }
9870 DO_(::google::protobuf::internal::WireFormat::SkipField(
9871 input, tag, _internal_metadata_.mutable_unknown_fields()));
9872 break;
9873 }
9874 }
9875 }
9876success:
9877 // @@protoc_insertion_point(parse_success:Hdfs.Internal.AddBlockResponseProto)
9878 return true;
9879failure:
9880 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.AddBlockResponseProto)
9881 return false;
9882#undef DO_
9883}
9884
9885void AddBlockResponseProto::SerializeWithCachedSizes(
9886 ::google::protobuf::io::CodedOutputStream* output) const {
9887 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.AddBlockResponseProto)
9888 ::google::protobuf::uint32 cached_has_bits = 0;
9889 (void) cached_has_bits;
9890
9891 cached_has_bits = _has_bits_[0];
9892 // required .Hdfs.Internal.LocatedBlockProto block = 1;
9893 if (cached_has_bits & 0x00000001u) {
9894 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9895 1, this->_internal_block(), output);
9896 }
9897
9898 if (_internal_metadata_.have_unknown_fields()) {
9899 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9900 _internal_metadata_.unknown_fields(), output);
9901 }
9902 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.AddBlockResponseProto)
9903}
9904
9905::google::protobuf::uint8* AddBlockResponseProto::InternalSerializeWithCachedSizesToArray(
9906 bool deterministic, ::google::protobuf::uint8* target) const {
9907 (void)deterministic; // Unused
9908 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.AddBlockResponseProto)
9909 ::google::protobuf::uint32 cached_has_bits = 0;
9910 (void) cached_has_bits;
9911
9912 cached_has_bits = _has_bits_[0];
9913 // required .Hdfs.Internal.LocatedBlockProto block = 1;
9914 if (cached_has_bits & 0x00000001u) {
9915 target = ::google::protobuf::internal::WireFormatLite::
9916 InternalWriteMessageToArray(
9917 1, this->_internal_block(), deterministic, target);
9918 }
9919
9920 if (_internal_metadata_.have_unknown_fields()) {
9921 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9922 _internal_metadata_.unknown_fields(), target);
9923 }
9924 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.AddBlockResponseProto)
9925 return target;
9926}
9927
9928size_t AddBlockResponseProto::ByteSizeLong() const {
9929// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.AddBlockResponseProto)
9930 size_t total_size = 0;
9931
9932 if (_internal_metadata_.have_unknown_fields()) {
9933 total_size +=
9934 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9935 _internal_metadata_.unknown_fields());
9936 }
9937 // required .Hdfs.Internal.LocatedBlockProto block = 1;
9938 if (has_block()) {
9939 total_size += 1 +
9940 ::google::protobuf::internal::WireFormatLite::MessageSize(
9941 *block_);
9942 }
9943 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9944 SetCachedSize(cached_size);
9945 return total_size;
9946}
9947
9948void AddBlockResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
9949// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.AddBlockResponseProto)
9950 GOOGLE_DCHECK_NE(&from, this);
9951 const AddBlockResponseProto* source =
9952 ::google::protobuf::internal::DynamicCastToGenerated<const AddBlockResponseProto>(
9953 &from);
9954 if (source == NULL) {
9955 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.AddBlockResponseProto)
9956 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9957 } else {
9958 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.AddBlockResponseProto)
9959 MergeFrom(*source);
9960 }
9961}
9962
9963void AddBlockResponseProto::MergeFrom(const AddBlockResponseProto& from) {
9964// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.AddBlockResponseProto)
9965 GOOGLE_DCHECK_NE(&from, this);
9966 _internal_metadata_.MergeFrom(from._internal_metadata_);
9967 ::google::protobuf::uint32 cached_has_bits = 0;
9968 (void) cached_has_bits;
9969
9970 if (from.has_block()) {
9971 mutable_block()->::Hdfs::Internal::LocatedBlockProto::MergeFrom(from.block());
9972 }
9973}
9974
9975void AddBlockResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
9976// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.AddBlockResponseProto)
9977 if (&from == this) return;
9978 Clear();
9979 MergeFrom(from);
9980}
9981
9982void AddBlockResponseProto::CopyFrom(const AddBlockResponseProto& from) {
9983// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.AddBlockResponseProto)
9984 if (&from == this) return;
9985 Clear();
9986 MergeFrom(from);
9987}
9988
9989bool AddBlockResponseProto::IsInitialized() const {
9990 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
9991 if (has_block()) {
9992 if (!this->block_->IsInitialized()) return false;
9993 }
9994 return true;
9995}
9996
9997void AddBlockResponseProto::Swap(AddBlockResponseProto* other) {
9998 if (other == this) return;
9999 InternalSwap(other);
10000}
10001void AddBlockResponseProto::InternalSwap(AddBlockResponseProto* other) {
10002 using std::swap;
10003 swap(block_, other->block_);
10004 swap(_has_bits_[0], other->_has_bits_[0]);
10005 _internal_metadata_.Swap(&other->_internal_metadata_);
10006}
10007
10008::google::protobuf::Metadata AddBlockResponseProto::GetMetadata() const {
10009 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
10010 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
10011}
10012
10013
10014// ===================================================================
10015
10016void GetAdditionalDatanodeRequestProto::InitAsDefaultInstance() {
10017 ::Hdfs::Internal::_GetAdditionalDatanodeRequestProto_default_instance_._instance.get_mutable()->blk_ = const_cast< ::Hdfs::Internal::ExtendedBlockProto*>(
10018 ::Hdfs::Internal::ExtendedBlockProto::internal_default_instance());
10019}
10020void GetAdditionalDatanodeRequestProto::clear_blk() {
10021 if (blk_ != NULL) blk_->Clear();
10022 clear_has_blk();
10023}
10024void GetAdditionalDatanodeRequestProto::clear_existings() {
10025 existings_.Clear();
10026}
10027void GetAdditionalDatanodeRequestProto::clear_excludes() {
10028 excludes_.Clear();
10029}
10030#if !defined(_MSC_VER) || _MSC_VER >= 1900
10031const int GetAdditionalDatanodeRequestProto::kSrcFieldNumber;
10032const int GetAdditionalDatanodeRequestProto::kBlkFieldNumber;
10033const int GetAdditionalDatanodeRequestProto::kExistingsFieldNumber;
10034const int GetAdditionalDatanodeRequestProto::kExcludesFieldNumber;
10035const int GetAdditionalDatanodeRequestProto::kNumAdditionalNodesFieldNumber;
10036const int GetAdditionalDatanodeRequestProto::kClientNameFieldNumber;
10037const int GetAdditionalDatanodeRequestProto::kExistingStorageUuidsFieldNumber;
10038#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
10039
10040GetAdditionalDatanodeRequestProto::GetAdditionalDatanodeRequestProto()
10041 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10042 ::google::protobuf::internal::InitSCC(
10043 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetAdditionalDatanodeRequestProto.base);
10044 SharedCtor();
10045 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10046}
10047GetAdditionalDatanodeRequestProto::GetAdditionalDatanodeRequestProto(const GetAdditionalDatanodeRequestProto& from)
10048 : ::google::protobuf::Message(),
10049 _internal_metadata_(NULL),
10050 _has_bits_(from._has_bits_),
10051 existings_(from.existings_),
10052 excludes_(from.excludes_),
10053 existingstorageuuids_(from.existingstorageuuids_) {
10054 _internal_metadata_.MergeFrom(from._internal_metadata_);
10055 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10056 if (from.has_src()) {
10057 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
10058 }
10059 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10060 if (from.has_clientname()) {
10061 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
10062 }
10063 if (from.has_blk()) {
10064 blk_ = new ::Hdfs::Internal::ExtendedBlockProto(*from.blk_);
10065 } else {
10066 blk_ = NULL;
10067 }
10068 numadditionalnodes_ = from.numadditionalnodes_;
10069 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10070}
10071
10072void GetAdditionalDatanodeRequestProto::SharedCtor() {
10073 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10074 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10075 ::memset(&blk_, 0, static_cast<size_t>(
10076 reinterpret_cast<char*>(&numadditionalnodes_) -
10077 reinterpret_cast<char*>(&blk_)) + sizeof(numadditionalnodes_));
10078}
10079
10080GetAdditionalDatanodeRequestProto::~GetAdditionalDatanodeRequestProto() {
10081 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10082 SharedDtor();
10083}
10084
10085void GetAdditionalDatanodeRequestProto::SharedDtor() {
10086 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10087 clientname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10088 if (this != internal_default_instance()) delete blk_;
10089}
10090
10091void GetAdditionalDatanodeRequestProto::SetCachedSize(int size) const {
10092 _cached_size_.Set(size);
10093}
10094const ::google::protobuf::Descriptor* GetAdditionalDatanodeRequestProto::descriptor() {
10095 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
10096 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10097}
10098
10099const GetAdditionalDatanodeRequestProto& GetAdditionalDatanodeRequestProto::default_instance() {
10100 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetAdditionalDatanodeRequestProto.base);
10101 return *internal_default_instance();
10102}
10103
10104
10105void GetAdditionalDatanodeRequestProto::Clear() {
10106// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10107 ::google::protobuf::uint32 cached_has_bits = 0;
10108 // Prevent compiler warnings about cached_has_bits being unused
10109 (void) cached_has_bits;
10110
10111 existings_.Clear();
10112 excludes_.Clear();
10113 existingstorageuuids_.Clear();
10114 cached_has_bits = _has_bits_[0];
10115 if (cached_has_bits & 7u) {
10116 if (cached_has_bits & 0x00000001u) {
10117 src_.ClearNonDefaultToEmptyNoArena();
10118 }
10119 if (cached_has_bits & 0x00000002u) {
10120 clientname_.ClearNonDefaultToEmptyNoArena();
10121 }
10122 if (cached_has_bits & 0x00000004u) {
10123 GOOGLE_DCHECK(blk_ != NULL);
10124 blk_->Clear();
10125 }
10126 }
10127 numadditionalnodes_ = 0u;
10128 _has_bits_.Clear();
10129 _internal_metadata_.Clear();
10130}
10131
10132bool GetAdditionalDatanodeRequestProto::MergePartialFromCodedStream(
10133 ::google::protobuf::io::CodedInputStream* input) {
10134#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
10135 ::google::protobuf::uint32 tag;
10136 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10137 for (;;) {
10138 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10139 tag = p.first;
10140 if (!p.second) goto handle_unusual;
10141 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10142 // required string src = 1;
10143 case 1: {
10144 if (static_cast< ::google::protobuf::uint8>(tag) ==
10145 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10146 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
10147 input, this->mutable_src()));
10148 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10149 this->src().data(), static_cast<int>(this->src().length()),
10150 ::google::protobuf::internal::WireFormat::PARSE,
10151 "Hdfs.Internal.GetAdditionalDatanodeRequestProto.src");
10152 } else {
10153 goto handle_unusual;
10154 }
10155 break;
10156 }
10157
10158 // required .Hdfs.Internal.ExtendedBlockProto blk = 2;
10159 case 2: {
10160 if (static_cast< ::google::protobuf::uint8>(tag) ==
10161 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
10162 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10163 input, mutable_blk()));
10164 } else {
10165 goto handle_unusual;
10166 }
10167 break;
10168 }
10169
10170 // repeated .Hdfs.Internal.DatanodeInfoProto existings = 3;
10171 case 3: {
10172 if (static_cast< ::google::protobuf::uint8>(tag) ==
10173 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
10174 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10175 input, add_existings()));
10176 } else {
10177 goto handle_unusual;
10178 }
10179 break;
10180 }
10181
10182 // repeated .Hdfs.Internal.DatanodeInfoProto excludes = 4;
10183 case 4: {
10184 if (static_cast< ::google::protobuf::uint8>(tag) ==
10185 static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
10186 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10187 input, add_excludes()));
10188 } else {
10189 goto handle_unusual;
10190 }
10191 break;
10192 }
10193
10194 // required uint32 numAdditionalNodes = 5;
10195 case 5: {
10196 if (static_cast< ::google::protobuf::uint8>(tag) ==
10197 static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
10198 set_has_numadditionalnodes();
10199 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10200 ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
10201 input, &numadditionalnodes_)));
10202 } else {
10203 goto handle_unusual;
10204 }
10205 break;
10206 }
10207
10208 // required string clientName = 6;
10209 case 6: {
10210 if (static_cast< ::google::protobuf::uint8>(tag) ==
10211 static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
10212 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
10213 input, this->mutable_clientname()));
10214 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10215 this->clientname().data(), static_cast<int>(this->clientname().length()),
10216 ::google::protobuf::internal::WireFormat::PARSE,
10217 "Hdfs.Internal.GetAdditionalDatanodeRequestProto.clientName");
10218 } else {
10219 goto handle_unusual;
10220 }
10221 break;
10222 }
10223
10224 // repeated string existingStorageUuids = 7;
10225 case 7: {
10226 if (static_cast< ::google::protobuf::uint8>(tag) ==
10227 static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
10228 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
10229 input, this->add_existingstorageuuids()));
10230 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10231 this->existingstorageuuids(this->existingstorageuuids_size() - 1).data(),
10232 static_cast<int>(this->existingstorageuuids(this->existingstorageuuids_size() - 1).length()),
10233 ::google::protobuf::internal::WireFormat::PARSE,
10234 "Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids");
10235 } else {
10236 goto handle_unusual;
10237 }
10238 break;
10239 }
10240
10241 default: {
10242 handle_unusual:
10243 if (tag == 0) {
10244 goto success;
10245 }
10246 DO_(::google::protobuf::internal::WireFormat::SkipField(
10247 input, tag, _internal_metadata_.mutable_unknown_fields()));
10248 break;
10249 }
10250 }
10251 }
10252success:
10253 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10254 return true;
10255failure:
10256 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10257 return false;
10258#undef DO_
10259}
10260
10261void GetAdditionalDatanodeRequestProto::SerializeWithCachedSizes(
10262 ::google::protobuf::io::CodedOutputStream* output) const {
10263 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10264 ::google::protobuf::uint32 cached_has_bits = 0;
10265 (void) cached_has_bits;
10266
10267 cached_has_bits = _has_bits_[0];
10268 // required string src = 1;
10269 if (cached_has_bits & 0x00000001u) {
10270 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10271 this->src().data(), static_cast<int>(this->src().length()),
10272 ::google::protobuf::internal::WireFormat::SERIALIZE,
10273 "Hdfs.Internal.GetAdditionalDatanodeRequestProto.src");
10274 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
10275 1, this->src(), output);
10276 }
10277
10278 // required .Hdfs.Internal.ExtendedBlockProto blk = 2;
10279 if (cached_has_bits & 0x00000004u) {
10280 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10281 2, this->_internal_blk(), output);
10282 }
10283
10284 // repeated .Hdfs.Internal.DatanodeInfoProto existings = 3;
10285 for (unsigned int i = 0,
10286 n = static_cast<unsigned int>(this->existings_size()); i < n; i++) {
10287 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10288 3,
10289 this->existings(static_cast<int>(i)),
10290 output);
10291 }
10292
10293 // repeated .Hdfs.Internal.DatanodeInfoProto excludes = 4;
10294 for (unsigned int i = 0,
10295 n = static_cast<unsigned int>(this->excludes_size()); i < n; i++) {
10296 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10297 4,
10298 this->excludes(static_cast<int>(i)),
10299 output);
10300 }
10301
10302 // required uint32 numAdditionalNodes = 5;
10303 if (cached_has_bits & 0x00000008u) {
10304 ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->numadditionalnodes(), output);
10305 }
10306
10307 // required string clientName = 6;
10308 if (cached_has_bits & 0x00000002u) {
10309 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10310 this->clientname().data(), static_cast<int>(this->clientname().length()),
10311 ::google::protobuf::internal::WireFormat::SERIALIZE,
10312 "Hdfs.Internal.GetAdditionalDatanodeRequestProto.clientName");
10313 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
10314 6, this->clientname(), output);
10315 }
10316
10317 // repeated string existingStorageUuids = 7;
10318 for (int i = 0, n = this->existingstorageuuids_size(); i < n; i++) {
10319 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10320 this->existingstorageuuids(i).data(), static_cast<int>(this->existingstorageuuids(i).length()),
10321 ::google::protobuf::internal::WireFormat::SERIALIZE,
10322 "Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids");
10323 ::google::protobuf::internal::WireFormatLite::WriteString(
10324 7, this->existingstorageuuids(i), output);
10325 }
10326
10327 if (_internal_metadata_.have_unknown_fields()) {
10328 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10329 _internal_metadata_.unknown_fields(), output);
10330 }
10331 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10332}
10333
10334::google::protobuf::uint8* GetAdditionalDatanodeRequestProto::InternalSerializeWithCachedSizesToArray(
10335 bool deterministic, ::google::protobuf::uint8* target) const {
10336 (void)deterministic; // Unused
10337 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10338 ::google::protobuf::uint32 cached_has_bits = 0;
10339 (void) cached_has_bits;
10340
10341 cached_has_bits = _has_bits_[0];
10342 // required string src = 1;
10343 if (cached_has_bits & 0x00000001u) {
10344 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10345 this->src().data(), static_cast<int>(this->src().length()),
10346 ::google::protobuf::internal::WireFormat::SERIALIZE,
10347 "Hdfs.Internal.GetAdditionalDatanodeRequestProto.src");
10348 target =
10349 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
10350 1, this->src(), target);
10351 }
10352
10353 // required .Hdfs.Internal.ExtendedBlockProto blk = 2;
10354 if (cached_has_bits & 0x00000004u) {
10355 target = ::google::protobuf::internal::WireFormatLite::
10356 InternalWriteMessageToArray(
10357 2, this->_internal_blk(), deterministic, target);
10358 }
10359
10360 // repeated .Hdfs.Internal.DatanodeInfoProto existings = 3;
10361 for (unsigned int i = 0,
10362 n = static_cast<unsigned int>(this->existings_size()); i < n; i++) {
10363 target = ::google::protobuf::internal::WireFormatLite::
10364 InternalWriteMessageToArray(
10365 3, this->existings(static_cast<int>(i)), deterministic, target);
10366 }
10367
10368 // repeated .Hdfs.Internal.DatanodeInfoProto excludes = 4;
10369 for (unsigned int i = 0,
10370 n = static_cast<unsigned int>(this->excludes_size()); i < n; i++) {
10371 target = ::google::protobuf::internal::WireFormatLite::
10372 InternalWriteMessageToArray(
10373 4, this->excludes(static_cast<int>(i)), deterministic, target);
10374 }
10375
10376 // required uint32 numAdditionalNodes = 5;
10377 if (cached_has_bits & 0x00000008u) {
10378 target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->numadditionalnodes(), target);
10379 }
10380
10381 // required string clientName = 6;
10382 if (cached_has_bits & 0x00000002u) {
10383 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10384 this->clientname().data(), static_cast<int>(this->clientname().length()),
10385 ::google::protobuf::internal::WireFormat::SERIALIZE,
10386 "Hdfs.Internal.GetAdditionalDatanodeRequestProto.clientName");
10387 target =
10388 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
10389 6, this->clientname(), target);
10390 }
10391
10392 // repeated string existingStorageUuids = 7;
10393 for (int i = 0, n = this->existingstorageuuids_size(); i < n; i++) {
10394 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10395 this->existingstorageuuids(i).data(), static_cast<int>(this->existingstorageuuids(i).length()),
10396 ::google::protobuf::internal::WireFormat::SERIALIZE,
10397 "Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids");
10398 target = ::google::protobuf::internal::WireFormatLite::
10399 WriteStringToArray(7, this->existingstorageuuids(i), target);
10400 }
10401
10402 if (_internal_metadata_.have_unknown_fields()) {
10403 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10404 _internal_metadata_.unknown_fields(), target);
10405 }
10406 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10407 return target;
10408}
10409
10410size_t GetAdditionalDatanodeRequestProto::RequiredFieldsByteSizeFallback() const {
10411// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10412 size_t total_size = 0;
10413
10414 if (has_src()) {
10415 // required string src = 1;
10416 total_size += 1 +
10417 ::google::protobuf::internal::WireFormatLite::StringSize(
10418 this->src());
10419 }
10420
10421 if (has_clientname()) {
10422 // required string clientName = 6;
10423 total_size += 1 +
10424 ::google::protobuf::internal::WireFormatLite::StringSize(
10425 this->clientname());
10426 }
10427
10428 if (has_blk()) {
10429 // required .Hdfs.Internal.ExtendedBlockProto blk = 2;
10430 total_size += 1 +
10431 ::google::protobuf::internal::WireFormatLite::MessageSize(
10432 *blk_);
10433 }
10434
10435 if (has_numadditionalnodes()) {
10436 // required uint32 numAdditionalNodes = 5;
10437 total_size += 1 +
10438 ::google::protobuf::internal::WireFormatLite::UInt32Size(
10439 this->numadditionalnodes());
10440 }
10441
10442 return total_size;
10443}
10444size_t GetAdditionalDatanodeRequestProto::ByteSizeLong() const {
10445// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10446 size_t total_size = 0;
10447
10448 if (_internal_metadata_.have_unknown_fields()) {
10449 total_size +=
10450 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10451 _internal_metadata_.unknown_fields());
10452 }
10453 if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present.
10454 // required string src = 1;
10455 total_size += 1 +
10456 ::google::protobuf::internal::WireFormatLite::StringSize(
10457 this->src());
10458
10459 // required string clientName = 6;
10460 total_size += 1 +
10461 ::google::protobuf::internal::WireFormatLite::StringSize(
10462 this->clientname());
10463
10464 // required .Hdfs.Internal.ExtendedBlockProto blk = 2;
10465 total_size += 1 +
10466 ::google::protobuf::internal::WireFormatLite::MessageSize(
10467 *blk_);
10468
10469 // required uint32 numAdditionalNodes = 5;
10470 total_size += 1 +
10471 ::google::protobuf::internal::WireFormatLite::UInt32Size(
10472 this->numadditionalnodes());
10473
10474 } else {
10475 total_size += RequiredFieldsByteSizeFallback();
10476 }
10477 // repeated .Hdfs.Internal.DatanodeInfoProto existings = 3;
10478 {
10479 unsigned int count = static_cast<unsigned int>(this->existings_size());
10480 total_size += 1UL * count;
10481 for (unsigned int i = 0; i < count; i++) {
10482 total_size +=
10483 ::google::protobuf::internal::WireFormatLite::MessageSize(
10484 this->existings(static_cast<int>(i)));
10485 }
10486 }
10487
10488 // repeated .Hdfs.Internal.DatanodeInfoProto excludes = 4;
10489 {
10490 unsigned int count = static_cast<unsigned int>(this->excludes_size());
10491 total_size += 1UL * count;
10492 for (unsigned int i = 0; i < count; i++) {
10493 total_size +=
10494 ::google::protobuf::internal::WireFormatLite::MessageSize(
10495 this->excludes(static_cast<int>(i)));
10496 }
10497 }
10498
10499 // repeated string existingStorageUuids = 7;
10500 total_size += 1 *
10501 ::google::protobuf::internal::FromIntSize(this->existingstorageuuids_size());
10502 for (int i = 0, n = this->existingstorageuuids_size(); i < n; i++) {
10503 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
10504 this->existingstorageuuids(i));
10505 }
10506
10507 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10508 SetCachedSize(cached_size);
10509 return total_size;
10510}
10511
10512void GetAdditionalDatanodeRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
10513// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10514 GOOGLE_DCHECK_NE(&from, this);
10515 const GetAdditionalDatanodeRequestProto* source =
10516 ::google::protobuf::internal::DynamicCastToGenerated<const GetAdditionalDatanodeRequestProto>(
10517 &from);
10518 if (source == NULL) {
10519 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10520 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10521 } else {
10522 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10523 MergeFrom(*source);
10524 }
10525}
10526
10527void GetAdditionalDatanodeRequestProto::MergeFrom(const GetAdditionalDatanodeRequestProto& from) {
10528// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10529 GOOGLE_DCHECK_NE(&from, this);
10530 _internal_metadata_.MergeFrom(from._internal_metadata_);
10531 ::google::protobuf::uint32 cached_has_bits = 0;
10532 (void) cached_has_bits;
10533
10534 existings_.MergeFrom(from.existings_);
10535 excludes_.MergeFrom(from.excludes_);
10536 existingstorageuuids_.MergeFrom(from.existingstorageuuids_);
10537 cached_has_bits = from._has_bits_[0];
10538 if (cached_has_bits & 15u) {
10539 if (cached_has_bits & 0x00000001u) {
10540 set_has_src();
10541 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
10542 }
10543 if (cached_has_bits & 0x00000002u) {
10544 set_has_clientname();
10545 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
10546 }
10547 if (cached_has_bits & 0x00000004u) {
10548 mutable_blk()->::Hdfs::Internal::ExtendedBlockProto::MergeFrom(from.blk());
10549 }
10550 if (cached_has_bits & 0x00000008u) {
10551 numadditionalnodes_ = from.numadditionalnodes_;
10552 }
10553 _has_bits_[0] |= cached_has_bits;
10554 }
10555}
10556
10557void GetAdditionalDatanodeRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
10558// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10559 if (&from == this) return;
10560 Clear();
10561 MergeFrom(from);
10562}
10563
10564void GetAdditionalDatanodeRequestProto::CopyFrom(const GetAdditionalDatanodeRequestProto& from) {
10565// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetAdditionalDatanodeRequestProto)
10566 if (&from == this) return;
10567 Clear();
10568 MergeFrom(from);
10569}
10570
10571bool GetAdditionalDatanodeRequestProto::IsInitialized() const {
10572 if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
10573 if (!::google::protobuf::internal::AllAreInitialized(this->existings())) return false;
10574 if (!::google::protobuf::internal::AllAreInitialized(this->excludes())) return false;
10575 if (has_blk()) {
10576 if (!this->blk_->IsInitialized()) return false;
10577 }
10578 return true;
10579}
10580
10581void GetAdditionalDatanodeRequestProto::Swap(GetAdditionalDatanodeRequestProto* other) {
10582 if (other == this) return;
10583 InternalSwap(other);
10584}
10585void GetAdditionalDatanodeRequestProto::InternalSwap(GetAdditionalDatanodeRequestProto* other) {
10586 using std::swap;
10587 CastToBase(&existings_)->InternalSwap(CastToBase(&other->existings_));
10588 CastToBase(&excludes_)->InternalSwap(CastToBase(&other->excludes_));
10589 existingstorageuuids_.InternalSwap(CastToBase(&other->existingstorageuuids_));
10590 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10591 GetArenaNoVirtual());
10592 clientname_.Swap(&other->clientname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10593 GetArenaNoVirtual());
10594 swap(blk_, other->blk_);
10595 swap(numadditionalnodes_, other->numadditionalnodes_);
10596 swap(_has_bits_[0], other->_has_bits_[0]);
10597 _internal_metadata_.Swap(&other->_internal_metadata_);
10598}
10599
10600::google::protobuf::Metadata GetAdditionalDatanodeRequestProto::GetMetadata() const {
10601 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
10602 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
10603}
10604
10605
10606// ===================================================================
10607
10608void GetAdditionalDatanodeResponseProto::InitAsDefaultInstance() {
10609 ::Hdfs::Internal::_GetAdditionalDatanodeResponseProto_default_instance_._instance.get_mutable()->block_ = const_cast< ::Hdfs::Internal::LocatedBlockProto*>(
10610 ::Hdfs::Internal::LocatedBlockProto::internal_default_instance());
10611}
10612void GetAdditionalDatanodeResponseProto::clear_block() {
10613 if (block_ != NULL) block_->Clear();
10614 clear_has_block();
10615}
10616#if !defined(_MSC_VER) || _MSC_VER >= 1900
10617const int GetAdditionalDatanodeResponseProto::kBlockFieldNumber;
10618#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
10619
10620GetAdditionalDatanodeResponseProto::GetAdditionalDatanodeResponseProto()
10621 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10622 ::google::protobuf::internal::InitSCC(
10623 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetAdditionalDatanodeResponseProto.base);
10624 SharedCtor();
10625 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10626}
10627GetAdditionalDatanodeResponseProto::GetAdditionalDatanodeResponseProto(const GetAdditionalDatanodeResponseProto& from)
10628 : ::google::protobuf::Message(),
10629 _internal_metadata_(NULL),
10630 _has_bits_(from._has_bits_) {
10631 _internal_metadata_.MergeFrom(from._internal_metadata_);
10632 if (from.has_block()) {
10633 block_ = new ::Hdfs::Internal::LocatedBlockProto(*from.block_);
10634 } else {
10635 block_ = NULL;
10636 }
10637 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10638}
10639
10640void GetAdditionalDatanodeResponseProto::SharedCtor() {
10641 block_ = NULL;
10642}
10643
10644GetAdditionalDatanodeResponseProto::~GetAdditionalDatanodeResponseProto() {
10645 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10646 SharedDtor();
10647}
10648
10649void GetAdditionalDatanodeResponseProto::SharedDtor() {
10650 if (this != internal_default_instance()) delete block_;
10651}
10652
10653void GetAdditionalDatanodeResponseProto::SetCachedSize(int size) const {
10654 _cached_size_.Set(size);
10655}
10656const ::google::protobuf::Descriptor* GetAdditionalDatanodeResponseProto::descriptor() {
10657 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
10658 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10659}
10660
10661const GetAdditionalDatanodeResponseProto& GetAdditionalDatanodeResponseProto::default_instance() {
10662 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetAdditionalDatanodeResponseProto.base);
10663 return *internal_default_instance();
10664}
10665
10666
10667void GetAdditionalDatanodeResponseProto::Clear() {
10668// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10669 ::google::protobuf::uint32 cached_has_bits = 0;
10670 // Prevent compiler warnings about cached_has_bits being unused
10671 (void) cached_has_bits;
10672
10673 cached_has_bits = _has_bits_[0];
10674 if (cached_has_bits & 0x00000001u) {
10675 GOOGLE_DCHECK(block_ != NULL);
10676 block_->Clear();
10677 }
10678 _has_bits_.Clear();
10679 _internal_metadata_.Clear();
10680}
10681
10682bool GetAdditionalDatanodeResponseProto::MergePartialFromCodedStream(
10683 ::google::protobuf::io::CodedInputStream* input) {
10684#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
10685 ::google::protobuf::uint32 tag;
10686 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10687 for (;;) {
10688 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10689 tag = p.first;
10690 if (!p.second) goto handle_unusual;
10691 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10692 // required .Hdfs.Internal.LocatedBlockProto block = 1;
10693 case 1: {
10694 if (static_cast< ::google::protobuf::uint8>(tag) ==
10695 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10696 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
10697 input, mutable_block()));
10698 } else {
10699 goto handle_unusual;
10700 }
10701 break;
10702 }
10703
10704 default: {
10705 handle_unusual:
10706 if (tag == 0) {
10707 goto success;
10708 }
10709 DO_(::google::protobuf::internal::WireFormat::SkipField(
10710 input, tag, _internal_metadata_.mutable_unknown_fields()));
10711 break;
10712 }
10713 }
10714 }
10715success:
10716 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10717 return true;
10718failure:
10719 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10720 return false;
10721#undef DO_
10722}
10723
10724void GetAdditionalDatanodeResponseProto::SerializeWithCachedSizes(
10725 ::google::protobuf::io::CodedOutputStream* output) const {
10726 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10727 ::google::protobuf::uint32 cached_has_bits = 0;
10728 (void) cached_has_bits;
10729
10730 cached_has_bits = _has_bits_[0];
10731 // required .Hdfs.Internal.LocatedBlockProto block = 1;
10732 if (cached_has_bits & 0x00000001u) {
10733 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10734 1, this->_internal_block(), output);
10735 }
10736
10737 if (_internal_metadata_.have_unknown_fields()) {
10738 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10739 _internal_metadata_.unknown_fields(), output);
10740 }
10741 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10742}
10743
10744::google::protobuf::uint8* GetAdditionalDatanodeResponseProto::InternalSerializeWithCachedSizesToArray(
10745 bool deterministic, ::google::protobuf::uint8* target) const {
10746 (void)deterministic; // Unused
10747 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10748 ::google::protobuf::uint32 cached_has_bits = 0;
10749 (void) cached_has_bits;
10750
10751 cached_has_bits = _has_bits_[0];
10752 // required .Hdfs.Internal.LocatedBlockProto block = 1;
10753 if (cached_has_bits & 0x00000001u) {
10754 target = ::google::protobuf::internal::WireFormatLite::
10755 InternalWriteMessageToArray(
10756 1, this->_internal_block(), deterministic, target);
10757 }
10758
10759 if (_internal_metadata_.have_unknown_fields()) {
10760 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10761 _internal_metadata_.unknown_fields(), target);
10762 }
10763 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10764 return target;
10765}
10766
10767size_t GetAdditionalDatanodeResponseProto::ByteSizeLong() const {
10768// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10769 size_t total_size = 0;
10770
10771 if (_internal_metadata_.have_unknown_fields()) {
10772 total_size +=
10773 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10774 _internal_metadata_.unknown_fields());
10775 }
10776 // required .Hdfs.Internal.LocatedBlockProto block = 1;
10777 if (has_block()) {
10778 total_size += 1 +
10779 ::google::protobuf::internal::WireFormatLite::MessageSize(
10780 *block_);
10781 }
10782 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10783 SetCachedSize(cached_size);
10784 return total_size;
10785}
10786
10787void GetAdditionalDatanodeResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
10788// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10789 GOOGLE_DCHECK_NE(&from, this);
10790 const GetAdditionalDatanodeResponseProto* source =
10791 ::google::protobuf::internal::DynamicCastToGenerated<const GetAdditionalDatanodeResponseProto>(
10792 &from);
10793 if (source == NULL) {
10794 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10795 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10796 } else {
10797 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10798 MergeFrom(*source);
10799 }
10800}
10801
10802void GetAdditionalDatanodeResponseProto::MergeFrom(const GetAdditionalDatanodeResponseProto& from) {
10803// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10804 GOOGLE_DCHECK_NE(&from, this);
10805 _internal_metadata_.MergeFrom(from._internal_metadata_);
10806 ::google::protobuf::uint32 cached_has_bits = 0;
10807 (void) cached_has_bits;
10808
10809 if (from.has_block()) {
10810 mutable_block()->::Hdfs::Internal::LocatedBlockProto::MergeFrom(from.block());
10811 }
10812}
10813
10814void GetAdditionalDatanodeResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
10815// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10816 if (&from == this) return;
10817 Clear();
10818 MergeFrom(from);
10819}
10820
10821void GetAdditionalDatanodeResponseProto::CopyFrom(const GetAdditionalDatanodeResponseProto& from) {
10822// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetAdditionalDatanodeResponseProto)
10823 if (&from == this) return;
10824 Clear();
10825 MergeFrom(from);
10826}
10827
10828bool GetAdditionalDatanodeResponseProto::IsInitialized() const {
10829 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
10830 if (has_block()) {
10831 if (!this->block_->IsInitialized()) return false;
10832 }
10833 return true;
10834}
10835
10836void GetAdditionalDatanodeResponseProto::Swap(GetAdditionalDatanodeResponseProto* other) {
10837 if (other == this) return;
10838 InternalSwap(other);
10839}
10840void GetAdditionalDatanodeResponseProto::InternalSwap(GetAdditionalDatanodeResponseProto* other) {
10841 using std::swap;
10842 swap(block_, other->block_);
10843 swap(_has_bits_[0], other->_has_bits_[0]);
10844 _internal_metadata_.Swap(&other->_internal_metadata_);
10845}
10846
10847::google::protobuf::Metadata GetAdditionalDatanodeResponseProto::GetMetadata() const {
10848 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
10849 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
10850}
10851
10852
10853// ===================================================================
10854
10855void CompleteRequestProto::InitAsDefaultInstance() {
10856 ::Hdfs::Internal::_CompleteRequestProto_default_instance_._instance.get_mutable()->last_ = const_cast< ::Hdfs::Internal::ExtendedBlockProto*>(
10857 ::Hdfs::Internal::ExtendedBlockProto::internal_default_instance());
10858}
10859void CompleteRequestProto::clear_last() {
10860 if (last_ != NULL) last_->Clear();
10861 clear_has_last();
10862}
10863#if !defined(_MSC_VER) || _MSC_VER >= 1900
10864const int CompleteRequestProto::kSrcFieldNumber;
10865const int CompleteRequestProto::kClientNameFieldNumber;
10866const int CompleteRequestProto::kLastFieldNumber;
10867const int CompleteRequestProto::kFileIdFieldNumber;
10868#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
10869
10870CompleteRequestProto::CompleteRequestProto()
10871 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
10872 ::google::protobuf::internal::InitSCC(
10873 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CompleteRequestProto.base);
10874 SharedCtor();
10875 // @@protoc_insertion_point(constructor:Hdfs.Internal.CompleteRequestProto)
10876}
10877CompleteRequestProto::CompleteRequestProto(const CompleteRequestProto& from)
10878 : ::google::protobuf::Message(),
10879 _internal_metadata_(NULL),
10880 _has_bits_(from._has_bits_) {
10881 _internal_metadata_.MergeFrom(from._internal_metadata_);
10882 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10883 if (from.has_src()) {
10884 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
10885 }
10886 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10887 if (from.has_clientname()) {
10888 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
10889 }
10890 if (from.has_last()) {
10891 last_ = new ::Hdfs::Internal::ExtendedBlockProto(*from.last_);
10892 } else {
10893 last_ = NULL;
10894 }
10895 fileid_ = from.fileid_;
10896 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CompleteRequestProto)
10897}
10898
10899void CompleteRequestProto::SharedCtor() {
10900 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10901 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10902 ::memset(&last_, 0, static_cast<size_t>(
10903 reinterpret_cast<char*>(&fileid_) -
10904 reinterpret_cast<char*>(&last_)) + sizeof(fileid_));
10905}
10906
10907CompleteRequestProto::~CompleteRequestProto() {
10908 // @@protoc_insertion_point(destructor:Hdfs.Internal.CompleteRequestProto)
10909 SharedDtor();
10910}
10911
10912void CompleteRequestProto::SharedDtor() {
10913 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10914 clientname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10915 if (this != internal_default_instance()) delete last_;
10916}
10917
10918void CompleteRequestProto::SetCachedSize(int size) const {
10919 _cached_size_.Set(size);
10920}
10921const ::google::protobuf::Descriptor* CompleteRequestProto::descriptor() {
10922 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
10923 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
10924}
10925
10926const CompleteRequestProto& CompleteRequestProto::default_instance() {
10927 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CompleteRequestProto.base);
10928 return *internal_default_instance();
10929}
10930
10931
10932void CompleteRequestProto::Clear() {
10933// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CompleteRequestProto)
10934 ::google::protobuf::uint32 cached_has_bits = 0;
10935 // Prevent compiler warnings about cached_has_bits being unused
10936 (void) cached_has_bits;
10937
10938 cached_has_bits = _has_bits_[0];
10939 if (cached_has_bits & 7u) {
10940 if (cached_has_bits & 0x00000001u) {
10941 src_.ClearNonDefaultToEmptyNoArena();
10942 }
10943 if (cached_has_bits & 0x00000002u) {
10944 clientname_.ClearNonDefaultToEmptyNoArena();
10945 }
10946 if (cached_has_bits & 0x00000004u) {
10947 GOOGLE_DCHECK(last_ != NULL);
10948 last_->Clear();
10949 }
10950 }
10951 fileid_ = GOOGLE_ULONGLONG(0);
10952 _has_bits_.Clear();
10953 _internal_metadata_.Clear();
10954}
10955
10956bool CompleteRequestProto::MergePartialFromCodedStream(
10957 ::google::protobuf::io::CodedInputStream* input) {
10958#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
10959 ::google::protobuf::uint32 tag;
10960 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CompleteRequestProto)
10961 for (;;) {
10962 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
10963 tag = p.first;
10964 if (!p.second) goto handle_unusual;
10965 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10966 // required string src = 1;
10967 case 1: {
10968 if (static_cast< ::google::protobuf::uint8>(tag) ==
10969 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
10970 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
10971 input, this->mutable_src()));
10972 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10973 this->src().data(), static_cast<int>(this->src().length()),
10974 ::google::protobuf::internal::WireFormat::PARSE,
10975 "Hdfs.Internal.CompleteRequestProto.src");
10976 } else {
10977 goto handle_unusual;
10978 }
10979 break;
10980 }
10981
10982 // required string clientName = 2;
10983 case 2: {
10984 if (static_cast< ::google::protobuf::uint8>(tag) ==
10985 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
10986 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
10987 input, this->mutable_clientname()));
10988 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
10989 this->clientname().data(), static_cast<int>(this->clientname().length()),
10990 ::google::protobuf::internal::WireFormat::PARSE,
10991 "Hdfs.Internal.CompleteRequestProto.clientName");
10992 } else {
10993 goto handle_unusual;
10994 }
10995 break;
10996 }
10997
10998 // optional .Hdfs.Internal.ExtendedBlockProto last = 3;
10999 case 3: {
11000 if (static_cast< ::google::protobuf::uint8>(tag) ==
11001 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
11002 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
11003 input, mutable_last()));
11004 } else {
11005 goto handle_unusual;
11006 }
11007 break;
11008 }
11009
11010 // optional uint64 fileId = 4 [default = 0];
11011 case 4: {
11012 if (static_cast< ::google::protobuf::uint8>(tag) ==
11013 static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
11014 set_has_fileid();
11015 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11016 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
11017 input, &fileid_)));
11018 } else {
11019 goto handle_unusual;
11020 }
11021 break;
11022 }
11023
11024 default: {
11025 handle_unusual:
11026 if (tag == 0) {
11027 goto success;
11028 }
11029 DO_(::google::protobuf::internal::WireFormat::SkipField(
11030 input, tag, _internal_metadata_.mutable_unknown_fields()));
11031 break;
11032 }
11033 }
11034 }
11035success:
11036 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CompleteRequestProto)
11037 return true;
11038failure:
11039 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CompleteRequestProto)
11040 return false;
11041#undef DO_
11042}
11043
11044void CompleteRequestProto::SerializeWithCachedSizes(
11045 ::google::protobuf::io::CodedOutputStream* output) const {
11046 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CompleteRequestProto)
11047 ::google::protobuf::uint32 cached_has_bits = 0;
11048 (void) cached_has_bits;
11049
11050 cached_has_bits = _has_bits_[0];
11051 // required string src = 1;
11052 if (cached_has_bits & 0x00000001u) {
11053 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11054 this->src().data(), static_cast<int>(this->src().length()),
11055 ::google::protobuf::internal::WireFormat::SERIALIZE,
11056 "Hdfs.Internal.CompleteRequestProto.src");
11057 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
11058 1, this->src(), output);
11059 }
11060
11061 // required string clientName = 2;
11062 if (cached_has_bits & 0x00000002u) {
11063 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11064 this->clientname().data(), static_cast<int>(this->clientname().length()),
11065 ::google::protobuf::internal::WireFormat::SERIALIZE,
11066 "Hdfs.Internal.CompleteRequestProto.clientName");
11067 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
11068 2, this->clientname(), output);
11069 }
11070
11071 // optional .Hdfs.Internal.ExtendedBlockProto last = 3;
11072 if (cached_has_bits & 0x00000004u) {
11073 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
11074 3, this->_internal_last(), output);
11075 }
11076
11077 // optional uint64 fileId = 4 [default = 0];
11078 if (cached_has_bits & 0x00000008u) {
11079 ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->fileid(), output);
11080 }
11081
11082 if (_internal_metadata_.have_unknown_fields()) {
11083 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11084 _internal_metadata_.unknown_fields(), output);
11085 }
11086 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CompleteRequestProto)
11087}
11088
11089::google::protobuf::uint8* CompleteRequestProto::InternalSerializeWithCachedSizesToArray(
11090 bool deterministic, ::google::protobuf::uint8* target) const {
11091 (void)deterministic; // Unused
11092 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CompleteRequestProto)
11093 ::google::protobuf::uint32 cached_has_bits = 0;
11094 (void) cached_has_bits;
11095
11096 cached_has_bits = _has_bits_[0];
11097 // required string src = 1;
11098 if (cached_has_bits & 0x00000001u) {
11099 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11100 this->src().data(), static_cast<int>(this->src().length()),
11101 ::google::protobuf::internal::WireFormat::SERIALIZE,
11102 "Hdfs.Internal.CompleteRequestProto.src");
11103 target =
11104 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
11105 1, this->src(), target);
11106 }
11107
11108 // required string clientName = 2;
11109 if (cached_has_bits & 0x00000002u) {
11110 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
11111 this->clientname().data(), static_cast<int>(this->clientname().length()),
11112 ::google::protobuf::internal::WireFormat::SERIALIZE,
11113 "Hdfs.Internal.CompleteRequestProto.clientName");
11114 target =
11115 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
11116 2, this->clientname(), target);
11117 }
11118
11119 // optional .Hdfs.Internal.ExtendedBlockProto last = 3;
11120 if (cached_has_bits & 0x00000004u) {
11121 target = ::google::protobuf::internal::WireFormatLite::
11122 InternalWriteMessageToArray(
11123 3, this->_internal_last(), deterministic, target);
11124 }
11125
11126 // optional uint64 fileId = 4 [default = 0];
11127 if (cached_has_bits & 0x00000008u) {
11128 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->fileid(), target);
11129 }
11130
11131 if (_internal_metadata_.have_unknown_fields()) {
11132 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11133 _internal_metadata_.unknown_fields(), target);
11134 }
11135 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CompleteRequestProto)
11136 return target;
11137}
11138
11139size_t CompleteRequestProto::RequiredFieldsByteSizeFallback() const {
11140// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.CompleteRequestProto)
11141 size_t total_size = 0;
11142
11143 if (has_src()) {
11144 // required string src = 1;
11145 total_size += 1 +
11146 ::google::protobuf::internal::WireFormatLite::StringSize(
11147 this->src());
11148 }
11149
11150 if (has_clientname()) {
11151 // required string clientName = 2;
11152 total_size += 1 +
11153 ::google::protobuf::internal::WireFormatLite::StringSize(
11154 this->clientname());
11155 }
11156
11157 return total_size;
11158}
11159size_t CompleteRequestProto::ByteSizeLong() const {
11160// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CompleteRequestProto)
11161 size_t total_size = 0;
11162
11163 if (_internal_metadata_.have_unknown_fields()) {
11164 total_size +=
11165 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11166 _internal_metadata_.unknown_fields());
11167 }
11168 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
11169 // required string src = 1;
11170 total_size += 1 +
11171 ::google::protobuf::internal::WireFormatLite::StringSize(
11172 this->src());
11173
11174 // required string clientName = 2;
11175 total_size += 1 +
11176 ::google::protobuf::internal::WireFormatLite::StringSize(
11177 this->clientname());
11178
11179 } else {
11180 total_size += RequiredFieldsByteSizeFallback();
11181 }
11182 if (_has_bits_[0 / 32] & 12u) {
11183 // optional .Hdfs.Internal.ExtendedBlockProto last = 3;
11184 if (has_last()) {
11185 total_size += 1 +
11186 ::google::protobuf::internal::WireFormatLite::MessageSize(
11187 *last_);
11188 }
11189
11190 // optional uint64 fileId = 4 [default = 0];
11191 if (has_fileid()) {
11192 total_size += 1 +
11193 ::google::protobuf::internal::WireFormatLite::UInt64Size(
11194 this->fileid());
11195 }
11196
11197 }
11198 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11199 SetCachedSize(cached_size);
11200 return total_size;
11201}
11202
11203void CompleteRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
11204// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CompleteRequestProto)
11205 GOOGLE_DCHECK_NE(&from, this);
11206 const CompleteRequestProto* source =
11207 ::google::protobuf::internal::DynamicCastToGenerated<const CompleteRequestProto>(
11208 &from);
11209 if (source == NULL) {
11210 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CompleteRequestProto)
11211 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11212 } else {
11213 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CompleteRequestProto)
11214 MergeFrom(*source);
11215 }
11216}
11217
11218void CompleteRequestProto::MergeFrom(const CompleteRequestProto& from) {
11219// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CompleteRequestProto)
11220 GOOGLE_DCHECK_NE(&from, this);
11221 _internal_metadata_.MergeFrom(from._internal_metadata_);
11222 ::google::protobuf::uint32 cached_has_bits = 0;
11223 (void) cached_has_bits;
11224
11225 cached_has_bits = from._has_bits_[0];
11226 if (cached_has_bits & 15u) {
11227 if (cached_has_bits & 0x00000001u) {
11228 set_has_src();
11229 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
11230 }
11231 if (cached_has_bits & 0x00000002u) {
11232 set_has_clientname();
11233 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
11234 }
11235 if (cached_has_bits & 0x00000004u) {
11236 mutable_last()->::Hdfs::Internal::ExtendedBlockProto::MergeFrom(from.last());
11237 }
11238 if (cached_has_bits & 0x00000008u) {
11239 fileid_ = from.fileid_;
11240 }
11241 _has_bits_[0] |= cached_has_bits;
11242 }
11243}
11244
11245void CompleteRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
11246// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CompleteRequestProto)
11247 if (&from == this) return;
11248 Clear();
11249 MergeFrom(from);
11250}
11251
11252void CompleteRequestProto::CopyFrom(const CompleteRequestProto& from) {
11253// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CompleteRequestProto)
11254 if (&from == this) return;
11255 Clear();
11256 MergeFrom(from);
11257}
11258
11259bool CompleteRequestProto::IsInitialized() const {
11260 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
11261 if (has_last()) {
11262 if (!this->last_->IsInitialized()) return false;
11263 }
11264 return true;
11265}
11266
11267void CompleteRequestProto::Swap(CompleteRequestProto* other) {
11268 if (other == this) return;
11269 InternalSwap(other);
11270}
11271void CompleteRequestProto::InternalSwap(CompleteRequestProto* other) {
11272 using std::swap;
11273 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11274 GetArenaNoVirtual());
11275 clientname_.Swap(&other->clientname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11276 GetArenaNoVirtual());
11277 swap(last_, other->last_);
11278 swap(fileid_, other->fileid_);
11279 swap(_has_bits_[0], other->_has_bits_[0]);
11280 _internal_metadata_.Swap(&other->_internal_metadata_);
11281}
11282
11283::google::protobuf::Metadata CompleteRequestProto::GetMetadata() const {
11284 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
11285 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
11286}
11287
11288
11289// ===================================================================
11290
11291void CompleteResponseProto::InitAsDefaultInstance() {
11292}
11293#if !defined(_MSC_VER) || _MSC_VER >= 1900
11294const int CompleteResponseProto::kResultFieldNumber;
11295#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
11296
11297CompleteResponseProto::CompleteResponseProto()
11298 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11299 ::google::protobuf::internal::InitSCC(
11300 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CompleteResponseProto.base);
11301 SharedCtor();
11302 // @@protoc_insertion_point(constructor:Hdfs.Internal.CompleteResponseProto)
11303}
11304CompleteResponseProto::CompleteResponseProto(const CompleteResponseProto& from)
11305 : ::google::protobuf::Message(),
11306 _internal_metadata_(NULL),
11307 _has_bits_(from._has_bits_) {
11308 _internal_metadata_.MergeFrom(from._internal_metadata_);
11309 result_ = from.result_;
11310 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CompleteResponseProto)
11311}
11312
11313void CompleteResponseProto::SharedCtor() {
11314 result_ = false;
11315}
11316
11317CompleteResponseProto::~CompleteResponseProto() {
11318 // @@protoc_insertion_point(destructor:Hdfs.Internal.CompleteResponseProto)
11319 SharedDtor();
11320}
11321
11322void CompleteResponseProto::SharedDtor() {
11323}
11324
11325void CompleteResponseProto::SetCachedSize(int size) const {
11326 _cached_size_.Set(size);
11327}
11328const ::google::protobuf::Descriptor* CompleteResponseProto::descriptor() {
11329 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
11330 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11331}
11332
11333const CompleteResponseProto& CompleteResponseProto::default_instance() {
11334 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CompleteResponseProto.base);
11335 return *internal_default_instance();
11336}
11337
11338
11339void CompleteResponseProto::Clear() {
11340// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CompleteResponseProto)
11341 ::google::protobuf::uint32 cached_has_bits = 0;
11342 // Prevent compiler warnings about cached_has_bits being unused
11343 (void) cached_has_bits;
11344
11345 result_ = false;
11346 _has_bits_.Clear();
11347 _internal_metadata_.Clear();
11348}
11349
11350bool CompleteResponseProto::MergePartialFromCodedStream(
11351 ::google::protobuf::io::CodedInputStream* input) {
11352#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
11353 ::google::protobuf::uint32 tag;
11354 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CompleteResponseProto)
11355 for (;;) {
11356 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
11357 tag = p.first;
11358 if (!p.second) goto handle_unusual;
11359 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11360 // required bool result = 1;
11361 case 1: {
11362 if (static_cast< ::google::protobuf::uint8>(tag) ==
11363 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
11364 set_has_result();
11365 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11366 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
11367 input, &result_)));
11368 } else {
11369 goto handle_unusual;
11370 }
11371 break;
11372 }
11373
11374 default: {
11375 handle_unusual:
11376 if (tag == 0) {
11377 goto success;
11378 }
11379 DO_(::google::protobuf::internal::WireFormat::SkipField(
11380 input, tag, _internal_metadata_.mutable_unknown_fields()));
11381 break;
11382 }
11383 }
11384 }
11385success:
11386 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CompleteResponseProto)
11387 return true;
11388failure:
11389 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CompleteResponseProto)
11390 return false;
11391#undef DO_
11392}
11393
11394void CompleteResponseProto::SerializeWithCachedSizes(
11395 ::google::protobuf::io::CodedOutputStream* output) const {
11396 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CompleteResponseProto)
11397 ::google::protobuf::uint32 cached_has_bits = 0;
11398 (void) cached_has_bits;
11399
11400 cached_has_bits = _has_bits_[0];
11401 // required bool result = 1;
11402 if (cached_has_bits & 0x00000001u) {
11403 ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->result(), output);
11404 }
11405
11406 if (_internal_metadata_.have_unknown_fields()) {
11407 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11408 _internal_metadata_.unknown_fields(), output);
11409 }
11410 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CompleteResponseProto)
11411}
11412
11413::google::protobuf::uint8* CompleteResponseProto::InternalSerializeWithCachedSizesToArray(
11414 bool deterministic, ::google::protobuf::uint8* target) const {
11415 (void)deterministic; // Unused
11416 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CompleteResponseProto)
11417 ::google::protobuf::uint32 cached_has_bits = 0;
11418 (void) cached_has_bits;
11419
11420 cached_has_bits = _has_bits_[0];
11421 // required bool result = 1;
11422 if (cached_has_bits & 0x00000001u) {
11423 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->result(), target);
11424 }
11425
11426 if (_internal_metadata_.have_unknown_fields()) {
11427 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11428 _internal_metadata_.unknown_fields(), target);
11429 }
11430 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CompleteResponseProto)
11431 return target;
11432}
11433
11434size_t CompleteResponseProto::ByteSizeLong() const {
11435// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CompleteResponseProto)
11436 size_t total_size = 0;
11437
11438 if (_internal_metadata_.have_unknown_fields()) {
11439 total_size +=
11440 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11441 _internal_metadata_.unknown_fields());
11442 }
11443 // required bool result = 1;
11444 if (has_result()) {
11445 total_size += 1 + 1;
11446 }
11447 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11448 SetCachedSize(cached_size);
11449 return total_size;
11450}
11451
11452void CompleteResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
11453// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CompleteResponseProto)
11454 GOOGLE_DCHECK_NE(&from, this);
11455 const CompleteResponseProto* source =
11456 ::google::protobuf::internal::DynamicCastToGenerated<const CompleteResponseProto>(
11457 &from);
11458 if (source == NULL) {
11459 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CompleteResponseProto)
11460 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11461 } else {
11462 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CompleteResponseProto)
11463 MergeFrom(*source);
11464 }
11465}
11466
11467void CompleteResponseProto::MergeFrom(const CompleteResponseProto& from) {
11468// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CompleteResponseProto)
11469 GOOGLE_DCHECK_NE(&from, this);
11470 _internal_metadata_.MergeFrom(from._internal_metadata_);
11471 ::google::protobuf::uint32 cached_has_bits = 0;
11472 (void) cached_has_bits;
11473
11474 if (from.has_result()) {
11475 set_result(from.result());
11476 }
11477}
11478
11479void CompleteResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
11480// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CompleteResponseProto)
11481 if (&from == this) return;
11482 Clear();
11483 MergeFrom(from);
11484}
11485
11486void CompleteResponseProto::CopyFrom(const CompleteResponseProto& from) {
11487// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CompleteResponseProto)
11488 if (&from == this) return;
11489 Clear();
11490 MergeFrom(from);
11491}
11492
11493bool CompleteResponseProto::IsInitialized() const {
11494 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
11495 return true;
11496}
11497
11498void CompleteResponseProto::Swap(CompleteResponseProto* other) {
11499 if (other == this) return;
11500 InternalSwap(other);
11501}
11502void CompleteResponseProto::InternalSwap(CompleteResponseProto* other) {
11503 using std::swap;
11504 swap(result_, other->result_);
11505 swap(_has_bits_[0], other->_has_bits_[0]);
11506 _internal_metadata_.Swap(&other->_internal_metadata_);
11507}
11508
11509::google::protobuf::Metadata CompleteResponseProto::GetMetadata() const {
11510 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
11511 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
11512}
11513
11514
11515// ===================================================================
11516
11517void ReportBadBlocksRequestProto::InitAsDefaultInstance() {
11518}
11519void ReportBadBlocksRequestProto::clear_blocks() {
11520 blocks_.Clear();
11521}
11522#if !defined(_MSC_VER) || _MSC_VER >= 1900
11523const int ReportBadBlocksRequestProto::kBlocksFieldNumber;
11524#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
11525
11526ReportBadBlocksRequestProto::ReportBadBlocksRequestProto()
11527 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11528 ::google::protobuf::internal::InitSCC(
11529 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ReportBadBlocksRequestProto.base);
11530 SharedCtor();
11531 // @@protoc_insertion_point(constructor:Hdfs.Internal.ReportBadBlocksRequestProto)
11532}
11533ReportBadBlocksRequestProto::ReportBadBlocksRequestProto(const ReportBadBlocksRequestProto& from)
11534 : ::google::protobuf::Message(),
11535 _internal_metadata_(NULL),
11536 _has_bits_(from._has_bits_),
11537 blocks_(from.blocks_) {
11538 _internal_metadata_.MergeFrom(from._internal_metadata_);
11539 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ReportBadBlocksRequestProto)
11540}
11541
11542void ReportBadBlocksRequestProto::SharedCtor() {
11543}
11544
11545ReportBadBlocksRequestProto::~ReportBadBlocksRequestProto() {
11546 // @@protoc_insertion_point(destructor:Hdfs.Internal.ReportBadBlocksRequestProto)
11547 SharedDtor();
11548}
11549
11550void ReportBadBlocksRequestProto::SharedDtor() {
11551}
11552
11553void ReportBadBlocksRequestProto::SetCachedSize(int size) const {
11554 _cached_size_.Set(size);
11555}
11556const ::google::protobuf::Descriptor* ReportBadBlocksRequestProto::descriptor() {
11557 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
11558 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11559}
11560
11561const ReportBadBlocksRequestProto& ReportBadBlocksRequestProto::default_instance() {
11562 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ReportBadBlocksRequestProto.base);
11563 return *internal_default_instance();
11564}
11565
11566
11567void ReportBadBlocksRequestProto::Clear() {
11568// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ReportBadBlocksRequestProto)
11569 ::google::protobuf::uint32 cached_has_bits = 0;
11570 // Prevent compiler warnings about cached_has_bits being unused
11571 (void) cached_has_bits;
11572
11573 blocks_.Clear();
11574 _has_bits_.Clear();
11575 _internal_metadata_.Clear();
11576}
11577
11578bool ReportBadBlocksRequestProto::MergePartialFromCodedStream(
11579 ::google::protobuf::io::CodedInputStream* input) {
11580#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
11581 ::google::protobuf::uint32 tag;
11582 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ReportBadBlocksRequestProto)
11583 for (;;) {
11584 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
11585 tag = p.first;
11586 if (!p.second) goto handle_unusual;
11587 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11588 // repeated .Hdfs.Internal.LocatedBlockProto blocks = 1;
11589 case 1: {
11590 if (static_cast< ::google::protobuf::uint8>(tag) ==
11591 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
11592 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
11593 input, add_blocks()));
11594 } else {
11595 goto handle_unusual;
11596 }
11597 break;
11598 }
11599
11600 default: {
11601 handle_unusual:
11602 if (tag == 0) {
11603 goto success;
11604 }
11605 DO_(::google::protobuf::internal::WireFormat::SkipField(
11606 input, tag, _internal_metadata_.mutable_unknown_fields()));
11607 break;
11608 }
11609 }
11610 }
11611success:
11612 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ReportBadBlocksRequestProto)
11613 return true;
11614failure:
11615 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ReportBadBlocksRequestProto)
11616 return false;
11617#undef DO_
11618}
11619
11620void ReportBadBlocksRequestProto::SerializeWithCachedSizes(
11621 ::google::protobuf::io::CodedOutputStream* output) const {
11622 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ReportBadBlocksRequestProto)
11623 ::google::protobuf::uint32 cached_has_bits = 0;
11624 (void) cached_has_bits;
11625
11626 // repeated .Hdfs.Internal.LocatedBlockProto blocks = 1;
11627 for (unsigned int i = 0,
11628 n = static_cast<unsigned int>(this->blocks_size()); i < n; i++) {
11629 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
11630 1,
11631 this->blocks(static_cast<int>(i)),
11632 output);
11633 }
11634
11635 if (_internal_metadata_.have_unknown_fields()) {
11636 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11637 _internal_metadata_.unknown_fields(), output);
11638 }
11639 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ReportBadBlocksRequestProto)
11640}
11641
11642::google::protobuf::uint8* ReportBadBlocksRequestProto::InternalSerializeWithCachedSizesToArray(
11643 bool deterministic, ::google::protobuf::uint8* target) const {
11644 (void)deterministic; // Unused
11645 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ReportBadBlocksRequestProto)
11646 ::google::protobuf::uint32 cached_has_bits = 0;
11647 (void) cached_has_bits;
11648
11649 // repeated .Hdfs.Internal.LocatedBlockProto blocks = 1;
11650 for (unsigned int i = 0,
11651 n = static_cast<unsigned int>(this->blocks_size()); i < n; i++) {
11652 target = ::google::protobuf::internal::WireFormatLite::
11653 InternalWriteMessageToArray(
11654 1, this->blocks(static_cast<int>(i)), deterministic, target);
11655 }
11656
11657 if (_internal_metadata_.have_unknown_fields()) {
11658 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11659 _internal_metadata_.unknown_fields(), target);
11660 }
11661 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ReportBadBlocksRequestProto)
11662 return target;
11663}
11664
11665size_t ReportBadBlocksRequestProto::ByteSizeLong() const {
11666// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ReportBadBlocksRequestProto)
11667 size_t total_size = 0;
11668
11669 if (_internal_metadata_.have_unknown_fields()) {
11670 total_size +=
11671 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11672 _internal_metadata_.unknown_fields());
11673 }
11674 // repeated .Hdfs.Internal.LocatedBlockProto blocks = 1;
11675 {
11676 unsigned int count = static_cast<unsigned int>(this->blocks_size());
11677 total_size += 1UL * count;
11678 for (unsigned int i = 0; i < count; i++) {
11679 total_size +=
11680 ::google::protobuf::internal::WireFormatLite::MessageSize(
11681 this->blocks(static_cast<int>(i)));
11682 }
11683 }
11684
11685 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11686 SetCachedSize(cached_size);
11687 return total_size;
11688}
11689
11690void ReportBadBlocksRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
11691// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ReportBadBlocksRequestProto)
11692 GOOGLE_DCHECK_NE(&from, this);
11693 const ReportBadBlocksRequestProto* source =
11694 ::google::protobuf::internal::DynamicCastToGenerated<const ReportBadBlocksRequestProto>(
11695 &from);
11696 if (source == NULL) {
11697 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ReportBadBlocksRequestProto)
11698 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11699 } else {
11700 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ReportBadBlocksRequestProto)
11701 MergeFrom(*source);
11702 }
11703}
11704
11705void ReportBadBlocksRequestProto::MergeFrom(const ReportBadBlocksRequestProto& from) {
11706// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ReportBadBlocksRequestProto)
11707 GOOGLE_DCHECK_NE(&from, this);
11708 _internal_metadata_.MergeFrom(from._internal_metadata_);
11709 ::google::protobuf::uint32 cached_has_bits = 0;
11710 (void) cached_has_bits;
11711
11712 blocks_.MergeFrom(from.blocks_);
11713}
11714
11715void ReportBadBlocksRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
11716// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ReportBadBlocksRequestProto)
11717 if (&from == this) return;
11718 Clear();
11719 MergeFrom(from);
11720}
11721
11722void ReportBadBlocksRequestProto::CopyFrom(const ReportBadBlocksRequestProto& from) {
11723// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ReportBadBlocksRequestProto)
11724 if (&from == this) return;
11725 Clear();
11726 MergeFrom(from);
11727}
11728
11729bool ReportBadBlocksRequestProto::IsInitialized() const {
11730 if (!::google::protobuf::internal::AllAreInitialized(this->blocks())) return false;
11731 return true;
11732}
11733
11734void ReportBadBlocksRequestProto::Swap(ReportBadBlocksRequestProto* other) {
11735 if (other == this) return;
11736 InternalSwap(other);
11737}
11738void ReportBadBlocksRequestProto::InternalSwap(ReportBadBlocksRequestProto* other) {
11739 using std::swap;
11740 CastToBase(&blocks_)->InternalSwap(CastToBase(&other->blocks_));
11741 swap(_has_bits_[0], other->_has_bits_[0]);
11742 _internal_metadata_.Swap(&other->_internal_metadata_);
11743}
11744
11745::google::protobuf::Metadata ReportBadBlocksRequestProto::GetMetadata() const {
11746 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
11747 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
11748}
11749
11750
11751// ===================================================================
11752
11753void ReportBadBlocksResponseProto::InitAsDefaultInstance() {
11754}
11755#if !defined(_MSC_VER) || _MSC_VER >= 1900
11756#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
11757
11758ReportBadBlocksResponseProto::ReportBadBlocksResponseProto()
11759 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11760 ::google::protobuf::internal::InitSCC(
11761 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ReportBadBlocksResponseProto.base);
11762 SharedCtor();
11763 // @@protoc_insertion_point(constructor:Hdfs.Internal.ReportBadBlocksResponseProto)
11764}
11765ReportBadBlocksResponseProto::ReportBadBlocksResponseProto(const ReportBadBlocksResponseProto& from)
11766 : ::google::protobuf::Message(),
11767 _internal_metadata_(NULL),
11768 _has_bits_(from._has_bits_) {
11769 _internal_metadata_.MergeFrom(from._internal_metadata_);
11770 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ReportBadBlocksResponseProto)
11771}
11772
11773void ReportBadBlocksResponseProto::SharedCtor() {
11774}
11775
11776ReportBadBlocksResponseProto::~ReportBadBlocksResponseProto() {
11777 // @@protoc_insertion_point(destructor:Hdfs.Internal.ReportBadBlocksResponseProto)
11778 SharedDtor();
11779}
11780
11781void ReportBadBlocksResponseProto::SharedDtor() {
11782}
11783
11784void ReportBadBlocksResponseProto::SetCachedSize(int size) const {
11785 _cached_size_.Set(size);
11786}
11787const ::google::protobuf::Descriptor* ReportBadBlocksResponseProto::descriptor() {
11788 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
11789 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11790}
11791
11792const ReportBadBlocksResponseProto& ReportBadBlocksResponseProto::default_instance() {
11793 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ReportBadBlocksResponseProto.base);
11794 return *internal_default_instance();
11795}
11796
11797
11798void ReportBadBlocksResponseProto::Clear() {
11799// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ReportBadBlocksResponseProto)
11800 ::google::protobuf::uint32 cached_has_bits = 0;
11801 // Prevent compiler warnings about cached_has_bits being unused
11802 (void) cached_has_bits;
11803
11804 _has_bits_.Clear();
11805 _internal_metadata_.Clear();
11806}
11807
11808bool ReportBadBlocksResponseProto::MergePartialFromCodedStream(
11809 ::google::protobuf::io::CodedInputStream* input) {
11810#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
11811 ::google::protobuf::uint32 tag;
11812 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ReportBadBlocksResponseProto)
11813 for (;;) {
11814 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
11815 tag = p.first;
11816 if (!p.second) goto handle_unusual;
11817 handle_unusual:
11818 if (tag == 0) {
11819 goto success;
11820 }
11821 DO_(::google::protobuf::internal::WireFormat::SkipField(
11822 input, tag, _internal_metadata_.mutable_unknown_fields()));
11823 }
11824success:
11825 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ReportBadBlocksResponseProto)
11826 return true;
11827failure:
11828 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ReportBadBlocksResponseProto)
11829 return false;
11830#undef DO_
11831}
11832
11833void ReportBadBlocksResponseProto::SerializeWithCachedSizes(
11834 ::google::protobuf::io::CodedOutputStream* output) const {
11835 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ReportBadBlocksResponseProto)
11836 ::google::protobuf::uint32 cached_has_bits = 0;
11837 (void) cached_has_bits;
11838
11839 if (_internal_metadata_.have_unknown_fields()) {
11840 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
11841 _internal_metadata_.unknown_fields(), output);
11842 }
11843 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ReportBadBlocksResponseProto)
11844}
11845
11846::google::protobuf::uint8* ReportBadBlocksResponseProto::InternalSerializeWithCachedSizesToArray(
11847 bool deterministic, ::google::protobuf::uint8* target) const {
11848 (void)deterministic; // Unused
11849 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ReportBadBlocksResponseProto)
11850 ::google::protobuf::uint32 cached_has_bits = 0;
11851 (void) cached_has_bits;
11852
11853 if (_internal_metadata_.have_unknown_fields()) {
11854 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
11855 _internal_metadata_.unknown_fields(), target);
11856 }
11857 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ReportBadBlocksResponseProto)
11858 return target;
11859}
11860
11861size_t ReportBadBlocksResponseProto::ByteSizeLong() const {
11862// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ReportBadBlocksResponseProto)
11863 size_t total_size = 0;
11864
11865 if (_internal_metadata_.have_unknown_fields()) {
11866 total_size +=
11867 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
11868 _internal_metadata_.unknown_fields());
11869 }
11870 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
11871 SetCachedSize(cached_size);
11872 return total_size;
11873}
11874
11875void ReportBadBlocksResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
11876// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ReportBadBlocksResponseProto)
11877 GOOGLE_DCHECK_NE(&from, this);
11878 const ReportBadBlocksResponseProto* source =
11879 ::google::protobuf::internal::DynamicCastToGenerated<const ReportBadBlocksResponseProto>(
11880 &from);
11881 if (source == NULL) {
11882 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ReportBadBlocksResponseProto)
11883 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
11884 } else {
11885 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ReportBadBlocksResponseProto)
11886 MergeFrom(*source);
11887 }
11888}
11889
11890void ReportBadBlocksResponseProto::MergeFrom(const ReportBadBlocksResponseProto& from) {
11891// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ReportBadBlocksResponseProto)
11892 GOOGLE_DCHECK_NE(&from, this);
11893 _internal_metadata_.MergeFrom(from._internal_metadata_);
11894 ::google::protobuf::uint32 cached_has_bits = 0;
11895 (void) cached_has_bits;
11896
11897}
11898
11899void ReportBadBlocksResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
11900// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ReportBadBlocksResponseProto)
11901 if (&from == this) return;
11902 Clear();
11903 MergeFrom(from);
11904}
11905
11906void ReportBadBlocksResponseProto::CopyFrom(const ReportBadBlocksResponseProto& from) {
11907// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ReportBadBlocksResponseProto)
11908 if (&from == this) return;
11909 Clear();
11910 MergeFrom(from);
11911}
11912
11913bool ReportBadBlocksResponseProto::IsInitialized() const {
11914 return true;
11915}
11916
11917void ReportBadBlocksResponseProto::Swap(ReportBadBlocksResponseProto* other) {
11918 if (other == this) return;
11919 InternalSwap(other);
11920}
11921void ReportBadBlocksResponseProto::InternalSwap(ReportBadBlocksResponseProto* other) {
11922 using std::swap;
11923 swap(_has_bits_[0], other->_has_bits_[0]);
11924 _internal_metadata_.Swap(&other->_internal_metadata_);
11925}
11926
11927::google::protobuf::Metadata ReportBadBlocksResponseProto::GetMetadata() const {
11928 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
11929 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
11930}
11931
11932
11933// ===================================================================
11934
11935void ConcatRequestProto::InitAsDefaultInstance() {
11936}
11937#if !defined(_MSC_VER) || _MSC_VER >= 1900
11938const int ConcatRequestProto::kTrgFieldNumber;
11939const int ConcatRequestProto::kSrcsFieldNumber;
11940#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
11941
11942ConcatRequestProto::ConcatRequestProto()
11943 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
11944 ::google::protobuf::internal::InitSCC(
11945 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ConcatRequestProto.base);
11946 SharedCtor();
11947 // @@protoc_insertion_point(constructor:Hdfs.Internal.ConcatRequestProto)
11948}
11949ConcatRequestProto::ConcatRequestProto(const ConcatRequestProto& from)
11950 : ::google::protobuf::Message(),
11951 _internal_metadata_(NULL),
11952 _has_bits_(from._has_bits_),
11953 srcs_(from.srcs_) {
11954 _internal_metadata_.MergeFrom(from._internal_metadata_);
11955 trg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11956 if (from.has_trg()) {
11957 trg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.trg_);
11958 }
11959 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ConcatRequestProto)
11960}
11961
11962void ConcatRequestProto::SharedCtor() {
11963 trg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11964}
11965
11966ConcatRequestProto::~ConcatRequestProto() {
11967 // @@protoc_insertion_point(destructor:Hdfs.Internal.ConcatRequestProto)
11968 SharedDtor();
11969}
11970
11971void ConcatRequestProto::SharedDtor() {
11972 trg_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11973}
11974
11975void ConcatRequestProto::SetCachedSize(int size) const {
11976 _cached_size_.Set(size);
11977}
11978const ::google::protobuf::Descriptor* ConcatRequestProto::descriptor() {
11979 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
11980 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
11981}
11982
11983const ConcatRequestProto& ConcatRequestProto::default_instance() {
11984 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ConcatRequestProto.base);
11985 return *internal_default_instance();
11986}
11987
11988
11989void ConcatRequestProto::Clear() {
11990// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ConcatRequestProto)
11991 ::google::protobuf::uint32 cached_has_bits = 0;
11992 // Prevent compiler warnings about cached_has_bits being unused
11993 (void) cached_has_bits;
11994
11995 srcs_.Clear();
11996 cached_has_bits = _has_bits_[0];
11997 if (cached_has_bits & 0x00000001u) {
11998 trg_.ClearNonDefaultToEmptyNoArena();
11999 }
12000 _has_bits_.Clear();
12001 _internal_metadata_.Clear();
12002}
12003
12004bool ConcatRequestProto::MergePartialFromCodedStream(
12005 ::google::protobuf::io::CodedInputStream* input) {
12006#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
12007 ::google::protobuf::uint32 tag;
12008 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ConcatRequestProto)
12009 for (;;) {
12010 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12011 tag = p.first;
12012 if (!p.second) goto handle_unusual;
12013 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12014 // required string trg = 1;
12015 case 1: {
12016 if (static_cast< ::google::protobuf::uint8>(tag) ==
12017 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
12018 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
12019 input, this->mutable_trg()));
12020 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12021 this->trg().data(), static_cast<int>(this->trg().length()),
12022 ::google::protobuf::internal::WireFormat::PARSE,
12023 "Hdfs.Internal.ConcatRequestProto.trg");
12024 } else {
12025 goto handle_unusual;
12026 }
12027 break;
12028 }
12029
12030 // repeated string srcs = 2;
12031 case 2: {
12032 if (static_cast< ::google::protobuf::uint8>(tag) ==
12033 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
12034 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
12035 input, this->add_srcs()));
12036 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12037 this->srcs(this->srcs_size() - 1).data(),
12038 static_cast<int>(this->srcs(this->srcs_size() - 1).length()),
12039 ::google::protobuf::internal::WireFormat::PARSE,
12040 "Hdfs.Internal.ConcatRequestProto.srcs");
12041 } else {
12042 goto handle_unusual;
12043 }
12044 break;
12045 }
12046
12047 default: {
12048 handle_unusual:
12049 if (tag == 0) {
12050 goto success;
12051 }
12052 DO_(::google::protobuf::internal::WireFormat::SkipField(
12053 input, tag, _internal_metadata_.mutable_unknown_fields()));
12054 break;
12055 }
12056 }
12057 }
12058success:
12059 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ConcatRequestProto)
12060 return true;
12061failure:
12062 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ConcatRequestProto)
12063 return false;
12064#undef DO_
12065}
12066
12067void ConcatRequestProto::SerializeWithCachedSizes(
12068 ::google::protobuf::io::CodedOutputStream* output) const {
12069 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ConcatRequestProto)
12070 ::google::protobuf::uint32 cached_has_bits = 0;
12071 (void) cached_has_bits;
12072
12073 cached_has_bits = _has_bits_[0];
12074 // required string trg = 1;
12075 if (cached_has_bits & 0x00000001u) {
12076 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12077 this->trg().data(), static_cast<int>(this->trg().length()),
12078 ::google::protobuf::internal::WireFormat::SERIALIZE,
12079 "Hdfs.Internal.ConcatRequestProto.trg");
12080 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
12081 1, this->trg(), output);
12082 }
12083
12084 // repeated string srcs = 2;
12085 for (int i = 0, n = this->srcs_size(); i < n; i++) {
12086 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12087 this->srcs(i).data(), static_cast<int>(this->srcs(i).length()),
12088 ::google::protobuf::internal::WireFormat::SERIALIZE,
12089 "Hdfs.Internal.ConcatRequestProto.srcs");
12090 ::google::protobuf::internal::WireFormatLite::WriteString(
12091 2, this->srcs(i), output);
12092 }
12093
12094 if (_internal_metadata_.have_unknown_fields()) {
12095 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12096 _internal_metadata_.unknown_fields(), output);
12097 }
12098 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ConcatRequestProto)
12099}
12100
12101::google::protobuf::uint8* ConcatRequestProto::InternalSerializeWithCachedSizesToArray(
12102 bool deterministic, ::google::protobuf::uint8* target) const {
12103 (void)deterministic; // Unused
12104 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ConcatRequestProto)
12105 ::google::protobuf::uint32 cached_has_bits = 0;
12106 (void) cached_has_bits;
12107
12108 cached_has_bits = _has_bits_[0];
12109 // required string trg = 1;
12110 if (cached_has_bits & 0x00000001u) {
12111 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12112 this->trg().data(), static_cast<int>(this->trg().length()),
12113 ::google::protobuf::internal::WireFormat::SERIALIZE,
12114 "Hdfs.Internal.ConcatRequestProto.trg");
12115 target =
12116 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
12117 1, this->trg(), target);
12118 }
12119
12120 // repeated string srcs = 2;
12121 for (int i = 0, n = this->srcs_size(); i < n; i++) {
12122 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12123 this->srcs(i).data(), static_cast<int>(this->srcs(i).length()),
12124 ::google::protobuf::internal::WireFormat::SERIALIZE,
12125 "Hdfs.Internal.ConcatRequestProto.srcs");
12126 target = ::google::protobuf::internal::WireFormatLite::
12127 WriteStringToArray(2, this->srcs(i), target);
12128 }
12129
12130 if (_internal_metadata_.have_unknown_fields()) {
12131 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12132 _internal_metadata_.unknown_fields(), target);
12133 }
12134 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ConcatRequestProto)
12135 return target;
12136}
12137
12138size_t ConcatRequestProto::ByteSizeLong() const {
12139// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ConcatRequestProto)
12140 size_t total_size = 0;
12141
12142 if (_internal_metadata_.have_unknown_fields()) {
12143 total_size +=
12144 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12145 _internal_metadata_.unknown_fields());
12146 }
12147 // required string trg = 1;
12148 if (has_trg()) {
12149 total_size += 1 +
12150 ::google::protobuf::internal::WireFormatLite::StringSize(
12151 this->trg());
12152 }
12153 // repeated string srcs = 2;
12154 total_size += 1 *
12155 ::google::protobuf::internal::FromIntSize(this->srcs_size());
12156 for (int i = 0, n = this->srcs_size(); i < n; i++) {
12157 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
12158 this->srcs(i));
12159 }
12160
12161 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12162 SetCachedSize(cached_size);
12163 return total_size;
12164}
12165
12166void ConcatRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
12167// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ConcatRequestProto)
12168 GOOGLE_DCHECK_NE(&from, this);
12169 const ConcatRequestProto* source =
12170 ::google::protobuf::internal::DynamicCastToGenerated<const ConcatRequestProto>(
12171 &from);
12172 if (source == NULL) {
12173 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ConcatRequestProto)
12174 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12175 } else {
12176 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ConcatRequestProto)
12177 MergeFrom(*source);
12178 }
12179}
12180
12181void ConcatRequestProto::MergeFrom(const ConcatRequestProto& from) {
12182// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ConcatRequestProto)
12183 GOOGLE_DCHECK_NE(&from, this);
12184 _internal_metadata_.MergeFrom(from._internal_metadata_);
12185 ::google::protobuf::uint32 cached_has_bits = 0;
12186 (void) cached_has_bits;
12187
12188 srcs_.MergeFrom(from.srcs_);
12189 if (from.has_trg()) {
12190 set_has_trg();
12191 trg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.trg_);
12192 }
12193}
12194
12195void ConcatRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
12196// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ConcatRequestProto)
12197 if (&from == this) return;
12198 Clear();
12199 MergeFrom(from);
12200}
12201
12202void ConcatRequestProto::CopyFrom(const ConcatRequestProto& from) {
12203// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ConcatRequestProto)
12204 if (&from == this) return;
12205 Clear();
12206 MergeFrom(from);
12207}
12208
12209bool ConcatRequestProto::IsInitialized() const {
12210 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
12211 return true;
12212}
12213
12214void ConcatRequestProto::Swap(ConcatRequestProto* other) {
12215 if (other == this) return;
12216 InternalSwap(other);
12217}
12218void ConcatRequestProto::InternalSwap(ConcatRequestProto* other) {
12219 using std::swap;
12220 srcs_.InternalSwap(CastToBase(&other->srcs_));
12221 trg_.Swap(&other->trg_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
12222 GetArenaNoVirtual());
12223 swap(_has_bits_[0], other->_has_bits_[0]);
12224 _internal_metadata_.Swap(&other->_internal_metadata_);
12225}
12226
12227::google::protobuf::Metadata ConcatRequestProto::GetMetadata() const {
12228 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
12229 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
12230}
12231
12232
12233// ===================================================================
12234
12235void ConcatResponseProto::InitAsDefaultInstance() {
12236}
12237#if !defined(_MSC_VER) || _MSC_VER >= 1900
12238#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
12239
12240ConcatResponseProto::ConcatResponseProto()
12241 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
12242 ::google::protobuf::internal::InitSCC(
12243 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ConcatResponseProto.base);
12244 SharedCtor();
12245 // @@protoc_insertion_point(constructor:Hdfs.Internal.ConcatResponseProto)
12246}
12247ConcatResponseProto::ConcatResponseProto(const ConcatResponseProto& from)
12248 : ::google::protobuf::Message(),
12249 _internal_metadata_(NULL),
12250 _has_bits_(from._has_bits_) {
12251 _internal_metadata_.MergeFrom(from._internal_metadata_);
12252 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ConcatResponseProto)
12253}
12254
12255void ConcatResponseProto::SharedCtor() {
12256}
12257
12258ConcatResponseProto::~ConcatResponseProto() {
12259 // @@protoc_insertion_point(destructor:Hdfs.Internal.ConcatResponseProto)
12260 SharedDtor();
12261}
12262
12263void ConcatResponseProto::SharedDtor() {
12264}
12265
12266void ConcatResponseProto::SetCachedSize(int size) const {
12267 _cached_size_.Set(size);
12268}
12269const ::google::protobuf::Descriptor* ConcatResponseProto::descriptor() {
12270 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
12271 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
12272}
12273
12274const ConcatResponseProto& ConcatResponseProto::default_instance() {
12275 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ConcatResponseProto.base);
12276 return *internal_default_instance();
12277}
12278
12279
12280void ConcatResponseProto::Clear() {
12281// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ConcatResponseProto)
12282 ::google::protobuf::uint32 cached_has_bits = 0;
12283 // Prevent compiler warnings about cached_has_bits being unused
12284 (void) cached_has_bits;
12285
12286 _has_bits_.Clear();
12287 _internal_metadata_.Clear();
12288}
12289
12290bool ConcatResponseProto::MergePartialFromCodedStream(
12291 ::google::protobuf::io::CodedInputStream* input) {
12292#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
12293 ::google::protobuf::uint32 tag;
12294 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ConcatResponseProto)
12295 for (;;) {
12296 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12297 tag = p.first;
12298 if (!p.second) goto handle_unusual;
12299 handle_unusual:
12300 if (tag == 0) {
12301 goto success;
12302 }
12303 DO_(::google::protobuf::internal::WireFormat::SkipField(
12304 input, tag, _internal_metadata_.mutable_unknown_fields()));
12305 }
12306success:
12307 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ConcatResponseProto)
12308 return true;
12309failure:
12310 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ConcatResponseProto)
12311 return false;
12312#undef DO_
12313}
12314
12315void ConcatResponseProto::SerializeWithCachedSizes(
12316 ::google::protobuf::io::CodedOutputStream* output) const {
12317 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ConcatResponseProto)
12318 ::google::protobuf::uint32 cached_has_bits = 0;
12319 (void) cached_has_bits;
12320
12321 if (_internal_metadata_.have_unknown_fields()) {
12322 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12323 _internal_metadata_.unknown_fields(), output);
12324 }
12325 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ConcatResponseProto)
12326}
12327
12328::google::protobuf::uint8* ConcatResponseProto::InternalSerializeWithCachedSizesToArray(
12329 bool deterministic, ::google::protobuf::uint8* target) const {
12330 (void)deterministic; // Unused
12331 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ConcatResponseProto)
12332 ::google::protobuf::uint32 cached_has_bits = 0;
12333 (void) cached_has_bits;
12334
12335 if (_internal_metadata_.have_unknown_fields()) {
12336 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12337 _internal_metadata_.unknown_fields(), target);
12338 }
12339 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ConcatResponseProto)
12340 return target;
12341}
12342
12343size_t ConcatResponseProto::ByteSizeLong() const {
12344// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ConcatResponseProto)
12345 size_t total_size = 0;
12346
12347 if (_internal_metadata_.have_unknown_fields()) {
12348 total_size +=
12349 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12350 _internal_metadata_.unknown_fields());
12351 }
12352 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12353 SetCachedSize(cached_size);
12354 return total_size;
12355}
12356
12357void ConcatResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
12358// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ConcatResponseProto)
12359 GOOGLE_DCHECK_NE(&from, this);
12360 const ConcatResponseProto* source =
12361 ::google::protobuf::internal::DynamicCastToGenerated<const ConcatResponseProto>(
12362 &from);
12363 if (source == NULL) {
12364 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ConcatResponseProto)
12365 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12366 } else {
12367 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ConcatResponseProto)
12368 MergeFrom(*source);
12369 }
12370}
12371
12372void ConcatResponseProto::MergeFrom(const ConcatResponseProto& from) {
12373// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ConcatResponseProto)
12374 GOOGLE_DCHECK_NE(&from, this);
12375 _internal_metadata_.MergeFrom(from._internal_metadata_);
12376 ::google::protobuf::uint32 cached_has_bits = 0;
12377 (void) cached_has_bits;
12378
12379}
12380
12381void ConcatResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
12382// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ConcatResponseProto)
12383 if (&from == this) return;
12384 Clear();
12385 MergeFrom(from);
12386}
12387
12388void ConcatResponseProto::CopyFrom(const ConcatResponseProto& from) {
12389// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ConcatResponseProto)
12390 if (&from == this) return;
12391 Clear();
12392 MergeFrom(from);
12393}
12394
12395bool ConcatResponseProto::IsInitialized() const {
12396 return true;
12397}
12398
12399void ConcatResponseProto::Swap(ConcatResponseProto* other) {
12400 if (other == this) return;
12401 InternalSwap(other);
12402}
12403void ConcatResponseProto::InternalSwap(ConcatResponseProto* other) {
12404 using std::swap;
12405 swap(_has_bits_[0], other->_has_bits_[0]);
12406 _internal_metadata_.Swap(&other->_internal_metadata_);
12407}
12408
12409::google::protobuf::Metadata ConcatResponseProto::GetMetadata() const {
12410 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
12411 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
12412}
12413
12414
12415// ===================================================================
12416
12417void TruncateRequestProto::InitAsDefaultInstance() {
12418}
12419#if !defined(_MSC_VER) || _MSC_VER >= 1900
12420const int TruncateRequestProto::kSrcFieldNumber;
12421const int TruncateRequestProto::kNewLengthFieldNumber;
12422const int TruncateRequestProto::kClientNameFieldNumber;
12423#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
12424
12425TruncateRequestProto::TruncateRequestProto()
12426 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
12427 ::google::protobuf::internal::InitSCC(
12428 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_TruncateRequestProto.base);
12429 SharedCtor();
12430 // @@protoc_insertion_point(constructor:Hdfs.Internal.TruncateRequestProto)
12431}
12432TruncateRequestProto::TruncateRequestProto(const TruncateRequestProto& from)
12433 : ::google::protobuf::Message(),
12434 _internal_metadata_(NULL),
12435 _has_bits_(from._has_bits_) {
12436 _internal_metadata_.MergeFrom(from._internal_metadata_);
12437 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12438 if (from.has_src()) {
12439 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
12440 }
12441 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12442 if (from.has_clientname()) {
12443 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
12444 }
12445 newlength_ = from.newlength_;
12446 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.TruncateRequestProto)
12447}
12448
12449void TruncateRequestProto::SharedCtor() {
12450 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12451 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12452 newlength_ = GOOGLE_ULONGLONG(0);
12453}
12454
12455TruncateRequestProto::~TruncateRequestProto() {
12456 // @@protoc_insertion_point(destructor:Hdfs.Internal.TruncateRequestProto)
12457 SharedDtor();
12458}
12459
12460void TruncateRequestProto::SharedDtor() {
12461 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12462 clientname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12463}
12464
12465void TruncateRequestProto::SetCachedSize(int size) const {
12466 _cached_size_.Set(size);
12467}
12468const ::google::protobuf::Descriptor* TruncateRequestProto::descriptor() {
12469 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
12470 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
12471}
12472
12473const TruncateRequestProto& TruncateRequestProto::default_instance() {
12474 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_TruncateRequestProto.base);
12475 return *internal_default_instance();
12476}
12477
12478
12479void TruncateRequestProto::Clear() {
12480// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.TruncateRequestProto)
12481 ::google::protobuf::uint32 cached_has_bits = 0;
12482 // Prevent compiler warnings about cached_has_bits being unused
12483 (void) cached_has_bits;
12484
12485 cached_has_bits = _has_bits_[0];
12486 if (cached_has_bits & 3u) {
12487 if (cached_has_bits & 0x00000001u) {
12488 src_.ClearNonDefaultToEmptyNoArena();
12489 }
12490 if (cached_has_bits & 0x00000002u) {
12491 clientname_.ClearNonDefaultToEmptyNoArena();
12492 }
12493 }
12494 newlength_ = GOOGLE_ULONGLONG(0);
12495 _has_bits_.Clear();
12496 _internal_metadata_.Clear();
12497}
12498
12499bool TruncateRequestProto::MergePartialFromCodedStream(
12500 ::google::protobuf::io::CodedInputStream* input) {
12501#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
12502 ::google::protobuf::uint32 tag;
12503 // @@protoc_insertion_point(parse_start:Hdfs.Internal.TruncateRequestProto)
12504 for (;;) {
12505 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12506 tag = p.first;
12507 if (!p.second) goto handle_unusual;
12508 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12509 // required string src = 1;
12510 case 1: {
12511 if (static_cast< ::google::protobuf::uint8>(tag) ==
12512 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
12513 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
12514 input, this->mutable_src()));
12515 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12516 this->src().data(), static_cast<int>(this->src().length()),
12517 ::google::protobuf::internal::WireFormat::PARSE,
12518 "Hdfs.Internal.TruncateRequestProto.src");
12519 } else {
12520 goto handle_unusual;
12521 }
12522 break;
12523 }
12524
12525 // required uint64 newLength = 2;
12526 case 2: {
12527 if (static_cast< ::google::protobuf::uint8>(tag) ==
12528 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
12529 set_has_newlength();
12530 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12531 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
12532 input, &newlength_)));
12533 } else {
12534 goto handle_unusual;
12535 }
12536 break;
12537 }
12538
12539 // required string clientName = 3;
12540 case 3: {
12541 if (static_cast< ::google::protobuf::uint8>(tag) ==
12542 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
12543 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
12544 input, this->mutable_clientname()));
12545 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12546 this->clientname().data(), static_cast<int>(this->clientname().length()),
12547 ::google::protobuf::internal::WireFormat::PARSE,
12548 "Hdfs.Internal.TruncateRequestProto.clientName");
12549 } else {
12550 goto handle_unusual;
12551 }
12552 break;
12553 }
12554
12555 default: {
12556 handle_unusual:
12557 if (tag == 0) {
12558 goto success;
12559 }
12560 DO_(::google::protobuf::internal::WireFormat::SkipField(
12561 input, tag, _internal_metadata_.mutable_unknown_fields()));
12562 break;
12563 }
12564 }
12565 }
12566success:
12567 // @@protoc_insertion_point(parse_success:Hdfs.Internal.TruncateRequestProto)
12568 return true;
12569failure:
12570 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.TruncateRequestProto)
12571 return false;
12572#undef DO_
12573}
12574
12575void TruncateRequestProto::SerializeWithCachedSizes(
12576 ::google::protobuf::io::CodedOutputStream* output) const {
12577 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.TruncateRequestProto)
12578 ::google::protobuf::uint32 cached_has_bits = 0;
12579 (void) cached_has_bits;
12580
12581 cached_has_bits = _has_bits_[0];
12582 // required string src = 1;
12583 if (cached_has_bits & 0x00000001u) {
12584 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12585 this->src().data(), static_cast<int>(this->src().length()),
12586 ::google::protobuf::internal::WireFormat::SERIALIZE,
12587 "Hdfs.Internal.TruncateRequestProto.src");
12588 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
12589 1, this->src(), output);
12590 }
12591
12592 // required uint64 newLength = 2;
12593 if (cached_has_bits & 0x00000004u) {
12594 ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->newlength(), output);
12595 }
12596
12597 // required string clientName = 3;
12598 if (cached_has_bits & 0x00000002u) {
12599 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12600 this->clientname().data(), static_cast<int>(this->clientname().length()),
12601 ::google::protobuf::internal::WireFormat::SERIALIZE,
12602 "Hdfs.Internal.TruncateRequestProto.clientName");
12603 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
12604 3, this->clientname(), output);
12605 }
12606
12607 if (_internal_metadata_.have_unknown_fields()) {
12608 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12609 _internal_metadata_.unknown_fields(), output);
12610 }
12611 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.TruncateRequestProto)
12612}
12613
12614::google::protobuf::uint8* TruncateRequestProto::InternalSerializeWithCachedSizesToArray(
12615 bool deterministic, ::google::protobuf::uint8* target) const {
12616 (void)deterministic; // Unused
12617 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.TruncateRequestProto)
12618 ::google::protobuf::uint32 cached_has_bits = 0;
12619 (void) cached_has_bits;
12620
12621 cached_has_bits = _has_bits_[0];
12622 // required string src = 1;
12623 if (cached_has_bits & 0x00000001u) {
12624 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12625 this->src().data(), static_cast<int>(this->src().length()),
12626 ::google::protobuf::internal::WireFormat::SERIALIZE,
12627 "Hdfs.Internal.TruncateRequestProto.src");
12628 target =
12629 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
12630 1, this->src(), target);
12631 }
12632
12633 // required uint64 newLength = 2;
12634 if (cached_has_bits & 0x00000004u) {
12635 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->newlength(), target);
12636 }
12637
12638 // required string clientName = 3;
12639 if (cached_has_bits & 0x00000002u) {
12640 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
12641 this->clientname().data(), static_cast<int>(this->clientname().length()),
12642 ::google::protobuf::internal::WireFormat::SERIALIZE,
12643 "Hdfs.Internal.TruncateRequestProto.clientName");
12644 target =
12645 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
12646 3, this->clientname(), target);
12647 }
12648
12649 if (_internal_metadata_.have_unknown_fields()) {
12650 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12651 _internal_metadata_.unknown_fields(), target);
12652 }
12653 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.TruncateRequestProto)
12654 return target;
12655}
12656
12657size_t TruncateRequestProto::RequiredFieldsByteSizeFallback() const {
12658// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.TruncateRequestProto)
12659 size_t total_size = 0;
12660
12661 if (has_src()) {
12662 // required string src = 1;
12663 total_size += 1 +
12664 ::google::protobuf::internal::WireFormatLite::StringSize(
12665 this->src());
12666 }
12667
12668 if (has_clientname()) {
12669 // required string clientName = 3;
12670 total_size += 1 +
12671 ::google::protobuf::internal::WireFormatLite::StringSize(
12672 this->clientname());
12673 }
12674
12675 if (has_newlength()) {
12676 // required uint64 newLength = 2;
12677 total_size += 1 +
12678 ::google::protobuf::internal::WireFormatLite::UInt64Size(
12679 this->newlength());
12680 }
12681
12682 return total_size;
12683}
12684size_t TruncateRequestProto::ByteSizeLong() const {
12685// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.TruncateRequestProto)
12686 size_t total_size = 0;
12687
12688 if (_internal_metadata_.have_unknown_fields()) {
12689 total_size +=
12690 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12691 _internal_metadata_.unknown_fields());
12692 }
12693 if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
12694 // required string src = 1;
12695 total_size += 1 +
12696 ::google::protobuf::internal::WireFormatLite::StringSize(
12697 this->src());
12698
12699 // required string clientName = 3;
12700 total_size += 1 +
12701 ::google::protobuf::internal::WireFormatLite::StringSize(
12702 this->clientname());
12703
12704 // required uint64 newLength = 2;
12705 total_size += 1 +
12706 ::google::protobuf::internal::WireFormatLite::UInt64Size(
12707 this->newlength());
12708
12709 } else {
12710 total_size += RequiredFieldsByteSizeFallback();
12711 }
12712 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12713 SetCachedSize(cached_size);
12714 return total_size;
12715}
12716
12717void TruncateRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
12718// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.TruncateRequestProto)
12719 GOOGLE_DCHECK_NE(&from, this);
12720 const TruncateRequestProto* source =
12721 ::google::protobuf::internal::DynamicCastToGenerated<const TruncateRequestProto>(
12722 &from);
12723 if (source == NULL) {
12724 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.TruncateRequestProto)
12725 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12726 } else {
12727 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.TruncateRequestProto)
12728 MergeFrom(*source);
12729 }
12730}
12731
12732void TruncateRequestProto::MergeFrom(const TruncateRequestProto& from) {
12733// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.TruncateRequestProto)
12734 GOOGLE_DCHECK_NE(&from, this);
12735 _internal_metadata_.MergeFrom(from._internal_metadata_);
12736 ::google::protobuf::uint32 cached_has_bits = 0;
12737 (void) cached_has_bits;
12738
12739 cached_has_bits = from._has_bits_[0];
12740 if (cached_has_bits & 7u) {
12741 if (cached_has_bits & 0x00000001u) {
12742 set_has_src();
12743 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
12744 }
12745 if (cached_has_bits & 0x00000002u) {
12746 set_has_clientname();
12747 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
12748 }
12749 if (cached_has_bits & 0x00000004u) {
12750 newlength_ = from.newlength_;
12751 }
12752 _has_bits_[0] |= cached_has_bits;
12753 }
12754}
12755
12756void TruncateRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
12757// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.TruncateRequestProto)
12758 if (&from == this) return;
12759 Clear();
12760 MergeFrom(from);
12761}
12762
12763void TruncateRequestProto::CopyFrom(const TruncateRequestProto& from) {
12764// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.TruncateRequestProto)
12765 if (&from == this) return;
12766 Clear();
12767 MergeFrom(from);
12768}
12769
12770bool TruncateRequestProto::IsInitialized() const {
12771 if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
12772 return true;
12773}
12774
12775void TruncateRequestProto::Swap(TruncateRequestProto* other) {
12776 if (other == this) return;
12777 InternalSwap(other);
12778}
12779void TruncateRequestProto::InternalSwap(TruncateRequestProto* other) {
12780 using std::swap;
12781 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
12782 GetArenaNoVirtual());
12783 clientname_.Swap(&other->clientname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
12784 GetArenaNoVirtual());
12785 swap(newlength_, other->newlength_);
12786 swap(_has_bits_[0], other->_has_bits_[0]);
12787 _internal_metadata_.Swap(&other->_internal_metadata_);
12788}
12789
12790::google::protobuf::Metadata TruncateRequestProto::GetMetadata() const {
12791 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
12792 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
12793}
12794
12795
12796// ===================================================================
12797
12798void TruncateResponseProto::InitAsDefaultInstance() {
12799}
12800#if !defined(_MSC_VER) || _MSC_VER >= 1900
12801const int TruncateResponseProto::kResultFieldNumber;
12802#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
12803
12804TruncateResponseProto::TruncateResponseProto()
12805 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
12806 ::google::protobuf::internal::InitSCC(
12807 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_TruncateResponseProto.base);
12808 SharedCtor();
12809 // @@protoc_insertion_point(constructor:Hdfs.Internal.TruncateResponseProto)
12810}
12811TruncateResponseProto::TruncateResponseProto(const TruncateResponseProto& from)
12812 : ::google::protobuf::Message(),
12813 _internal_metadata_(NULL),
12814 _has_bits_(from._has_bits_) {
12815 _internal_metadata_.MergeFrom(from._internal_metadata_);
12816 result_ = from.result_;
12817 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.TruncateResponseProto)
12818}
12819
12820void TruncateResponseProto::SharedCtor() {
12821 result_ = false;
12822}
12823
12824TruncateResponseProto::~TruncateResponseProto() {
12825 // @@protoc_insertion_point(destructor:Hdfs.Internal.TruncateResponseProto)
12826 SharedDtor();
12827}
12828
12829void TruncateResponseProto::SharedDtor() {
12830}
12831
12832void TruncateResponseProto::SetCachedSize(int size) const {
12833 _cached_size_.Set(size);
12834}
12835const ::google::protobuf::Descriptor* TruncateResponseProto::descriptor() {
12836 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
12837 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
12838}
12839
12840const TruncateResponseProto& TruncateResponseProto::default_instance() {
12841 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_TruncateResponseProto.base);
12842 return *internal_default_instance();
12843}
12844
12845
12846void TruncateResponseProto::Clear() {
12847// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.TruncateResponseProto)
12848 ::google::protobuf::uint32 cached_has_bits = 0;
12849 // Prevent compiler warnings about cached_has_bits being unused
12850 (void) cached_has_bits;
12851
12852 result_ = false;
12853 _has_bits_.Clear();
12854 _internal_metadata_.Clear();
12855}
12856
12857bool TruncateResponseProto::MergePartialFromCodedStream(
12858 ::google::protobuf::io::CodedInputStream* input) {
12859#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
12860 ::google::protobuf::uint32 tag;
12861 // @@protoc_insertion_point(parse_start:Hdfs.Internal.TruncateResponseProto)
12862 for (;;) {
12863 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
12864 tag = p.first;
12865 if (!p.second) goto handle_unusual;
12866 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12867 // required bool result = 1;
12868 case 1: {
12869 if (static_cast< ::google::protobuf::uint8>(tag) ==
12870 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
12871 set_has_result();
12872 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12873 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
12874 input, &result_)));
12875 } else {
12876 goto handle_unusual;
12877 }
12878 break;
12879 }
12880
12881 default: {
12882 handle_unusual:
12883 if (tag == 0) {
12884 goto success;
12885 }
12886 DO_(::google::protobuf::internal::WireFormat::SkipField(
12887 input, tag, _internal_metadata_.mutable_unknown_fields()));
12888 break;
12889 }
12890 }
12891 }
12892success:
12893 // @@protoc_insertion_point(parse_success:Hdfs.Internal.TruncateResponseProto)
12894 return true;
12895failure:
12896 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.TruncateResponseProto)
12897 return false;
12898#undef DO_
12899}
12900
12901void TruncateResponseProto::SerializeWithCachedSizes(
12902 ::google::protobuf::io::CodedOutputStream* output) const {
12903 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.TruncateResponseProto)
12904 ::google::protobuf::uint32 cached_has_bits = 0;
12905 (void) cached_has_bits;
12906
12907 cached_has_bits = _has_bits_[0];
12908 // required bool result = 1;
12909 if (cached_has_bits & 0x00000001u) {
12910 ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->result(), output);
12911 }
12912
12913 if (_internal_metadata_.have_unknown_fields()) {
12914 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
12915 _internal_metadata_.unknown_fields(), output);
12916 }
12917 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.TruncateResponseProto)
12918}
12919
12920::google::protobuf::uint8* TruncateResponseProto::InternalSerializeWithCachedSizesToArray(
12921 bool deterministic, ::google::protobuf::uint8* target) const {
12922 (void)deterministic; // Unused
12923 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.TruncateResponseProto)
12924 ::google::protobuf::uint32 cached_has_bits = 0;
12925 (void) cached_has_bits;
12926
12927 cached_has_bits = _has_bits_[0];
12928 // required bool result = 1;
12929 if (cached_has_bits & 0x00000001u) {
12930 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->result(), target);
12931 }
12932
12933 if (_internal_metadata_.have_unknown_fields()) {
12934 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
12935 _internal_metadata_.unknown_fields(), target);
12936 }
12937 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.TruncateResponseProto)
12938 return target;
12939}
12940
12941size_t TruncateResponseProto::ByteSizeLong() const {
12942// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.TruncateResponseProto)
12943 size_t total_size = 0;
12944
12945 if (_internal_metadata_.have_unknown_fields()) {
12946 total_size +=
12947 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
12948 _internal_metadata_.unknown_fields());
12949 }
12950 // required bool result = 1;
12951 if (has_result()) {
12952 total_size += 1 + 1;
12953 }
12954 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
12955 SetCachedSize(cached_size);
12956 return total_size;
12957}
12958
12959void TruncateResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
12960// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.TruncateResponseProto)
12961 GOOGLE_DCHECK_NE(&from, this);
12962 const TruncateResponseProto* source =
12963 ::google::protobuf::internal::DynamicCastToGenerated<const TruncateResponseProto>(
12964 &from);
12965 if (source == NULL) {
12966 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.TruncateResponseProto)
12967 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
12968 } else {
12969 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.TruncateResponseProto)
12970 MergeFrom(*source);
12971 }
12972}
12973
12974void TruncateResponseProto::MergeFrom(const TruncateResponseProto& from) {
12975// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.TruncateResponseProto)
12976 GOOGLE_DCHECK_NE(&from, this);
12977 _internal_metadata_.MergeFrom(from._internal_metadata_);
12978 ::google::protobuf::uint32 cached_has_bits = 0;
12979 (void) cached_has_bits;
12980
12981 if (from.has_result()) {
12982 set_result(from.result());
12983 }
12984}
12985
12986void TruncateResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
12987// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.TruncateResponseProto)
12988 if (&from == this) return;
12989 Clear();
12990 MergeFrom(from);
12991}
12992
12993void TruncateResponseProto::CopyFrom(const TruncateResponseProto& from) {
12994// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.TruncateResponseProto)
12995 if (&from == this) return;
12996 Clear();
12997 MergeFrom(from);
12998}
12999
13000bool TruncateResponseProto::IsInitialized() const {
13001 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
13002 return true;
13003}
13004
13005void TruncateResponseProto::Swap(TruncateResponseProto* other) {
13006 if (other == this) return;
13007 InternalSwap(other);
13008}
13009void TruncateResponseProto::InternalSwap(TruncateResponseProto* other) {
13010 using std::swap;
13011 swap(result_, other->result_);
13012 swap(_has_bits_[0], other->_has_bits_[0]);
13013 _internal_metadata_.Swap(&other->_internal_metadata_);
13014}
13015
13016::google::protobuf::Metadata TruncateResponseProto::GetMetadata() const {
13017 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
13018 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
13019}
13020
13021
13022// ===================================================================
13023
13024void GetLeaseRequestProto::InitAsDefaultInstance() {
13025}
13026#if !defined(_MSC_VER) || _MSC_VER >= 1900
13027const int GetLeaseRequestProto::kSrcFieldNumber;
13028const int GetLeaseRequestProto::kClientNameFieldNumber;
13029#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
13030
13031GetLeaseRequestProto::GetLeaseRequestProto()
13032 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
13033 ::google::protobuf::internal::InitSCC(
13034 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetLeaseRequestProto.base);
13035 SharedCtor();
13036 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetLeaseRequestProto)
13037}
13038GetLeaseRequestProto::GetLeaseRequestProto(const GetLeaseRequestProto& from)
13039 : ::google::protobuf::Message(),
13040 _internal_metadata_(NULL),
13041 _has_bits_(from._has_bits_) {
13042 _internal_metadata_.MergeFrom(from._internal_metadata_);
13043 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13044 if (from.has_src()) {
13045 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
13046 }
13047 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13048 if (from.has_clientname()) {
13049 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
13050 }
13051 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetLeaseRequestProto)
13052}
13053
13054void GetLeaseRequestProto::SharedCtor() {
13055 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13056 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13057}
13058
13059GetLeaseRequestProto::~GetLeaseRequestProto() {
13060 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetLeaseRequestProto)
13061 SharedDtor();
13062}
13063
13064void GetLeaseRequestProto::SharedDtor() {
13065 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13066 clientname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13067}
13068
13069void GetLeaseRequestProto::SetCachedSize(int size) const {
13070 _cached_size_.Set(size);
13071}
13072const ::google::protobuf::Descriptor* GetLeaseRequestProto::descriptor() {
13073 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
13074 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
13075}
13076
13077const GetLeaseRequestProto& GetLeaseRequestProto::default_instance() {
13078 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetLeaseRequestProto.base);
13079 return *internal_default_instance();
13080}
13081
13082
13083void GetLeaseRequestProto::Clear() {
13084// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetLeaseRequestProto)
13085 ::google::protobuf::uint32 cached_has_bits = 0;
13086 // Prevent compiler warnings about cached_has_bits being unused
13087 (void) cached_has_bits;
13088
13089 cached_has_bits = _has_bits_[0];
13090 if (cached_has_bits & 3u) {
13091 if (cached_has_bits & 0x00000001u) {
13092 src_.ClearNonDefaultToEmptyNoArena();
13093 }
13094 if (cached_has_bits & 0x00000002u) {
13095 clientname_.ClearNonDefaultToEmptyNoArena();
13096 }
13097 }
13098 _has_bits_.Clear();
13099 _internal_metadata_.Clear();
13100}
13101
13102bool GetLeaseRequestProto::MergePartialFromCodedStream(
13103 ::google::protobuf::io::CodedInputStream* input) {
13104#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
13105 ::google::protobuf::uint32 tag;
13106 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetLeaseRequestProto)
13107 for (;;) {
13108 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
13109 tag = p.first;
13110 if (!p.second) goto handle_unusual;
13111 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13112 // required string src = 1;
13113 case 1: {
13114 if (static_cast< ::google::protobuf::uint8>(tag) ==
13115 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
13116 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
13117 input, this->mutable_src()));
13118 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13119 this->src().data(), static_cast<int>(this->src().length()),
13120 ::google::protobuf::internal::WireFormat::PARSE,
13121 "Hdfs.Internal.GetLeaseRequestProto.src");
13122 } else {
13123 goto handle_unusual;
13124 }
13125 break;
13126 }
13127
13128 // required string clientName = 2;
13129 case 2: {
13130 if (static_cast< ::google::protobuf::uint8>(tag) ==
13131 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
13132 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
13133 input, this->mutable_clientname()));
13134 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13135 this->clientname().data(), static_cast<int>(this->clientname().length()),
13136 ::google::protobuf::internal::WireFormat::PARSE,
13137 "Hdfs.Internal.GetLeaseRequestProto.clientName");
13138 } else {
13139 goto handle_unusual;
13140 }
13141 break;
13142 }
13143
13144 default: {
13145 handle_unusual:
13146 if (tag == 0) {
13147 goto success;
13148 }
13149 DO_(::google::protobuf::internal::WireFormat::SkipField(
13150 input, tag, _internal_metadata_.mutable_unknown_fields()));
13151 break;
13152 }
13153 }
13154 }
13155success:
13156 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetLeaseRequestProto)
13157 return true;
13158failure:
13159 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetLeaseRequestProto)
13160 return false;
13161#undef DO_
13162}
13163
13164void GetLeaseRequestProto::SerializeWithCachedSizes(
13165 ::google::protobuf::io::CodedOutputStream* output) const {
13166 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetLeaseRequestProto)
13167 ::google::protobuf::uint32 cached_has_bits = 0;
13168 (void) cached_has_bits;
13169
13170 cached_has_bits = _has_bits_[0];
13171 // required string src = 1;
13172 if (cached_has_bits & 0x00000001u) {
13173 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13174 this->src().data(), static_cast<int>(this->src().length()),
13175 ::google::protobuf::internal::WireFormat::SERIALIZE,
13176 "Hdfs.Internal.GetLeaseRequestProto.src");
13177 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
13178 1, this->src(), output);
13179 }
13180
13181 // required string clientName = 2;
13182 if (cached_has_bits & 0x00000002u) {
13183 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13184 this->clientname().data(), static_cast<int>(this->clientname().length()),
13185 ::google::protobuf::internal::WireFormat::SERIALIZE,
13186 "Hdfs.Internal.GetLeaseRequestProto.clientName");
13187 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
13188 2, this->clientname(), output);
13189 }
13190
13191 if (_internal_metadata_.have_unknown_fields()) {
13192 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
13193 _internal_metadata_.unknown_fields(), output);
13194 }
13195 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetLeaseRequestProto)
13196}
13197
13198::google::protobuf::uint8* GetLeaseRequestProto::InternalSerializeWithCachedSizesToArray(
13199 bool deterministic, ::google::protobuf::uint8* target) const {
13200 (void)deterministic; // Unused
13201 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetLeaseRequestProto)
13202 ::google::protobuf::uint32 cached_has_bits = 0;
13203 (void) cached_has_bits;
13204
13205 cached_has_bits = _has_bits_[0];
13206 // required string src = 1;
13207 if (cached_has_bits & 0x00000001u) {
13208 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13209 this->src().data(), static_cast<int>(this->src().length()),
13210 ::google::protobuf::internal::WireFormat::SERIALIZE,
13211 "Hdfs.Internal.GetLeaseRequestProto.src");
13212 target =
13213 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
13214 1, this->src(), target);
13215 }
13216
13217 // required string clientName = 2;
13218 if (cached_has_bits & 0x00000002u) {
13219 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13220 this->clientname().data(), static_cast<int>(this->clientname().length()),
13221 ::google::protobuf::internal::WireFormat::SERIALIZE,
13222 "Hdfs.Internal.GetLeaseRequestProto.clientName");
13223 target =
13224 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
13225 2, this->clientname(), target);
13226 }
13227
13228 if (_internal_metadata_.have_unknown_fields()) {
13229 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
13230 _internal_metadata_.unknown_fields(), target);
13231 }
13232 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetLeaseRequestProto)
13233 return target;
13234}
13235
13236size_t GetLeaseRequestProto::RequiredFieldsByteSizeFallback() const {
13237// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.GetLeaseRequestProto)
13238 size_t total_size = 0;
13239
13240 if (has_src()) {
13241 // required string src = 1;
13242 total_size += 1 +
13243 ::google::protobuf::internal::WireFormatLite::StringSize(
13244 this->src());
13245 }
13246
13247 if (has_clientname()) {
13248 // required string clientName = 2;
13249 total_size += 1 +
13250 ::google::protobuf::internal::WireFormatLite::StringSize(
13251 this->clientname());
13252 }
13253
13254 return total_size;
13255}
13256size_t GetLeaseRequestProto::ByteSizeLong() const {
13257// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetLeaseRequestProto)
13258 size_t total_size = 0;
13259
13260 if (_internal_metadata_.have_unknown_fields()) {
13261 total_size +=
13262 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
13263 _internal_metadata_.unknown_fields());
13264 }
13265 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
13266 // required string src = 1;
13267 total_size += 1 +
13268 ::google::protobuf::internal::WireFormatLite::StringSize(
13269 this->src());
13270
13271 // required string clientName = 2;
13272 total_size += 1 +
13273 ::google::protobuf::internal::WireFormatLite::StringSize(
13274 this->clientname());
13275
13276 } else {
13277 total_size += RequiredFieldsByteSizeFallback();
13278 }
13279 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
13280 SetCachedSize(cached_size);
13281 return total_size;
13282}
13283
13284void GetLeaseRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
13285// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetLeaseRequestProto)
13286 GOOGLE_DCHECK_NE(&from, this);
13287 const GetLeaseRequestProto* source =
13288 ::google::protobuf::internal::DynamicCastToGenerated<const GetLeaseRequestProto>(
13289 &from);
13290 if (source == NULL) {
13291 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetLeaseRequestProto)
13292 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
13293 } else {
13294 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetLeaseRequestProto)
13295 MergeFrom(*source);
13296 }
13297}
13298
13299void GetLeaseRequestProto::MergeFrom(const GetLeaseRequestProto& from) {
13300// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetLeaseRequestProto)
13301 GOOGLE_DCHECK_NE(&from, this);
13302 _internal_metadata_.MergeFrom(from._internal_metadata_);
13303 ::google::protobuf::uint32 cached_has_bits = 0;
13304 (void) cached_has_bits;
13305
13306 cached_has_bits = from._has_bits_[0];
13307 if (cached_has_bits & 3u) {
13308 if (cached_has_bits & 0x00000001u) {
13309 set_has_src();
13310 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
13311 }
13312 if (cached_has_bits & 0x00000002u) {
13313 set_has_clientname();
13314 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
13315 }
13316 }
13317}
13318
13319void GetLeaseRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
13320// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetLeaseRequestProto)
13321 if (&from == this) return;
13322 Clear();
13323 MergeFrom(from);
13324}
13325
13326void GetLeaseRequestProto::CopyFrom(const GetLeaseRequestProto& from) {
13327// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetLeaseRequestProto)
13328 if (&from == this) return;
13329 Clear();
13330 MergeFrom(from);
13331}
13332
13333bool GetLeaseRequestProto::IsInitialized() const {
13334 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
13335 return true;
13336}
13337
13338void GetLeaseRequestProto::Swap(GetLeaseRequestProto* other) {
13339 if (other == this) return;
13340 InternalSwap(other);
13341}
13342void GetLeaseRequestProto::InternalSwap(GetLeaseRequestProto* other) {
13343 using std::swap;
13344 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
13345 GetArenaNoVirtual());
13346 clientname_.Swap(&other->clientname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
13347 GetArenaNoVirtual());
13348 swap(_has_bits_[0], other->_has_bits_[0]);
13349 _internal_metadata_.Swap(&other->_internal_metadata_);
13350}
13351
13352::google::protobuf::Metadata GetLeaseRequestProto::GetMetadata() const {
13353 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
13354 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
13355}
13356
13357
13358// ===================================================================
13359
13360void GetLeaseResponseProto::InitAsDefaultInstance() {
13361}
13362#if !defined(_MSC_VER) || _MSC_VER >= 1900
13363#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
13364
13365GetLeaseResponseProto::GetLeaseResponseProto()
13366 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
13367 ::google::protobuf::internal::InitSCC(
13368 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetLeaseResponseProto.base);
13369 SharedCtor();
13370 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetLeaseResponseProto)
13371}
13372GetLeaseResponseProto::GetLeaseResponseProto(const GetLeaseResponseProto& from)
13373 : ::google::protobuf::Message(),
13374 _internal_metadata_(NULL),
13375 _has_bits_(from._has_bits_) {
13376 _internal_metadata_.MergeFrom(from._internal_metadata_);
13377 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetLeaseResponseProto)
13378}
13379
13380void GetLeaseResponseProto::SharedCtor() {
13381}
13382
13383GetLeaseResponseProto::~GetLeaseResponseProto() {
13384 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetLeaseResponseProto)
13385 SharedDtor();
13386}
13387
13388void GetLeaseResponseProto::SharedDtor() {
13389}
13390
13391void GetLeaseResponseProto::SetCachedSize(int size) const {
13392 _cached_size_.Set(size);
13393}
13394const ::google::protobuf::Descriptor* GetLeaseResponseProto::descriptor() {
13395 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
13396 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
13397}
13398
13399const GetLeaseResponseProto& GetLeaseResponseProto::default_instance() {
13400 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetLeaseResponseProto.base);
13401 return *internal_default_instance();
13402}
13403
13404
13405void GetLeaseResponseProto::Clear() {
13406// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetLeaseResponseProto)
13407 ::google::protobuf::uint32 cached_has_bits = 0;
13408 // Prevent compiler warnings about cached_has_bits being unused
13409 (void) cached_has_bits;
13410
13411 _has_bits_.Clear();
13412 _internal_metadata_.Clear();
13413}
13414
13415bool GetLeaseResponseProto::MergePartialFromCodedStream(
13416 ::google::protobuf::io::CodedInputStream* input) {
13417#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
13418 ::google::protobuf::uint32 tag;
13419 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetLeaseResponseProto)
13420 for (;;) {
13421 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
13422 tag = p.first;
13423 if (!p.second) goto handle_unusual;
13424 handle_unusual:
13425 if (tag == 0) {
13426 goto success;
13427 }
13428 DO_(::google::protobuf::internal::WireFormat::SkipField(
13429 input, tag, _internal_metadata_.mutable_unknown_fields()));
13430 }
13431success:
13432 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetLeaseResponseProto)
13433 return true;
13434failure:
13435 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetLeaseResponseProto)
13436 return false;
13437#undef DO_
13438}
13439
13440void GetLeaseResponseProto::SerializeWithCachedSizes(
13441 ::google::protobuf::io::CodedOutputStream* output) const {
13442 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetLeaseResponseProto)
13443 ::google::protobuf::uint32 cached_has_bits = 0;
13444 (void) cached_has_bits;
13445
13446 if (_internal_metadata_.have_unknown_fields()) {
13447 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
13448 _internal_metadata_.unknown_fields(), output);
13449 }
13450 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetLeaseResponseProto)
13451}
13452
13453::google::protobuf::uint8* GetLeaseResponseProto::InternalSerializeWithCachedSizesToArray(
13454 bool deterministic, ::google::protobuf::uint8* target) const {
13455 (void)deterministic; // Unused
13456 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetLeaseResponseProto)
13457 ::google::protobuf::uint32 cached_has_bits = 0;
13458 (void) cached_has_bits;
13459
13460 if (_internal_metadata_.have_unknown_fields()) {
13461 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
13462 _internal_metadata_.unknown_fields(), target);
13463 }
13464 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetLeaseResponseProto)
13465 return target;
13466}
13467
13468size_t GetLeaseResponseProto::ByteSizeLong() const {
13469// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetLeaseResponseProto)
13470 size_t total_size = 0;
13471
13472 if (_internal_metadata_.have_unknown_fields()) {
13473 total_size +=
13474 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
13475 _internal_metadata_.unknown_fields());
13476 }
13477 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
13478 SetCachedSize(cached_size);
13479 return total_size;
13480}
13481
13482void GetLeaseResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
13483// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetLeaseResponseProto)
13484 GOOGLE_DCHECK_NE(&from, this);
13485 const GetLeaseResponseProto* source =
13486 ::google::protobuf::internal::DynamicCastToGenerated<const GetLeaseResponseProto>(
13487 &from);
13488 if (source == NULL) {
13489 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetLeaseResponseProto)
13490 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
13491 } else {
13492 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetLeaseResponseProto)
13493 MergeFrom(*source);
13494 }
13495}
13496
13497void GetLeaseResponseProto::MergeFrom(const GetLeaseResponseProto& from) {
13498// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetLeaseResponseProto)
13499 GOOGLE_DCHECK_NE(&from, this);
13500 _internal_metadata_.MergeFrom(from._internal_metadata_);
13501 ::google::protobuf::uint32 cached_has_bits = 0;
13502 (void) cached_has_bits;
13503
13504}
13505
13506void GetLeaseResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
13507// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetLeaseResponseProto)
13508 if (&from == this) return;
13509 Clear();
13510 MergeFrom(from);
13511}
13512
13513void GetLeaseResponseProto::CopyFrom(const GetLeaseResponseProto& from) {
13514// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetLeaseResponseProto)
13515 if (&from == this) return;
13516 Clear();
13517 MergeFrom(from);
13518}
13519
13520bool GetLeaseResponseProto::IsInitialized() const {
13521 return true;
13522}
13523
13524void GetLeaseResponseProto::Swap(GetLeaseResponseProto* other) {
13525 if (other == this) return;
13526 InternalSwap(other);
13527}
13528void GetLeaseResponseProto::InternalSwap(GetLeaseResponseProto* other) {
13529 using std::swap;
13530 swap(_has_bits_[0], other->_has_bits_[0]);
13531 _internal_metadata_.Swap(&other->_internal_metadata_);
13532}
13533
13534::google::protobuf::Metadata GetLeaseResponseProto::GetMetadata() const {
13535 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
13536 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
13537}
13538
13539
13540// ===================================================================
13541
13542void ReleaseLeaseRequestProto::InitAsDefaultInstance() {
13543}
13544#if !defined(_MSC_VER) || _MSC_VER >= 1900
13545const int ReleaseLeaseRequestProto::kSrcFieldNumber;
13546const int ReleaseLeaseRequestProto::kClientNameFieldNumber;
13547#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
13548
13549ReleaseLeaseRequestProto::ReleaseLeaseRequestProto()
13550 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
13551 ::google::protobuf::internal::InitSCC(
13552 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ReleaseLeaseRequestProto.base);
13553 SharedCtor();
13554 // @@protoc_insertion_point(constructor:Hdfs.Internal.ReleaseLeaseRequestProto)
13555}
13556ReleaseLeaseRequestProto::ReleaseLeaseRequestProto(const ReleaseLeaseRequestProto& from)
13557 : ::google::protobuf::Message(),
13558 _internal_metadata_(NULL),
13559 _has_bits_(from._has_bits_) {
13560 _internal_metadata_.MergeFrom(from._internal_metadata_);
13561 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13562 if (from.has_src()) {
13563 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
13564 }
13565 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13566 if (from.has_clientname()) {
13567 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
13568 }
13569 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ReleaseLeaseRequestProto)
13570}
13571
13572void ReleaseLeaseRequestProto::SharedCtor() {
13573 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13574 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13575}
13576
13577ReleaseLeaseRequestProto::~ReleaseLeaseRequestProto() {
13578 // @@protoc_insertion_point(destructor:Hdfs.Internal.ReleaseLeaseRequestProto)
13579 SharedDtor();
13580}
13581
13582void ReleaseLeaseRequestProto::SharedDtor() {
13583 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13584 clientname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13585}
13586
13587void ReleaseLeaseRequestProto::SetCachedSize(int size) const {
13588 _cached_size_.Set(size);
13589}
13590const ::google::protobuf::Descriptor* ReleaseLeaseRequestProto::descriptor() {
13591 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
13592 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
13593}
13594
13595const ReleaseLeaseRequestProto& ReleaseLeaseRequestProto::default_instance() {
13596 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ReleaseLeaseRequestProto.base);
13597 return *internal_default_instance();
13598}
13599
13600
13601void ReleaseLeaseRequestProto::Clear() {
13602// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ReleaseLeaseRequestProto)
13603 ::google::protobuf::uint32 cached_has_bits = 0;
13604 // Prevent compiler warnings about cached_has_bits being unused
13605 (void) cached_has_bits;
13606
13607 cached_has_bits = _has_bits_[0];
13608 if (cached_has_bits & 3u) {
13609 if (cached_has_bits & 0x00000001u) {
13610 src_.ClearNonDefaultToEmptyNoArena();
13611 }
13612 if (cached_has_bits & 0x00000002u) {
13613 clientname_.ClearNonDefaultToEmptyNoArena();
13614 }
13615 }
13616 _has_bits_.Clear();
13617 _internal_metadata_.Clear();
13618}
13619
13620bool ReleaseLeaseRequestProto::MergePartialFromCodedStream(
13621 ::google::protobuf::io::CodedInputStream* input) {
13622#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
13623 ::google::protobuf::uint32 tag;
13624 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ReleaseLeaseRequestProto)
13625 for (;;) {
13626 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
13627 tag = p.first;
13628 if (!p.second) goto handle_unusual;
13629 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13630 // required string src = 1;
13631 case 1: {
13632 if (static_cast< ::google::protobuf::uint8>(tag) ==
13633 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
13634 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
13635 input, this->mutable_src()));
13636 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13637 this->src().data(), static_cast<int>(this->src().length()),
13638 ::google::protobuf::internal::WireFormat::PARSE,
13639 "Hdfs.Internal.ReleaseLeaseRequestProto.src");
13640 } else {
13641 goto handle_unusual;
13642 }
13643 break;
13644 }
13645
13646 // required string clientName = 2;
13647 case 2: {
13648 if (static_cast< ::google::protobuf::uint8>(tag) ==
13649 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
13650 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
13651 input, this->mutable_clientname()));
13652 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13653 this->clientname().data(), static_cast<int>(this->clientname().length()),
13654 ::google::protobuf::internal::WireFormat::PARSE,
13655 "Hdfs.Internal.ReleaseLeaseRequestProto.clientName");
13656 } else {
13657 goto handle_unusual;
13658 }
13659 break;
13660 }
13661
13662 default: {
13663 handle_unusual:
13664 if (tag == 0) {
13665 goto success;
13666 }
13667 DO_(::google::protobuf::internal::WireFormat::SkipField(
13668 input, tag, _internal_metadata_.mutable_unknown_fields()));
13669 break;
13670 }
13671 }
13672 }
13673success:
13674 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ReleaseLeaseRequestProto)
13675 return true;
13676failure:
13677 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ReleaseLeaseRequestProto)
13678 return false;
13679#undef DO_
13680}
13681
13682void ReleaseLeaseRequestProto::SerializeWithCachedSizes(
13683 ::google::protobuf::io::CodedOutputStream* output) const {
13684 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ReleaseLeaseRequestProto)
13685 ::google::protobuf::uint32 cached_has_bits = 0;
13686 (void) cached_has_bits;
13687
13688 cached_has_bits = _has_bits_[0];
13689 // required string src = 1;
13690 if (cached_has_bits & 0x00000001u) {
13691 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13692 this->src().data(), static_cast<int>(this->src().length()),
13693 ::google::protobuf::internal::WireFormat::SERIALIZE,
13694 "Hdfs.Internal.ReleaseLeaseRequestProto.src");
13695 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
13696 1, this->src(), output);
13697 }
13698
13699 // required string clientName = 2;
13700 if (cached_has_bits & 0x00000002u) {
13701 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13702 this->clientname().data(), static_cast<int>(this->clientname().length()),
13703 ::google::protobuf::internal::WireFormat::SERIALIZE,
13704 "Hdfs.Internal.ReleaseLeaseRequestProto.clientName");
13705 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
13706 2, this->clientname(), output);
13707 }
13708
13709 if (_internal_metadata_.have_unknown_fields()) {
13710 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
13711 _internal_metadata_.unknown_fields(), output);
13712 }
13713 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ReleaseLeaseRequestProto)
13714}
13715
13716::google::protobuf::uint8* ReleaseLeaseRequestProto::InternalSerializeWithCachedSizesToArray(
13717 bool deterministic, ::google::protobuf::uint8* target) const {
13718 (void)deterministic; // Unused
13719 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ReleaseLeaseRequestProto)
13720 ::google::protobuf::uint32 cached_has_bits = 0;
13721 (void) cached_has_bits;
13722
13723 cached_has_bits = _has_bits_[0];
13724 // required string src = 1;
13725 if (cached_has_bits & 0x00000001u) {
13726 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13727 this->src().data(), static_cast<int>(this->src().length()),
13728 ::google::protobuf::internal::WireFormat::SERIALIZE,
13729 "Hdfs.Internal.ReleaseLeaseRequestProto.src");
13730 target =
13731 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
13732 1, this->src(), target);
13733 }
13734
13735 // required string clientName = 2;
13736 if (cached_has_bits & 0x00000002u) {
13737 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
13738 this->clientname().data(), static_cast<int>(this->clientname().length()),
13739 ::google::protobuf::internal::WireFormat::SERIALIZE,
13740 "Hdfs.Internal.ReleaseLeaseRequestProto.clientName");
13741 target =
13742 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
13743 2, this->clientname(), target);
13744 }
13745
13746 if (_internal_metadata_.have_unknown_fields()) {
13747 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
13748 _internal_metadata_.unknown_fields(), target);
13749 }
13750 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ReleaseLeaseRequestProto)
13751 return target;
13752}
13753
13754size_t ReleaseLeaseRequestProto::RequiredFieldsByteSizeFallback() const {
13755// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.ReleaseLeaseRequestProto)
13756 size_t total_size = 0;
13757
13758 if (has_src()) {
13759 // required string src = 1;
13760 total_size += 1 +
13761 ::google::protobuf::internal::WireFormatLite::StringSize(
13762 this->src());
13763 }
13764
13765 if (has_clientname()) {
13766 // required string clientName = 2;
13767 total_size += 1 +
13768 ::google::protobuf::internal::WireFormatLite::StringSize(
13769 this->clientname());
13770 }
13771
13772 return total_size;
13773}
13774size_t ReleaseLeaseRequestProto::ByteSizeLong() const {
13775// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ReleaseLeaseRequestProto)
13776 size_t total_size = 0;
13777
13778 if (_internal_metadata_.have_unknown_fields()) {
13779 total_size +=
13780 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
13781 _internal_metadata_.unknown_fields());
13782 }
13783 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
13784 // required string src = 1;
13785 total_size += 1 +
13786 ::google::protobuf::internal::WireFormatLite::StringSize(
13787 this->src());
13788
13789 // required string clientName = 2;
13790 total_size += 1 +
13791 ::google::protobuf::internal::WireFormatLite::StringSize(
13792 this->clientname());
13793
13794 } else {
13795 total_size += RequiredFieldsByteSizeFallback();
13796 }
13797 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
13798 SetCachedSize(cached_size);
13799 return total_size;
13800}
13801
13802void ReleaseLeaseRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
13803// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ReleaseLeaseRequestProto)
13804 GOOGLE_DCHECK_NE(&from, this);
13805 const ReleaseLeaseRequestProto* source =
13806 ::google::protobuf::internal::DynamicCastToGenerated<const ReleaseLeaseRequestProto>(
13807 &from);
13808 if (source == NULL) {
13809 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ReleaseLeaseRequestProto)
13810 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
13811 } else {
13812 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ReleaseLeaseRequestProto)
13813 MergeFrom(*source);
13814 }
13815}
13816
13817void ReleaseLeaseRequestProto::MergeFrom(const ReleaseLeaseRequestProto& from) {
13818// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ReleaseLeaseRequestProto)
13819 GOOGLE_DCHECK_NE(&from, this);
13820 _internal_metadata_.MergeFrom(from._internal_metadata_);
13821 ::google::protobuf::uint32 cached_has_bits = 0;
13822 (void) cached_has_bits;
13823
13824 cached_has_bits = from._has_bits_[0];
13825 if (cached_has_bits & 3u) {
13826 if (cached_has_bits & 0x00000001u) {
13827 set_has_src();
13828 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
13829 }
13830 if (cached_has_bits & 0x00000002u) {
13831 set_has_clientname();
13832 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
13833 }
13834 }
13835}
13836
13837void ReleaseLeaseRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
13838// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ReleaseLeaseRequestProto)
13839 if (&from == this) return;
13840 Clear();
13841 MergeFrom(from);
13842}
13843
13844void ReleaseLeaseRequestProto::CopyFrom(const ReleaseLeaseRequestProto& from) {
13845// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ReleaseLeaseRequestProto)
13846 if (&from == this) return;
13847 Clear();
13848 MergeFrom(from);
13849}
13850
13851bool ReleaseLeaseRequestProto::IsInitialized() const {
13852 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
13853 return true;
13854}
13855
13856void ReleaseLeaseRequestProto::Swap(ReleaseLeaseRequestProto* other) {
13857 if (other == this) return;
13858 InternalSwap(other);
13859}
13860void ReleaseLeaseRequestProto::InternalSwap(ReleaseLeaseRequestProto* other) {
13861 using std::swap;
13862 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
13863 GetArenaNoVirtual());
13864 clientname_.Swap(&other->clientname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
13865 GetArenaNoVirtual());
13866 swap(_has_bits_[0], other->_has_bits_[0]);
13867 _internal_metadata_.Swap(&other->_internal_metadata_);
13868}
13869
13870::google::protobuf::Metadata ReleaseLeaseRequestProto::GetMetadata() const {
13871 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
13872 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
13873}
13874
13875
13876// ===================================================================
13877
13878void ReleaseLeaseResponseProto::InitAsDefaultInstance() {
13879}
13880#if !defined(_MSC_VER) || _MSC_VER >= 1900
13881#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
13882
13883ReleaseLeaseResponseProto::ReleaseLeaseResponseProto()
13884 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
13885 ::google::protobuf::internal::InitSCC(
13886 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ReleaseLeaseResponseProto.base);
13887 SharedCtor();
13888 // @@protoc_insertion_point(constructor:Hdfs.Internal.ReleaseLeaseResponseProto)
13889}
13890ReleaseLeaseResponseProto::ReleaseLeaseResponseProto(const ReleaseLeaseResponseProto& from)
13891 : ::google::protobuf::Message(),
13892 _internal_metadata_(NULL),
13893 _has_bits_(from._has_bits_) {
13894 _internal_metadata_.MergeFrom(from._internal_metadata_);
13895 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ReleaseLeaseResponseProto)
13896}
13897
13898void ReleaseLeaseResponseProto::SharedCtor() {
13899}
13900
13901ReleaseLeaseResponseProto::~ReleaseLeaseResponseProto() {
13902 // @@protoc_insertion_point(destructor:Hdfs.Internal.ReleaseLeaseResponseProto)
13903 SharedDtor();
13904}
13905
13906void ReleaseLeaseResponseProto::SharedDtor() {
13907}
13908
13909void ReleaseLeaseResponseProto::SetCachedSize(int size) const {
13910 _cached_size_.Set(size);
13911}
13912const ::google::protobuf::Descriptor* ReleaseLeaseResponseProto::descriptor() {
13913 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
13914 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
13915}
13916
13917const ReleaseLeaseResponseProto& ReleaseLeaseResponseProto::default_instance() {
13918 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ReleaseLeaseResponseProto.base);
13919 return *internal_default_instance();
13920}
13921
13922
13923void ReleaseLeaseResponseProto::Clear() {
13924// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ReleaseLeaseResponseProto)
13925 ::google::protobuf::uint32 cached_has_bits = 0;
13926 // Prevent compiler warnings about cached_has_bits being unused
13927 (void) cached_has_bits;
13928
13929 _has_bits_.Clear();
13930 _internal_metadata_.Clear();
13931}
13932
13933bool ReleaseLeaseResponseProto::MergePartialFromCodedStream(
13934 ::google::protobuf::io::CodedInputStream* input) {
13935#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
13936 ::google::protobuf::uint32 tag;
13937 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ReleaseLeaseResponseProto)
13938 for (;;) {
13939 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
13940 tag = p.first;
13941 if (!p.second) goto handle_unusual;
13942 handle_unusual:
13943 if (tag == 0) {
13944 goto success;
13945 }
13946 DO_(::google::protobuf::internal::WireFormat::SkipField(
13947 input, tag, _internal_metadata_.mutable_unknown_fields()));
13948 }
13949success:
13950 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ReleaseLeaseResponseProto)
13951 return true;
13952failure:
13953 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ReleaseLeaseResponseProto)
13954 return false;
13955#undef DO_
13956}
13957
13958void ReleaseLeaseResponseProto::SerializeWithCachedSizes(
13959 ::google::protobuf::io::CodedOutputStream* output) const {
13960 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ReleaseLeaseResponseProto)
13961 ::google::protobuf::uint32 cached_has_bits = 0;
13962 (void) cached_has_bits;
13963
13964 if (_internal_metadata_.have_unknown_fields()) {
13965 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
13966 _internal_metadata_.unknown_fields(), output);
13967 }
13968 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ReleaseLeaseResponseProto)
13969}
13970
13971::google::protobuf::uint8* ReleaseLeaseResponseProto::InternalSerializeWithCachedSizesToArray(
13972 bool deterministic, ::google::protobuf::uint8* target) const {
13973 (void)deterministic; // Unused
13974 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ReleaseLeaseResponseProto)
13975 ::google::protobuf::uint32 cached_has_bits = 0;
13976 (void) cached_has_bits;
13977
13978 if (_internal_metadata_.have_unknown_fields()) {
13979 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
13980 _internal_metadata_.unknown_fields(), target);
13981 }
13982 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ReleaseLeaseResponseProto)
13983 return target;
13984}
13985
13986size_t ReleaseLeaseResponseProto::ByteSizeLong() const {
13987// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ReleaseLeaseResponseProto)
13988 size_t total_size = 0;
13989
13990 if (_internal_metadata_.have_unknown_fields()) {
13991 total_size +=
13992 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
13993 _internal_metadata_.unknown_fields());
13994 }
13995 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
13996 SetCachedSize(cached_size);
13997 return total_size;
13998}
13999
14000void ReleaseLeaseResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
14001// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ReleaseLeaseResponseProto)
14002 GOOGLE_DCHECK_NE(&from, this);
14003 const ReleaseLeaseResponseProto* source =
14004 ::google::protobuf::internal::DynamicCastToGenerated<const ReleaseLeaseResponseProto>(
14005 &from);
14006 if (source == NULL) {
14007 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ReleaseLeaseResponseProto)
14008 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
14009 } else {
14010 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ReleaseLeaseResponseProto)
14011 MergeFrom(*source);
14012 }
14013}
14014
14015void ReleaseLeaseResponseProto::MergeFrom(const ReleaseLeaseResponseProto& from) {
14016// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ReleaseLeaseResponseProto)
14017 GOOGLE_DCHECK_NE(&from, this);
14018 _internal_metadata_.MergeFrom(from._internal_metadata_);
14019 ::google::protobuf::uint32 cached_has_bits = 0;
14020 (void) cached_has_bits;
14021
14022}
14023
14024void ReleaseLeaseResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
14025// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ReleaseLeaseResponseProto)
14026 if (&from == this) return;
14027 Clear();
14028 MergeFrom(from);
14029}
14030
14031void ReleaseLeaseResponseProto::CopyFrom(const ReleaseLeaseResponseProto& from) {
14032// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ReleaseLeaseResponseProto)
14033 if (&from == this) return;
14034 Clear();
14035 MergeFrom(from);
14036}
14037
14038bool ReleaseLeaseResponseProto::IsInitialized() const {
14039 return true;
14040}
14041
14042void ReleaseLeaseResponseProto::Swap(ReleaseLeaseResponseProto* other) {
14043 if (other == this) return;
14044 InternalSwap(other);
14045}
14046void ReleaseLeaseResponseProto::InternalSwap(ReleaseLeaseResponseProto* other) {
14047 using std::swap;
14048 swap(_has_bits_[0], other->_has_bits_[0]);
14049 _internal_metadata_.Swap(&other->_internal_metadata_);
14050}
14051
14052::google::protobuf::Metadata ReleaseLeaseResponseProto::GetMetadata() const {
14053 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
14054 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
14055}
14056
14057
14058// ===================================================================
14059
14060void RenameRequestProto::InitAsDefaultInstance() {
14061}
14062#if !defined(_MSC_VER) || _MSC_VER >= 1900
14063const int RenameRequestProto::kSrcFieldNumber;
14064const int RenameRequestProto::kDstFieldNumber;
14065#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
14066
14067RenameRequestProto::RenameRequestProto()
14068 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
14069 ::google::protobuf::internal::InitSCC(
14070 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RenameRequestProto.base);
14071 SharedCtor();
14072 // @@protoc_insertion_point(constructor:Hdfs.Internal.RenameRequestProto)
14073}
14074RenameRequestProto::RenameRequestProto(const RenameRequestProto& from)
14075 : ::google::protobuf::Message(),
14076 _internal_metadata_(NULL),
14077 _has_bits_(from._has_bits_) {
14078 _internal_metadata_.MergeFrom(from._internal_metadata_);
14079 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14080 if (from.has_src()) {
14081 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
14082 }
14083 dst_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14084 if (from.has_dst()) {
14085 dst_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dst_);
14086 }
14087 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RenameRequestProto)
14088}
14089
14090void RenameRequestProto::SharedCtor() {
14091 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14092 dst_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14093}
14094
14095RenameRequestProto::~RenameRequestProto() {
14096 // @@protoc_insertion_point(destructor:Hdfs.Internal.RenameRequestProto)
14097 SharedDtor();
14098}
14099
14100void RenameRequestProto::SharedDtor() {
14101 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14102 dst_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14103}
14104
14105void RenameRequestProto::SetCachedSize(int size) const {
14106 _cached_size_.Set(size);
14107}
14108const ::google::protobuf::Descriptor* RenameRequestProto::descriptor() {
14109 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
14110 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
14111}
14112
14113const RenameRequestProto& RenameRequestProto::default_instance() {
14114 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RenameRequestProto.base);
14115 return *internal_default_instance();
14116}
14117
14118
14119void RenameRequestProto::Clear() {
14120// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RenameRequestProto)
14121 ::google::protobuf::uint32 cached_has_bits = 0;
14122 // Prevent compiler warnings about cached_has_bits being unused
14123 (void) cached_has_bits;
14124
14125 cached_has_bits = _has_bits_[0];
14126 if (cached_has_bits & 3u) {
14127 if (cached_has_bits & 0x00000001u) {
14128 src_.ClearNonDefaultToEmptyNoArena();
14129 }
14130 if (cached_has_bits & 0x00000002u) {
14131 dst_.ClearNonDefaultToEmptyNoArena();
14132 }
14133 }
14134 _has_bits_.Clear();
14135 _internal_metadata_.Clear();
14136}
14137
14138bool RenameRequestProto::MergePartialFromCodedStream(
14139 ::google::protobuf::io::CodedInputStream* input) {
14140#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
14141 ::google::protobuf::uint32 tag;
14142 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RenameRequestProto)
14143 for (;;) {
14144 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
14145 tag = p.first;
14146 if (!p.second) goto handle_unusual;
14147 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
14148 // required string src = 1;
14149 case 1: {
14150 if (static_cast< ::google::protobuf::uint8>(tag) ==
14151 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
14152 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14153 input, this->mutable_src()));
14154 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14155 this->src().data(), static_cast<int>(this->src().length()),
14156 ::google::protobuf::internal::WireFormat::PARSE,
14157 "Hdfs.Internal.RenameRequestProto.src");
14158 } else {
14159 goto handle_unusual;
14160 }
14161 break;
14162 }
14163
14164 // required string dst = 2;
14165 case 2: {
14166 if (static_cast< ::google::protobuf::uint8>(tag) ==
14167 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
14168 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14169 input, this->mutable_dst()));
14170 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14171 this->dst().data(), static_cast<int>(this->dst().length()),
14172 ::google::protobuf::internal::WireFormat::PARSE,
14173 "Hdfs.Internal.RenameRequestProto.dst");
14174 } else {
14175 goto handle_unusual;
14176 }
14177 break;
14178 }
14179
14180 default: {
14181 handle_unusual:
14182 if (tag == 0) {
14183 goto success;
14184 }
14185 DO_(::google::protobuf::internal::WireFormat::SkipField(
14186 input, tag, _internal_metadata_.mutable_unknown_fields()));
14187 break;
14188 }
14189 }
14190 }
14191success:
14192 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RenameRequestProto)
14193 return true;
14194failure:
14195 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RenameRequestProto)
14196 return false;
14197#undef DO_
14198}
14199
14200void RenameRequestProto::SerializeWithCachedSizes(
14201 ::google::protobuf::io::CodedOutputStream* output) const {
14202 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RenameRequestProto)
14203 ::google::protobuf::uint32 cached_has_bits = 0;
14204 (void) cached_has_bits;
14205
14206 cached_has_bits = _has_bits_[0];
14207 // required string src = 1;
14208 if (cached_has_bits & 0x00000001u) {
14209 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14210 this->src().data(), static_cast<int>(this->src().length()),
14211 ::google::protobuf::internal::WireFormat::SERIALIZE,
14212 "Hdfs.Internal.RenameRequestProto.src");
14213 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14214 1, this->src(), output);
14215 }
14216
14217 // required string dst = 2;
14218 if (cached_has_bits & 0x00000002u) {
14219 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14220 this->dst().data(), static_cast<int>(this->dst().length()),
14221 ::google::protobuf::internal::WireFormat::SERIALIZE,
14222 "Hdfs.Internal.RenameRequestProto.dst");
14223 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14224 2, this->dst(), output);
14225 }
14226
14227 if (_internal_metadata_.have_unknown_fields()) {
14228 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
14229 _internal_metadata_.unknown_fields(), output);
14230 }
14231 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RenameRequestProto)
14232}
14233
14234::google::protobuf::uint8* RenameRequestProto::InternalSerializeWithCachedSizesToArray(
14235 bool deterministic, ::google::protobuf::uint8* target) const {
14236 (void)deterministic; // Unused
14237 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RenameRequestProto)
14238 ::google::protobuf::uint32 cached_has_bits = 0;
14239 (void) cached_has_bits;
14240
14241 cached_has_bits = _has_bits_[0];
14242 // required string src = 1;
14243 if (cached_has_bits & 0x00000001u) {
14244 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14245 this->src().data(), static_cast<int>(this->src().length()),
14246 ::google::protobuf::internal::WireFormat::SERIALIZE,
14247 "Hdfs.Internal.RenameRequestProto.src");
14248 target =
14249 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14250 1, this->src(), target);
14251 }
14252
14253 // required string dst = 2;
14254 if (cached_has_bits & 0x00000002u) {
14255 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14256 this->dst().data(), static_cast<int>(this->dst().length()),
14257 ::google::protobuf::internal::WireFormat::SERIALIZE,
14258 "Hdfs.Internal.RenameRequestProto.dst");
14259 target =
14260 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14261 2, this->dst(), target);
14262 }
14263
14264 if (_internal_metadata_.have_unknown_fields()) {
14265 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
14266 _internal_metadata_.unknown_fields(), target);
14267 }
14268 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RenameRequestProto)
14269 return target;
14270}
14271
14272size_t RenameRequestProto::RequiredFieldsByteSizeFallback() const {
14273// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.RenameRequestProto)
14274 size_t total_size = 0;
14275
14276 if (has_src()) {
14277 // required string src = 1;
14278 total_size += 1 +
14279 ::google::protobuf::internal::WireFormatLite::StringSize(
14280 this->src());
14281 }
14282
14283 if (has_dst()) {
14284 // required string dst = 2;
14285 total_size += 1 +
14286 ::google::protobuf::internal::WireFormatLite::StringSize(
14287 this->dst());
14288 }
14289
14290 return total_size;
14291}
14292size_t RenameRequestProto::ByteSizeLong() const {
14293// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RenameRequestProto)
14294 size_t total_size = 0;
14295
14296 if (_internal_metadata_.have_unknown_fields()) {
14297 total_size +=
14298 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
14299 _internal_metadata_.unknown_fields());
14300 }
14301 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
14302 // required string src = 1;
14303 total_size += 1 +
14304 ::google::protobuf::internal::WireFormatLite::StringSize(
14305 this->src());
14306
14307 // required string dst = 2;
14308 total_size += 1 +
14309 ::google::protobuf::internal::WireFormatLite::StringSize(
14310 this->dst());
14311
14312 } else {
14313 total_size += RequiredFieldsByteSizeFallback();
14314 }
14315 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
14316 SetCachedSize(cached_size);
14317 return total_size;
14318}
14319
14320void RenameRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
14321// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RenameRequestProto)
14322 GOOGLE_DCHECK_NE(&from, this);
14323 const RenameRequestProto* source =
14324 ::google::protobuf::internal::DynamicCastToGenerated<const RenameRequestProto>(
14325 &from);
14326 if (source == NULL) {
14327 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RenameRequestProto)
14328 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
14329 } else {
14330 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RenameRequestProto)
14331 MergeFrom(*source);
14332 }
14333}
14334
14335void RenameRequestProto::MergeFrom(const RenameRequestProto& from) {
14336// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RenameRequestProto)
14337 GOOGLE_DCHECK_NE(&from, this);
14338 _internal_metadata_.MergeFrom(from._internal_metadata_);
14339 ::google::protobuf::uint32 cached_has_bits = 0;
14340 (void) cached_has_bits;
14341
14342 cached_has_bits = from._has_bits_[0];
14343 if (cached_has_bits & 3u) {
14344 if (cached_has_bits & 0x00000001u) {
14345 set_has_src();
14346 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
14347 }
14348 if (cached_has_bits & 0x00000002u) {
14349 set_has_dst();
14350 dst_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dst_);
14351 }
14352 }
14353}
14354
14355void RenameRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
14356// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RenameRequestProto)
14357 if (&from == this) return;
14358 Clear();
14359 MergeFrom(from);
14360}
14361
14362void RenameRequestProto::CopyFrom(const RenameRequestProto& from) {
14363// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RenameRequestProto)
14364 if (&from == this) return;
14365 Clear();
14366 MergeFrom(from);
14367}
14368
14369bool RenameRequestProto::IsInitialized() const {
14370 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
14371 return true;
14372}
14373
14374void RenameRequestProto::Swap(RenameRequestProto* other) {
14375 if (other == this) return;
14376 InternalSwap(other);
14377}
14378void RenameRequestProto::InternalSwap(RenameRequestProto* other) {
14379 using std::swap;
14380 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14381 GetArenaNoVirtual());
14382 dst_.Swap(&other->dst_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14383 GetArenaNoVirtual());
14384 swap(_has_bits_[0], other->_has_bits_[0]);
14385 _internal_metadata_.Swap(&other->_internal_metadata_);
14386}
14387
14388::google::protobuf::Metadata RenameRequestProto::GetMetadata() const {
14389 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
14390 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
14391}
14392
14393
14394// ===================================================================
14395
14396void RenameResponseProto::InitAsDefaultInstance() {
14397}
14398#if !defined(_MSC_VER) || _MSC_VER >= 1900
14399const int RenameResponseProto::kResultFieldNumber;
14400#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
14401
14402RenameResponseProto::RenameResponseProto()
14403 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
14404 ::google::protobuf::internal::InitSCC(
14405 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RenameResponseProto.base);
14406 SharedCtor();
14407 // @@protoc_insertion_point(constructor:Hdfs.Internal.RenameResponseProto)
14408}
14409RenameResponseProto::RenameResponseProto(const RenameResponseProto& from)
14410 : ::google::protobuf::Message(),
14411 _internal_metadata_(NULL),
14412 _has_bits_(from._has_bits_) {
14413 _internal_metadata_.MergeFrom(from._internal_metadata_);
14414 result_ = from.result_;
14415 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RenameResponseProto)
14416}
14417
14418void RenameResponseProto::SharedCtor() {
14419 result_ = false;
14420}
14421
14422RenameResponseProto::~RenameResponseProto() {
14423 // @@protoc_insertion_point(destructor:Hdfs.Internal.RenameResponseProto)
14424 SharedDtor();
14425}
14426
14427void RenameResponseProto::SharedDtor() {
14428}
14429
14430void RenameResponseProto::SetCachedSize(int size) const {
14431 _cached_size_.Set(size);
14432}
14433const ::google::protobuf::Descriptor* RenameResponseProto::descriptor() {
14434 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
14435 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
14436}
14437
14438const RenameResponseProto& RenameResponseProto::default_instance() {
14439 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RenameResponseProto.base);
14440 return *internal_default_instance();
14441}
14442
14443
14444void RenameResponseProto::Clear() {
14445// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RenameResponseProto)
14446 ::google::protobuf::uint32 cached_has_bits = 0;
14447 // Prevent compiler warnings about cached_has_bits being unused
14448 (void) cached_has_bits;
14449
14450 result_ = false;
14451 _has_bits_.Clear();
14452 _internal_metadata_.Clear();
14453}
14454
14455bool RenameResponseProto::MergePartialFromCodedStream(
14456 ::google::protobuf::io::CodedInputStream* input) {
14457#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
14458 ::google::protobuf::uint32 tag;
14459 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RenameResponseProto)
14460 for (;;) {
14461 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
14462 tag = p.first;
14463 if (!p.second) goto handle_unusual;
14464 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
14465 // required bool result = 1;
14466 case 1: {
14467 if (static_cast< ::google::protobuf::uint8>(tag) ==
14468 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
14469 set_has_result();
14470 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14471 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
14472 input, &result_)));
14473 } else {
14474 goto handle_unusual;
14475 }
14476 break;
14477 }
14478
14479 default: {
14480 handle_unusual:
14481 if (tag == 0) {
14482 goto success;
14483 }
14484 DO_(::google::protobuf::internal::WireFormat::SkipField(
14485 input, tag, _internal_metadata_.mutable_unknown_fields()));
14486 break;
14487 }
14488 }
14489 }
14490success:
14491 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RenameResponseProto)
14492 return true;
14493failure:
14494 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RenameResponseProto)
14495 return false;
14496#undef DO_
14497}
14498
14499void RenameResponseProto::SerializeWithCachedSizes(
14500 ::google::protobuf::io::CodedOutputStream* output) const {
14501 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RenameResponseProto)
14502 ::google::protobuf::uint32 cached_has_bits = 0;
14503 (void) cached_has_bits;
14504
14505 cached_has_bits = _has_bits_[0];
14506 // required bool result = 1;
14507 if (cached_has_bits & 0x00000001u) {
14508 ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->result(), output);
14509 }
14510
14511 if (_internal_metadata_.have_unknown_fields()) {
14512 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
14513 _internal_metadata_.unknown_fields(), output);
14514 }
14515 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RenameResponseProto)
14516}
14517
14518::google::protobuf::uint8* RenameResponseProto::InternalSerializeWithCachedSizesToArray(
14519 bool deterministic, ::google::protobuf::uint8* target) const {
14520 (void)deterministic; // Unused
14521 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RenameResponseProto)
14522 ::google::protobuf::uint32 cached_has_bits = 0;
14523 (void) cached_has_bits;
14524
14525 cached_has_bits = _has_bits_[0];
14526 // required bool result = 1;
14527 if (cached_has_bits & 0x00000001u) {
14528 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->result(), target);
14529 }
14530
14531 if (_internal_metadata_.have_unknown_fields()) {
14532 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
14533 _internal_metadata_.unknown_fields(), target);
14534 }
14535 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RenameResponseProto)
14536 return target;
14537}
14538
14539size_t RenameResponseProto::ByteSizeLong() const {
14540// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RenameResponseProto)
14541 size_t total_size = 0;
14542
14543 if (_internal_metadata_.have_unknown_fields()) {
14544 total_size +=
14545 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
14546 _internal_metadata_.unknown_fields());
14547 }
14548 // required bool result = 1;
14549 if (has_result()) {
14550 total_size += 1 + 1;
14551 }
14552 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
14553 SetCachedSize(cached_size);
14554 return total_size;
14555}
14556
14557void RenameResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
14558// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RenameResponseProto)
14559 GOOGLE_DCHECK_NE(&from, this);
14560 const RenameResponseProto* source =
14561 ::google::protobuf::internal::DynamicCastToGenerated<const RenameResponseProto>(
14562 &from);
14563 if (source == NULL) {
14564 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RenameResponseProto)
14565 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
14566 } else {
14567 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RenameResponseProto)
14568 MergeFrom(*source);
14569 }
14570}
14571
14572void RenameResponseProto::MergeFrom(const RenameResponseProto& from) {
14573// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RenameResponseProto)
14574 GOOGLE_DCHECK_NE(&from, this);
14575 _internal_metadata_.MergeFrom(from._internal_metadata_);
14576 ::google::protobuf::uint32 cached_has_bits = 0;
14577 (void) cached_has_bits;
14578
14579 if (from.has_result()) {
14580 set_result(from.result());
14581 }
14582}
14583
14584void RenameResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
14585// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RenameResponseProto)
14586 if (&from == this) return;
14587 Clear();
14588 MergeFrom(from);
14589}
14590
14591void RenameResponseProto::CopyFrom(const RenameResponseProto& from) {
14592// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RenameResponseProto)
14593 if (&from == this) return;
14594 Clear();
14595 MergeFrom(from);
14596}
14597
14598bool RenameResponseProto::IsInitialized() const {
14599 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
14600 return true;
14601}
14602
14603void RenameResponseProto::Swap(RenameResponseProto* other) {
14604 if (other == this) return;
14605 InternalSwap(other);
14606}
14607void RenameResponseProto::InternalSwap(RenameResponseProto* other) {
14608 using std::swap;
14609 swap(result_, other->result_);
14610 swap(_has_bits_[0], other->_has_bits_[0]);
14611 _internal_metadata_.Swap(&other->_internal_metadata_);
14612}
14613
14614::google::protobuf::Metadata RenameResponseProto::GetMetadata() const {
14615 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
14616 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
14617}
14618
14619
14620// ===================================================================
14621
14622void Rename2RequestProto::InitAsDefaultInstance() {
14623}
14624#if !defined(_MSC_VER) || _MSC_VER >= 1900
14625const int Rename2RequestProto::kSrcFieldNumber;
14626const int Rename2RequestProto::kDstFieldNumber;
14627const int Rename2RequestProto::kOverwriteDestFieldNumber;
14628#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
14629
14630Rename2RequestProto::Rename2RequestProto()
14631 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
14632 ::google::protobuf::internal::InitSCC(
14633 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_Rename2RequestProto.base);
14634 SharedCtor();
14635 // @@protoc_insertion_point(constructor:Hdfs.Internal.Rename2RequestProto)
14636}
14637Rename2RequestProto::Rename2RequestProto(const Rename2RequestProto& from)
14638 : ::google::protobuf::Message(),
14639 _internal_metadata_(NULL),
14640 _has_bits_(from._has_bits_) {
14641 _internal_metadata_.MergeFrom(from._internal_metadata_);
14642 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14643 if (from.has_src()) {
14644 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
14645 }
14646 dst_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14647 if (from.has_dst()) {
14648 dst_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dst_);
14649 }
14650 overwritedest_ = from.overwritedest_;
14651 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.Rename2RequestProto)
14652}
14653
14654void Rename2RequestProto::SharedCtor() {
14655 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14656 dst_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14657 overwritedest_ = false;
14658}
14659
14660Rename2RequestProto::~Rename2RequestProto() {
14661 // @@protoc_insertion_point(destructor:Hdfs.Internal.Rename2RequestProto)
14662 SharedDtor();
14663}
14664
14665void Rename2RequestProto::SharedDtor() {
14666 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14667 dst_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14668}
14669
14670void Rename2RequestProto::SetCachedSize(int size) const {
14671 _cached_size_.Set(size);
14672}
14673const ::google::protobuf::Descriptor* Rename2RequestProto::descriptor() {
14674 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
14675 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
14676}
14677
14678const Rename2RequestProto& Rename2RequestProto::default_instance() {
14679 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_Rename2RequestProto.base);
14680 return *internal_default_instance();
14681}
14682
14683
14684void Rename2RequestProto::Clear() {
14685// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.Rename2RequestProto)
14686 ::google::protobuf::uint32 cached_has_bits = 0;
14687 // Prevent compiler warnings about cached_has_bits being unused
14688 (void) cached_has_bits;
14689
14690 cached_has_bits = _has_bits_[0];
14691 if (cached_has_bits & 3u) {
14692 if (cached_has_bits & 0x00000001u) {
14693 src_.ClearNonDefaultToEmptyNoArena();
14694 }
14695 if (cached_has_bits & 0x00000002u) {
14696 dst_.ClearNonDefaultToEmptyNoArena();
14697 }
14698 }
14699 overwritedest_ = false;
14700 _has_bits_.Clear();
14701 _internal_metadata_.Clear();
14702}
14703
14704bool Rename2RequestProto::MergePartialFromCodedStream(
14705 ::google::protobuf::io::CodedInputStream* input) {
14706#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
14707 ::google::protobuf::uint32 tag;
14708 // @@protoc_insertion_point(parse_start:Hdfs.Internal.Rename2RequestProto)
14709 for (;;) {
14710 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
14711 tag = p.first;
14712 if (!p.second) goto handle_unusual;
14713 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
14714 // required string src = 1;
14715 case 1: {
14716 if (static_cast< ::google::protobuf::uint8>(tag) ==
14717 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
14718 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14719 input, this->mutable_src()));
14720 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14721 this->src().data(), static_cast<int>(this->src().length()),
14722 ::google::protobuf::internal::WireFormat::PARSE,
14723 "Hdfs.Internal.Rename2RequestProto.src");
14724 } else {
14725 goto handle_unusual;
14726 }
14727 break;
14728 }
14729
14730 // required string dst = 2;
14731 case 2: {
14732 if (static_cast< ::google::protobuf::uint8>(tag) ==
14733 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
14734 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
14735 input, this->mutable_dst()));
14736 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14737 this->dst().data(), static_cast<int>(this->dst().length()),
14738 ::google::protobuf::internal::WireFormat::PARSE,
14739 "Hdfs.Internal.Rename2RequestProto.dst");
14740 } else {
14741 goto handle_unusual;
14742 }
14743 break;
14744 }
14745
14746 // required bool overwriteDest = 3;
14747 case 3: {
14748 if (static_cast< ::google::protobuf::uint8>(tag) ==
14749 static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
14750 set_has_overwritedest();
14751 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14752 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
14753 input, &overwritedest_)));
14754 } else {
14755 goto handle_unusual;
14756 }
14757 break;
14758 }
14759
14760 default: {
14761 handle_unusual:
14762 if (tag == 0) {
14763 goto success;
14764 }
14765 DO_(::google::protobuf::internal::WireFormat::SkipField(
14766 input, tag, _internal_metadata_.mutable_unknown_fields()));
14767 break;
14768 }
14769 }
14770 }
14771success:
14772 // @@protoc_insertion_point(parse_success:Hdfs.Internal.Rename2RequestProto)
14773 return true;
14774failure:
14775 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.Rename2RequestProto)
14776 return false;
14777#undef DO_
14778}
14779
14780void Rename2RequestProto::SerializeWithCachedSizes(
14781 ::google::protobuf::io::CodedOutputStream* output) const {
14782 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.Rename2RequestProto)
14783 ::google::protobuf::uint32 cached_has_bits = 0;
14784 (void) cached_has_bits;
14785
14786 cached_has_bits = _has_bits_[0];
14787 // required string src = 1;
14788 if (cached_has_bits & 0x00000001u) {
14789 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14790 this->src().data(), static_cast<int>(this->src().length()),
14791 ::google::protobuf::internal::WireFormat::SERIALIZE,
14792 "Hdfs.Internal.Rename2RequestProto.src");
14793 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14794 1, this->src(), output);
14795 }
14796
14797 // required string dst = 2;
14798 if (cached_has_bits & 0x00000002u) {
14799 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14800 this->dst().data(), static_cast<int>(this->dst().length()),
14801 ::google::protobuf::internal::WireFormat::SERIALIZE,
14802 "Hdfs.Internal.Rename2RequestProto.dst");
14803 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
14804 2, this->dst(), output);
14805 }
14806
14807 // required bool overwriteDest = 3;
14808 if (cached_has_bits & 0x00000004u) {
14809 ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->overwritedest(), output);
14810 }
14811
14812 if (_internal_metadata_.have_unknown_fields()) {
14813 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
14814 _internal_metadata_.unknown_fields(), output);
14815 }
14816 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.Rename2RequestProto)
14817}
14818
14819::google::protobuf::uint8* Rename2RequestProto::InternalSerializeWithCachedSizesToArray(
14820 bool deterministic, ::google::protobuf::uint8* target) const {
14821 (void)deterministic; // Unused
14822 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.Rename2RequestProto)
14823 ::google::protobuf::uint32 cached_has_bits = 0;
14824 (void) cached_has_bits;
14825
14826 cached_has_bits = _has_bits_[0];
14827 // required string src = 1;
14828 if (cached_has_bits & 0x00000001u) {
14829 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14830 this->src().data(), static_cast<int>(this->src().length()),
14831 ::google::protobuf::internal::WireFormat::SERIALIZE,
14832 "Hdfs.Internal.Rename2RequestProto.src");
14833 target =
14834 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14835 1, this->src(), target);
14836 }
14837
14838 // required string dst = 2;
14839 if (cached_has_bits & 0x00000002u) {
14840 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
14841 this->dst().data(), static_cast<int>(this->dst().length()),
14842 ::google::protobuf::internal::WireFormat::SERIALIZE,
14843 "Hdfs.Internal.Rename2RequestProto.dst");
14844 target =
14845 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14846 2, this->dst(), target);
14847 }
14848
14849 // required bool overwriteDest = 3;
14850 if (cached_has_bits & 0x00000004u) {
14851 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->overwritedest(), target);
14852 }
14853
14854 if (_internal_metadata_.have_unknown_fields()) {
14855 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
14856 _internal_metadata_.unknown_fields(), target);
14857 }
14858 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.Rename2RequestProto)
14859 return target;
14860}
14861
14862size_t Rename2RequestProto::RequiredFieldsByteSizeFallback() const {
14863// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.Rename2RequestProto)
14864 size_t total_size = 0;
14865
14866 if (has_src()) {
14867 // required string src = 1;
14868 total_size += 1 +
14869 ::google::protobuf::internal::WireFormatLite::StringSize(
14870 this->src());
14871 }
14872
14873 if (has_dst()) {
14874 // required string dst = 2;
14875 total_size += 1 +
14876 ::google::protobuf::internal::WireFormatLite::StringSize(
14877 this->dst());
14878 }
14879
14880 if (has_overwritedest()) {
14881 // required bool overwriteDest = 3;
14882 total_size += 1 + 1;
14883 }
14884
14885 return total_size;
14886}
14887size_t Rename2RequestProto::ByteSizeLong() const {
14888// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.Rename2RequestProto)
14889 size_t total_size = 0;
14890
14891 if (_internal_metadata_.have_unknown_fields()) {
14892 total_size +=
14893 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
14894 _internal_metadata_.unknown_fields());
14895 }
14896 if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
14897 // required string src = 1;
14898 total_size += 1 +
14899 ::google::protobuf::internal::WireFormatLite::StringSize(
14900 this->src());
14901
14902 // required string dst = 2;
14903 total_size += 1 +
14904 ::google::protobuf::internal::WireFormatLite::StringSize(
14905 this->dst());
14906
14907 // required bool overwriteDest = 3;
14908 total_size += 1 + 1;
14909
14910 } else {
14911 total_size += RequiredFieldsByteSizeFallback();
14912 }
14913 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
14914 SetCachedSize(cached_size);
14915 return total_size;
14916}
14917
14918void Rename2RequestProto::MergeFrom(const ::google::protobuf::Message& from) {
14919// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.Rename2RequestProto)
14920 GOOGLE_DCHECK_NE(&from, this);
14921 const Rename2RequestProto* source =
14922 ::google::protobuf::internal::DynamicCastToGenerated<const Rename2RequestProto>(
14923 &from);
14924 if (source == NULL) {
14925 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.Rename2RequestProto)
14926 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
14927 } else {
14928 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.Rename2RequestProto)
14929 MergeFrom(*source);
14930 }
14931}
14932
14933void Rename2RequestProto::MergeFrom(const Rename2RequestProto& from) {
14934// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.Rename2RequestProto)
14935 GOOGLE_DCHECK_NE(&from, this);
14936 _internal_metadata_.MergeFrom(from._internal_metadata_);
14937 ::google::protobuf::uint32 cached_has_bits = 0;
14938 (void) cached_has_bits;
14939
14940 cached_has_bits = from._has_bits_[0];
14941 if (cached_has_bits & 7u) {
14942 if (cached_has_bits & 0x00000001u) {
14943 set_has_src();
14944 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
14945 }
14946 if (cached_has_bits & 0x00000002u) {
14947 set_has_dst();
14948 dst_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dst_);
14949 }
14950 if (cached_has_bits & 0x00000004u) {
14951 overwritedest_ = from.overwritedest_;
14952 }
14953 _has_bits_[0] |= cached_has_bits;
14954 }
14955}
14956
14957void Rename2RequestProto::CopyFrom(const ::google::protobuf::Message& from) {
14958// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.Rename2RequestProto)
14959 if (&from == this) return;
14960 Clear();
14961 MergeFrom(from);
14962}
14963
14964void Rename2RequestProto::CopyFrom(const Rename2RequestProto& from) {
14965// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.Rename2RequestProto)
14966 if (&from == this) return;
14967 Clear();
14968 MergeFrom(from);
14969}
14970
14971bool Rename2RequestProto::IsInitialized() const {
14972 if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
14973 return true;
14974}
14975
14976void Rename2RequestProto::Swap(Rename2RequestProto* other) {
14977 if (other == this) return;
14978 InternalSwap(other);
14979}
14980void Rename2RequestProto::InternalSwap(Rename2RequestProto* other) {
14981 using std::swap;
14982 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14983 GetArenaNoVirtual());
14984 dst_.Swap(&other->dst_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14985 GetArenaNoVirtual());
14986 swap(overwritedest_, other->overwritedest_);
14987 swap(_has_bits_[0], other->_has_bits_[0]);
14988 _internal_metadata_.Swap(&other->_internal_metadata_);
14989}
14990
14991::google::protobuf::Metadata Rename2RequestProto::GetMetadata() const {
14992 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
14993 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
14994}
14995
14996
14997// ===================================================================
14998
14999void Rename2ResponseProto::InitAsDefaultInstance() {
15000}
15001#if !defined(_MSC_VER) || _MSC_VER >= 1900
15002#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
15003
15004Rename2ResponseProto::Rename2ResponseProto()
15005 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
15006 ::google::protobuf::internal::InitSCC(
15007 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_Rename2ResponseProto.base);
15008 SharedCtor();
15009 // @@protoc_insertion_point(constructor:Hdfs.Internal.Rename2ResponseProto)
15010}
15011Rename2ResponseProto::Rename2ResponseProto(const Rename2ResponseProto& from)
15012 : ::google::protobuf::Message(),
15013 _internal_metadata_(NULL),
15014 _has_bits_(from._has_bits_) {
15015 _internal_metadata_.MergeFrom(from._internal_metadata_);
15016 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.Rename2ResponseProto)
15017}
15018
15019void Rename2ResponseProto::SharedCtor() {
15020}
15021
15022Rename2ResponseProto::~Rename2ResponseProto() {
15023 // @@protoc_insertion_point(destructor:Hdfs.Internal.Rename2ResponseProto)
15024 SharedDtor();
15025}
15026
15027void Rename2ResponseProto::SharedDtor() {
15028}
15029
15030void Rename2ResponseProto::SetCachedSize(int size) const {
15031 _cached_size_.Set(size);
15032}
15033const ::google::protobuf::Descriptor* Rename2ResponseProto::descriptor() {
15034 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
15035 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
15036}
15037
15038const Rename2ResponseProto& Rename2ResponseProto::default_instance() {
15039 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_Rename2ResponseProto.base);
15040 return *internal_default_instance();
15041}
15042
15043
15044void Rename2ResponseProto::Clear() {
15045// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.Rename2ResponseProto)
15046 ::google::protobuf::uint32 cached_has_bits = 0;
15047 // Prevent compiler warnings about cached_has_bits being unused
15048 (void) cached_has_bits;
15049
15050 _has_bits_.Clear();
15051 _internal_metadata_.Clear();
15052}
15053
15054bool Rename2ResponseProto::MergePartialFromCodedStream(
15055 ::google::protobuf::io::CodedInputStream* input) {
15056#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
15057 ::google::protobuf::uint32 tag;
15058 // @@protoc_insertion_point(parse_start:Hdfs.Internal.Rename2ResponseProto)
15059 for (;;) {
15060 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
15061 tag = p.first;
15062 if (!p.second) goto handle_unusual;
15063 handle_unusual:
15064 if (tag == 0) {
15065 goto success;
15066 }
15067 DO_(::google::protobuf::internal::WireFormat::SkipField(
15068 input, tag, _internal_metadata_.mutable_unknown_fields()));
15069 }
15070success:
15071 // @@protoc_insertion_point(parse_success:Hdfs.Internal.Rename2ResponseProto)
15072 return true;
15073failure:
15074 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.Rename2ResponseProto)
15075 return false;
15076#undef DO_
15077}
15078
15079void Rename2ResponseProto::SerializeWithCachedSizes(
15080 ::google::protobuf::io::CodedOutputStream* output) const {
15081 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.Rename2ResponseProto)
15082 ::google::protobuf::uint32 cached_has_bits = 0;
15083 (void) cached_has_bits;
15084
15085 if (_internal_metadata_.have_unknown_fields()) {
15086 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
15087 _internal_metadata_.unknown_fields(), output);
15088 }
15089 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.Rename2ResponseProto)
15090}
15091
15092::google::protobuf::uint8* Rename2ResponseProto::InternalSerializeWithCachedSizesToArray(
15093 bool deterministic, ::google::protobuf::uint8* target) const {
15094 (void)deterministic; // Unused
15095 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.Rename2ResponseProto)
15096 ::google::protobuf::uint32 cached_has_bits = 0;
15097 (void) cached_has_bits;
15098
15099 if (_internal_metadata_.have_unknown_fields()) {
15100 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
15101 _internal_metadata_.unknown_fields(), target);
15102 }
15103 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.Rename2ResponseProto)
15104 return target;
15105}
15106
15107size_t Rename2ResponseProto::ByteSizeLong() const {
15108// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.Rename2ResponseProto)
15109 size_t total_size = 0;
15110
15111 if (_internal_metadata_.have_unknown_fields()) {
15112 total_size +=
15113 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
15114 _internal_metadata_.unknown_fields());
15115 }
15116 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
15117 SetCachedSize(cached_size);
15118 return total_size;
15119}
15120
15121void Rename2ResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
15122// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.Rename2ResponseProto)
15123 GOOGLE_DCHECK_NE(&from, this);
15124 const Rename2ResponseProto* source =
15125 ::google::protobuf::internal::DynamicCastToGenerated<const Rename2ResponseProto>(
15126 &from);
15127 if (source == NULL) {
15128 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.Rename2ResponseProto)
15129 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
15130 } else {
15131 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.Rename2ResponseProto)
15132 MergeFrom(*source);
15133 }
15134}
15135
15136void Rename2ResponseProto::MergeFrom(const Rename2ResponseProto& from) {
15137// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.Rename2ResponseProto)
15138 GOOGLE_DCHECK_NE(&from, this);
15139 _internal_metadata_.MergeFrom(from._internal_metadata_);
15140 ::google::protobuf::uint32 cached_has_bits = 0;
15141 (void) cached_has_bits;
15142
15143}
15144
15145void Rename2ResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
15146// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.Rename2ResponseProto)
15147 if (&from == this) return;
15148 Clear();
15149 MergeFrom(from);
15150}
15151
15152void Rename2ResponseProto::CopyFrom(const Rename2ResponseProto& from) {
15153// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.Rename2ResponseProto)
15154 if (&from == this) return;
15155 Clear();
15156 MergeFrom(from);
15157}
15158
15159bool Rename2ResponseProto::IsInitialized() const {
15160 return true;
15161}
15162
15163void Rename2ResponseProto::Swap(Rename2ResponseProto* other) {
15164 if (other == this) return;
15165 InternalSwap(other);
15166}
15167void Rename2ResponseProto::InternalSwap(Rename2ResponseProto* other) {
15168 using std::swap;
15169 swap(_has_bits_[0], other->_has_bits_[0]);
15170 _internal_metadata_.Swap(&other->_internal_metadata_);
15171}
15172
15173::google::protobuf::Metadata Rename2ResponseProto::GetMetadata() const {
15174 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
15175 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
15176}
15177
15178
15179// ===================================================================
15180
15181void DeleteRequestProto::InitAsDefaultInstance() {
15182}
15183#if !defined(_MSC_VER) || _MSC_VER >= 1900
15184const int DeleteRequestProto::kSrcFieldNumber;
15185const int DeleteRequestProto::kRecursiveFieldNumber;
15186#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
15187
15188DeleteRequestProto::DeleteRequestProto()
15189 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
15190 ::google::protobuf::internal::InitSCC(
15191 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_DeleteRequestProto.base);
15192 SharedCtor();
15193 // @@protoc_insertion_point(constructor:Hdfs.Internal.DeleteRequestProto)
15194}
15195DeleteRequestProto::DeleteRequestProto(const DeleteRequestProto& from)
15196 : ::google::protobuf::Message(),
15197 _internal_metadata_(NULL),
15198 _has_bits_(from._has_bits_) {
15199 _internal_metadata_.MergeFrom(from._internal_metadata_);
15200 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15201 if (from.has_src()) {
15202 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
15203 }
15204 recursive_ = from.recursive_;
15205 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.DeleteRequestProto)
15206}
15207
15208void DeleteRequestProto::SharedCtor() {
15209 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15210 recursive_ = false;
15211}
15212
15213DeleteRequestProto::~DeleteRequestProto() {
15214 // @@protoc_insertion_point(destructor:Hdfs.Internal.DeleteRequestProto)
15215 SharedDtor();
15216}
15217
15218void DeleteRequestProto::SharedDtor() {
15219 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15220}
15221
15222void DeleteRequestProto::SetCachedSize(int size) const {
15223 _cached_size_.Set(size);
15224}
15225const ::google::protobuf::Descriptor* DeleteRequestProto::descriptor() {
15226 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
15227 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
15228}
15229
15230const DeleteRequestProto& DeleteRequestProto::default_instance() {
15231 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_DeleteRequestProto.base);
15232 return *internal_default_instance();
15233}
15234
15235
15236void DeleteRequestProto::Clear() {
15237// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.DeleteRequestProto)
15238 ::google::protobuf::uint32 cached_has_bits = 0;
15239 // Prevent compiler warnings about cached_has_bits being unused
15240 (void) cached_has_bits;
15241
15242 cached_has_bits = _has_bits_[0];
15243 if (cached_has_bits & 0x00000001u) {
15244 src_.ClearNonDefaultToEmptyNoArena();
15245 }
15246 recursive_ = false;
15247 _has_bits_.Clear();
15248 _internal_metadata_.Clear();
15249}
15250
15251bool DeleteRequestProto::MergePartialFromCodedStream(
15252 ::google::protobuf::io::CodedInputStream* input) {
15253#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
15254 ::google::protobuf::uint32 tag;
15255 // @@protoc_insertion_point(parse_start:Hdfs.Internal.DeleteRequestProto)
15256 for (;;) {
15257 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
15258 tag = p.first;
15259 if (!p.second) goto handle_unusual;
15260 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
15261 // required string src = 1;
15262 case 1: {
15263 if (static_cast< ::google::protobuf::uint8>(tag) ==
15264 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
15265 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
15266 input, this->mutable_src()));
15267 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
15268 this->src().data(), static_cast<int>(this->src().length()),
15269 ::google::protobuf::internal::WireFormat::PARSE,
15270 "Hdfs.Internal.DeleteRequestProto.src");
15271 } else {
15272 goto handle_unusual;
15273 }
15274 break;
15275 }
15276
15277 // required bool recursive = 2;
15278 case 2: {
15279 if (static_cast< ::google::protobuf::uint8>(tag) ==
15280 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
15281 set_has_recursive();
15282 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15283 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
15284 input, &recursive_)));
15285 } else {
15286 goto handle_unusual;
15287 }
15288 break;
15289 }
15290
15291 default: {
15292 handle_unusual:
15293 if (tag == 0) {
15294 goto success;
15295 }
15296 DO_(::google::protobuf::internal::WireFormat::SkipField(
15297 input, tag, _internal_metadata_.mutable_unknown_fields()));
15298 break;
15299 }
15300 }
15301 }
15302success:
15303 // @@protoc_insertion_point(parse_success:Hdfs.Internal.DeleteRequestProto)
15304 return true;
15305failure:
15306 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.DeleteRequestProto)
15307 return false;
15308#undef DO_
15309}
15310
15311void DeleteRequestProto::SerializeWithCachedSizes(
15312 ::google::protobuf::io::CodedOutputStream* output) const {
15313 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.DeleteRequestProto)
15314 ::google::protobuf::uint32 cached_has_bits = 0;
15315 (void) cached_has_bits;
15316
15317 cached_has_bits = _has_bits_[0];
15318 // required string src = 1;
15319 if (cached_has_bits & 0x00000001u) {
15320 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
15321 this->src().data(), static_cast<int>(this->src().length()),
15322 ::google::protobuf::internal::WireFormat::SERIALIZE,
15323 "Hdfs.Internal.DeleteRequestProto.src");
15324 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
15325 1, this->src(), output);
15326 }
15327
15328 // required bool recursive = 2;
15329 if (cached_has_bits & 0x00000002u) {
15330 ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->recursive(), output);
15331 }
15332
15333 if (_internal_metadata_.have_unknown_fields()) {
15334 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
15335 _internal_metadata_.unknown_fields(), output);
15336 }
15337 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.DeleteRequestProto)
15338}
15339
15340::google::protobuf::uint8* DeleteRequestProto::InternalSerializeWithCachedSizesToArray(
15341 bool deterministic, ::google::protobuf::uint8* target) const {
15342 (void)deterministic; // Unused
15343 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.DeleteRequestProto)
15344 ::google::protobuf::uint32 cached_has_bits = 0;
15345 (void) cached_has_bits;
15346
15347 cached_has_bits = _has_bits_[0];
15348 // required string src = 1;
15349 if (cached_has_bits & 0x00000001u) {
15350 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
15351 this->src().data(), static_cast<int>(this->src().length()),
15352 ::google::protobuf::internal::WireFormat::SERIALIZE,
15353 "Hdfs.Internal.DeleteRequestProto.src");
15354 target =
15355 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
15356 1, this->src(), target);
15357 }
15358
15359 // required bool recursive = 2;
15360 if (cached_has_bits & 0x00000002u) {
15361 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->recursive(), target);
15362 }
15363
15364 if (_internal_metadata_.have_unknown_fields()) {
15365 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
15366 _internal_metadata_.unknown_fields(), target);
15367 }
15368 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.DeleteRequestProto)
15369 return target;
15370}
15371
15372size_t DeleteRequestProto::RequiredFieldsByteSizeFallback() const {
15373// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.DeleteRequestProto)
15374 size_t total_size = 0;
15375
15376 if (has_src()) {
15377 // required string src = 1;
15378 total_size += 1 +
15379 ::google::protobuf::internal::WireFormatLite::StringSize(
15380 this->src());
15381 }
15382
15383 if (has_recursive()) {
15384 // required bool recursive = 2;
15385 total_size += 1 + 1;
15386 }
15387
15388 return total_size;
15389}
15390size_t DeleteRequestProto::ByteSizeLong() const {
15391// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.DeleteRequestProto)
15392 size_t total_size = 0;
15393
15394 if (_internal_metadata_.have_unknown_fields()) {
15395 total_size +=
15396 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
15397 _internal_metadata_.unknown_fields());
15398 }
15399 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
15400 // required string src = 1;
15401 total_size += 1 +
15402 ::google::protobuf::internal::WireFormatLite::StringSize(
15403 this->src());
15404
15405 // required bool recursive = 2;
15406 total_size += 1 + 1;
15407
15408 } else {
15409 total_size += RequiredFieldsByteSizeFallback();
15410 }
15411 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
15412 SetCachedSize(cached_size);
15413 return total_size;
15414}
15415
15416void DeleteRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
15417// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.DeleteRequestProto)
15418 GOOGLE_DCHECK_NE(&from, this);
15419 const DeleteRequestProto* source =
15420 ::google::protobuf::internal::DynamicCastToGenerated<const DeleteRequestProto>(
15421 &from);
15422 if (source == NULL) {
15423 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.DeleteRequestProto)
15424 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
15425 } else {
15426 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.DeleteRequestProto)
15427 MergeFrom(*source);
15428 }
15429}
15430
15431void DeleteRequestProto::MergeFrom(const DeleteRequestProto& from) {
15432// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.DeleteRequestProto)
15433 GOOGLE_DCHECK_NE(&from, this);
15434 _internal_metadata_.MergeFrom(from._internal_metadata_);
15435 ::google::protobuf::uint32 cached_has_bits = 0;
15436 (void) cached_has_bits;
15437
15438 cached_has_bits = from._has_bits_[0];
15439 if (cached_has_bits & 3u) {
15440 if (cached_has_bits & 0x00000001u) {
15441 set_has_src();
15442 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
15443 }
15444 if (cached_has_bits & 0x00000002u) {
15445 recursive_ = from.recursive_;
15446 }
15447 _has_bits_[0] |= cached_has_bits;
15448 }
15449}
15450
15451void DeleteRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
15452// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.DeleteRequestProto)
15453 if (&from == this) return;
15454 Clear();
15455 MergeFrom(from);
15456}
15457
15458void DeleteRequestProto::CopyFrom(const DeleteRequestProto& from) {
15459// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.DeleteRequestProto)
15460 if (&from == this) return;
15461 Clear();
15462 MergeFrom(from);
15463}
15464
15465bool DeleteRequestProto::IsInitialized() const {
15466 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
15467 return true;
15468}
15469
15470void DeleteRequestProto::Swap(DeleteRequestProto* other) {
15471 if (other == this) return;
15472 InternalSwap(other);
15473}
15474void DeleteRequestProto::InternalSwap(DeleteRequestProto* other) {
15475 using std::swap;
15476 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
15477 GetArenaNoVirtual());
15478 swap(recursive_, other->recursive_);
15479 swap(_has_bits_[0], other->_has_bits_[0]);
15480 _internal_metadata_.Swap(&other->_internal_metadata_);
15481}
15482
15483::google::protobuf::Metadata DeleteRequestProto::GetMetadata() const {
15484 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
15485 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
15486}
15487
15488
15489// ===================================================================
15490
15491void DeleteResponseProto::InitAsDefaultInstance() {
15492}
15493#if !defined(_MSC_VER) || _MSC_VER >= 1900
15494const int DeleteResponseProto::kResultFieldNumber;
15495#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
15496
15497DeleteResponseProto::DeleteResponseProto()
15498 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
15499 ::google::protobuf::internal::InitSCC(
15500 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_DeleteResponseProto.base);
15501 SharedCtor();
15502 // @@protoc_insertion_point(constructor:Hdfs.Internal.DeleteResponseProto)
15503}
15504DeleteResponseProto::DeleteResponseProto(const DeleteResponseProto& from)
15505 : ::google::protobuf::Message(),
15506 _internal_metadata_(NULL),
15507 _has_bits_(from._has_bits_) {
15508 _internal_metadata_.MergeFrom(from._internal_metadata_);
15509 result_ = from.result_;
15510 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.DeleteResponseProto)
15511}
15512
15513void DeleteResponseProto::SharedCtor() {
15514 result_ = false;
15515}
15516
15517DeleteResponseProto::~DeleteResponseProto() {
15518 // @@protoc_insertion_point(destructor:Hdfs.Internal.DeleteResponseProto)
15519 SharedDtor();
15520}
15521
15522void DeleteResponseProto::SharedDtor() {
15523}
15524
15525void DeleteResponseProto::SetCachedSize(int size) const {
15526 _cached_size_.Set(size);
15527}
15528const ::google::protobuf::Descriptor* DeleteResponseProto::descriptor() {
15529 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
15530 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
15531}
15532
15533const DeleteResponseProto& DeleteResponseProto::default_instance() {
15534 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_DeleteResponseProto.base);
15535 return *internal_default_instance();
15536}
15537
15538
15539void DeleteResponseProto::Clear() {
15540// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.DeleteResponseProto)
15541 ::google::protobuf::uint32 cached_has_bits = 0;
15542 // Prevent compiler warnings about cached_has_bits being unused
15543 (void) cached_has_bits;
15544
15545 result_ = false;
15546 _has_bits_.Clear();
15547 _internal_metadata_.Clear();
15548}
15549
15550bool DeleteResponseProto::MergePartialFromCodedStream(
15551 ::google::protobuf::io::CodedInputStream* input) {
15552#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
15553 ::google::protobuf::uint32 tag;
15554 // @@protoc_insertion_point(parse_start:Hdfs.Internal.DeleteResponseProto)
15555 for (;;) {
15556 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
15557 tag = p.first;
15558 if (!p.second) goto handle_unusual;
15559 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
15560 // required bool result = 1;
15561 case 1: {
15562 if (static_cast< ::google::protobuf::uint8>(tag) ==
15563 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
15564 set_has_result();
15565 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15566 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
15567 input, &result_)));
15568 } else {
15569 goto handle_unusual;
15570 }
15571 break;
15572 }
15573
15574 default: {
15575 handle_unusual:
15576 if (tag == 0) {
15577 goto success;
15578 }
15579 DO_(::google::protobuf::internal::WireFormat::SkipField(
15580 input, tag, _internal_metadata_.mutable_unknown_fields()));
15581 break;
15582 }
15583 }
15584 }
15585success:
15586 // @@protoc_insertion_point(parse_success:Hdfs.Internal.DeleteResponseProto)
15587 return true;
15588failure:
15589 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.DeleteResponseProto)
15590 return false;
15591#undef DO_
15592}
15593
15594void DeleteResponseProto::SerializeWithCachedSizes(
15595 ::google::protobuf::io::CodedOutputStream* output) const {
15596 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.DeleteResponseProto)
15597 ::google::protobuf::uint32 cached_has_bits = 0;
15598 (void) cached_has_bits;
15599
15600 cached_has_bits = _has_bits_[0];
15601 // required bool result = 1;
15602 if (cached_has_bits & 0x00000001u) {
15603 ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->result(), output);
15604 }
15605
15606 if (_internal_metadata_.have_unknown_fields()) {
15607 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
15608 _internal_metadata_.unknown_fields(), output);
15609 }
15610 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.DeleteResponseProto)
15611}
15612
15613::google::protobuf::uint8* DeleteResponseProto::InternalSerializeWithCachedSizesToArray(
15614 bool deterministic, ::google::protobuf::uint8* target) const {
15615 (void)deterministic; // Unused
15616 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.DeleteResponseProto)
15617 ::google::protobuf::uint32 cached_has_bits = 0;
15618 (void) cached_has_bits;
15619
15620 cached_has_bits = _has_bits_[0];
15621 // required bool result = 1;
15622 if (cached_has_bits & 0x00000001u) {
15623 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->result(), target);
15624 }
15625
15626 if (_internal_metadata_.have_unknown_fields()) {
15627 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
15628 _internal_metadata_.unknown_fields(), target);
15629 }
15630 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.DeleteResponseProto)
15631 return target;
15632}
15633
15634size_t DeleteResponseProto::ByteSizeLong() const {
15635// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.DeleteResponseProto)
15636 size_t total_size = 0;
15637
15638 if (_internal_metadata_.have_unknown_fields()) {
15639 total_size +=
15640 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
15641 _internal_metadata_.unknown_fields());
15642 }
15643 // required bool result = 1;
15644 if (has_result()) {
15645 total_size += 1 + 1;
15646 }
15647 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
15648 SetCachedSize(cached_size);
15649 return total_size;
15650}
15651
15652void DeleteResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
15653// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.DeleteResponseProto)
15654 GOOGLE_DCHECK_NE(&from, this);
15655 const DeleteResponseProto* source =
15656 ::google::protobuf::internal::DynamicCastToGenerated<const DeleteResponseProto>(
15657 &from);
15658 if (source == NULL) {
15659 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.DeleteResponseProto)
15660 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
15661 } else {
15662 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.DeleteResponseProto)
15663 MergeFrom(*source);
15664 }
15665}
15666
15667void DeleteResponseProto::MergeFrom(const DeleteResponseProto& from) {
15668// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.DeleteResponseProto)
15669 GOOGLE_DCHECK_NE(&from, this);
15670 _internal_metadata_.MergeFrom(from._internal_metadata_);
15671 ::google::protobuf::uint32 cached_has_bits = 0;
15672 (void) cached_has_bits;
15673
15674 if (from.has_result()) {
15675 set_result(from.result());
15676 }
15677}
15678
15679void DeleteResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
15680// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.DeleteResponseProto)
15681 if (&from == this) return;
15682 Clear();
15683 MergeFrom(from);
15684}
15685
15686void DeleteResponseProto::CopyFrom(const DeleteResponseProto& from) {
15687// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.DeleteResponseProto)
15688 if (&from == this) return;
15689 Clear();
15690 MergeFrom(from);
15691}
15692
15693bool DeleteResponseProto::IsInitialized() const {
15694 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
15695 return true;
15696}
15697
15698void DeleteResponseProto::Swap(DeleteResponseProto* other) {
15699 if (other == this) return;
15700 InternalSwap(other);
15701}
15702void DeleteResponseProto::InternalSwap(DeleteResponseProto* other) {
15703 using std::swap;
15704 swap(result_, other->result_);
15705 swap(_has_bits_[0], other->_has_bits_[0]);
15706 _internal_metadata_.Swap(&other->_internal_metadata_);
15707}
15708
15709::google::protobuf::Metadata DeleteResponseProto::GetMetadata() const {
15710 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
15711 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
15712}
15713
15714
15715// ===================================================================
15716
15717void MkdirsRequestProto::InitAsDefaultInstance() {
15718 ::Hdfs::Internal::_MkdirsRequestProto_default_instance_._instance.get_mutable()->masked_ = const_cast< ::Hdfs::Internal::FsPermissionProto*>(
15719 ::Hdfs::Internal::FsPermissionProto::internal_default_instance());
15720}
15721void MkdirsRequestProto::clear_masked() {
15722 if (masked_ != NULL) masked_->Clear();
15723 clear_has_masked();
15724}
15725#if !defined(_MSC_VER) || _MSC_VER >= 1900
15726const int MkdirsRequestProto::kSrcFieldNumber;
15727const int MkdirsRequestProto::kMaskedFieldNumber;
15728const int MkdirsRequestProto::kCreateParentFieldNumber;
15729#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
15730
15731MkdirsRequestProto::MkdirsRequestProto()
15732 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
15733 ::google::protobuf::internal::InitSCC(
15734 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_MkdirsRequestProto.base);
15735 SharedCtor();
15736 // @@protoc_insertion_point(constructor:Hdfs.Internal.MkdirsRequestProto)
15737}
15738MkdirsRequestProto::MkdirsRequestProto(const MkdirsRequestProto& from)
15739 : ::google::protobuf::Message(),
15740 _internal_metadata_(NULL),
15741 _has_bits_(from._has_bits_) {
15742 _internal_metadata_.MergeFrom(from._internal_metadata_);
15743 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15744 if (from.has_src()) {
15745 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
15746 }
15747 if (from.has_masked()) {
15748 masked_ = new ::Hdfs::Internal::FsPermissionProto(*from.masked_);
15749 } else {
15750 masked_ = NULL;
15751 }
15752 createparent_ = from.createparent_;
15753 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.MkdirsRequestProto)
15754}
15755
15756void MkdirsRequestProto::SharedCtor() {
15757 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15758 ::memset(&masked_, 0, static_cast<size_t>(
15759 reinterpret_cast<char*>(&createparent_) -
15760 reinterpret_cast<char*>(&masked_)) + sizeof(createparent_));
15761}
15762
15763MkdirsRequestProto::~MkdirsRequestProto() {
15764 // @@protoc_insertion_point(destructor:Hdfs.Internal.MkdirsRequestProto)
15765 SharedDtor();
15766}
15767
15768void MkdirsRequestProto::SharedDtor() {
15769 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15770 if (this != internal_default_instance()) delete masked_;
15771}
15772
15773void MkdirsRequestProto::SetCachedSize(int size) const {
15774 _cached_size_.Set(size);
15775}
15776const ::google::protobuf::Descriptor* MkdirsRequestProto::descriptor() {
15777 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
15778 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
15779}
15780
15781const MkdirsRequestProto& MkdirsRequestProto::default_instance() {
15782 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_MkdirsRequestProto.base);
15783 return *internal_default_instance();
15784}
15785
15786
15787void MkdirsRequestProto::Clear() {
15788// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.MkdirsRequestProto)
15789 ::google::protobuf::uint32 cached_has_bits = 0;
15790 // Prevent compiler warnings about cached_has_bits being unused
15791 (void) cached_has_bits;
15792
15793 cached_has_bits = _has_bits_[0];
15794 if (cached_has_bits & 3u) {
15795 if (cached_has_bits & 0x00000001u) {
15796 src_.ClearNonDefaultToEmptyNoArena();
15797 }
15798 if (cached_has_bits & 0x00000002u) {
15799 GOOGLE_DCHECK(masked_ != NULL);
15800 masked_->Clear();
15801 }
15802 }
15803 createparent_ = false;
15804 _has_bits_.Clear();
15805 _internal_metadata_.Clear();
15806}
15807
15808bool MkdirsRequestProto::MergePartialFromCodedStream(
15809 ::google::protobuf::io::CodedInputStream* input) {
15810#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
15811 ::google::protobuf::uint32 tag;
15812 // @@protoc_insertion_point(parse_start:Hdfs.Internal.MkdirsRequestProto)
15813 for (;;) {
15814 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
15815 tag = p.first;
15816 if (!p.second) goto handle_unusual;
15817 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
15818 // required string src = 1;
15819 case 1: {
15820 if (static_cast< ::google::protobuf::uint8>(tag) ==
15821 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
15822 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
15823 input, this->mutable_src()));
15824 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
15825 this->src().data(), static_cast<int>(this->src().length()),
15826 ::google::protobuf::internal::WireFormat::PARSE,
15827 "Hdfs.Internal.MkdirsRequestProto.src");
15828 } else {
15829 goto handle_unusual;
15830 }
15831 break;
15832 }
15833
15834 // required .Hdfs.Internal.FsPermissionProto masked = 2;
15835 case 2: {
15836 if (static_cast< ::google::protobuf::uint8>(tag) ==
15837 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
15838 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
15839 input, mutable_masked()));
15840 } else {
15841 goto handle_unusual;
15842 }
15843 break;
15844 }
15845
15846 // required bool createParent = 3;
15847 case 3: {
15848 if (static_cast< ::google::protobuf::uint8>(tag) ==
15849 static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
15850 set_has_createparent();
15851 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15852 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
15853 input, &createparent_)));
15854 } else {
15855 goto handle_unusual;
15856 }
15857 break;
15858 }
15859
15860 default: {
15861 handle_unusual:
15862 if (tag == 0) {
15863 goto success;
15864 }
15865 DO_(::google::protobuf::internal::WireFormat::SkipField(
15866 input, tag, _internal_metadata_.mutable_unknown_fields()));
15867 break;
15868 }
15869 }
15870 }
15871success:
15872 // @@protoc_insertion_point(parse_success:Hdfs.Internal.MkdirsRequestProto)
15873 return true;
15874failure:
15875 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.MkdirsRequestProto)
15876 return false;
15877#undef DO_
15878}
15879
15880void MkdirsRequestProto::SerializeWithCachedSizes(
15881 ::google::protobuf::io::CodedOutputStream* output) const {
15882 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.MkdirsRequestProto)
15883 ::google::protobuf::uint32 cached_has_bits = 0;
15884 (void) cached_has_bits;
15885
15886 cached_has_bits = _has_bits_[0];
15887 // required string src = 1;
15888 if (cached_has_bits & 0x00000001u) {
15889 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
15890 this->src().data(), static_cast<int>(this->src().length()),
15891 ::google::protobuf::internal::WireFormat::SERIALIZE,
15892 "Hdfs.Internal.MkdirsRequestProto.src");
15893 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
15894 1, this->src(), output);
15895 }
15896
15897 // required .Hdfs.Internal.FsPermissionProto masked = 2;
15898 if (cached_has_bits & 0x00000002u) {
15899 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
15900 2, this->_internal_masked(), output);
15901 }
15902
15903 // required bool createParent = 3;
15904 if (cached_has_bits & 0x00000004u) {
15905 ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->createparent(), output);
15906 }
15907
15908 if (_internal_metadata_.have_unknown_fields()) {
15909 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
15910 _internal_metadata_.unknown_fields(), output);
15911 }
15912 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.MkdirsRequestProto)
15913}
15914
15915::google::protobuf::uint8* MkdirsRequestProto::InternalSerializeWithCachedSizesToArray(
15916 bool deterministic, ::google::protobuf::uint8* target) const {
15917 (void)deterministic; // Unused
15918 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.MkdirsRequestProto)
15919 ::google::protobuf::uint32 cached_has_bits = 0;
15920 (void) cached_has_bits;
15921
15922 cached_has_bits = _has_bits_[0];
15923 // required string src = 1;
15924 if (cached_has_bits & 0x00000001u) {
15925 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
15926 this->src().data(), static_cast<int>(this->src().length()),
15927 ::google::protobuf::internal::WireFormat::SERIALIZE,
15928 "Hdfs.Internal.MkdirsRequestProto.src");
15929 target =
15930 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
15931 1, this->src(), target);
15932 }
15933
15934 // required .Hdfs.Internal.FsPermissionProto masked = 2;
15935 if (cached_has_bits & 0x00000002u) {
15936 target = ::google::protobuf::internal::WireFormatLite::
15937 InternalWriteMessageToArray(
15938 2, this->_internal_masked(), deterministic, target);
15939 }
15940
15941 // required bool createParent = 3;
15942 if (cached_has_bits & 0x00000004u) {
15943 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->createparent(), target);
15944 }
15945
15946 if (_internal_metadata_.have_unknown_fields()) {
15947 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
15948 _internal_metadata_.unknown_fields(), target);
15949 }
15950 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.MkdirsRequestProto)
15951 return target;
15952}
15953
15954size_t MkdirsRequestProto::RequiredFieldsByteSizeFallback() const {
15955// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.MkdirsRequestProto)
15956 size_t total_size = 0;
15957
15958 if (has_src()) {
15959 // required string src = 1;
15960 total_size += 1 +
15961 ::google::protobuf::internal::WireFormatLite::StringSize(
15962 this->src());
15963 }
15964
15965 if (has_masked()) {
15966 // required .Hdfs.Internal.FsPermissionProto masked = 2;
15967 total_size += 1 +
15968 ::google::protobuf::internal::WireFormatLite::MessageSize(
15969 *masked_);
15970 }
15971
15972 if (has_createparent()) {
15973 // required bool createParent = 3;
15974 total_size += 1 + 1;
15975 }
15976
15977 return total_size;
15978}
15979size_t MkdirsRequestProto::ByteSizeLong() const {
15980// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.MkdirsRequestProto)
15981 size_t total_size = 0;
15982
15983 if (_internal_metadata_.have_unknown_fields()) {
15984 total_size +=
15985 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
15986 _internal_metadata_.unknown_fields());
15987 }
15988 if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
15989 // required string src = 1;
15990 total_size += 1 +
15991 ::google::protobuf::internal::WireFormatLite::StringSize(
15992 this->src());
15993
15994 // required .Hdfs.Internal.FsPermissionProto masked = 2;
15995 total_size += 1 +
15996 ::google::protobuf::internal::WireFormatLite::MessageSize(
15997 *masked_);
15998
15999 // required bool createParent = 3;
16000 total_size += 1 + 1;
16001
16002 } else {
16003 total_size += RequiredFieldsByteSizeFallback();
16004 }
16005 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
16006 SetCachedSize(cached_size);
16007 return total_size;
16008}
16009
16010void MkdirsRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
16011// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.MkdirsRequestProto)
16012 GOOGLE_DCHECK_NE(&from, this);
16013 const MkdirsRequestProto* source =
16014 ::google::protobuf::internal::DynamicCastToGenerated<const MkdirsRequestProto>(
16015 &from);
16016 if (source == NULL) {
16017 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.MkdirsRequestProto)
16018 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
16019 } else {
16020 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.MkdirsRequestProto)
16021 MergeFrom(*source);
16022 }
16023}
16024
16025void MkdirsRequestProto::MergeFrom(const MkdirsRequestProto& from) {
16026// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.MkdirsRequestProto)
16027 GOOGLE_DCHECK_NE(&from, this);
16028 _internal_metadata_.MergeFrom(from._internal_metadata_);
16029 ::google::protobuf::uint32 cached_has_bits = 0;
16030 (void) cached_has_bits;
16031
16032 cached_has_bits = from._has_bits_[0];
16033 if (cached_has_bits & 7u) {
16034 if (cached_has_bits & 0x00000001u) {
16035 set_has_src();
16036 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
16037 }
16038 if (cached_has_bits & 0x00000002u) {
16039 mutable_masked()->::Hdfs::Internal::FsPermissionProto::MergeFrom(from.masked());
16040 }
16041 if (cached_has_bits & 0x00000004u) {
16042 createparent_ = from.createparent_;
16043 }
16044 _has_bits_[0] |= cached_has_bits;
16045 }
16046}
16047
16048void MkdirsRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
16049// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.MkdirsRequestProto)
16050 if (&from == this) return;
16051 Clear();
16052 MergeFrom(from);
16053}
16054
16055void MkdirsRequestProto::CopyFrom(const MkdirsRequestProto& from) {
16056// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.MkdirsRequestProto)
16057 if (&from == this) return;
16058 Clear();
16059 MergeFrom(from);
16060}
16061
16062bool MkdirsRequestProto::IsInitialized() const {
16063 if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
16064 if (has_masked()) {
16065 if (!this->masked_->IsInitialized()) return false;
16066 }
16067 return true;
16068}
16069
16070void MkdirsRequestProto::Swap(MkdirsRequestProto* other) {
16071 if (other == this) return;
16072 InternalSwap(other);
16073}
16074void MkdirsRequestProto::InternalSwap(MkdirsRequestProto* other) {
16075 using std::swap;
16076 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
16077 GetArenaNoVirtual());
16078 swap(masked_, other->masked_);
16079 swap(createparent_, other->createparent_);
16080 swap(_has_bits_[0], other->_has_bits_[0]);
16081 _internal_metadata_.Swap(&other->_internal_metadata_);
16082}
16083
16084::google::protobuf::Metadata MkdirsRequestProto::GetMetadata() const {
16085 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
16086 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
16087}
16088
16089
16090// ===================================================================
16091
16092void MkdirsResponseProto::InitAsDefaultInstance() {
16093}
16094#if !defined(_MSC_VER) || _MSC_VER >= 1900
16095const int MkdirsResponseProto::kResultFieldNumber;
16096#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
16097
16098MkdirsResponseProto::MkdirsResponseProto()
16099 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
16100 ::google::protobuf::internal::InitSCC(
16101 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_MkdirsResponseProto.base);
16102 SharedCtor();
16103 // @@protoc_insertion_point(constructor:Hdfs.Internal.MkdirsResponseProto)
16104}
16105MkdirsResponseProto::MkdirsResponseProto(const MkdirsResponseProto& from)
16106 : ::google::protobuf::Message(),
16107 _internal_metadata_(NULL),
16108 _has_bits_(from._has_bits_) {
16109 _internal_metadata_.MergeFrom(from._internal_metadata_);
16110 result_ = from.result_;
16111 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.MkdirsResponseProto)
16112}
16113
16114void MkdirsResponseProto::SharedCtor() {
16115 result_ = false;
16116}
16117
16118MkdirsResponseProto::~MkdirsResponseProto() {
16119 // @@protoc_insertion_point(destructor:Hdfs.Internal.MkdirsResponseProto)
16120 SharedDtor();
16121}
16122
16123void MkdirsResponseProto::SharedDtor() {
16124}
16125
16126void MkdirsResponseProto::SetCachedSize(int size) const {
16127 _cached_size_.Set(size);
16128}
16129const ::google::protobuf::Descriptor* MkdirsResponseProto::descriptor() {
16130 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
16131 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
16132}
16133
16134const MkdirsResponseProto& MkdirsResponseProto::default_instance() {
16135 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_MkdirsResponseProto.base);
16136 return *internal_default_instance();
16137}
16138
16139
16140void MkdirsResponseProto::Clear() {
16141// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.MkdirsResponseProto)
16142 ::google::protobuf::uint32 cached_has_bits = 0;
16143 // Prevent compiler warnings about cached_has_bits being unused
16144 (void) cached_has_bits;
16145
16146 result_ = false;
16147 _has_bits_.Clear();
16148 _internal_metadata_.Clear();
16149}
16150
16151bool MkdirsResponseProto::MergePartialFromCodedStream(
16152 ::google::protobuf::io::CodedInputStream* input) {
16153#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
16154 ::google::protobuf::uint32 tag;
16155 // @@protoc_insertion_point(parse_start:Hdfs.Internal.MkdirsResponseProto)
16156 for (;;) {
16157 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
16158 tag = p.first;
16159 if (!p.second) goto handle_unusual;
16160 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
16161 // required bool result = 1;
16162 case 1: {
16163 if (static_cast< ::google::protobuf::uint8>(tag) ==
16164 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
16165 set_has_result();
16166 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16167 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
16168 input, &result_)));
16169 } else {
16170 goto handle_unusual;
16171 }
16172 break;
16173 }
16174
16175 default: {
16176 handle_unusual:
16177 if (tag == 0) {
16178 goto success;
16179 }
16180 DO_(::google::protobuf::internal::WireFormat::SkipField(
16181 input, tag, _internal_metadata_.mutable_unknown_fields()));
16182 break;
16183 }
16184 }
16185 }
16186success:
16187 // @@protoc_insertion_point(parse_success:Hdfs.Internal.MkdirsResponseProto)
16188 return true;
16189failure:
16190 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.MkdirsResponseProto)
16191 return false;
16192#undef DO_
16193}
16194
16195void MkdirsResponseProto::SerializeWithCachedSizes(
16196 ::google::protobuf::io::CodedOutputStream* output) const {
16197 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.MkdirsResponseProto)
16198 ::google::protobuf::uint32 cached_has_bits = 0;
16199 (void) cached_has_bits;
16200
16201 cached_has_bits = _has_bits_[0];
16202 // required bool result = 1;
16203 if (cached_has_bits & 0x00000001u) {
16204 ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->result(), output);
16205 }
16206
16207 if (_internal_metadata_.have_unknown_fields()) {
16208 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
16209 _internal_metadata_.unknown_fields(), output);
16210 }
16211 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.MkdirsResponseProto)
16212}
16213
16214::google::protobuf::uint8* MkdirsResponseProto::InternalSerializeWithCachedSizesToArray(
16215 bool deterministic, ::google::protobuf::uint8* target) const {
16216 (void)deterministic; // Unused
16217 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.MkdirsResponseProto)
16218 ::google::protobuf::uint32 cached_has_bits = 0;
16219 (void) cached_has_bits;
16220
16221 cached_has_bits = _has_bits_[0];
16222 // required bool result = 1;
16223 if (cached_has_bits & 0x00000001u) {
16224 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->result(), target);
16225 }
16226
16227 if (_internal_metadata_.have_unknown_fields()) {
16228 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
16229 _internal_metadata_.unknown_fields(), target);
16230 }
16231 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.MkdirsResponseProto)
16232 return target;
16233}
16234
16235size_t MkdirsResponseProto::ByteSizeLong() const {
16236// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.MkdirsResponseProto)
16237 size_t total_size = 0;
16238
16239 if (_internal_metadata_.have_unknown_fields()) {
16240 total_size +=
16241 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
16242 _internal_metadata_.unknown_fields());
16243 }
16244 // required bool result = 1;
16245 if (has_result()) {
16246 total_size += 1 + 1;
16247 }
16248 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
16249 SetCachedSize(cached_size);
16250 return total_size;
16251}
16252
16253void MkdirsResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
16254// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.MkdirsResponseProto)
16255 GOOGLE_DCHECK_NE(&from, this);
16256 const MkdirsResponseProto* source =
16257 ::google::protobuf::internal::DynamicCastToGenerated<const MkdirsResponseProto>(
16258 &from);
16259 if (source == NULL) {
16260 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.MkdirsResponseProto)
16261 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
16262 } else {
16263 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.MkdirsResponseProto)
16264 MergeFrom(*source);
16265 }
16266}
16267
16268void MkdirsResponseProto::MergeFrom(const MkdirsResponseProto& from) {
16269// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.MkdirsResponseProto)
16270 GOOGLE_DCHECK_NE(&from, this);
16271 _internal_metadata_.MergeFrom(from._internal_metadata_);
16272 ::google::protobuf::uint32 cached_has_bits = 0;
16273 (void) cached_has_bits;
16274
16275 if (from.has_result()) {
16276 set_result(from.result());
16277 }
16278}
16279
16280void MkdirsResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
16281// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.MkdirsResponseProto)
16282 if (&from == this) return;
16283 Clear();
16284 MergeFrom(from);
16285}
16286
16287void MkdirsResponseProto::CopyFrom(const MkdirsResponseProto& from) {
16288// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.MkdirsResponseProto)
16289 if (&from == this) return;
16290 Clear();
16291 MergeFrom(from);
16292}
16293
16294bool MkdirsResponseProto::IsInitialized() const {
16295 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
16296 return true;
16297}
16298
16299void MkdirsResponseProto::Swap(MkdirsResponseProto* other) {
16300 if (other == this) return;
16301 InternalSwap(other);
16302}
16303void MkdirsResponseProto::InternalSwap(MkdirsResponseProto* other) {
16304 using std::swap;
16305 swap(result_, other->result_);
16306 swap(_has_bits_[0], other->_has_bits_[0]);
16307 _internal_metadata_.Swap(&other->_internal_metadata_);
16308}
16309
16310::google::protobuf::Metadata MkdirsResponseProto::GetMetadata() const {
16311 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
16312 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
16313}
16314
16315
16316// ===================================================================
16317
16318void GetListingRequestProto::InitAsDefaultInstance() {
16319}
16320#if !defined(_MSC_VER) || _MSC_VER >= 1900
16321const int GetListingRequestProto::kSrcFieldNumber;
16322const int GetListingRequestProto::kStartAfterFieldNumber;
16323const int GetListingRequestProto::kNeedLocationFieldNumber;
16324#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
16325
16326GetListingRequestProto::GetListingRequestProto()
16327 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
16328 ::google::protobuf::internal::InitSCC(
16329 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetListingRequestProto.base);
16330 SharedCtor();
16331 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetListingRequestProto)
16332}
16333GetListingRequestProto::GetListingRequestProto(const GetListingRequestProto& from)
16334 : ::google::protobuf::Message(),
16335 _internal_metadata_(NULL),
16336 _has_bits_(from._has_bits_) {
16337 _internal_metadata_.MergeFrom(from._internal_metadata_);
16338 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16339 if (from.has_src()) {
16340 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
16341 }
16342 startafter_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16343 if (from.has_startafter()) {
16344 startafter_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.startafter_);
16345 }
16346 needlocation_ = from.needlocation_;
16347 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetListingRequestProto)
16348}
16349
16350void GetListingRequestProto::SharedCtor() {
16351 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16352 startafter_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16353 needlocation_ = false;
16354}
16355
16356GetListingRequestProto::~GetListingRequestProto() {
16357 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetListingRequestProto)
16358 SharedDtor();
16359}
16360
16361void GetListingRequestProto::SharedDtor() {
16362 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16363 startafter_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16364}
16365
16366void GetListingRequestProto::SetCachedSize(int size) const {
16367 _cached_size_.Set(size);
16368}
16369const ::google::protobuf::Descriptor* GetListingRequestProto::descriptor() {
16370 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
16371 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
16372}
16373
16374const GetListingRequestProto& GetListingRequestProto::default_instance() {
16375 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetListingRequestProto.base);
16376 return *internal_default_instance();
16377}
16378
16379
16380void GetListingRequestProto::Clear() {
16381// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetListingRequestProto)
16382 ::google::protobuf::uint32 cached_has_bits = 0;
16383 // Prevent compiler warnings about cached_has_bits being unused
16384 (void) cached_has_bits;
16385
16386 cached_has_bits = _has_bits_[0];
16387 if (cached_has_bits & 3u) {
16388 if (cached_has_bits & 0x00000001u) {
16389 src_.ClearNonDefaultToEmptyNoArena();
16390 }
16391 if (cached_has_bits & 0x00000002u) {
16392 startafter_.ClearNonDefaultToEmptyNoArena();
16393 }
16394 }
16395 needlocation_ = false;
16396 _has_bits_.Clear();
16397 _internal_metadata_.Clear();
16398}
16399
16400bool GetListingRequestProto::MergePartialFromCodedStream(
16401 ::google::protobuf::io::CodedInputStream* input) {
16402#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
16403 ::google::protobuf::uint32 tag;
16404 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetListingRequestProto)
16405 for (;;) {
16406 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
16407 tag = p.first;
16408 if (!p.second) goto handle_unusual;
16409 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
16410 // required string src = 1;
16411 case 1: {
16412 if (static_cast< ::google::protobuf::uint8>(tag) ==
16413 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
16414 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
16415 input, this->mutable_src()));
16416 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
16417 this->src().data(), static_cast<int>(this->src().length()),
16418 ::google::protobuf::internal::WireFormat::PARSE,
16419 "Hdfs.Internal.GetListingRequestProto.src");
16420 } else {
16421 goto handle_unusual;
16422 }
16423 break;
16424 }
16425
16426 // required bytes startAfter = 2;
16427 case 2: {
16428 if (static_cast< ::google::protobuf::uint8>(tag) ==
16429 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
16430 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
16431 input, this->mutable_startafter()));
16432 } else {
16433 goto handle_unusual;
16434 }
16435 break;
16436 }
16437
16438 // required bool needLocation = 3;
16439 case 3: {
16440 if (static_cast< ::google::protobuf::uint8>(tag) ==
16441 static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
16442 set_has_needlocation();
16443 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16444 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
16445 input, &needlocation_)));
16446 } else {
16447 goto handle_unusual;
16448 }
16449 break;
16450 }
16451
16452 default: {
16453 handle_unusual:
16454 if (tag == 0) {
16455 goto success;
16456 }
16457 DO_(::google::protobuf::internal::WireFormat::SkipField(
16458 input, tag, _internal_metadata_.mutable_unknown_fields()));
16459 break;
16460 }
16461 }
16462 }
16463success:
16464 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetListingRequestProto)
16465 return true;
16466failure:
16467 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetListingRequestProto)
16468 return false;
16469#undef DO_
16470}
16471
16472void GetListingRequestProto::SerializeWithCachedSizes(
16473 ::google::protobuf::io::CodedOutputStream* output) const {
16474 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetListingRequestProto)
16475 ::google::protobuf::uint32 cached_has_bits = 0;
16476 (void) cached_has_bits;
16477
16478 cached_has_bits = _has_bits_[0];
16479 // required string src = 1;
16480 if (cached_has_bits & 0x00000001u) {
16481 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
16482 this->src().data(), static_cast<int>(this->src().length()),
16483 ::google::protobuf::internal::WireFormat::SERIALIZE,
16484 "Hdfs.Internal.GetListingRequestProto.src");
16485 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
16486 1, this->src(), output);
16487 }
16488
16489 // required bytes startAfter = 2;
16490 if (cached_has_bits & 0x00000002u) {
16491 ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
16492 2, this->startafter(), output);
16493 }
16494
16495 // required bool needLocation = 3;
16496 if (cached_has_bits & 0x00000004u) {
16497 ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->needlocation(), output);
16498 }
16499
16500 if (_internal_metadata_.have_unknown_fields()) {
16501 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
16502 _internal_metadata_.unknown_fields(), output);
16503 }
16504 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetListingRequestProto)
16505}
16506
16507::google::protobuf::uint8* GetListingRequestProto::InternalSerializeWithCachedSizesToArray(
16508 bool deterministic, ::google::protobuf::uint8* target) const {
16509 (void)deterministic; // Unused
16510 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetListingRequestProto)
16511 ::google::protobuf::uint32 cached_has_bits = 0;
16512 (void) cached_has_bits;
16513
16514 cached_has_bits = _has_bits_[0];
16515 // required string src = 1;
16516 if (cached_has_bits & 0x00000001u) {
16517 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
16518 this->src().data(), static_cast<int>(this->src().length()),
16519 ::google::protobuf::internal::WireFormat::SERIALIZE,
16520 "Hdfs.Internal.GetListingRequestProto.src");
16521 target =
16522 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
16523 1, this->src(), target);
16524 }
16525
16526 // required bytes startAfter = 2;
16527 if (cached_has_bits & 0x00000002u) {
16528 target =
16529 ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
16530 2, this->startafter(), target);
16531 }
16532
16533 // required bool needLocation = 3;
16534 if (cached_has_bits & 0x00000004u) {
16535 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->needlocation(), target);
16536 }
16537
16538 if (_internal_metadata_.have_unknown_fields()) {
16539 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
16540 _internal_metadata_.unknown_fields(), target);
16541 }
16542 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetListingRequestProto)
16543 return target;
16544}
16545
16546size_t GetListingRequestProto::RequiredFieldsByteSizeFallback() const {
16547// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.GetListingRequestProto)
16548 size_t total_size = 0;
16549
16550 if (has_src()) {
16551 // required string src = 1;
16552 total_size += 1 +
16553 ::google::protobuf::internal::WireFormatLite::StringSize(
16554 this->src());
16555 }
16556
16557 if (has_startafter()) {
16558 // required bytes startAfter = 2;
16559 total_size += 1 +
16560 ::google::protobuf::internal::WireFormatLite::BytesSize(
16561 this->startafter());
16562 }
16563
16564 if (has_needlocation()) {
16565 // required bool needLocation = 3;
16566 total_size += 1 + 1;
16567 }
16568
16569 return total_size;
16570}
16571size_t GetListingRequestProto::ByteSizeLong() const {
16572// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetListingRequestProto)
16573 size_t total_size = 0;
16574
16575 if (_internal_metadata_.have_unknown_fields()) {
16576 total_size +=
16577 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
16578 _internal_metadata_.unknown_fields());
16579 }
16580 if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
16581 // required string src = 1;
16582 total_size += 1 +
16583 ::google::protobuf::internal::WireFormatLite::StringSize(
16584 this->src());
16585
16586 // required bytes startAfter = 2;
16587 total_size += 1 +
16588 ::google::protobuf::internal::WireFormatLite::BytesSize(
16589 this->startafter());
16590
16591 // required bool needLocation = 3;
16592 total_size += 1 + 1;
16593
16594 } else {
16595 total_size += RequiredFieldsByteSizeFallback();
16596 }
16597 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
16598 SetCachedSize(cached_size);
16599 return total_size;
16600}
16601
16602void GetListingRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
16603// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetListingRequestProto)
16604 GOOGLE_DCHECK_NE(&from, this);
16605 const GetListingRequestProto* source =
16606 ::google::protobuf::internal::DynamicCastToGenerated<const GetListingRequestProto>(
16607 &from);
16608 if (source == NULL) {
16609 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetListingRequestProto)
16610 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
16611 } else {
16612 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetListingRequestProto)
16613 MergeFrom(*source);
16614 }
16615}
16616
16617void GetListingRequestProto::MergeFrom(const GetListingRequestProto& from) {
16618// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetListingRequestProto)
16619 GOOGLE_DCHECK_NE(&from, this);
16620 _internal_metadata_.MergeFrom(from._internal_metadata_);
16621 ::google::protobuf::uint32 cached_has_bits = 0;
16622 (void) cached_has_bits;
16623
16624 cached_has_bits = from._has_bits_[0];
16625 if (cached_has_bits & 7u) {
16626 if (cached_has_bits & 0x00000001u) {
16627 set_has_src();
16628 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
16629 }
16630 if (cached_has_bits & 0x00000002u) {
16631 set_has_startafter();
16632 startafter_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.startafter_);
16633 }
16634 if (cached_has_bits & 0x00000004u) {
16635 needlocation_ = from.needlocation_;
16636 }
16637 _has_bits_[0] |= cached_has_bits;
16638 }
16639}
16640
16641void GetListingRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
16642// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetListingRequestProto)
16643 if (&from == this) return;
16644 Clear();
16645 MergeFrom(from);
16646}
16647
16648void GetListingRequestProto::CopyFrom(const GetListingRequestProto& from) {
16649// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetListingRequestProto)
16650 if (&from == this) return;
16651 Clear();
16652 MergeFrom(from);
16653}
16654
16655bool GetListingRequestProto::IsInitialized() const {
16656 if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
16657 return true;
16658}
16659
16660void GetListingRequestProto::Swap(GetListingRequestProto* other) {
16661 if (other == this) return;
16662 InternalSwap(other);
16663}
16664void GetListingRequestProto::InternalSwap(GetListingRequestProto* other) {
16665 using std::swap;
16666 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
16667 GetArenaNoVirtual());
16668 startafter_.Swap(&other->startafter_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
16669 GetArenaNoVirtual());
16670 swap(needlocation_, other->needlocation_);
16671 swap(_has_bits_[0], other->_has_bits_[0]);
16672 _internal_metadata_.Swap(&other->_internal_metadata_);
16673}
16674
16675::google::protobuf::Metadata GetListingRequestProto::GetMetadata() const {
16676 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
16677 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
16678}
16679
16680
16681// ===================================================================
16682
16683void GetListingResponseProto::InitAsDefaultInstance() {
16684 ::Hdfs::Internal::_GetListingResponseProto_default_instance_._instance.get_mutable()->dirlist_ = const_cast< ::Hdfs::Internal::DirectoryListingProto*>(
16685 ::Hdfs::Internal::DirectoryListingProto::internal_default_instance());
16686}
16687void GetListingResponseProto::clear_dirlist() {
16688 if (dirlist_ != NULL) dirlist_->Clear();
16689 clear_has_dirlist();
16690}
16691#if !defined(_MSC_VER) || _MSC_VER >= 1900
16692const int GetListingResponseProto::kDirListFieldNumber;
16693#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
16694
16695GetListingResponseProto::GetListingResponseProto()
16696 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
16697 ::google::protobuf::internal::InitSCC(
16698 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetListingResponseProto.base);
16699 SharedCtor();
16700 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetListingResponseProto)
16701}
16702GetListingResponseProto::GetListingResponseProto(const GetListingResponseProto& from)
16703 : ::google::protobuf::Message(),
16704 _internal_metadata_(NULL),
16705 _has_bits_(from._has_bits_) {
16706 _internal_metadata_.MergeFrom(from._internal_metadata_);
16707 if (from.has_dirlist()) {
16708 dirlist_ = new ::Hdfs::Internal::DirectoryListingProto(*from.dirlist_);
16709 } else {
16710 dirlist_ = NULL;
16711 }
16712 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetListingResponseProto)
16713}
16714
16715void GetListingResponseProto::SharedCtor() {
16716 dirlist_ = NULL;
16717}
16718
16719GetListingResponseProto::~GetListingResponseProto() {
16720 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetListingResponseProto)
16721 SharedDtor();
16722}
16723
16724void GetListingResponseProto::SharedDtor() {
16725 if (this != internal_default_instance()) delete dirlist_;
16726}
16727
16728void GetListingResponseProto::SetCachedSize(int size) const {
16729 _cached_size_.Set(size);
16730}
16731const ::google::protobuf::Descriptor* GetListingResponseProto::descriptor() {
16732 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
16733 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
16734}
16735
16736const GetListingResponseProto& GetListingResponseProto::default_instance() {
16737 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetListingResponseProto.base);
16738 return *internal_default_instance();
16739}
16740
16741
16742void GetListingResponseProto::Clear() {
16743// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetListingResponseProto)
16744 ::google::protobuf::uint32 cached_has_bits = 0;
16745 // Prevent compiler warnings about cached_has_bits being unused
16746 (void) cached_has_bits;
16747
16748 cached_has_bits = _has_bits_[0];
16749 if (cached_has_bits & 0x00000001u) {
16750 GOOGLE_DCHECK(dirlist_ != NULL);
16751 dirlist_->Clear();
16752 }
16753 _has_bits_.Clear();
16754 _internal_metadata_.Clear();
16755}
16756
16757bool GetListingResponseProto::MergePartialFromCodedStream(
16758 ::google::protobuf::io::CodedInputStream* input) {
16759#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
16760 ::google::protobuf::uint32 tag;
16761 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetListingResponseProto)
16762 for (;;) {
16763 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
16764 tag = p.first;
16765 if (!p.second) goto handle_unusual;
16766 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
16767 // optional .Hdfs.Internal.DirectoryListingProto dirList = 1;
16768 case 1: {
16769 if (static_cast< ::google::protobuf::uint8>(tag) ==
16770 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
16771 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
16772 input, mutable_dirlist()));
16773 } else {
16774 goto handle_unusual;
16775 }
16776 break;
16777 }
16778
16779 default: {
16780 handle_unusual:
16781 if (tag == 0) {
16782 goto success;
16783 }
16784 DO_(::google::protobuf::internal::WireFormat::SkipField(
16785 input, tag, _internal_metadata_.mutable_unknown_fields()));
16786 break;
16787 }
16788 }
16789 }
16790success:
16791 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetListingResponseProto)
16792 return true;
16793failure:
16794 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetListingResponseProto)
16795 return false;
16796#undef DO_
16797}
16798
16799void GetListingResponseProto::SerializeWithCachedSizes(
16800 ::google::protobuf::io::CodedOutputStream* output) const {
16801 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetListingResponseProto)
16802 ::google::protobuf::uint32 cached_has_bits = 0;
16803 (void) cached_has_bits;
16804
16805 cached_has_bits = _has_bits_[0];
16806 // optional .Hdfs.Internal.DirectoryListingProto dirList = 1;
16807 if (cached_has_bits & 0x00000001u) {
16808 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
16809 1, this->_internal_dirlist(), output);
16810 }
16811
16812 if (_internal_metadata_.have_unknown_fields()) {
16813 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
16814 _internal_metadata_.unknown_fields(), output);
16815 }
16816 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetListingResponseProto)
16817}
16818
16819::google::protobuf::uint8* GetListingResponseProto::InternalSerializeWithCachedSizesToArray(
16820 bool deterministic, ::google::protobuf::uint8* target) const {
16821 (void)deterministic; // Unused
16822 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetListingResponseProto)
16823 ::google::protobuf::uint32 cached_has_bits = 0;
16824 (void) cached_has_bits;
16825
16826 cached_has_bits = _has_bits_[0];
16827 // optional .Hdfs.Internal.DirectoryListingProto dirList = 1;
16828 if (cached_has_bits & 0x00000001u) {
16829 target = ::google::protobuf::internal::WireFormatLite::
16830 InternalWriteMessageToArray(
16831 1, this->_internal_dirlist(), deterministic, target);
16832 }
16833
16834 if (_internal_metadata_.have_unknown_fields()) {
16835 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
16836 _internal_metadata_.unknown_fields(), target);
16837 }
16838 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetListingResponseProto)
16839 return target;
16840}
16841
16842size_t GetListingResponseProto::ByteSizeLong() const {
16843// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetListingResponseProto)
16844 size_t total_size = 0;
16845
16846 if (_internal_metadata_.have_unknown_fields()) {
16847 total_size +=
16848 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
16849 _internal_metadata_.unknown_fields());
16850 }
16851 // optional .Hdfs.Internal.DirectoryListingProto dirList = 1;
16852 if (has_dirlist()) {
16853 total_size += 1 +
16854 ::google::protobuf::internal::WireFormatLite::MessageSize(
16855 *dirlist_);
16856 }
16857
16858 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
16859 SetCachedSize(cached_size);
16860 return total_size;
16861}
16862
16863void GetListingResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
16864// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetListingResponseProto)
16865 GOOGLE_DCHECK_NE(&from, this);
16866 const GetListingResponseProto* source =
16867 ::google::protobuf::internal::DynamicCastToGenerated<const GetListingResponseProto>(
16868 &from);
16869 if (source == NULL) {
16870 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetListingResponseProto)
16871 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
16872 } else {
16873 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetListingResponseProto)
16874 MergeFrom(*source);
16875 }
16876}
16877
16878void GetListingResponseProto::MergeFrom(const GetListingResponseProto& from) {
16879// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetListingResponseProto)
16880 GOOGLE_DCHECK_NE(&from, this);
16881 _internal_metadata_.MergeFrom(from._internal_metadata_);
16882 ::google::protobuf::uint32 cached_has_bits = 0;
16883 (void) cached_has_bits;
16884
16885 if (from.has_dirlist()) {
16886 mutable_dirlist()->::Hdfs::Internal::DirectoryListingProto::MergeFrom(from.dirlist());
16887 }
16888}
16889
16890void GetListingResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
16891// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetListingResponseProto)
16892 if (&from == this) return;
16893 Clear();
16894 MergeFrom(from);
16895}
16896
16897void GetListingResponseProto::CopyFrom(const GetListingResponseProto& from) {
16898// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetListingResponseProto)
16899 if (&from == this) return;
16900 Clear();
16901 MergeFrom(from);
16902}
16903
16904bool GetListingResponseProto::IsInitialized() const {
16905 if (has_dirlist()) {
16906 if (!this->dirlist_->IsInitialized()) return false;
16907 }
16908 return true;
16909}
16910
16911void GetListingResponseProto::Swap(GetListingResponseProto* other) {
16912 if (other == this) return;
16913 InternalSwap(other);
16914}
16915void GetListingResponseProto::InternalSwap(GetListingResponseProto* other) {
16916 using std::swap;
16917 swap(dirlist_, other->dirlist_);
16918 swap(_has_bits_[0], other->_has_bits_[0]);
16919 _internal_metadata_.Swap(&other->_internal_metadata_);
16920}
16921
16922::google::protobuf::Metadata GetListingResponseProto::GetMetadata() const {
16923 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
16924 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
16925}
16926
16927
16928// ===================================================================
16929
16930void GetSnapshottableDirListingRequestProto::InitAsDefaultInstance() {
16931}
16932#if !defined(_MSC_VER) || _MSC_VER >= 1900
16933#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
16934
16935GetSnapshottableDirListingRequestProto::GetSnapshottableDirListingRequestProto()
16936 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
16937 ::google::protobuf::internal::InitSCC(
16938 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetSnapshottableDirListingRequestProto.base);
16939 SharedCtor();
16940 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
16941}
16942GetSnapshottableDirListingRequestProto::GetSnapshottableDirListingRequestProto(const GetSnapshottableDirListingRequestProto& from)
16943 : ::google::protobuf::Message(),
16944 _internal_metadata_(NULL),
16945 _has_bits_(from._has_bits_) {
16946 _internal_metadata_.MergeFrom(from._internal_metadata_);
16947 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
16948}
16949
16950void GetSnapshottableDirListingRequestProto::SharedCtor() {
16951}
16952
16953GetSnapshottableDirListingRequestProto::~GetSnapshottableDirListingRequestProto() {
16954 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
16955 SharedDtor();
16956}
16957
16958void GetSnapshottableDirListingRequestProto::SharedDtor() {
16959}
16960
16961void GetSnapshottableDirListingRequestProto::SetCachedSize(int size) const {
16962 _cached_size_.Set(size);
16963}
16964const ::google::protobuf::Descriptor* GetSnapshottableDirListingRequestProto::descriptor() {
16965 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
16966 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
16967}
16968
16969const GetSnapshottableDirListingRequestProto& GetSnapshottableDirListingRequestProto::default_instance() {
16970 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetSnapshottableDirListingRequestProto.base);
16971 return *internal_default_instance();
16972}
16973
16974
16975void GetSnapshottableDirListingRequestProto::Clear() {
16976// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
16977 ::google::protobuf::uint32 cached_has_bits = 0;
16978 // Prevent compiler warnings about cached_has_bits being unused
16979 (void) cached_has_bits;
16980
16981 _has_bits_.Clear();
16982 _internal_metadata_.Clear();
16983}
16984
16985bool GetSnapshottableDirListingRequestProto::MergePartialFromCodedStream(
16986 ::google::protobuf::io::CodedInputStream* input) {
16987#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
16988 ::google::protobuf::uint32 tag;
16989 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
16990 for (;;) {
16991 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
16992 tag = p.first;
16993 if (!p.second) goto handle_unusual;
16994 handle_unusual:
16995 if (tag == 0) {
16996 goto success;
16997 }
16998 DO_(::google::protobuf::internal::WireFormat::SkipField(
16999 input, tag, _internal_metadata_.mutable_unknown_fields()));
17000 }
17001success:
17002 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
17003 return true;
17004failure:
17005 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
17006 return false;
17007#undef DO_
17008}
17009
17010void GetSnapshottableDirListingRequestProto::SerializeWithCachedSizes(
17011 ::google::protobuf::io::CodedOutputStream* output) const {
17012 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
17013 ::google::protobuf::uint32 cached_has_bits = 0;
17014 (void) cached_has_bits;
17015
17016 if (_internal_metadata_.have_unknown_fields()) {
17017 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
17018 _internal_metadata_.unknown_fields(), output);
17019 }
17020 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
17021}
17022
17023::google::protobuf::uint8* GetSnapshottableDirListingRequestProto::InternalSerializeWithCachedSizesToArray(
17024 bool deterministic, ::google::protobuf::uint8* target) const {
17025 (void)deterministic; // Unused
17026 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
17027 ::google::protobuf::uint32 cached_has_bits = 0;
17028 (void) cached_has_bits;
17029
17030 if (_internal_metadata_.have_unknown_fields()) {
17031 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
17032 _internal_metadata_.unknown_fields(), target);
17033 }
17034 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
17035 return target;
17036}
17037
17038size_t GetSnapshottableDirListingRequestProto::ByteSizeLong() const {
17039// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
17040 size_t total_size = 0;
17041
17042 if (_internal_metadata_.have_unknown_fields()) {
17043 total_size +=
17044 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
17045 _internal_metadata_.unknown_fields());
17046 }
17047 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
17048 SetCachedSize(cached_size);
17049 return total_size;
17050}
17051
17052void GetSnapshottableDirListingRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
17053// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
17054 GOOGLE_DCHECK_NE(&from, this);
17055 const GetSnapshottableDirListingRequestProto* source =
17056 ::google::protobuf::internal::DynamicCastToGenerated<const GetSnapshottableDirListingRequestProto>(
17057 &from);
17058 if (source == NULL) {
17059 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
17060 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
17061 } else {
17062 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
17063 MergeFrom(*source);
17064 }
17065}
17066
17067void GetSnapshottableDirListingRequestProto::MergeFrom(const GetSnapshottableDirListingRequestProto& from) {
17068// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
17069 GOOGLE_DCHECK_NE(&from, this);
17070 _internal_metadata_.MergeFrom(from._internal_metadata_);
17071 ::google::protobuf::uint32 cached_has_bits = 0;
17072 (void) cached_has_bits;
17073
17074}
17075
17076void GetSnapshottableDirListingRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
17077// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
17078 if (&from == this) return;
17079 Clear();
17080 MergeFrom(from);
17081}
17082
17083void GetSnapshottableDirListingRequestProto::CopyFrom(const GetSnapshottableDirListingRequestProto& from) {
17084// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetSnapshottableDirListingRequestProto)
17085 if (&from == this) return;
17086 Clear();
17087 MergeFrom(from);
17088}
17089
17090bool GetSnapshottableDirListingRequestProto::IsInitialized() const {
17091 return true;
17092}
17093
17094void GetSnapshottableDirListingRequestProto::Swap(GetSnapshottableDirListingRequestProto* other) {
17095 if (other == this) return;
17096 InternalSwap(other);
17097}
17098void GetSnapshottableDirListingRequestProto::InternalSwap(GetSnapshottableDirListingRequestProto* other) {
17099 using std::swap;
17100 swap(_has_bits_[0], other->_has_bits_[0]);
17101 _internal_metadata_.Swap(&other->_internal_metadata_);
17102}
17103
17104::google::protobuf::Metadata GetSnapshottableDirListingRequestProto::GetMetadata() const {
17105 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
17106 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
17107}
17108
17109
17110// ===================================================================
17111
17112void GetSnapshottableDirListingResponseProto::InitAsDefaultInstance() {
17113 ::Hdfs::Internal::_GetSnapshottableDirListingResponseProto_default_instance_._instance.get_mutable()->snapshottabledirlist_ = const_cast< ::Hdfs::Internal::SnapshottableDirectoryListingProto*>(
17114 ::Hdfs::Internal::SnapshottableDirectoryListingProto::internal_default_instance());
17115}
17116void GetSnapshottableDirListingResponseProto::clear_snapshottabledirlist() {
17117 if (snapshottabledirlist_ != NULL) snapshottabledirlist_->Clear();
17118 clear_has_snapshottabledirlist();
17119}
17120#if !defined(_MSC_VER) || _MSC_VER >= 1900
17121const int GetSnapshottableDirListingResponseProto::kSnapshottableDirListFieldNumber;
17122#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
17123
17124GetSnapshottableDirListingResponseProto::GetSnapshottableDirListingResponseProto()
17125 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
17126 ::google::protobuf::internal::InitSCC(
17127 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetSnapshottableDirListingResponseProto.base);
17128 SharedCtor();
17129 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17130}
17131GetSnapshottableDirListingResponseProto::GetSnapshottableDirListingResponseProto(const GetSnapshottableDirListingResponseProto& from)
17132 : ::google::protobuf::Message(),
17133 _internal_metadata_(NULL),
17134 _has_bits_(from._has_bits_) {
17135 _internal_metadata_.MergeFrom(from._internal_metadata_);
17136 if (from.has_snapshottabledirlist()) {
17137 snapshottabledirlist_ = new ::Hdfs::Internal::SnapshottableDirectoryListingProto(*from.snapshottabledirlist_);
17138 } else {
17139 snapshottabledirlist_ = NULL;
17140 }
17141 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17142}
17143
17144void GetSnapshottableDirListingResponseProto::SharedCtor() {
17145 snapshottabledirlist_ = NULL;
17146}
17147
17148GetSnapshottableDirListingResponseProto::~GetSnapshottableDirListingResponseProto() {
17149 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17150 SharedDtor();
17151}
17152
17153void GetSnapshottableDirListingResponseProto::SharedDtor() {
17154 if (this != internal_default_instance()) delete snapshottabledirlist_;
17155}
17156
17157void GetSnapshottableDirListingResponseProto::SetCachedSize(int size) const {
17158 _cached_size_.Set(size);
17159}
17160const ::google::protobuf::Descriptor* GetSnapshottableDirListingResponseProto::descriptor() {
17161 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
17162 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
17163}
17164
17165const GetSnapshottableDirListingResponseProto& GetSnapshottableDirListingResponseProto::default_instance() {
17166 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetSnapshottableDirListingResponseProto.base);
17167 return *internal_default_instance();
17168}
17169
17170
17171void GetSnapshottableDirListingResponseProto::Clear() {
17172// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17173 ::google::protobuf::uint32 cached_has_bits = 0;
17174 // Prevent compiler warnings about cached_has_bits being unused
17175 (void) cached_has_bits;
17176
17177 cached_has_bits = _has_bits_[0];
17178 if (cached_has_bits & 0x00000001u) {
17179 GOOGLE_DCHECK(snapshottabledirlist_ != NULL);
17180 snapshottabledirlist_->Clear();
17181 }
17182 _has_bits_.Clear();
17183 _internal_metadata_.Clear();
17184}
17185
17186bool GetSnapshottableDirListingResponseProto::MergePartialFromCodedStream(
17187 ::google::protobuf::io::CodedInputStream* input) {
17188#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
17189 ::google::protobuf::uint32 tag;
17190 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17191 for (;;) {
17192 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
17193 tag = p.first;
17194 if (!p.second) goto handle_unusual;
17195 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
17196 // optional .Hdfs.Internal.SnapshottableDirectoryListingProto snapshottableDirList = 1;
17197 case 1: {
17198 if (static_cast< ::google::protobuf::uint8>(tag) ==
17199 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
17200 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
17201 input, mutable_snapshottabledirlist()));
17202 } else {
17203 goto handle_unusual;
17204 }
17205 break;
17206 }
17207
17208 default: {
17209 handle_unusual:
17210 if (tag == 0) {
17211 goto success;
17212 }
17213 DO_(::google::protobuf::internal::WireFormat::SkipField(
17214 input, tag, _internal_metadata_.mutable_unknown_fields()));
17215 break;
17216 }
17217 }
17218 }
17219success:
17220 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17221 return true;
17222failure:
17223 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17224 return false;
17225#undef DO_
17226}
17227
17228void GetSnapshottableDirListingResponseProto::SerializeWithCachedSizes(
17229 ::google::protobuf::io::CodedOutputStream* output) const {
17230 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17231 ::google::protobuf::uint32 cached_has_bits = 0;
17232 (void) cached_has_bits;
17233
17234 cached_has_bits = _has_bits_[0];
17235 // optional .Hdfs.Internal.SnapshottableDirectoryListingProto snapshottableDirList = 1;
17236 if (cached_has_bits & 0x00000001u) {
17237 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
17238 1, this->_internal_snapshottabledirlist(), output);
17239 }
17240
17241 if (_internal_metadata_.have_unknown_fields()) {
17242 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
17243 _internal_metadata_.unknown_fields(), output);
17244 }
17245 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17246}
17247
17248::google::protobuf::uint8* GetSnapshottableDirListingResponseProto::InternalSerializeWithCachedSizesToArray(
17249 bool deterministic, ::google::protobuf::uint8* target) const {
17250 (void)deterministic; // Unused
17251 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17252 ::google::protobuf::uint32 cached_has_bits = 0;
17253 (void) cached_has_bits;
17254
17255 cached_has_bits = _has_bits_[0];
17256 // optional .Hdfs.Internal.SnapshottableDirectoryListingProto snapshottableDirList = 1;
17257 if (cached_has_bits & 0x00000001u) {
17258 target = ::google::protobuf::internal::WireFormatLite::
17259 InternalWriteMessageToArray(
17260 1, this->_internal_snapshottabledirlist(), deterministic, target);
17261 }
17262
17263 if (_internal_metadata_.have_unknown_fields()) {
17264 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
17265 _internal_metadata_.unknown_fields(), target);
17266 }
17267 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17268 return target;
17269}
17270
17271size_t GetSnapshottableDirListingResponseProto::ByteSizeLong() const {
17272// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17273 size_t total_size = 0;
17274
17275 if (_internal_metadata_.have_unknown_fields()) {
17276 total_size +=
17277 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
17278 _internal_metadata_.unknown_fields());
17279 }
17280 // optional .Hdfs.Internal.SnapshottableDirectoryListingProto snapshottableDirList = 1;
17281 if (has_snapshottabledirlist()) {
17282 total_size += 1 +
17283 ::google::protobuf::internal::WireFormatLite::MessageSize(
17284 *snapshottabledirlist_);
17285 }
17286
17287 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
17288 SetCachedSize(cached_size);
17289 return total_size;
17290}
17291
17292void GetSnapshottableDirListingResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
17293// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17294 GOOGLE_DCHECK_NE(&from, this);
17295 const GetSnapshottableDirListingResponseProto* source =
17296 ::google::protobuf::internal::DynamicCastToGenerated<const GetSnapshottableDirListingResponseProto>(
17297 &from);
17298 if (source == NULL) {
17299 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17300 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
17301 } else {
17302 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17303 MergeFrom(*source);
17304 }
17305}
17306
17307void GetSnapshottableDirListingResponseProto::MergeFrom(const GetSnapshottableDirListingResponseProto& from) {
17308// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17309 GOOGLE_DCHECK_NE(&from, this);
17310 _internal_metadata_.MergeFrom(from._internal_metadata_);
17311 ::google::protobuf::uint32 cached_has_bits = 0;
17312 (void) cached_has_bits;
17313
17314 if (from.has_snapshottabledirlist()) {
17315 mutable_snapshottabledirlist()->::Hdfs::Internal::SnapshottableDirectoryListingProto::MergeFrom(from.snapshottabledirlist());
17316 }
17317}
17318
17319void GetSnapshottableDirListingResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
17320// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17321 if (&from == this) return;
17322 Clear();
17323 MergeFrom(from);
17324}
17325
17326void GetSnapshottableDirListingResponseProto::CopyFrom(const GetSnapshottableDirListingResponseProto& from) {
17327// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetSnapshottableDirListingResponseProto)
17328 if (&from == this) return;
17329 Clear();
17330 MergeFrom(from);
17331}
17332
17333bool GetSnapshottableDirListingResponseProto::IsInitialized() const {
17334 if (has_snapshottabledirlist()) {
17335 if (!this->snapshottabledirlist_->IsInitialized()) return false;
17336 }
17337 return true;
17338}
17339
17340void GetSnapshottableDirListingResponseProto::Swap(GetSnapshottableDirListingResponseProto* other) {
17341 if (other == this) return;
17342 InternalSwap(other);
17343}
17344void GetSnapshottableDirListingResponseProto::InternalSwap(GetSnapshottableDirListingResponseProto* other) {
17345 using std::swap;
17346 swap(snapshottabledirlist_, other->snapshottabledirlist_);
17347 swap(_has_bits_[0], other->_has_bits_[0]);
17348 _internal_metadata_.Swap(&other->_internal_metadata_);
17349}
17350
17351::google::protobuf::Metadata GetSnapshottableDirListingResponseProto::GetMetadata() const {
17352 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
17353 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
17354}
17355
17356
17357// ===================================================================
17358
17359void GetSnapshotDiffReportRequestProto::InitAsDefaultInstance() {
17360}
17361#if !defined(_MSC_VER) || _MSC_VER >= 1900
17362const int GetSnapshotDiffReportRequestProto::kSnapshotRootFieldNumber;
17363const int GetSnapshotDiffReportRequestProto::kFromSnapshotFieldNumber;
17364const int GetSnapshotDiffReportRequestProto::kToSnapshotFieldNumber;
17365#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
17366
17367GetSnapshotDiffReportRequestProto::GetSnapshotDiffReportRequestProto()
17368 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
17369 ::google::protobuf::internal::InitSCC(
17370 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetSnapshotDiffReportRequestProto.base);
17371 SharedCtor();
17372 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17373}
17374GetSnapshotDiffReportRequestProto::GetSnapshotDiffReportRequestProto(const GetSnapshotDiffReportRequestProto& from)
17375 : ::google::protobuf::Message(),
17376 _internal_metadata_(NULL),
17377 _has_bits_(from._has_bits_) {
17378 _internal_metadata_.MergeFrom(from._internal_metadata_);
17379 snapshotroot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17380 if (from.has_snapshotroot()) {
17381 snapshotroot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotroot_);
17382 }
17383 fromsnapshot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17384 if (from.has_fromsnapshot()) {
17385 fromsnapshot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.fromsnapshot_);
17386 }
17387 tosnapshot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17388 if (from.has_tosnapshot()) {
17389 tosnapshot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tosnapshot_);
17390 }
17391 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17392}
17393
17394void GetSnapshotDiffReportRequestProto::SharedCtor() {
17395 snapshotroot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17396 fromsnapshot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17397 tosnapshot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17398}
17399
17400GetSnapshotDiffReportRequestProto::~GetSnapshotDiffReportRequestProto() {
17401 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17402 SharedDtor();
17403}
17404
17405void GetSnapshotDiffReportRequestProto::SharedDtor() {
17406 snapshotroot_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17407 fromsnapshot_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17408 tosnapshot_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17409}
17410
17411void GetSnapshotDiffReportRequestProto::SetCachedSize(int size) const {
17412 _cached_size_.Set(size);
17413}
17414const ::google::protobuf::Descriptor* GetSnapshotDiffReportRequestProto::descriptor() {
17415 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
17416 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
17417}
17418
17419const GetSnapshotDiffReportRequestProto& GetSnapshotDiffReportRequestProto::default_instance() {
17420 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetSnapshotDiffReportRequestProto.base);
17421 return *internal_default_instance();
17422}
17423
17424
17425void GetSnapshotDiffReportRequestProto::Clear() {
17426// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17427 ::google::protobuf::uint32 cached_has_bits = 0;
17428 // Prevent compiler warnings about cached_has_bits being unused
17429 (void) cached_has_bits;
17430
17431 cached_has_bits = _has_bits_[0];
17432 if (cached_has_bits & 7u) {
17433 if (cached_has_bits & 0x00000001u) {
17434 snapshotroot_.ClearNonDefaultToEmptyNoArena();
17435 }
17436 if (cached_has_bits & 0x00000002u) {
17437 fromsnapshot_.ClearNonDefaultToEmptyNoArena();
17438 }
17439 if (cached_has_bits & 0x00000004u) {
17440 tosnapshot_.ClearNonDefaultToEmptyNoArena();
17441 }
17442 }
17443 _has_bits_.Clear();
17444 _internal_metadata_.Clear();
17445}
17446
17447bool GetSnapshotDiffReportRequestProto::MergePartialFromCodedStream(
17448 ::google::protobuf::io::CodedInputStream* input) {
17449#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
17450 ::google::protobuf::uint32 tag;
17451 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17452 for (;;) {
17453 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
17454 tag = p.first;
17455 if (!p.second) goto handle_unusual;
17456 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
17457 // required string snapshotRoot = 1;
17458 case 1: {
17459 if (static_cast< ::google::protobuf::uint8>(tag) ==
17460 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
17461 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
17462 input, this->mutable_snapshotroot()));
17463 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17464 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
17465 ::google::protobuf::internal::WireFormat::PARSE,
17466 "Hdfs.Internal.GetSnapshotDiffReportRequestProto.snapshotRoot");
17467 } else {
17468 goto handle_unusual;
17469 }
17470 break;
17471 }
17472
17473 // required string fromSnapshot = 2;
17474 case 2: {
17475 if (static_cast< ::google::protobuf::uint8>(tag) ==
17476 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
17477 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
17478 input, this->mutable_fromsnapshot()));
17479 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17480 this->fromsnapshot().data(), static_cast<int>(this->fromsnapshot().length()),
17481 ::google::protobuf::internal::WireFormat::PARSE,
17482 "Hdfs.Internal.GetSnapshotDiffReportRequestProto.fromSnapshot");
17483 } else {
17484 goto handle_unusual;
17485 }
17486 break;
17487 }
17488
17489 // required string toSnapshot = 3;
17490 case 3: {
17491 if (static_cast< ::google::protobuf::uint8>(tag) ==
17492 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
17493 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
17494 input, this->mutable_tosnapshot()));
17495 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17496 this->tosnapshot().data(), static_cast<int>(this->tosnapshot().length()),
17497 ::google::protobuf::internal::WireFormat::PARSE,
17498 "Hdfs.Internal.GetSnapshotDiffReportRequestProto.toSnapshot");
17499 } else {
17500 goto handle_unusual;
17501 }
17502 break;
17503 }
17504
17505 default: {
17506 handle_unusual:
17507 if (tag == 0) {
17508 goto success;
17509 }
17510 DO_(::google::protobuf::internal::WireFormat::SkipField(
17511 input, tag, _internal_metadata_.mutable_unknown_fields()));
17512 break;
17513 }
17514 }
17515 }
17516success:
17517 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17518 return true;
17519failure:
17520 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17521 return false;
17522#undef DO_
17523}
17524
17525void GetSnapshotDiffReportRequestProto::SerializeWithCachedSizes(
17526 ::google::protobuf::io::CodedOutputStream* output) const {
17527 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17528 ::google::protobuf::uint32 cached_has_bits = 0;
17529 (void) cached_has_bits;
17530
17531 cached_has_bits = _has_bits_[0];
17532 // required string snapshotRoot = 1;
17533 if (cached_has_bits & 0x00000001u) {
17534 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17535 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
17536 ::google::protobuf::internal::WireFormat::SERIALIZE,
17537 "Hdfs.Internal.GetSnapshotDiffReportRequestProto.snapshotRoot");
17538 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
17539 1, this->snapshotroot(), output);
17540 }
17541
17542 // required string fromSnapshot = 2;
17543 if (cached_has_bits & 0x00000002u) {
17544 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17545 this->fromsnapshot().data(), static_cast<int>(this->fromsnapshot().length()),
17546 ::google::protobuf::internal::WireFormat::SERIALIZE,
17547 "Hdfs.Internal.GetSnapshotDiffReportRequestProto.fromSnapshot");
17548 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
17549 2, this->fromsnapshot(), output);
17550 }
17551
17552 // required string toSnapshot = 3;
17553 if (cached_has_bits & 0x00000004u) {
17554 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17555 this->tosnapshot().data(), static_cast<int>(this->tosnapshot().length()),
17556 ::google::protobuf::internal::WireFormat::SERIALIZE,
17557 "Hdfs.Internal.GetSnapshotDiffReportRequestProto.toSnapshot");
17558 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
17559 3, this->tosnapshot(), output);
17560 }
17561
17562 if (_internal_metadata_.have_unknown_fields()) {
17563 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
17564 _internal_metadata_.unknown_fields(), output);
17565 }
17566 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17567}
17568
17569::google::protobuf::uint8* GetSnapshotDiffReportRequestProto::InternalSerializeWithCachedSizesToArray(
17570 bool deterministic, ::google::protobuf::uint8* target) const {
17571 (void)deterministic; // Unused
17572 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17573 ::google::protobuf::uint32 cached_has_bits = 0;
17574 (void) cached_has_bits;
17575
17576 cached_has_bits = _has_bits_[0];
17577 // required string snapshotRoot = 1;
17578 if (cached_has_bits & 0x00000001u) {
17579 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17580 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
17581 ::google::protobuf::internal::WireFormat::SERIALIZE,
17582 "Hdfs.Internal.GetSnapshotDiffReportRequestProto.snapshotRoot");
17583 target =
17584 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
17585 1, this->snapshotroot(), target);
17586 }
17587
17588 // required string fromSnapshot = 2;
17589 if (cached_has_bits & 0x00000002u) {
17590 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17591 this->fromsnapshot().data(), static_cast<int>(this->fromsnapshot().length()),
17592 ::google::protobuf::internal::WireFormat::SERIALIZE,
17593 "Hdfs.Internal.GetSnapshotDiffReportRequestProto.fromSnapshot");
17594 target =
17595 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
17596 2, this->fromsnapshot(), target);
17597 }
17598
17599 // required string toSnapshot = 3;
17600 if (cached_has_bits & 0x00000004u) {
17601 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
17602 this->tosnapshot().data(), static_cast<int>(this->tosnapshot().length()),
17603 ::google::protobuf::internal::WireFormat::SERIALIZE,
17604 "Hdfs.Internal.GetSnapshotDiffReportRequestProto.toSnapshot");
17605 target =
17606 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
17607 3, this->tosnapshot(), target);
17608 }
17609
17610 if (_internal_metadata_.have_unknown_fields()) {
17611 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
17612 _internal_metadata_.unknown_fields(), target);
17613 }
17614 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17615 return target;
17616}
17617
17618size_t GetSnapshotDiffReportRequestProto::RequiredFieldsByteSizeFallback() const {
17619// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17620 size_t total_size = 0;
17621
17622 if (has_snapshotroot()) {
17623 // required string snapshotRoot = 1;
17624 total_size += 1 +
17625 ::google::protobuf::internal::WireFormatLite::StringSize(
17626 this->snapshotroot());
17627 }
17628
17629 if (has_fromsnapshot()) {
17630 // required string fromSnapshot = 2;
17631 total_size += 1 +
17632 ::google::protobuf::internal::WireFormatLite::StringSize(
17633 this->fromsnapshot());
17634 }
17635
17636 if (has_tosnapshot()) {
17637 // required string toSnapshot = 3;
17638 total_size += 1 +
17639 ::google::protobuf::internal::WireFormatLite::StringSize(
17640 this->tosnapshot());
17641 }
17642
17643 return total_size;
17644}
17645size_t GetSnapshotDiffReportRequestProto::ByteSizeLong() const {
17646// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17647 size_t total_size = 0;
17648
17649 if (_internal_metadata_.have_unknown_fields()) {
17650 total_size +=
17651 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
17652 _internal_metadata_.unknown_fields());
17653 }
17654 if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
17655 // required string snapshotRoot = 1;
17656 total_size += 1 +
17657 ::google::protobuf::internal::WireFormatLite::StringSize(
17658 this->snapshotroot());
17659
17660 // required string fromSnapshot = 2;
17661 total_size += 1 +
17662 ::google::protobuf::internal::WireFormatLite::StringSize(
17663 this->fromsnapshot());
17664
17665 // required string toSnapshot = 3;
17666 total_size += 1 +
17667 ::google::protobuf::internal::WireFormatLite::StringSize(
17668 this->tosnapshot());
17669
17670 } else {
17671 total_size += RequiredFieldsByteSizeFallback();
17672 }
17673 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
17674 SetCachedSize(cached_size);
17675 return total_size;
17676}
17677
17678void GetSnapshotDiffReportRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
17679// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17680 GOOGLE_DCHECK_NE(&from, this);
17681 const GetSnapshotDiffReportRequestProto* source =
17682 ::google::protobuf::internal::DynamicCastToGenerated<const GetSnapshotDiffReportRequestProto>(
17683 &from);
17684 if (source == NULL) {
17685 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17686 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
17687 } else {
17688 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17689 MergeFrom(*source);
17690 }
17691}
17692
17693void GetSnapshotDiffReportRequestProto::MergeFrom(const GetSnapshotDiffReportRequestProto& from) {
17694// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17695 GOOGLE_DCHECK_NE(&from, this);
17696 _internal_metadata_.MergeFrom(from._internal_metadata_);
17697 ::google::protobuf::uint32 cached_has_bits = 0;
17698 (void) cached_has_bits;
17699
17700 cached_has_bits = from._has_bits_[0];
17701 if (cached_has_bits & 7u) {
17702 if (cached_has_bits & 0x00000001u) {
17703 set_has_snapshotroot();
17704 snapshotroot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotroot_);
17705 }
17706 if (cached_has_bits & 0x00000002u) {
17707 set_has_fromsnapshot();
17708 fromsnapshot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.fromsnapshot_);
17709 }
17710 if (cached_has_bits & 0x00000004u) {
17711 set_has_tosnapshot();
17712 tosnapshot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tosnapshot_);
17713 }
17714 }
17715}
17716
17717void GetSnapshotDiffReportRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
17718// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17719 if (&from == this) return;
17720 Clear();
17721 MergeFrom(from);
17722}
17723
17724void GetSnapshotDiffReportRequestProto::CopyFrom(const GetSnapshotDiffReportRequestProto& from) {
17725// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetSnapshotDiffReportRequestProto)
17726 if (&from == this) return;
17727 Clear();
17728 MergeFrom(from);
17729}
17730
17731bool GetSnapshotDiffReportRequestProto::IsInitialized() const {
17732 if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
17733 return true;
17734}
17735
17736void GetSnapshotDiffReportRequestProto::Swap(GetSnapshotDiffReportRequestProto* other) {
17737 if (other == this) return;
17738 InternalSwap(other);
17739}
17740void GetSnapshotDiffReportRequestProto::InternalSwap(GetSnapshotDiffReportRequestProto* other) {
17741 using std::swap;
17742 snapshotroot_.Swap(&other->snapshotroot_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
17743 GetArenaNoVirtual());
17744 fromsnapshot_.Swap(&other->fromsnapshot_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
17745 GetArenaNoVirtual());
17746 tosnapshot_.Swap(&other->tosnapshot_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
17747 GetArenaNoVirtual());
17748 swap(_has_bits_[0], other->_has_bits_[0]);
17749 _internal_metadata_.Swap(&other->_internal_metadata_);
17750}
17751
17752::google::protobuf::Metadata GetSnapshotDiffReportRequestProto::GetMetadata() const {
17753 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
17754 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
17755}
17756
17757
17758// ===================================================================
17759
17760void GetSnapshotDiffReportResponseProto::InitAsDefaultInstance() {
17761 ::Hdfs::Internal::_GetSnapshotDiffReportResponseProto_default_instance_._instance.get_mutable()->diffreport_ = const_cast< ::Hdfs::Internal::SnapshotDiffReportProto*>(
17762 ::Hdfs::Internal::SnapshotDiffReportProto::internal_default_instance());
17763}
17764void GetSnapshotDiffReportResponseProto::clear_diffreport() {
17765 if (diffreport_ != NULL) diffreport_->Clear();
17766 clear_has_diffreport();
17767}
17768#if !defined(_MSC_VER) || _MSC_VER >= 1900
17769const int GetSnapshotDiffReportResponseProto::kDiffReportFieldNumber;
17770#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
17771
17772GetSnapshotDiffReportResponseProto::GetSnapshotDiffReportResponseProto()
17773 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
17774 ::google::protobuf::internal::InitSCC(
17775 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetSnapshotDiffReportResponseProto.base);
17776 SharedCtor();
17777 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17778}
17779GetSnapshotDiffReportResponseProto::GetSnapshotDiffReportResponseProto(const GetSnapshotDiffReportResponseProto& from)
17780 : ::google::protobuf::Message(),
17781 _internal_metadata_(NULL),
17782 _has_bits_(from._has_bits_) {
17783 _internal_metadata_.MergeFrom(from._internal_metadata_);
17784 if (from.has_diffreport()) {
17785 diffreport_ = new ::Hdfs::Internal::SnapshotDiffReportProto(*from.diffreport_);
17786 } else {
17787 diffreport_ = NULL;
17788 }
17789 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17790}
17791
17792void GetSnapshotDiffReportResponseProto::SharedCtor() {
17793 diffreport_ = NULL;
17794}
17795
17796GetSnapshotDiffReportResponseProto::~GetSnapshotDiffReportResponseProto() {
17797 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17798 SharedDtor();
17799}
17800
17801void GetSnapshotDiffReportResponseProto::SharedDtor() {
17802 if (this != internal_default_instance()) delete diffreport_;
17803}
17804
17805void GetSnapshotDiffReportResponseProto::SetCachedSize(int size) const {
17806 _cached_size_.Set(size);
17807}
17808const ::google::protobuf::Descriptor* GetSnapshotDiffReportResponseProto::descriptor() {
17809 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
17810 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
17811}
17812
17813const GetSnapshotDiffReportResponseProto& GetSnapshotDiffReportResponseProto::default_instance() {
17814 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetSnapshotDiffReportResponseProto.base);
17815 return *internal_default_instance();
17816}
17817
17818
17819void GetSnapshotDiffReportResponseProto::Clear() {
17820// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17821 ::google::protobuf::uint32 cached_has_bits = 0;
17822 // Prevent compiler warnings about cached_has_bits being unused
17823 (void) cached_has_bits;
17824
17825 cached_has_bits = _has_bits_[0];
17826 if (cached_has_bits & 0x00000001u) {
17827 GOOGLE_DCHECK(diffreport_ != NULL);
17828 diffreport_->Clear();
17829 }
17830 _has_bits_.Clear();
17831 _internal_metadata_.Clear();
17832}
17833
17834bool GetSnapshotDiffReportResponseProto::MergePartialFromCodedStream(
17835 ::google::protobuf::io::CodedInputStream* input) {
17836#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
17837 ::google::protobuf::uint32 tag;
17838 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17839 for (;;) {
17840 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
17841 tag = p.first;
17842 if (!p.second) goto handle_unusual;
17843 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
17844 // required .Hdfs.Internal.SnapshotDiffReportProto diffReport = 1;
17845 case 1: {
17846 if (static_cast< ::google::protobuf::uint8>(tag) ==
17847 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
17848 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
17849 input, mutable_diffreport()));
17850 } else {
17851 goto handle_unusual;
17852 }
17853 break;
17854 }
17855
17856 default: {
17857 handle_unusual:
17858 if (tag == 0) {
17859 goto success;
17860 }
17861 DO_(::google::protobuf::internal::WireFormat::SkipField(
17862 input, tag, _internal_metadata_.mutable_unknown_fields()));
17863 break;
17864 }
17865 }
17866 }
17867success:
17868 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17869 return true;
17870failure:
17871 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17872 return false;
17873#undef DO_
17874}
17875
17876void GetSnapshotDiffReportResponseProto::SerializeWithCachedSizes(
17877 ::google::protobuf::io::CodedOutputStream* output) const {
17878 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17879 ::google::protobuf::uint32 cached_has_bits = 0;
17880 (void) cached_has_bits;
17881
17882 cached_has_bits = _has_bits_[0];
17883 // required .Hdfs.Internal.SnapshotDiffReportProto diffReport = 1;
17884 if (cached_has_bits & 0x00000001u) {
17885 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
17886 1, this->_internal_diffreport(), output);
17887 }
17888
17889 if (_internal_metadata_.have_unknown_fields()) {
17890 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
17891 _internal_metadata_.unknown_fields(), output);
17892 }
17893 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17894}
17895
17896::google::protobuf::uint8* GetSnapshotDiffReportResponseProto::InternalSerializeWithCachedSizesToArray(
17897 bool deterministic, ::google::protobuf::uint8* target) const {
17898 (void)deterministic; // Unused
17899 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17900 ::google::protobuf::uint32 cached_has_bits = 0;
17901 (void) cached_has_bits;
17902
17903 cached_has_bits = _has_bits_[0];
17904 // required .Hdfs.Internal.SnapshotDiffReportProto diffReport = 1;
17905 if (cached_has_bits & 0x00000001u) {
17906 target = ::google::protobuf::internal::WireFormatLite::
17907 InternalWriteMessageToArray(
17908 1, this->_internal_diffreport(), deterministic, target);
17909 }
17910
17911 if (_internal_metadata_.have_unknown_fields()) {
17912 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
17913 _internal_metadata_.unknown_fields(), target);
17914 }
17915 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17916 return target;
17917}
17918
17919size_t GetSnapshotDiffReportResponseProto::ByteSizeLong() const {
17920// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17921 size_t total_size = 0;
17922
17923 if (_internal_metadata_.have_unknown_fields()) {
17924 total_size +=
17925 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
17926 _internal_metadata_.unknown_fields());
17927 }
17928 // required .Hdfs.Internal.SnapshotDiffReportProto diffReport = 1;
17929 if (has_diffreport()) {
17930 total_size += 1 +
17931 ::google::protobuf::internal::WireFormatLite::MessageSize(
17932 *diffreport_);
17933 }
17934 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
17935 SetCachedSize(cached_size);
17936 return total_size;
17937}
17938
17939void GetSnapshotDiffReportResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
17940// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17941 GOOGLE_DCHECK_NE(&from, this);
17942 const GetSnapshotDiffReportResponseProto* source =
17943 ::google::protobuf::internal::DynamicCastToGenerated<const GetSnapshotDiffReportResponseProto>(
17944 &from);
17945 if (source == NULL) {
17946 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17947 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
17948 } else {
17949 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17950 MergeFrom(*source);
17951 }
17952}
17953
17954void GetSnapshotDiffReportResponseProto::MergeFrom(const GetSnapshotDiffReportResponseProto& from) {
17955// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17956 GOOGLE_DCHECK_NE(&from, this);
17957 _internal_metadata_.MergeFrom(from._internal_metadata_);
17958 ::google::protobuf::uint32 cached_has_bits = 0;
17959 (void) cached_has_bits;
17960
17961 if (from.has_diffreport()) {
17962 mutable_diffreport()->::Hdfs::Internal::SnapshotDiffReportProto::MergeFrom(from.diffreport());
17963 }
17964}
17965
17966void GetSnapshotDiffReportResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
17967// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17968 if (&from == this) return;
17969 Clear();
17970 MergeFrom(from);
17971}
17972
17973void GetSnapshotDiffReportResponseProto::CopyFrom(const GetSnapshotDiffReportResponseProto& from) {
17974// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetSnapshotDiffReportResponseProto)
17975 if (&from == this) return;
17976 Clear();
17977 MergeFrom(from);
17978}
17979
17980bool GetSnapshotDiffReportResponseProto::IsInitialized() const {
17981 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
17982 if (has_diffreport()) {
17983 if (!this->diffreport_->IsInitialized()) return false;
17984 }
17985 return true;
17986}
17987
17988void GetSnapshotDiffReportResponseProto::Swap(GetSnapshotDiffReportResponseProto* other) {
17989 if (other == this) return;
17990 InternalSwap(other);
17991}
17992void GetSnapshotDiffReportResponseProto::InternalSwap(GetSnapshotDiffReportResponseProto* other) {
17993 using std::swap;
17994 swap(diffreport_, other->diffreport_);
17995 swap(_has_bits_[0], other->_has_bits_[0]);
17996 _internal_metadata_.Swap(&other->_internal_metadata_);
17997}
17998
17999::google::protobuf::Metadata GetSnapshotDiffReportResponseProto::GetMetadata() const {
18000 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
18001 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
18002}
18003
18004
18005// ===================================================================
18006
18007void RenewLeaseRequestProto::InitAsDefaultInstance() {
18008}
18009#if !defined(_MSC_VER) || _MSC_VER >= 1900
18010const int RenewLeaseRequestProto::kClientNameFieldNumber;
18011#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
18012
18013RenewLeaseRequestProto::RenewLeaseRequestProto()
18014 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
18015 ::google::protobuf::internal::InitSCC(
18016 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RenewLeaseRequestProto.base);
18017 SharedCtor();
18018 // @@protoc_insertion_point(constructor:Hdfs.Internal.RenewLeaseRequestProto)
18019}
18020RenewLeaseRequestProto::RenewLeaseRequestProto(const RenewLeaseRequestProto& from)
18021 : ::google::protobuf::Message(),
18022 _internal_metadata_(NULL),
18023 _has_bits_(from._has_bits_) {
18024 _internal_metadata_.MergeFrom(from._internal_metadata_);
18025 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18026 if (from.has_clientname()) {
18027 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
18028 }
18029 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RenewLeaseRequestProto)
18030}
18031
18032void RenewLeaseRequestProto::SharedCtor() {
18033 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18034}
18035
18036RenewLeaseRequestProto::~RenewLeaseRequestProto() {
18037 // @@protoc_insertion_point(destructor:Hdfs.Internal.RenewLeaseRequestProto)
18038 SharedDtor();
18039}
18040
18041void RenewLeaseRequestProto::SharedDtor() {
18042 clientname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18043}
18044
18045void RenewLeaseRequestProto::SetCachedSize(int size) const {
18046 _cached_size_.Set(size);
18047}
18048const ::google::protobuf::Descriptor* RenewLeaseRequestProto::descriptor() {
18049 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
18050 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
18051}
18052
18053const RenewLeaseRequestProto& RenewLeaseRequestProto::default_instance() {
18054 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RenewLeaseRequestProto.base);
18055 return *internal_default_instance();
18056}
18057
18058
18059void RenewLeaseRequestProto::Clear() {
18060// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RenewLeaseRequestProto)
18061 ::google::protobuf::uint32 cached_has_bits = 0;
18062 // Prevent compiler warnings about cached_has_bits being unused
18063 (void) cached_has_bits;
18064
18065 cached_has_bits = _has_bits_[0];
18066 if (cached_has_bits & 0x00000001u) {
18067 clientname_.ClearNonDefaultToEmptyNoArena();
18068 }
18069 _has_bits_.Clear();
18070 _internal_metadata_.Clear();
18071}
18072
18073bool RenewLeaseRequestProto::MergePartialFromCodedStream(
18074 ::google::protobuf::io::CodedInputStream* input) {
18075#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
18076 ::google::protobuf::uint32 tag;
18077 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RenewLeaseRequestProto)
18078 for (;;) {
18079 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
18080 tag = p.first;
18081 if (!p.second) goto handle_unusual;
18082 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
18083 // required string clientName = 1;
18084 case 1: {
18085 if (static_cast< ::google::protobuf::uint8>(tag) ==
18086 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
18087 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
18088 input, this->mutable_clientname()));
18089 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
18090 this->clientname().data(), static_cast<int>(this->clientname().length()),
18091 ::google::protobuf::internal::WireFormat::PARSE,
18092 "Hdfs.Internal.RenewLeaseRequestProto.clientName");
18093 } else {
18094 goto handle_unusual;
18095 }
18096 break;
18097 }
18098
18099 default: {
18100 handle_unusual:
18101 if (tag == 0) {
18102 goto success;
18103 }
18104 DO_(::google::protobuf::internal::WireFormat::SkipField(
18105 input, tag, _internal_metadata_.mutable_unknown_fields()));
18106 break;
18107 }
18108 }
18109 }
18110success:
18111 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RenewLeaseRequestProto)
18112 return true;
18113failure:
18114 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RenewLeaseRequestProto)
18115 return false;
18116#undef DO_
18117}
18118
18119void RenewLeaseRequestProto::SerializeWithCachedSizes(
18120 ::google::protobuf::io::CodedOutputStream* output) const {
18121 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RenewLeaseRequestProto)
18122 ::google::protobuf::uint32 cached_has_bits = 0;
18123 (void) cached_has_bits;
18124
18125 cached_has_bits = _has_bits_[0];
18126 // required string clientName = 1;
18127 if (cached_has_bits & 0x00000001u) {
18128 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
18129 this->clientname().data(), static_cast<int>(this->clientname().length()),
18130 ::google::protobuf::internal::WireFormat::SERIALIZE,
18131 "Hdfs.Internal.RenewLeaseRequestProto.clientName");
18132 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
18133 1, this->clientname(), output);
18134 }
18135
18136 if (_internal_metadata_.have_unknown_fields()) {
18137 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
18138 _internal_metadata_.unknown_fields(), output);
18139 }
18140 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RenewLeaseRequestProto)
18141}
18142
18143::google::protobuf::uint8* RenewLeaseRequestProto::InternalSerializeWithCachedSizesToArray(
18144 bool deterministic, ::google::protobuf::uint8* target) const {
18145 (void)deterministic; // Unused
18146 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RenewLeaseRequestProto)
18147 ::google::protobuf::uint32 cached_has_bits = 0;
18148 (void) cached_has_bits;
18149
18150 cached_has_bits = _has_bits_[0];
18151 // required string clientName = 1;
18152 if (cached_has_bits & 0x00000001u) {
18153 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
18154 this->clientname().data(), static_cast<int>(this->clientname().length()),
18155 ::google::protobuf::internal::WireFormat::SERIALIZE,
18156 "Hdfs.Internal.RenewLeaseRequestProto.clientName");
18157 target =
18158 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
18159 1, this->clientname(), target);
18160 }
18161
18162 if (_internal_metadata_.have_unknown_fields()) {
18163 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
18164 _internal_metadata_.unknown_fields(), target);
18165 }
18166 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RenewLeaseRequestProto)
18167 return target;
18168}
18169
18170size_t RenewLeaseRequestProto::ByteSizeLong() const {
18171// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RenewLeaseRequestProto)
18172 size_t total_size = 0;
18173
18174 if (_internal_metadata_.have_unknown_fields()) {
18175 total_size +=
18176 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
18177 _internal_metadata_.unknown_fields());
18178 }
18179 // required string clientName = 1;
18180 if (has_clientname()) {
18181 total_size += 1 +
18182 ::google::protobuf::internal::WireFormatLite::StringSize(
18183 this->clientname());
18184 }
18185 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
18186 SetCachedSize(cached_size);
18187 return total_size;
18188}
18189
18190void RenewLeaseRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
18191// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RenewLeaseRequestProto)
18192 GOOGLE_DCHECK_NE(&from, this);
18193 const RenewLeaseRequestProto* source =
18194 ::google::protobuf::internal::DynamicCastToGenerated<const RenewLeaseRequestProto>(
18195 &from);
18196 if (source == NULL) {
18197 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RenewLeaseRequestProto)
18198 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
18199 } else {
18200 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RenewLeaseRequestProto)
18201 MergeFrom(*source);
18202 }
18203}
18204
18205void RenewLeaseRequestProto::MergeFrom(const RenewLeaseRequestProto& from) {
18206// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RenewLeaseRequestProto)
18207 GOOGLE_DCHECK_NE(&from, this);
18208 _internal_metadata_.MergeFrom(from._internal_metadata_);
18209 ::google::protobuf::uint32 cached_has_bits = 0;
18210 (void) cached_has_bits;
18211
18212 if (from.has_clientname()) {
18213 set_has_clientname();
18214 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
18215 }
18216}
18217
18218void RenewLeaseRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
18219// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RenewLeaseRequestProto)
18220 if (&from == this) return;
18221 Clear();
18222 MergeFrom(from);
18223}
18224
18225void RenewLeaseRequestProto::CopyFrom(const RenewLeaseRequestProto& from) {
18226// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RenewLeaseRequestProto)
18227 if (&from == this) return;
18228 Clear();
18229 MergeFrom(from);
18230}
18231
18232bool RenewLeaseRequestProto::IsInitialized() const {
18233 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
18234 return true;
18235}
18236
18237void RenewLeaseRequestProto::Swap(RenewLeaseRequestProto* other) {
18238 if (other == this) return;
18239 InternalSwap(other);
18240}
18241void RenewLeaseRequestProto::InternalSwap(RenewLeaseRequestProto* other) {
18242 using std::swap;
18243 clientname_.Swap(&other->clientname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
18244 GetArenaNoVirtual());
18245 swap(_has_bits_[0], other->_has_bits_[0]);
18246 _internal_metadata_.Swap(&other->_internal_metadata_);
18247}
18248
18249::google::protobuf::Metadata RenewLeaseRequestProto::GetMetadata() const {
18250 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
18251 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
18252}
18253
18254
18255// ===================================================================
18256
18257void RenewLeaseResponseProto::InitAsDefaultInstance() {
18258}
18259#if !defined(_MSC_VER) || _MSC_VER >= 1900
18260#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
18261
18262RenewLeaseResponseProto::RenewLeaseResponseProto()
18263 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
18264 ::google::protobuf::internal::InitSCC(
18265 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RenewLeaseResponseProto.base);
18266 SharedCtor();
18267 // @@protoc_insertion_point(constructor:Hdfs.Internal.RenewLeaseResponseProto)
18268}
18269RenewLeaseResponseProto::RenewLeaseResponseProto(const RenewLeaseResponseProto& from)
18270 : ::google::protobuf::Message(),
18271 _internal_metadata_(NULL),
18272 _has_bits_(from._has_bits_) {
18273 _internal_metadata_.MergeFrom(from._internal_metadata_);
18274 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RenewLeaseResponseProto)
18275}
18276
18277void RenewLeaseResponseProto::SharedCtor() {
18278}
18279
18280RenewLeaseResponseProto::~RenewLeaseResponseProto() {
18281 // @@protoc_insertion_point(destructor:Hdfs.Internal.RenewLeaseResponseProto)
18282 SharedDtor();
18283}
18284
18285void RenewLeaseResponseProto::SharedDtor() {
18286}
18287
18288void RenewLeaseResponseProto::SetCachedSize(int size) const {
18289 _cached_size_.Set(size);
18290}
18291const ::google::protobuf::Descriptor* RenewLeaseResponseProto::descriptor() {
18292 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
18293 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
18294}
18295
18296const RenewLeaseResponseProto& RenewLeaseResponseProto::default_instance() {
18297 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RenewLeaseResponseProto.base);
18298 return *internal_default_instance();
18299}
18300
18301
18302void RenewLeaseResponseProto::Clear() {
18303// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RenewLeaseResponseProto)
18304 ::google::protobuf::uint32 cached_has_bits = 0;
18305 // Prevent compiler warnings about cached_has_bits being unused
18306 (void) cached_has_bits;
18307
18308 _has_bits_.Clear();
18309 _internal_metadata_.Clear();
18310}
18311
18312bool RenewLeaseResponseProto::MergePartialFromCodedStream(
18313 ::google::protobuf::io::CodedInputStream* input) {
18314#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
18315 ::google::protobuf::uint32 tag;
18316 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RenewLeaseResponseProto)
18317 for (;;) {
18318 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
18319 tag = p.first;
18320 if (!p.second) goto handle_unusual;
18321 handle_unusual:
18322 if (tag == 0) {
18323 goto success;
18324 }
18325 DO_(::google::protobuf::internal::WireFormat::SkipField(
18326 input, tag, _internal_metadata_.mutable_unknown_fields()));
18327 }
18328success:
18329 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RenewLeaseResponseProto)
18330 return true;
18331failure:
18332 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RenewLeaseResponseProto)
18333 return false;
18334#undef DO_
18335}
18336
18337void RenewLeaseResponseProto::SerializeWithCachedSizes(
18338 ::google::protobuf::io::CodedOutputStream* output) const {
18339 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RenewLeaseResponseProto)
18340 ::google::protobuf::uint32 cached_has_bits = 0;
18341 (void) cached_has_bits;
18342
18343 if (_internal_metadata_.have_unknown_fields()) {
18344 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
18345 _internal_metadata_.unknown_fields(), output);
18346 }
18347 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RenewLeaseResponseProto)
18348}
18349
18350::google::protobuf::uint8* RenewLeaseResponseProto::InternalSerializeWithCachedSizesToArray(
18351 bool deterministic, ::google::protobuf::uint8* target) const {
18352 (void)deterministic; // Unused
18353 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RenewLeaseResponseProto)
18354 ::google::protobuf::uint32 cached_has_bits = 0;
18355 (void) cached_has_bits;
18356
18357 if (_internal_metadata_.have_unknown_fields()) {
18358 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
18359 _internal_metadata_.unknown_fields(), target);
18360 }
18361 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RenewLeaseResponseProto)
18362 return target;
18363}
18364
18365size_t RenewLeaseResponseProto::ByteSizeLong() const {
18366// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RenewLeaseResponseProto)
18367 size_t total_size = 0;
18368
18369 if (_internal_metadata_.have_unknown_fields()) {
18370 total_size +=
18371 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
18372 _internal_metadata_.unknown_fields());
18373 }
18374 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
18375 SetCachedSize(cached_size);
18376 return total_size;
18377}
18378
18379void RenewLeaseResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
18380// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RenewLeaseResponseProto)
18381 GOOGLE_DCHECK_NE(&from, this);
18382 const RenewLeaseResponseProto* source =
18383 ::google::protobuf::internal::DynamicCastToGenerated<const RenewLeaseResponseProto>(
18384 &from);
18385 if (source == NULL) {
18386 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RenewLeaseResponseProto)
18387 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
18388 } else {
18389 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RenewLeaseResponseProto)
18390 MergeFrom(*source);
18391 }
18392}
18393
18394void RenewLeaseResponseProto::MergeFrom(const RenewLeaseResponseProto& from) {
18395// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RenewLeaseResponseProto)
18396 GOOGLE_DCHECK_NE(&from, this);
18397 _internal_metadata_.MergeFrom(from._internal_metadata_);
18398 ::google::protobuf::uint32 cached_has_bits = 0;
18399 (void) cached_has_bits;
18400
18401}
18402
18403void RenewLeaseResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
18404// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RenewLeaseResponseProto)
18405 if (&from == this) return;
18406 Clear();
18407 MergeFrom(from);
18408}
18409
18410void RenewLeaseResponseProto::CopyFrom(const RenewLeaseResponseProto& from) {
18411// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RenewLeaseResponseProto)
18412 if (&from == this) return;
18413 Clear();
18414 MergeFrom(from);
18415}
18416
18417bool RenewLeaseResponseProto::IsInitialized() const {
18418 return true;
18419}
18420
18421void RenewLeaseResponseProto::Swap(RenewLeaseResponseProto* other) {
18422 if (other == this) return;
18423 InternalSwap(other);
18424}
18425void RenewLeaseResponseProto::InternalSwap(RenewLeaseResponseProto* other) {
18426 using std::swap;
18427 swap(_has_bits_[0], other->_has_bits_[0]);
18428 _internal_metadata_.Swap(&other->_internal_metadata_);
18429}
18430
18431::google::protobuf::Metadata RenewLeaseResponseProto::GetMetadata() const {
18432 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
18433 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
18434}
18435
18436
18437// ===================================================================
18438
18439void RecoverLeaseRequestProto::InitAsDefaultInstance() {
18440}
18441#if !defined(_MSC_VER) || _MSC_VER >= 1900
18442const int RecoverLeaseRequestProto::kSrcFieldNumber;
18443const int RecoverLeaseRequestProto::kClientNameFieldNumber;
18444#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
18445
18446RecoverLeaseRequestProto::RecoverLeaseRequestProto()
18447 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
18448 ::google::protobuf::internal::InitSCC(
18449 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RecoverLeaseRequestProto.base);
18450 SharedCtor();
18451 // @@protoc_insertion_point(constructor:Hdfs.Internal.RecoverLeaseRequestProto)
18452}
18453RecoverLeaseRequestProto::RecoverLeaseRequestProto(const RecoverLeaseRequestProto& from)
18454 : ::google::protobuf::Message(),
18455 _internal_metadata_(NULL),
18456 _has_bits_(from._has_bits_) {
18457 _internal_metadata_.MergeFrom(from._internal_metadata_);
18458 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18459 if (from.has_src()) {
18460 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
18461 }
18462 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18463 if (from.has_clientname()) {
18464 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
18465 }
18466 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RecoverLeaseRequestProto)
18467}
18468
18469void RecoverLeaseRequestProto::SharedCtor() {
18470 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18471 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18472}
18473
18474RecoverLeaseRequestProto::~RecoverLeaseRequestProto() {
18475 // @@protoc_insertion_point(destructor:Hdfs.Internal.RecoverLeaseRequestProto)
18476 SharedDtor();
18477}
18478
18479void RecoverLeaseRequestProto::SharedDtor() {
18480 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18481 clientname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18482}
18483
18484void RecoverLeaseRequestProto::SetCachedSize(int size) const {
18485 _cached_size_.Set(size);
18486}
18487const ::google::protobuf::Descriptor* RecoverLeaseRequestProto::descriptor() {
18488 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
18489 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
18490}
18491
18492const RecoverLeaseRequestProto& RecoverLeaseRequestProto::default_instance() {
18493 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RecoverLeaseRequestProto.base);
18494 return *internal_default_instance();
18495}
18496
18497
18498void RecoverLeaseRequestProto::Clear() {
18499// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RecoverLeaseRequestProto)
18500 ::google::protobuf::uint32 cached_has_bits = 0;
18501 // Prevent compiler warnings about cached_has_bits being unused
18502 (void) cached_has_bits;
18503
18504 cached_has_bits = _has_bits_[0];
18505 if (cached_has_bits & 3u) {
18506 if (cached_has_bits & 0x00000001u) {
18507 src_.ClearNonDefaultToEmptyNoArena();
18508 }
18509 if (cached_has_bits & 0x00000002u) {
18510 clientname_.ClearNonDefaultToEmptyNoArena();
18511 }
18512 }
18513 _has_bits_.Clear();
18514 _internal_metadata_.Clear();
18515}
18516
18517bool RecoverLeaseRequestProto::MergePartialFromCodedStream(
18518 ::google::protobuf::io::CodedInputStream* input) {
18519#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
18520 ::google::protobuf::uint32 tag;
18521 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RecoverLeaseRequestProto)
18522 for (;;) {
18523 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
18524 tag = p.first;
18525 if (!p.second) goto handle_unusual;
18526 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
18527 // required string src = 1;
18528 case 1: {
18529 if (static_cast< ::google::protobuf::uint8>(tag) ==
18530 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
18531 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
18532 input, this->mutable_src()));
18533 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
18534 this->src().data(), static_cast<int>(this->src().length()),
18535 ::google::protobuf::internal::WireFormat::PARSE,
18536 "Hdfs.Internal.RecoverLeaseRequestProto.src");
18537 } else {
18538 goto handle_unusual;
18539 }
18540 break;
18541 }
18542
18543 // required string clientName = 2;
18544 case 2: {
18545 if (static_cast< ::google::protobuf::uint8>(tag) ==
18546 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
18547 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
18548 input, this->mutable_clientname()));
18549 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
18550 this->clientname().data(), static_cast<int>(this->clientname().length()),
18551 ::google::protobuf::internal::WireFormat::PARSE,
18552 "Hdfs.Internal.RecoverLeaseRequestProto.clientName");
18553 } else {
18554 goto handle_unusual;
18555 }
18556 break;
18557 }
18558
18559 default: {
18560 handle_unusual:
18561 if (tag == 0) {
18562 goto success;
18563 }
18564 DO_(::google::protobuf::internal::WireFormat::SkipField(
18565 input, tag, _internal_metadata_.mutable_unknown_fields()));
18566 break;
18567 }
18568 }
18569 }
18570success:
18571 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RecoverLeaseRequestProto)
18572 return true;
18573failure:
18574 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RecoverLeaseRequestProto)
18575 return false;
18576#undef DO_
18577}
18578
18579void RecoverLeaseRequestProto::SerializeWithCachedSizes(
18580 ::google::protobuf::io::CodedOutputStream* output) const {
18581 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RecoverLeaseRequestProto)
18582 ::google::protobuf::uint32 cached_has_bits = 0;
18583 (void) cached_has_bits;
18584
18585 cached_has_bits = _has_bits_[0];
18586 // required string src = 1;
18587 if (cached_has_bits & 0x00000001u) {
18588 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
18589 this->src().data(), static_cast<int>(this->src().length()),
18590 ::google::protobuf::internal::WireFormat::SERIALIZE,
18591 "Hdfs.Internal.RecoverLeaseRequestProto.src");
18592 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
18593 1, this->src(), output);
18594 }
18595
18596 // required string clientName = 2;
18597 if (cached_has_bits & 0x00000002u) {
18598 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
18599 this->clientname().data(), static_cast<int>(this->clientname().length()),
18600 ::google::protobuf::internal::WireFormat::SERIALIZE,
18601 "Hdfs.Internal.RecoverLeaseRequestProto.clientName");
18602 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
18603 2, this->clientname(), output);
18604 }
18605
18606 if (_internal_metadata_.have_unknown_fields()) {
18607 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
18608 _internal_metadata_.unknown_fields(), output);
18609 }
18610 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RecoverLeaseRequestProto)
18611}
18612
18613::google::protobuf::uint8* RecoverLeaseRequestProto::InternalSerializeWithCachedSizesToArray(
18614 bool deterministic, ::google::protobuf::uint8* target) const {
18615 (void)deterministic; // Unused
18616 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RecoverLeaseRequestProto)
18617 ::google::protobuf::uint32 cached_has_bits = 0;
18618 (void) cached_has_bits;
18619
18620 cached_has_bits = _has_bits_[0];
18621 // required string src = 1;
18622 if (cached_has_bits & 0x00000001u) {
18623 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
18624 this->src().data(), static_cast<int>(this->src().length()),
18625 ::google::protobuf::internal::WireFormat::SERIALIZE,
18626 "Hdfs.Internal.RecoverLeaseRequestProto.src");
18627 target =
18628 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
18629 1, this->src(), target);
18630 }
18631
18632 // required string clientName = 2;
18633 if (cached_has_bits & 0x00000002u) {
18634 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
18635 this->clientname().data(), static_cast<int>(this->clientname().length()),
18636 ::google::protobuf::internal::WireFormat::SERIALIZE,
18637 "Hdfs.Internal.RecoverLeaseRequestProto.clientName");
18638 target =
18639 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
18640 2, this->clientname(), target);
18641 }
18642
18643 if (_internal_metadata_.have_unknown_fields()) {
18644 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
18645 _internal_metadata_.unknown_fields(), target);
18646 }
18647 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RecoverLeaseRequestProto)
18648 return target;
18649}
18650
18651size_t RecoverLeaseRequestProto::RequiredFieldsByteSizeFallback() const {
18652// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.RecoverLeaseRequestProto)
18653 size_t total_size = 0;
18654
18655 if (has_src()) {
18656 // required string src = 1;
18657 total_size += 1 +
18658 ::google::protobuf::internal::WireFormatLite::StringSize(
18659 this->src());
18660 }
18661
18662 if (has_clientname()) {
18663 // required string clientName = 2;
18664 total_size += 1 +
18665 ::google::protobuf::internal::WireFormatLite::StringSize(
18666 this->clientname());
18667 }
18668
18669 return total_size;
18670}
18671size_t RecoverLeaseRequestProto::ByteSizeLong() const {
18672// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RecoverLeaseRequestProto)
18673 size_t total_size = 0;
18674
18675 if (_internal_metadata_.have_unknown_fields()) {
18676 total_size +=
18677 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
18678 _internal_metadata_.unknown_fields());
18679 }
18680 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
18681 // required string src = 1;
18682 total_size += 1 +
18683 ::google::protobuf::internal::WireFormatLite::StringSize(
18684 this->src());
18685
18686 // required string clientName = 2;
18687 total_size += 1 +
18688 ::google::protobuf::internal::WireFormatLite::StringSize(
18689 this->clientname());
18690
18691 } else {
18692 total_size += RequiredFieldsByteSizeFallback();
18693 }
18694 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
18695 SetCachedSize(cached_size);
18696 return total_size;
18697}
18698
18699void RecoverLeaseRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
18700// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RecoverLeaseRequestProto)
18701 GOOGLE_DCHECK_NE(&from, this);
18702 const RecoverLeaseRequestProto* source =
18703 ::google::protobuf::internal::DynamicCastToGenerated<const RecoverLeaseRequestProto>(
18704 &from);
18705 if (source == NULL) {
18706 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RecoverLeaseRequestProto)
18707 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
18708 } else {
18709 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RecoverLeaseRequestProto)
18710 MergeFrom(*source);
18711 }
18712}
18713
18714void RecoverLeaseRequestProto::MergeFrom(const RecoverLeaseRequestProto& from) {
18715// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RecoverLeaseRequestProto)
18716 GOOGLE_DCHECK_NE(&from, this);
18717 _internal_metadata_.MergeFrom(from._internal_metadata_);
18718 ::google::protobuf::uint32 cached_has_bits = 0;
18719 (void) cached_has_bits;
18720
18721 cached_has_bits = from._has_bits_[0];
18722 if (cached_has_bits & 3u) {
18723 if (cached_has_bits & 0x00000001u) {
18724 set_has_src();
18725 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
18726 }
18727 if (cached_has_bits & 0x00000002u) {
18728 set_has_clientname();
18729 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
18730 }
18731 }
18732}
18733
18734void RecoverLeaseRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
18735// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RecoverLeaseRequestProto)
18736 if (&from == this) return;
18737 Clear();
18738 MergeFrom(from);
18739}
18740
18741void RecoverLeaseRequestProto::CopyFrom(const RecoverLeaseRequestProto& from) {
18742// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RecoverLeaseRequestProto)
18743 if (&from == this) return;
18744 Clear();
18745 MergeFrom(from);
18746}
18747
18748bool RecoverLeaseRequestProto::IsInitialized() const {
18749 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
18750 return true;
18751}
18752
18753void RecoverLeaseRequestProto::Swap(RecoverLeaseRequestProto* other) {
18754 if (other == this) return;
18755 InternalSwap(other);
18756}
18757void RecoverLeaseRequestProto::InternalSwap(RecoverLeaseRequestProto* other) {
18758 using std::swap;
18759 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
18760 GetArenaNoVirtual());
18761 clientname_.Swap(&other->clientname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
18762 GetArenaNoVirtual());
18763 swap(_has_bits_[0], other->_has_bits_[0]);
18764 _internal_metadata_.Swap(&other->_internal_metadata_);
18765}
18766
18767::google::protobuf::Metadata RecoverLeaseRequestProto::GetMetadata() const {
18768 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
18769 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
18770}
18771
18772
18773// ===================================================================
18774
18775void RecoverLeaseResponseProto::InitAsDefaultInstance() {
18776}
18777#if !defined(_MSC_VER) || _MSC_VER >= 1900
18778const int RecoverLeaseResponseProto::kResultFieldNumber;
18779#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
18780
18781RecoverLeaseResponseProto::RecoverLeaseResponseProto()
18782 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
18783 ::google::protobuf::internal::InitSCC(
18784 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RecoverLeaseResponseProto.base);
18785 SharedCtor();
18786 // @@protoc_insertion_point(constructor:Hdfs.Internal.RecoverLeaseResponseProto)
18787}
18788RecoverLeaseResponseProto::RecoverLeaseResponseProto(const RecoverLeaseResponseProto& from)
18789 : ::google::protobuf::Message(),
18790 _internal_metadata_(NULL),
18791 _has_bits_(from._has_bits_) {
18792 _internal_metadata_.MergeFrom(from._internal_metadata_);
18793 result_ = from.result_;
18794 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RecoverLeaseResponseProto)
18795}
18796
18797void RecoverLeaseResponseProto::SharedCtor() {
18798 result_ = false;
18799}
18800
18801RecoverLeaseResponseProto::~RecoverLeaseResponseProto() {
18802 // @@protoc_insertion_point(destructor:Hdfs.Internal.RecoverLeaseResponseProto)
18803 SharedDtor();
18804}
18805
18806void RecoverLeaseResponseProto::SharedDtor() {
18807}
18808
18809void RecoverLeaseResponseProto::SetCachedSize(int size) const {
18810 _cached_size_.Set(size);
18811}
18812const ::google::protobuf::Descriptor* RecoverLeaseResponseProto::descriptor() {
18813 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
18814 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
18815}
18816
18817const RecoverLeaseResponseProto& RecoverLeaseResponseProto::default_instance() {
18818 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RecoverLeaseResponseProto.base);
18819 return *internal_default_instance();
18820}
18821
18822
18823void RecoverLeaseResponseProto::Clear() {
18824// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RecoverLeaseResponseProto)
18825 ::google::protobuf::uint32 cached_has_bits = 0;
18826 // Prevent compiler warnings about cached_has_bits being unused
18827 (void) cached_has_bits;
18828
18829 result_ = false;
18830 _has_bits_.Clear();
18831 _internal_metadata_.Clear();
18832}
18833
18834bool RecoverLeaseResponseProto::MergePartialFromCodedStream(
18835 ::google::protobuf::io::CodedInputStream* input) {
18836#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
18837 ::google::protobuf::uint32 tag;
18838 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RecoverLeaseResponseProto)
18839 for (;;) {
18840 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
18841 tag = p.first;
18842 if (!p.second) goto handle_unusual;
18843 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
18844 // required bool result = 1;
18845 case 1: {
18846 if (static_cast< ::google::protobuf::uint8>(tag) ==
18847 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
18848 set_has_result();
18849 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18850 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
18851 input, &result_)));
18852 } else {
18853 goto handle_unusual;
18854 }
18855 break;
18856 }
18857
18858 default: {
18859 handle_unusual:
18860 if (tag == 0) {
18861 goto success;
18862 }
18863 DO_(::google::protobuf::internal::WireFormat::SkipField(
18864 input, tag, _internal_metadata_.mutable_unknown_fields()));
18865 break;
18866 }
18867 }
18868 }
18869success:
18870 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RecoverLeaseResponseProto)
18871 return true;
18872failure:
18873 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RecoverLeaseResponseProto)
18874 return false;
18875#undef DO_
18876}
18877
18878void RecoverLeaseResponseProto::SerializeWithCachedSizes(
18879 ::google::protobuf::io::CodedOutputStream* output) const {
18880 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RecoverLeaseResponseProto)
18881 ::google::protobuf::uint32 cached_has_bits = 0;
18882 (void) cached_has_bits;
18883
18884 cached_has_bits = _has_bits_[0];
18885 // required bool result = 1;
18886 if (cached_has_bits & 0x00000001u) {
18887 ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->result(), output);
18888 }
18889
18890 if (_internal_metadata_.have_unknown_fields()) {
18891 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
18892 _internal_metadata_.unknown_fields(), output);
18893 }
18894 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RecoverLeaseResponseProto)
18895}
18896
18897::google::protobuf::uint8* RecoverLeaseResponseProto::InternalSerializeWithCachedSizesToArray(
18898 bool deterministic, ::google::protobuf::uint8* target) const {
18899 (void)deterministic; // Unused
18900 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RecoverLeaseResponseProto)
18901 ::google::protobuf::uint32 cached_has_bits = 0;
18902 (void) cached_has_bits;
18903
18904 cached_has_bits = _has_bits_[0];
18905 // required bool result = 1;
18906 if (cached_has_bits & 0x00000001u) {
18907 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->result(), target);
18908 }
18909
18910 if (_internal_metadata_.have_unknown_fields()) {
18911 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
18912 _internal_metadata_.unknown_fields(), target);
18913 }
18914 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RecoverLeaseResponseProto)
18915 return target;
18916}
18917
18918size_t RecoverLeaseResponseProto::ByteSizeLong() const {
18919// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RecoverLeaseResponseProto)
18920 size_t total_size = 0;
18921
18922 if (_internal_metadata_.have_unknown_fields()) {
18923 total_size +=
18924 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
18925 _internal_metadata_.unknown_fields());
18926 }
18927 // required bool result = 1;
18928 if (has_result()) {
18929 total_size += 1 + 1;
18930 }
18931 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
18932 SetCachedSize(cached_size);
18933 return total_size;
18934}
18935
18936void RecoverLeaseResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
18937// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RecoverLeaseResponseProto)
18938 GOOGLE_DCHECK_NE(&from, this);
18939 const RecoverLeaseResponseProto* source =
18940 ::google::protobuf::internal::DynamicCastToGenerated<const RecoverLeaseResponseProto>(
18941 &from);
18942 if (source == NULL) {
18943 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RecoverLeaseResponseProto)
18944 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
18945 } else {
18946 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RecoverLeaseResponseProto)
18947 MergeFrom(*source);
18948 }
18949}
18950
18951void RecoverLeaseResponseProto::MergeFrom(const RecoverLeaseResponseProto& from) {
18952// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RecoverLeaseResponseProto)
18953 GOOGLE_DCHECK_NE(&from, this);
18954 _internal_metadata_.MergeFrom(from._internal_metadata_);
18955 ::google::protobuf::uint32 cached_has_bits = 0;
18956 (void) cached_has_bits;
18957
18958 if (from.has_result()) {
18959 set_result(from.result());
18960 }
18961}
18962
18963void RecoverLeaseResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
18964// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RecoverLeaseResponseProto)
18965 if (&from == this) return;
18966 Clear();
18967 MergeFrom(from);
18968}
18969
18970void RecoverLeaseResponseProto::CopyFrom(const RecoverLeaseResponseProto& from) {
18971// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RecoverLeaseResponseProto)
18972 if (&from == this) return;
18973 Clear();
18974 MergeFrom(from);
18975}
18976
18977bool RecoverLeaseResponseProto::IsInitialized() const {
18978 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
18979 return true;
18980}
18981
18982void RecoverLeaseResponseProto::Swap(RecoverLeaseResponseProto* other) {
18983 if (other == this) return;
18984 InternalSwap(other);
18985}
18986void RecoverLeaseResponseProto::InternalSwap(RecoverLeaseResponseProto* other) {
18987 using std::swap;
18988 swap(result_, other->result_);
18989 swap(_has_bits_[0], other->_has_bits_[0]);
18990 _internal_metadata_.Swap(&other->_internal_metadata_);
18991}
18992
18993::google::protobuf::Metadata RecoverLeaseResponseProto::GetMetadata() const {
18994 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
18995 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
18996}
18997
18998
18999// ===================================================================
19000
19001void GetFsStatusRequestProto::InitAsDefaultInstance() {
19002}
19003#if !defined(_MSC_VER) || _MSC_VER >= 1900
19004#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
19005
19006GetFsStatusRequestProto::GetFsStatusRequestProto()
19007 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
19008 ::google::protobuf::internal::InitSCC(
19009 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetFsStatusRequestProto.base);
19010 SharedCtor();
19011 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetFsStatusRequestProto)
19012}
19013GetFsStatusRequestProto::GetFsStatusRequestProto(const GetFsStatusRequestProto& from)
19014 : ::google::protobuf::Message(),
19015 _internal_metadata_(NULL),
19016 _has_bits_(from._has_bits_) {
19017 _internal_metadata_.MergeFrom(from._internal_metadata_);
19018 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetFsStatusRequestProto)
19019}
19020
19021void GetFsStatusRequestProto::SharedCtor() {
19022}
19023
19024GetFsStatusRequestProto::~GetFsStatusRequestProto() {
19025 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetFsStatusRequestProto)
19026 SharedDtor();
19027}
19028
19029void GetFsStatusRequestProto::SharedDtor() {
19030}
19031
19032void GetFsStatusRequestProto::SetCachedSize(int size) const {
19033 _cached_size_.Set(size);
19034}
19035const ::google::protobuf::Descriptor* GetFsStatusRequestProto::descriptor() {
19036 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
19037 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
19038}
19039
19040const GetFsStatusRequestProto& GetFsStatusRequestProto::default_instance() {
19041 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetFsStatusRequestProto.base);
19042 return *internal_default_instance();
19043}
19044
19045
19046void GetFsStatusRequestProto::Clear() {
19047// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetFsStatusRequestProto)
19048 ::google::protobuf::uint32 cached_has_bits = 0;
19049 // Prevent compiler warnings about cached_has_bits being unused
19050 (void) cached_has_bits;
19051
19052 _has_bits_.Clear();
19053 _internal_metadata_.Clear();
19054}
19055
19056bool GetFsStatusRequestProto::MergePartialFromCodedStream(
19057 ::google::protobuf::io::CodedInputStream* input) {
19058#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
19059 ::google::protobuf::uint32 tag;
19060 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetFsStatusRequestProto)
19061 for (;;) {
19062 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
19063 tag = p.first;
19064 if (!p.second) goto handle_unusual;
19065 handle_unusual:
19066 if (tag == 0) {
19067 goto success;
19068 }
19069 DO_(::google::protobuf::internal::WireFormat::SkipField(
19070 input, tag, _internal_metadata_.mutable_unknown_fields()));
19071 }
19072success:
19073 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetFsStatusRequestProto)
19074 return true;
19075failure:
19076 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetFsStatusRequestProto)
19077 return false;
19078#undef DO_
19079}
19080
19081void GetFsStatusRequestProto::SerializeWithCachedSizes(
19082 ::google::protobuf::io::CodedOutputStream* output) const {
19083 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetFsStatusRequestProto)
19084 ::google::protobuf::uint32 cached_has_bits = 0;
19085 (void) cached_has_bits;
19086
19087 if (_internal_metadata_.have_unknown_fields()) {
19088 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
19089 _internal_metadata_.unknown_fields(), output);
19090 }
19091 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetFsStatusRequestProto)
19092}
19093
19094::google::protobuf::uint8* GetFsStatusRequestProto::InternalSerializeWithCachedSizesToArray(
19095 bool deterministic, ::google::protobuf::uint8* target) const {
19096 (void)deterministic; // Unused
19097 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetFsStatusRequestProto)
19098 ::google::protobuf::uint32 cached_has_bits = 0;
19099 (void) cached_has_bits;
19100
19101 if (_internal_metadata_.have_unknown_fields()) {
19102 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
19103 _internal_metadata_.unknown_fields(), target);
19104 }
19105 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetFsStatusRequestProto)
19106 return target;
19107}
19108
19109size_t GetFsStatusRequestProto::ByteSizeLong() const {
19110// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetFsStatusRequestProto)
19111 size_t total_size = 0;
19112
19113 if (_internal_metadata_.have_unknown_fields()) {
19114 total_size +=
19115 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
19116 _internal_metadata_.unknown_fields());
19117 }
19118 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
19119 SetCachedSize(cached_size);
19120 return total_size;
19121}
19122
19123void GetFsStatusRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
19124// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetFsStatusRequestProto)
19125 GOOGLE_DCHECK_NE(&from, this);
19126 const GetFsStatusRequestProto* source =
19127 ::google::protobuf::internal::DynamicCastToGenerated<const GetFsStatusRequestProto>(
19128 &from);
19129 if (source == NULL) {
19130 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetFsStatusRequestProto)
19131 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
19132 } else {
19133 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetFsStatusRequestProto)
19134 MergeFrom(*source);
19135 }
19136}
19137
19138void GetFsStatusRequestProto::MergeFrom(const GetFsStatusRequestProto& from) {
19139// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetFsStatusRequestProto)
19140 GOOGLE_DCHECK_NE(&from, this);
19141 _internal_metadata_.MergeFrom(from._internal_metadata_);
19142 ::google::protobuf::uint32 cached_has_bits = 0;
19143 (void) cached_has_bits;
19144
19145}
19146
19147void GetFsStatusRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
19148// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetFsStatusRequestProto)
19149 if (&from == this) return;
19150 Clear();
19151 MergeFrom(from);
19152}
19153
19154void GetFsStatusRequestProto::CopyFrom(const GetFsStatusRequestProto& from) {
19155// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetFsStatusRequestProto)
19156 if (&from == this) return;
19157 Clear();
19158 MergeFrom(from);
19159}
19160
19161bool GetFsStatusRequestProto::IsInitialized() const {
19162 return true;
19163}
19164
19165void GetFsStatusRequestProto::Swap(GetFsStatusRequestProto* other) {
19166 if (other == this) return;
19167 InternalSwap(other);
19168}
19169void GetFsStatusRequestProto::InternalSwap(GetFsStatusRequestProto* other) {
19170 using std::swap;
19171 swap(_has_bits_[0], other->_has_bits_[0]);
19172 _internal_metadata_.Swap(&other->_internal_metadata_);
19173}
19174
19175::google::protobuf::Metadata GetFsStatusRequestProto::GetMetadata() const {
19176 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
19177 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
19178}
19179
19180
19181// ===================================================================
19182
19183void GetFsStatsResponseProto::InitAsDefaultInstance() {
19184}
19185#if !defined(_MSC_VER) || _MSC_VER >= 1900
19186const int GetFsStatsResponseProto::kCapacityFieldNumber;
19187const int GetFsStatsResponseProto::kUsedFieldNumber;
19188const int GetFsStatsResponseProto::kRemainingFieldNumber;
19189const int GetFsStatsResponseProto::kUnderReplicatedFieldNumber;
19190const int GetFsStatsResponseProto::kCorruptBlocksFieldNumber;
19191const int GetFsStatsResponseProto::kMissingBlocksFieldNumber;
19192#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
19193
19194GetFsStatsResponseProto::GetFsStatsResponseProto()
19195 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
19196 ::google::protobuf::internal::InitSCC(
19197 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetFsStatsResponseProto.base);
19198 SharedCtor();
19199 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetFsStatsResponseProto)
19200}
19201GetFsStatsResponseProto::GetFsStatsResponseProto(const GetFsStatsResponseProto& from)
19202 : ::google::protobuf::Message(),
19203 _internal_metadata_(NULL),
19204 _has_bits_(from._has_bits_) {
19205 _internal_metadata_.MergeFrom(from._internal_metadata_);
19206 ::memcpy(&capacity_, &from.capacity_,
19207 static_cast<size_t>(reinterpret_cast<char*>(&missing_blocks_) -
19208 reinterpret_cast<char*>(&capacity_)) + sizeof(missing_blocks_));
19209 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetFsStatsResponseProto)
19210}
19211
19212void GetFsStatsResponseProto::SharedCtor() {
19213 ::memset(&capacity_, 0, static_cast<size_t>(
19214 reinterpret_cast<char*>(&missing_blocks_) -
19215 reinterpret_cast<char*>(&capacity_)) + sizeof(missing_blocks_));
19216}
19217
19218GetFsStatsResponseProto::~GetFsStatsResponseProto() {
19219 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetFsStatsResponseProto)
19220 SharedDtor();
19221}
19222
19223void GetFsStatsResponseProto::SharedDtor() {
19224}
19225
19226void GetFsStatsResponseProto::SetCachedSize(int size) const {
19227 _cached_size_.Set(size);
19228}
19229const ::google::protobuf::Descriptor* GetFsStatsResponseProto::descriptor() {
19230 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
19231 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
19232}
19233
19234const GetFsStatsResponseProto& GetFsStatsResponseProto::default_instance() {
19235 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetFsStatsResponseProto.base);
19236 return *internal_default_instance();
19237}
19238
19239
19240void GetFsStatsResponseProto::Clear() {
19241// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetFsStatsResponseProto)
19242 ::google::protobuf::uint32 cached_has_bits = 0;
19243 // Prevent compiler warnings about cached_has_bits being unused
19244 (void) cached_has_bits;
19245
19246 cached_has_bits = _has_bits_[0];
19247 if (cached_has_bits & 63u) {
19248 ::memset(&capacity_, 0, static_cast<size_t>(
19249 reinterpret_cast<char*>(&missing_blocks_) -
19250 reinterpret_cast<char*>(&capacity_)) + sizeof(missing_blocks_));
19251 }
19252 _has_bits_.Clear();
19253 _internal_metadata_.Clear();
19254}
19255
19256bool GetFsStatsResponseProto::MergePartialFromCodedStream(
19257 ::google::protobuf::io::CodedInputStream* input) {
19258#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
19259 ::google::protobuf::uint32 tag;
19260 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetFsStatsResponseProto)
19261 for (;;) {
19262 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
19263 tag = p.first;
19264 if (!p.second) goto handle_unusual;
19265 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19266 // required uint64 capacity = 1;
19267 case 1: {
19268 if (static_cast< ::google::protobuf::uint8>(tag) ==
19269 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
19270 set_has_capacity();
19271 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19272 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
19273 input, &capacity_)));
19274 } else {
19275 goto handle_unusual;
19276 }
19277 break;
19278 }
19279
19280 // required uint64 used = 2;
19281 case 2: {
19282 if (static_cast< ::google::protobuf::uint8>(tag) ==
19283 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
19284 set_has_used();
19285 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19286 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
19287 input, &used_)));
19288 } else {
19289 goto handle_unusual;
19290 }
19291 break;
19292 }
19293
19294 // required uint64 remaining = 3;
19295 case 3: {
19296 if (static_cast< ::google::protobuf::uint8>(tag) ==
19297 static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
19298 set_has_remaining();
19299 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19300 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
19301 input, &remaining_)));
19302 } else {
19303 goto handle_unusual;
19304 }
19305 break;
19306 }
19307
19308 // required uint64 under_replicated = 4;
19309 case 4: {
19310 if (static_cast< ::google::protobuf::uint8>(tag) ==
19311 static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
19312 set_has_under_replicated();
19313 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19314 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
19315 input, &under_replicated_)));
19316 } else {
19317 goto handle_unusual;
19318 }
19319 break;
19320 }
19321
19322 // required uint64 corrupt_blocks = 5;
19323 case 5: {
19324 if (static_cast< ::google::protobuf::uint8>(tag) ==
19325 static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
19326 set_has_corrupt_blocks();
19327 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19328 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
19329 input, &corrupt_blocks_)));
19330 } else {
19331 goto handle_unusual;
19332 }
19333 break;
19334 }
19335
19336 // required uint64 missing_blocks = 6;
19337 case 6: {
19338 if (static_cast< ::google::protobuf::uint8>(tag) ==
19339 static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
19340 set_has_missing_blocks();
19341 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19342 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
19343 input, &missing_blocks_)));
19344 } else {
19345 goto handle_unusual;
19346 }
19347 break;
19348 }
19349
19350 default: {
19351 handle_unusual:
19352 if (tag == 0) {
19353 goto success;
19354 }
19355 DO_(::google::protobuf::internal::WireFormat::SkipField(
19356 input, tag, _internal_metadata_.mutable_unknown_fields()));
19357 break;
19358 }
19359 }
19360 }
19361success:
19362 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetFsStatsResponseProto)
19363 return true;
19364failure:
19365 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetFsStatsResponseProto)
19366 return false;
19367#undef DO_
19368}
19369
19370void GetFsStatsResponseProto::SerializeWithCachedSizes(
19371 ::google::protobuf::io::CodedOutputStream* output) const {
19372 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetFsStatsResponseProto)
19373 ::google::protobuf::uint32 cached_has_bits = 0;
19374 (void) cached_has_bits;
19375
19376 cached_has_bits = _has_bits_[0];
19377 // required uint64 capacity = 1;
19378 if (cached_has_bits & 0x00000001u) {
19379 ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->capacity(), output);
19380 }
19381
19382 // required uint64 used = 2;
19383 if (cached_has_bits & 0x00000002u) {
19384 ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->used(), output);
19385 }
19386
19387 // required uint64 remaining = 3;
19388 if (cached_has_bits & 0x00000004u) {
19389 ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->remaining(), output);
19390 }
19391
19392 // required uint64 under_replicated = 4;
19393 if (cached_has_bits & 0x00000008u) {
19394 ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->under_replicated(), output);
19395 }
19396
19397 // required uint64 corrupt_blocks = 5;
19398 if (cached_has_bits & 0x00000010u) {
19399 ::google::protobuf::internal::WireFormatLite::WriteUInt64(5, this->corrupt_blocks(), output);
19400 }
19401
19402 // required uint64 missing_blocks = 6;
19403 if (cached_has_bits & 0x00000020u) {
19404 ::google::protobuf::internal::WireFormatLite::WriteUInt64(6, this->missing_blocks(), output);
19405 }
19406
19407 if (_internal_metadata_.have_unknown_fields()) {
19408 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
19409 _internal_metadata_.unknown_fields(), output);
19410 }
19411 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetFsStatsResponseProto)
19412}
19413
19414::google::protobuf::uint8* GetFsStatsResponseProto::InternalSerializeWithCachedSizesToArray(
19415 bool deterministic, ::google::protobuf::uint8* target) const {
19416 (void)deterministic; // Unused
19417 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetFsStatsResponseProto)
19418 ::google::protobuf::uint32 cached_has_bits = 0;
19419 (void) cached_has_bits;
19420
19421 cached_has_bits = _has_bits_[0];
19422 // required uint64 capacity = 1;
19423 if (cached_has_bits & 0x00000001u) {
19424 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->capacity(), target);
19425 }
19426
19427 // required uint64 used = 2;
19428 if (cached_has_bits & 0x00000002u) {
19429 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->used(), target);
19430 }
19431
19432 // required uint64 remaining = 3;
19433 if (cached_has_bits & 0x00000004u) {
19434 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->remaining(), target);
19435 }
19436
19437 // required uint64 under_replicated = 4;
19438 if (cached_has_bits & 0x00000008u) {
19439 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->under_replicated(), target);
19440 }
19441
19442 // required uint64 corrupt_blocks = 5;
19443 if (cached_has_bits & 0x00000010u) {
19444 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(5, this->corrupt_blocks(), target);
19445 }
19446
19447 // required uint64 missing_blocks = 6;
19448 if (cached_has_bits & 0x00000020u) {
19449 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(6, this->missing_blocks(), target);
19450 }
19451
19452 if (_internal_metadata_.have_unknown_fields()) {
19453 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
19454 _internal_metadata_.unknown_fields(), target);
19455 }
19456 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetFsStatsResponseProto)
19457 return target;
19458}
19459
19460size_t GetFsStatsResponseProto::RequiredFieldsByteSizeFallback() const {
19461// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.GetFsStatsResponseProto)
19462 size_t total_size = 0;
19463
19464 if (has_capacity()) {
19465 // required uint64 capacity = 1;
19466 total_size += 1 +
19467 ::google::protobuf::internal::WireFormatLite::UInt64Size(
19468 this->capacity());
19469 }
19470
19471 if (has_used()) {
19472 // required uint64 used = 2;
19473 total_size += 1 +
19474 ::google::protobuf::internal::WireFormatLite::UInt64Size(
19475 this->used());
19476 }
19477
19478 if (has_remaining()) {
19479 // required uint64 remaining = 3;
19480 total_size += 1 +
19481 ::google::protobuf::internal::WireFormatLite::UInt64Size(
19482 this->remaining());
19483 }
19484
19485 if (has_under_replicated()) {
19486 // required uint64 under_replicated = 4;
19487 total_size += 1 +
19488 ::google::protobuf::internal::WireFormatLite::UInt64Size(
19489 this->under_replicated());
19490 }
19491
19492 if (has_corrupt_blocks()) {
19493 // required uint64 corrupt_blocks = 5;
19494 total_size += 1 +
19495 ::google::protobuf::internal::WireFormatLite::UInt64Size(
19496 this->corrupt_blocks());
19497 }
19498
19499 if (has_missing_blocks()) {
19500 // required uint64 missing_blocks = 6;
19501 total_size += 1 +
19502 ::google::protobuf::internal::WireFormatLite::UInt64Size(
19503 this->missing_blocks());
19504 }
19505
19506 return total_size;
19507}
19508size_t GetFsStatsResponseProto::ByteSizeLong() const {
19509// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetFsStatsResponseProto)
19510 size_t total_size = 0;
19511
19512 if (_internal_metadata_.have_unknown_fields()) {
19513 total_size +=
19514 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
19515 _internal_metadata_.unknown_fields());
19516 }
19517 if (((_has_bits_[0] & 0x0000003f) ^ 0x0000003f) == 0) { // All required fields are present.
19518 // required uint64 capacity = 1;
19519 total_size += 1 +
19520 ::google::protobuf::internal::WireFormatLite::UInt64Size(
19521 this->capacity());
19522
19523 // required uint64 used = 2;
19524 total_size += 1 +
19525 ::google::protobuf::internal::WireFormatLite::UInt64Size(
19526 this->used());
19527
19528 // required uint64 remaining = 3;
19529 total_size += 1 +
19530 ::google::protobuf::internal::WireFormatLite::UInt64Size(
19531 this->remaining());
19532
19533 // required uint64 under_replicated = 4;
19534 total_size += 1 +
19535 ::google::protobuf::internal::WireFormatLite::UInt64Size(
19536 this->under_replicated());
19537
19538 // required uint64 corrupt_blocks = 5;
19539 total_size += 1 +
19540 ::google::protobuf::internal::WireFormatLite::UInt64Size(
19541 this->corrupt_blocks());
19542
19543 // required uint64 missing_blocks = 6;
19544 total_size += 1 +
19545 ::google::protobuf::internal::WireFormatLite::UInt64Size(
19546 this->missing_blocks());
19547
19548 } else {
19549 total_size += RequiredFieldsByteSizeFallback();
19550 }
19551 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
19552 SetCachedSize(cached_size);
19553 return total_size;
19554}
19555
19556void GetFsStatsResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
19557// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetFsStatsResponseProto)
19558 GOOGLE_DCHECK_NE(&from, this);
19559 const GetFsStatsResponseProto* source =
19560 ::google::protobuf::internal::DynamicCastToGenerated<const GetFsStatsResponseProto>(
19561 &from);
19562 if (source == NULL) {
19563 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetFsStatsResponseProto)
19564 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
19565 } else {
19566 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetFsStatsResponseProto)
19567 MergeFrom(*source);
19568 }
19569}
19570
19571void GetFsStatsResponseProto::MergeFrom(const GetFsStatsResponseProto& from) {
19572// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetFsStatsResponseProto)
19573 GOOGLE_DCHECK_NE(&from, this);
19574 _internal_metadata_.MergeFrom(from._internal_metadata_);
19575 ::google::protobuf::uint32 cached_has_bits = 0;
19576 (void) cached_has_bits;
19577
19578 cached_has_bits = from._has_bits_[0];
19579 if (cached_has_bits & 63u) {
19580 if (cached_has_bits & 0x00000001u) {
19581 capacity_ = from.capacity_;
19582 }
19583 if (cached_has_bits & 0x00000002u) {
19584 used_ = from.used_;
19585 }
19586 if (cached_has_bits & 0x00000004u) {
19587 remaining_ = from.remaining_;
19588 }
19589 if (cached_has_bits & 0x00000008u) {
19590 under_replicated_ = from.under_replicated_;
19591 }
19592 if (cached_has_bits & 0x00000010u) {
19593 corrupt_blocks_ = from.corrupt_blocks_;
19594 }
19595 if (cached_has_bits & 0x00000020u) {
19596 missing_blocks_ = from.missing_blocks_;
19597 }
19598 _has_bits_[0] |= cached_has_bits;
19599 }
19600}
19601
19602void GetFsStatsResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
19603// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetFsStatsResponseProto)
19604 if (&from == this) return;
19605 Clear();
19606 MergeFrom(from);
19607}
19608
19609void GetFsStatsResponseProto::CopyFrom(const GetFsStatsResponseProto& from) {
19610// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetFsStatsResponseProto)
19611 if (&from == this) return;
19612 Clear();
19613 MergeFrom(from);
19614}
19615
19616bool GetFsStatsResponseProto::IsInitialized() const {
19617 if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false;
19618 return true;
19619}
19620
19621void GetFsStatsResponseProto::Swap(GetFsStatsResponseProto* other) {
19622 if (other == this) return;
19623 InternalSwap(other);
19624}
19625void GetFsStatsResponseProto::InternalSwap(GetFsStatsResponseProto* other) {
19626 using std::swap;
19627 swap(capacity_, other->capacity_);
19628 swap(used_, other->used_);
19629 swap(remaining_, other->remaining_);
19630 swap(under_replicated_, other->under_replicated_);
19631 swap(corrupt_blocks_, other->corrupt_blocks_);
19632 swap(missing_blocks_, other->missing_blocks_);
19633 swap(_has_bits_[0], other->_has_bits_[0]);
19634 _internal_metadata_.Swap(&other->_internal_metadata_);
19635}
19636
19637::google::protobuf::Metadata GetFsStatsResponseProto::GetMetadata() const {
19638 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
19639 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
19640}
19641
19642
19643// ===================================================================
19644
19645void GetDatanodeReportRequestProto::InitAsDefaultInstance() {
19646}
19647#if !defined(_MSC_VER) || _MSC_VER >= 1900
19648const int GetDatanodeReportRequestProto::kTypeFieldNumber;
19649#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
19650
19651GetDatanodeReportRequestProto::GetDatanodeReportRequestProto()
19652 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
19653 ::google::protobuf::internal::InitSCC(
19654 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetDatanodeReportRequestProto.base);
19655 SharedCtor();
19656 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetDatanodeReportRequestProto)
19657}
19658GetDatanodeReportRequestProto::GetDatanodeReportRequestProto(const GetDatanodeReportRequestProto& from)
19659 : ::google::protobuf::Message(),
19660 _internal_metadata_(NULL),
19661 _has_bits_(from._has_bits_) {
19662 _internal_metadata_.MergeFrom(from._internal_metadata_);
19663 type_ = from.type_;
19664 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetDatanodeReportRequestProto)
19665}
19666
19667void GetDatanodeReportRequestProto::SharedCtor() {
19668 type_ = 1;
19669}
19670
19671GetDatanodeReportRequestProto::~GetDatanodeReportRequestProto() {
19672 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetDatanodeReportRequestProto)
19673 SharedDtor();
19674}
19675
19676void GetDatanodeReportRequestProto::SharedDtor() {
19677}
19678
19679void GetDatanodeReportRequestProto::SetCachedSize(int size) const {
19680 _cached_size_.Set(size);
19681}
19682const ::google::protobuf::Descriptor* GetDatanodeReportRequestProto::descriptor() {
19683 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
19684 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
19685}
19686
19687const GetDatanodeReportRequestProto& GetDatanodeReportRequestProto::default_instance() {
19688 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetDatanodeReportRequestProto.base);
19689 return *internal_default_instance();
19690}
19691
19692
19693void GetDatanodeReportRequestProto::Clear() {
19694// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetDatanodeReportRequestProto)
19695 ::google::protobuf::uint32 cached_has_bits = 0;
19696 // Prevent compiler warnings about cached_has_bits being unused
19697 (void) cached_has_bits;
19698
19699 type_ = 1;
19700 _has_bits_.Clear();
19701 _internal_metadata_.Clear();
19702}
19703
19704bool GetDatanodeReportRequestProto::MergePartialFromCodedStream(
19705 ::google::protobuf::io::CodedInputStream* input) {
19706#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
19707 ::google::protobuf::uint32 tag;
19708 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetDatanodeReportRequestProto)
19709 for (;;) {
19710 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
19711 tag = p.first;
19712 if (!p.second) goto handle_unusual;
19713 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19714 // required .Hdfs.Internal.DatanodeReportTypeProto type = 1;
19715 case 1: {
19716 if (static_cast< ::google::protobuf::uint8>(tag) ==
19717 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
19718 int value;
19719 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19720 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
19721 input, &value)));
19722 if (::Hdfs::Internal::DatanodeReportTypeProto_IsValid(value)) {
19723 set_type(static_cast< ::Hdfs::Internal::DatanodeReportTypeProto >(value));
19724 } else {
19725 mutable_unknown_fields()->AddVarint(
19726 1, static_cast< ::google::protobuf::uint64>(value));
19727 }
19728 } else {
19729 goto handle_unusual;
19730 }
19731 break;
19732 }
19733
19734 default: {
19735 handle_unusual:
19736 if (tag == 0) {
19737 goto success;
19738 }
19739 DO_(::google::protobuf::internal::WireFormat::SkipField(
19740 input, tag, _internal_metadata_.mutable_unknown_fields()));
19741 break;
19742 }
19743 }
19744 }
19745success:
19746 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetDatanodeReportRequestProto)
19747 return true;
19748failure:
19749 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetDatanodeReportRequestProto)
19750 return false;
19751#undef DO_
19752}
19753
19754void GetDatanodeReportRequestProto::SerializeWithCachedSizes(
19755 ::google::protobuf::io::CodedOutputStream* output) const {
19756 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetDatanodeReportRequestProto)
19757 ::google::protobuf::uint32 cached_has_bits = 0;
19758 (void) cached_has_bits;
19759
19760 cached_has_bits = _has_bits_[0];
19761 // required .Hdfs.Internal.DatanodeReportTypeProto type = 1;
19762 if (cached_has_bits & 0x00000001u) {
19763 ::google::protobuf::internal::WireFormatLite::WriteEnum(
19764 1, this->type(), output);
19765 }
19766
19767 if (_internal_metadata_.have_unknown_fields()) {
19768 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
19769 _internal_metadata_.unknown_fields(), output);
19770 }
19771 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetDatanodeReportRequestProto)
19772}
19773
19774::google::protobuf::uint8* GetDatanodeReportRequestProto::InternalSerializeWithCachedSizesToArray(
19775 bool deterministic, ::google::protobuf::uint8* target) const {
19776 (void)deterministic; // Unused
19777 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetDatanodeReportRequestProto)
19778 ::google::protobuf::uint32 cached_has_bits = 0;
19779 (void) cached_has_bits;
19780
19781 cached_has_bits = _has_bits_[0];
19782 // required .Hdfs.Internal.DatanodeReportTypeProto type = 1;
19783 if (cached_has_bits & 0x00000001u) {
19784 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
19785 1, this->type(), target);
19786 }
19787
19788 if (_internal_metadata_.have_unknown_fields()) {
19789 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
19790 _internal_metadata_.unknown_fields(), target);
19791 }
19792 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetDatanodeReportRequestProto)
19793 return target;
19794}
19795
19796size_t GetDatanodeReportRequestProto::ByteSizeLong() const {
19797// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetDatanodeReportRequestProto)
19798 size_t total_size = 0;
19799
19800 if (_internal_metadata_.have_unknown_fields()) {
19801 total_size +=
19802 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
19803 _internal_metadata_.unknown_fields());
19804 }
19805 // required .Hdfs.Internal.DatanodeReportTypeProto type = 1;
19806 if (has_type()) {
19807 total_size += 1 +
19808 ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
19809 }
19810 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
19811 SetCachedSize(cached_size);
19812 return total_size;
19813}
19814
19815void GetDatanodeReportRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
19816// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetDatanodeReportRequestProto)
19817 GOOGLE_DCHECK_NE(&from, this);
19818 const GetDatanodeReportRequestProto* source =
19819 ::google::protobuf::internal::DynamicCastToGenerated<const GetDatanodeReportRequestProto>(
19820 &from);
19821 if (source == NULL) {
19822 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetDatanodeReportRequestProto)
19823 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
19824 } else {
19825 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetDatanodeReportRequestProto)
19826 MergeFrom(*source);
19827 }
19828}
19829
19830void GetDatanodeReportRequestProto::MergeFrom(const GetDatanodeReportRequestProto& from) {
19831// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetDatanodeReportRequestProto)
19832 GOOGLE_DCHECK_NE(&from, this);
19833 _internal_metadata_.MergeFrom(from._internal_metadata_);
19834 ::google::protobuf::uint32 cached_has_bits = 0;
19835 (void) cached_has_bits;
19836
19837 if (from.has_type()) {
19838 set_type(from.type());
19839 }
19840}
19841
19842void GetDatanodeReportRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
19843// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetDatanodeReportRequestProto)
19844 if (&from == this) return;
19845 Clear();
19846 MergeFrom(from);
19847}
19848
19849void GetDatanodeReportRequestProto::CopyFrom(const GetDatanodeReportRequestProto& from) {
19850// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetDatanodeReportRequestProto)
19851 if (&from == this) return;
19852 Clear();
19853 MergeFrom(from);
19854}
19855
19856bool GetDatanodeReportRequestProto::IsInitialized() const {
19857 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
19858 return true;
19859}
19860
19861void GetDatanodeReportRequestProto::Swap(GetDatanodeReportRequestProto* other) {
19862 if (other == this) return;
19863 InternalSwap(other);
19864}
19865void GetDatanodeReportRequestProto::InternalSwap(GetDatanodeReportRequestProto* other) {
19866 using std::swap;
19867 swap(type_, other->type_);
19868 swap(_has_bits_[0], other->_has_bits_[0]);
19869 _internal_metadata_.Swap(&other->_internal_metadata_);
19870}
19871
19872::google::protobuf::Metadata GetDatanodeReportRequestProto::GetMetadata() const {
19873 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
19874 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
19875}
19876
19877
19878// ===================================================================
19879
19880void GetDatanodeReportResponseProto::InitAsDefaultInstance() {
19881}
19882void GetDatanodeReportResponseProto::clear_di() {
19883 di_.Clear();
19884}
19885#if !defined(_MSC_VER) || _MSC_VER >= 1900
19886const int GetDatanodeReportResponseProto::kDiFieldNumber;
19887#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
19888
19889GetDatanodeReportResponseProto::GetDatanodeReportResponseProto()
19890 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
19891 ::google::protobuf::internal::InitSCC(
19892 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetDatanodeReportResponseProto.base);
19893 SharedCtor();
19894 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetDatanodeReportResponseProto)
19895}
19896GetDatanodeReportResponseProto::GetDatanodeReportResponseProto(const GetDatanodeReportResponseProto& from)
19897 : ::google::protobuf::Message(),
19898 _internal_metadata_(NULL),
19899 _has_bits_(from._has_bits_),
19900 di_(from.di_) {
19901 _internal_metadata_.MergeFrom(from._internal_metadata_);
19902 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetDatanodeReportResponseProto)
19903}
19904
19905void GetDatanodeReportResponseProto::SharedCtor() {
19906}
19907
19908GetDatanodeReportResponseProto::~GetDatanodeReportResponseProto() {
19909 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetDatanodeReportResponseProto)
19910 SharedDtor();
19911}
19912
19913void GetDatanodeReportResponseProto::SharedDtor() {
19914}
19915
19916void GetDatanodeReportResponseProto::SetCachedSize(int size) const {
19917 _cached_size_.Set(size);
19918}
19919const ::google::protobuf::Descriptor* GetDatanodeReportResponseProto::descriptor() {
19920 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
19921 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
19922}
19923
19924const GetDatanodeReportResponseProto& GetDatanodeReportResponseProto::default_instance() {
19925 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetDatanodeReportResponseProto.base);
19926 return *internal_default_instance();
19927}
19928
19929
19930void GetDatanodeReportResponseProto::Clear() {
19931// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetDatanodeReportResponseProto)
19932 ::google::protobuf::uint32 cached_has_bits = 0;
19933 // Prevent compiler warnings about cached_has_bits being unused
19934 (void) cached_has_bits;
19935
19936 di_.Clear();
19937 _has_bits_.Clear();
19938 _internal_metadata_.Clear();
19939}
19940
19941bool GetDatanodeReportResponseProto::MergePartialFromCodedStream(
19942 ::google::protobuf::io::CodedInputStream* input) {
19943#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
19944 ::google::protobuf::uint32 tag;
19945 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetDatanodeReportResponseProto)
19946 for (;;) {
19947 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
19948 tag = p.first;
19949 if (!p.second) goto handle_unusual;
19950 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19951 // repeated .Hdfs.Internal.DatanodeInfoProto di = 1;
19952 case 1: {
19953 if (static_cast< ::google::protobuf::uint8>(tag) ==
19954 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
19955 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
19956 input, add_di()));
19957 } else {
19958 goto handle_unusual;
19959 }
19960 break;
19961 }
19962
19963 default: {
19964 handle_unusual:
19965 if (tag == 0) {
19966 goto success;
19967 }
19968 DO_(::google::protobuf::internal::WireFormat::SkipField(
19969 input, tag, _internal_metadata_.mutable_unknown_fields()));
19970 break;
19971 }
19972 }
19973 }
19974success:
19975 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetDatanodeReportResponseProto)
19976 return true;
19977failure:
19978 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetDatanodeReportResponseProto)
19979 return false;
19980#undef DO_
19981}
19982
19983void GetDatanodeReportResponseProto::SerializeWithCachedSizes(
19984 ::google::protobuf::io::CodedOutputStream* output) const {
19985 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetDatanodeReportResponseProto)
19986 ::google::protobuf::uint32 cached_has_bits = 0;
19987 (void) cached_has_bits;
19988
19989 // repeated .Hdfs.Internal.DatanodeInfoProto di = 1;
19990 for (unsigned int i = 0,
19991 n = static_cast<unsigned int>(this->di_size()); i < n; i++) {
19992 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
19993 1,
19994 this->di(static_cast<int>(i)),
19995 output);
19996 }
19997
19998 if (_internal_metadata_.have_unknown_fields()) {
19999 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
20000 _internal_metadata_.unknown_fields(), output);
20001 }
20002 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetDatanodeReportResponseProto)
20003}
20004
20005::google::protobuf::uint8* GetDatanodeReportResponseProto::InternalSerializeWithCachedSizesToArray(
20006 bool deterministic, ::google::protobuf::uint8* target) const {
20007 (void)deterministic; // Unused
20008 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetDatanodeReportResponseProto)
20009 ::google::protobuf::uint32 cached_has_bits = 0;
20010 (void) cached_has_bits;
20011
20012 // repeated .Hdfs.Internal.DatanodeInfoProto di = 1;
20013 for (unsigned int i = 0,
20014 n = static_cast<unsigned int>(this->di_size()); i < n; i++) {
20015 target = ::google::protobuf::internal::WireFormatLite::
20016 InternalWriteMessageToArray(
20017 1, this->di(static_cast<int>(i)), deterministic, target);
20018 }
20019
20020 if (_internal_metadata_.have_unknown_fields()) {
20021 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
20022 _internal_metadata_.unknown_fields(), target);
20023 }
20024 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetDatanodeReportResponseProto)
20025 return target;
20026}
20027
20028size_t GetDatanodeReportResponseProto::ByteSizeLong() const {
20029// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetDatanodeReportResponseProto)
20030 size_t total_size = 0;
20031
20032 if (_internal_metadata_.have_unknown_fields()) {
20033 total_size +=
20034 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
20035 _internal_metadata_.unknown_fields());
20036 }
20037 // repeated .Hdfs.Internal.DatanodeInfoProto di = 1;
20038 {
20039 unsigned int count = static_cast<unsigned int>(this->di_size());
20040 total_size += 1UL * count;
20041 for (unsigned int i = 0; i < count; i++) {
20042 total_size +=
20043 ::google::protobuf::internal::WireFormatLite::MessageSize(
20044 this->di(static_cast<int>(i)));
20045 }
20046 }
20047
20048 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
20049 SetCachedSize(cached_size);
20050 return total_size;
20051}
20052
20053void GetDatanodeReportResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
20054// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetDatanodeReportResponseProto)
20055 GOOGLE_DCHECK_NE(&from, this);
20056 const GetDatanodeReportResponseProto* source =
20057 ::google::protobuf::internal::DynamicCastToGenerated<const GetDatanodeReportResponseProto>(
20058 &from);
20059 if (source == NULL) {
20060 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetDatanodeReportResponseProto)
20061 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
20062 } else {
20063 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetDatanodeReportResponseProto)
20064 MergeFrom(*source);
20065 }
20066}
20067
20068void GetDatanodeReportResponseProto::MergeFrom(const GetDatanodeReportResponseProto& from) {
20069// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetDatanodeReportResponseProto)
20070 GOOGLE_DCHECK_NE(&from, this);
20071 _internal_metadata_.MergeFrom(from._internal_metadata_);
20072 ::google::protobuf::uint32 cached_has_bits = 0;
20073 (void) cached_has_bits;
20074
20075 di_.MergeFrom(from.di_);
20076}
20077
20078void GetDatanodeReportResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
20079// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetDatanodeReportResponseProto)
20080 if (&from == this) return;
20081 Clear();
20082 MergeFrom(from);
20083}
20084
20085void GetDatanodeReportResponseProto::CopyFrom(const GetDatanodeReportResponseProto& from) {
20086// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetDatanodeReportResponseProto)
20087 if (&from == this) return;
20088 Clear();
20089 MergeFrom(from);
20090}
20091
20092bool GetDatanodeReportResponseProto::IsInitialized() const {
20093 if (!::google::protobuf::internal::AllAreInitialized(this->di())) return false;
20094 return true;
20095}
20096
20097void GetDatanodeReportResponseProto::Swap(GetDatanodeReportResponseProto* other) {
20098 if (other == this) return;
20099 InternalSwap(other);
20100}
20101void GetDatanodeReportResponseProto::InternalSwap(GetDatanodeReportResponseProto* other) {
20102 using std::swap;
20103 CastToBase(&di_)->InternalSwap(CastToBase(&other->di_));
20104 swap(_has_bits_[0], other->_has_bits_[0]);
20105 _internal_metadata_.Swap(&other->_internal_metadata_);
20106}
20107
20108::google::protobuf::Metadata GetDatanodeReportResponseProto::GetMetadata() const {
20109 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
20110 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
20111}
20112
20113
20114// ===================================================================
20115
20116void GetPreferredBlockSizeRequestProto::InitAsDefaultInstance() {
20117}
20118#if !defined(_MSC_VER) || _MSC_VER >= 1900
20119const int GetPreferredBlockSizeRequestProto::kFilenameFieldNumber;
20120#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
20121
20122GetPreferredBlockSizeRequestProto::GetPreferredBlockSizeRequestProto()
20123 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
20124 ::google::protobuf::internal::InitSCC(
20125 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetPreferredBlockSizeRequestProto.base);
20126 SharedCtor();
20127 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20128}
20129GetPreferredBlockSizeRequestProto::GetPreferredBlockSizeRequestProto(const GetPreferredBlockSizeRequestProto& from)
20130 : ::google::protobuf::Message(),
20131 _internal_metadata_(NULL),
20132 _has_bits_(from._has_bits_) {
20133 _internal_metadata_.MergeFrom(from._internal_metadata_);
20134 filename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20135 if (from.has_filename()) {
20136 filename_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filename_);
20137 }
20138 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20139}
20140
20141void GetPreferredBlockSizeRequestProto::SharedCtor() {
20142 filename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20143}
20144
20145GetPreferredBlockSizeRequestProto::~GetPreferredBlockSizeRequestProto() {
20146 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20147 SharedDtor();
20148}
20149
20150void GetPreferredBlockSizeRequestProto::SharedDtor() {
20151 filename_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20152}
20153
20154void GetPreferredBlockSizeRequestProto::SetCachedSize(int size) const {
20155 _cached_size_.Set(size);
20156}
20157const ::google::protobuf::Descriptor* GetPreferredBlockSizeRequestProto::descriptor() {
20158 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
20159 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
20160}
20161
20162const GetPreferredBlockSizeRequestProto& GetPreferredBlockSizeRequestProto::default_instance() {
20163 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetPreferredBlockSizeRequestProto.base);
20164 return *internal_default_instance();
20165}
20166
20167
20168void GetPreferredBlockSizeRequestProto::Clear() {
20169// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20170 ::google::protobuf::uint32 cached_has_bits = 0;
20171 // Prevent compiler warnings about cached_has_bits being unused
20172 (void) cached_has_bits;
20173
20174 cached_has_bits = _has_bits_[0];
20175 if (cached_has_bits & 0x00000001u) {
20176 filename_.ClearNonDefaultToEmptyNoArena();
20177 }
20178 _has_bits_.Clear();
20179 _internal_metadata_.Clear();
20180}
20181
20182bool GetPreferredBlockSizeRequestProto::MergePartialFromCodedStream(
20183 ::google::protobuf::io::CodedInputStream* input) {
20184#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
20185 ::google::protobuf::uint32 tag;
20186 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20187 for (;;) {
20188 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
20189 tag = p.first;
20190 if (!p.second) goto handle_unusual;
20191 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
20192 // required string filename = 1;
20193 case 1: {
20194 if (static_cast< ::google::protobuf::uint8>(tag) ==
20195 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
20196 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
20197 input, this->mutable_filename()));
20198 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
20199 this->filename().data(), static_cast<int>(this->filename().length()),
20200 ::google::protobuf::internal::WireFormat::PARSE,
20201 "Hdfs.Internal.GetPreferredBlockSizeRequestProto.filename");
20202 } else {
20203 goto handle_unusual;
20204 }
20205 break;
20206 }
20207
20208 default: {
20209 handle_unusual:
20210 if (tag == 0) {
20211 goto success;
20212 }
20213 DO_(::google::protobuf::internal::WireFormat::SkipField(
20214 input, tag, _internal_metadata_.mutable_unknown_fields()));
20215 break;
20216 }
20217 }
20218 }
20219success:
20220 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20221 return true;
20222failure:
20223 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20224 return false;
20225#undef DO_
20226}
20227
20228void GetPreferredBlockSizeRequestProto::SerializeWithCachedSizes(
20229 ::google::protobuf::io::CodedOutputStream* output) const {
20230 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20231 ::google::protobuf::uint32 cached_has_bits = 0;
20232 (void) cached_has_bits;
20233
20234 cached_has_bits = _has_bits_[0];
20235 // required string filename = 1;
20236 if (cached_has_bits & 0x00000001u) {
20237 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
20238 this->filename().data(), static_cast<int>(this->filename().length()),
20239 ::google::protobuf::internal::WireFormat::SERIALIZE,
20240 "Hdfs.Internal.GetPreferredBlockSizeRequestProto.filename");
20241 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
20242 1, this->filename(), output);
20243 }
20244
20245 if (_internal_metadata_.have_unknown_fields()) {
20246 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
20247 _internal_metadata_.unknown_fields(), output);
20248 }
20249 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20250}
20251
20252::google::protobuf::uint8* GetPreferredBlockSizeRequestProto::InternalSerializeWithCachedSizesToArray(
20253 bool deterministic, ::google::protobuf::uint8* target) const {
20254 (void)deterministic; // Unused
20255 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20256 ::google::protobuf::uint32 cached_has_bits = 0;
20257 (void) cached_has_bits;
20258
20259 cached_has_bits = _has_bits_[0];
20260 // required string filename = 1;
20261 if (cached_has_bits & 0x00000001u) {
20262 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
20263 this->filename().data(), static_cast<int>(this->filename().length()),
20264 ::google::protobuf::internal::WireFormat::SERIALIZE,
20265 "Hdfs.Internal.GetPreferredBlockSizeRequestProto.filename");
20266 target =
20267 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
20268 1, this->filename(), target);
20269 }
20270
20271 if (_internal_metadata_.have_unknown_fields()) {
20272 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
20273 _internal_metadata_.unknown_fields(), target);
20274 }
20275 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20276 return target;
20277}
20278
20279size_t GetPreferredBlockSizeRequestProto::ByteSizeLong() const {
20280// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20281 size_t total_size = 0;
20282
20283 if (_internal_metadata_.have_unknown_fields()) {
20284 total_size +=
20285 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
20286 _internal_metadata_.unknown_fields());
20287 }
20288 // required string filename = 1;
20289 if (has_filename()) {
20290 total_size += 1 +
20291 ::google::protobuf::internal::WireFormatLite::StringSize(
20292 this->filename());
20293 }
20294 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
20295 SetCachedSize(cached_size);
20296 return total_size;
20297}
20298
20299void GetPreferredBlockSizeRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
20300// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20301 GOOGLE_DCHECK_NE(&from, this);
20302 const GetPreferredBlockSizeRequestProto* source =
20303 ::google::protobuf::internal::DynamicCastToGenerated<const GetPreferredBlockSizeRequestProto>(
20304 &from);
20305 if (source == NULL) {
20306 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20307 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
20308 } else {
20309 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20310 MergeFrom(*source);
20311 }
20312}
20313
20314void GetPreferredBlockSizeRequestProto::MergeFrom(const GetPreferredBlockSizeRequestProto& from) {
20315// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20316 GOOGLE_DCHECK_NE(&from, this);
20317 _internal_metadata_.MergeFrom(from._internal_metadata_);
20318 ::google::protobuf::uint32 cached_has_bits = 0;
20319 (void) cached_has_bits;
20320
20321 if (from.has_filename()) {
20322 set_has_filename();
20323 filename_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filename_);
20324 }
20325}
20326
20327void GetPreferredBlockSizeRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
20328// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20329 if (&from == this) return;
20330 Clear();
20331 MergeFrom(from);
20332}
20333
20334void GetPreferredBlockSizeRequestProto::CopyFrom(const GetPreferredBlockSizeRequestProto& from) {
20335// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetPreferredBlockSizeRequestProto)
20336 if (&from == this) return;
20337 Clear();
20338 MergeFrom(from);
20339}
20340
20341bool GetPreferredBlockSizeRequestProto::IsInitialized() const {
20342 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
20343 return true;
20344}
20345
20346void GetPreferredBlockSizeRequestProto::Swap(GetPreferredBlockSizeRequestProto* other) {
20347 if (other == this) return;
20348 InternalSwap(other);
20349}
20350void GetPreferredBlockSizeRequestProto::InternalSwap(GetPreferredBlockSizeRequestProto* other) {
20351 using std::swap;
20352 filename_.Swap(&other->filename_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
20353 GetArenaNoVirtual());
20354 swap(_has_bits_[0], other->_has_bits_[0]);
20355 _internal_metadata_.Swap(&other->_internal_metadata_);
20356}
20357
20358::google::protobuf::Metadata GetPreferredBlockSizeRequestProto::GetMetadata() const {
20359 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
20360 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
20361}
20362
20363
20364// ===================================================================
20365
20366void GetPreferredBlockSizeResponseProto::InitAsDefaultInstance() {
20367}
20368#if !defined(_MSC_VER) || _MSC_VER >= 1900
20369const int GetPreferredBlockSizeResponseProto::kBsizeFieldNumber;
20370#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
20371
20372GetPreferredBlockSizeResponseProto::GetPreferredBlockSizeResponseProto()
20373 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
20374 ::google::protobuf::internal::InitSCC(
20375 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetPreferredBlockSizeResponseProto.base);
20376 SharedCtor();
20377 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20378}
20379GetPreferredBlockSizeResponseProto::GetPreferredBlockSizeResponseProto(const GetPreferredBlockSizeResponseProto& from)
20380 : ::google::protobuf::Message(),
20381 _internal_metadata_(NULL),
20382 _has_bits_(from._has_bits_) {
20383 _internal_metadata_.MergeFrom(from._internal_metadata_);
20384 bsize_ = from.bsize_;
20385 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20386}
20387
20388void GetPreferredBlockSizeResponseProto::SharedCtor() {
20389 bsize_ = GOOGLE_ULONGLONG(0);
20390}
20391
20392GetPreferredBlockSizeResponseProto::~GetPreferredBlockSizeResponseProto() {
20393 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20394 SharedDtor();
20395}
20396
20397void GetPreferredBlockSizeResponseProto::SharedDtor() {
20398}
20399
20400void GetPreferredBlockSizeResponseProto::SetCachedSize(int size) const {
20401 _cached_size_.Set(size);
20402}
20403const ::google::protobuf::Descriptor* GetPreferredBlockSizeResponseProto::descriptor() {
20404 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
20405 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
20406}
20407
20408const GetPreferredBlockSizeResponseProto& GetPreferredBlockSizeResponseProto::default_instance() {
20409 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetPreferredBlockSizeResponseProto.base);
20410 return *internal_default_instance();
20411}
20412
20413
20414void GetPreferredBlockSizeResponseProto::Clear() {
20415// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20416 ::google::protobuf::uint32 cached_has_bits = 0;
20417 // Prevent compiler warnings about cached_has_bits being unused
20418 (void) cached_has_bits;
20419
20420 bsize_ = GOOGLE_ULONGLONG(0);
20421 _has_bits_.Clear();
20422 _internal_metadata_.Clear();
20423}
20424
20425bool GetPreferredBlockSizeResponseProto::MergePartialFromCodedStream(
20426 ::google::protobuf::io::CodedInputStream* input) {
20427#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
20428 ::google::protobuf::uint32 tag;
20429 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20430 for (;;) {
20431 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
20432 tag = p.first;
20433 if (!p.second) goto handle_unusual;
20434 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
20435 // required uint64 bsize = 1;
20436 case 1: {
20437 if (static_cast< ::google::protobuf::uint8>(tag) ==
20438 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
20439 set_has_bsize();
20440 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20441 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
20442 input, &bsize_)));
20443 } else {
20444 goto handle_unusual;
20445 }
20446 break;
20447 }
20448
20449 default: {
20450 handle_unusual:
20451 if (tag == 0) {
20452 goto success;
20453 }
20454 DO_(::google::protobuf::internal::WireFormat::SkipField(
20455 input, tag, _internal_metadata_.mutable_unknown_fields()));
20456 break;
20457 }
20458 }
20459 }
20460success:
20461 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20462 return true;
20463failure:
20464 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20465 return false;
20466#undef DO_
20467}
20468
20469void GetPreferredBlockSizeResponseProto::SerializeWithCachedSizes(
20470 ::google::protobuf::io::CodedOutputStream* output) const {
20471 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20472 ::google::protobuf::uint32 cached_has_bits = 0;
20473 (void) cached_has_bits;
20474
20475 cached_has_bits = _has_bits_[0];
20476 // required uint64 bsize = 1;
20477 if (cached_has_bits & 0x00000001u) {
20478 ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->bsize(), output);
20479 }
20480
20481 if (_internal_metadata_.have_unknown_fields()) {
20482 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
20483 _internal_metadata_.unknown_fields(), output);
20484 }
20485 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20486}
20487
20488::google::protobuf::uint8* GetPreferredBlockSizeResponseProto::InternalSerializeWithCachedSizesToArray(
20489 bool deterministic, ::google::protobuf::uint8* target) const {
20490 (void)deterministic; // Unused
20491 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20492 ::google::protobuf::uint32 cached_has_bits = 0;
20493 (void) cached_has_bits;
20494
20495 cached_has_bits = _has_bits_[0];
20496 // required uint64 bsize = 1;
20497 if (cached_has_bits & 0x00000001u) {
20498 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->bsize(), target);
20499 }
20500
20501 if (_internal_metadata_.have_unknown_fields()) {
20502 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
20503 _internal_metadata_.unknown_fields(), target);
20504 }
20505 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20506 return target;
20507}
20508
20509size_t GetPreferredBlockSizeResponseProto::ByteSizeLong() const {
20510// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20511 size_t total_size = 0;
20512
20513 if (_internal_metadata_.have_unknown_fields()) {
20514 total_size +=
20515 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
20516 _internal_metadata_.unknown_fields());
20517 }
20518 // required uint64 bsize = 1;
20519 if (has_bsize()) {
20520 total_size += 1 +
20521 ::google::protobuf::internal::WireFormatLite::UInt64Size(
20522 this->bsize());
20523 }
20524 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
20525 SetCachedSize(cached_size);
20526 return total_size;
20527}
20528
20529void GetPreferredBlockSizeResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
20530// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20531 GOOGLE_DCHECK_NE(&from, this);
20532 const GetPreferredBlockSizeResponseProto* source =
20533 ::google::protobuf::internal::DynamicCastToGenerated<const GetPreferredBlockSizeResponseProto>(
20534 &from);
20535 if (source == NULL) {
20536 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20537 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
20538 } else {
20539 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20540 MergeFrom(*source);
20541 }
20542}
20543
20544void GetPreferredBlockSizeResponseProto::MergeFrom(const GetPreferredBlockSizeResponseProto& from) {
20545// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20546 GOOGLE_DCHECK_NE(&from, this);
20547 _internal_metadata_.MergeFrom(from._internal_metadata_);
20548 ::google::protobuf::uint32 cached_has_bits = 0;
20549 (void) cached_has_bits;
20550
20551 if (from.has_bsize()) {
20552 set_bsize(from.bsize());
20553 }
20554}
20555
20556void GetPreferredBlockSizeResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
20557// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20558 if (&from == this) return;
20559 Clear();
20560 MergeFrom(from);
20561}
20562
20563void GetPreferredBlockSizeResponseProto::CopyFrom(const GetPreferredBlockSizeResponseProto& from) {
20564// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetPreferredBlockSizeResponseProto)
20565 if (&from == this) return;
20566 Clear();
20567 MergeFrom(from);
20568}
20569
20570bool GetPreferredBlockSizeResponseProto::IsInitialized() const {
20571 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
20572 return true;
20573}
20574
20575void GetPreferredBlockSizeResponseProto::Swap(GetPreferredBlockSizeResponseProto* other) {
20576 if (other == this) return;
20577 InternalSwap(other);
20578}
20579void GetPreferredBlockSizeResponseProto::InternalSwap(GetPreferredBlockSizeResponseProto* other) {
20580 using std::swap;
20581 swap(bsize_, other->bsize_);
20582 swap(_has_bits_[0], other->_has_bits_[0]);
20583 _internal_metadata_.Swap(&other->_internal_metadata_);
20584}
20585
20586::google::protobuf::Metadata GetPreferredBlockSizeResponseProto::GetMetadata() const {
20587 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
20588 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
20589}
20590
20591
20592// ===================================================================
20593
20594void SetSafeModeRequestProto::InitAsDefaultInstance() {
20595}
20596#if !defined(_MSC_VER) || _MSC_VER >= 1900
20597const int SetSafeModeRequestProto::kActionFieldNumber;
20598const int SetSafeModeRequestProto::kCheckedFieldNumber;
20599#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
20600
20601SetSafeModeRequestProto::SetSafeModeRequestProto()
20602 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
20603 ::google::protobuf::internal::InitSCC(
20604 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetSafeModeRequestProto.base);
20605 SharedCtor();
20606 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetSafeModeRequestProto)
20607}
20608SetSafeModeRequestProto::SetSafeModeRequestProto(const SetSafeModeRequestProto& from)
20609 : ::google::protobuf::Message(),
20610 _internal_metadata_(NULL),
20611 _has_bits_(from._has_bits_) {
20612 _internal_metadata_.MergeFrom(from._internal_metadata_);
20613 ::memcpy(&checked_, &from.checked_,
20614 static_cast<size_t>(reinterpret_cast<char*>(&action_) -
20615 reinterpret_cast<char*>(&checked_)) + sizeof(action_));
20616 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetSafeModeRequestProto)
20617}
20618
20619void SetSafeModeRequestProto::SharedCtor() {
20620 checked_ = false;
20621 action_ = 1;
20622}
20623
20624SetSafeModeRequestProto::~SetSafeModeRequestProto() {
20625 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetSafeModeRequestProto)
20626 SharedDtor();
20627}
20628
20629void SetSafeModeRequestProto::SharedDtor() {
20630}
20631
20632void SetSafeModeRequestProto::SetCachedSize(int size) const {
20633 _cached_size_.Set(size);
20634}
20635const ::google::protobuf::Descriptor* SetSafeModeRequestProto::descriptor() {
20636 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
20637 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
20638}
20639
20640const SetSafeModeRequestProto& SetSafeModeRequestProto::default_instance() {
20641 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetSafeModeRequestProto.base);
20642 return *internal_default_instance();
20643}
20644
20645
20646void SetSafeModeRequestProto::Clear() {
20647// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetSafeModeRequestProto)
20648 ::google::protobuf::uint32 cached_has_bits = 0;
20649 // Prevent compiler warnings about cached_has_bits being unused
20650 (void) cached_has_bits;
20651
20652 cached_has_bits = _has_bits_[0];
20653 if (cached_has_bits & 3u) {
20654 checked_ = false;
20655 action_ = 1;
20656 }
20657 _has_bits_.Clear();
20658 _internal_metadata_.Clear();
20659}
20660
20661bool SetSafeModeRequestProto::MergePartialFromCodedStream(
20662 ::google::protobuf::io::CodedInputStream* input) {
20663#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
20664 ::google::protobuf::uint32 tag;
20665 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetSafeModeRequestProto)
20666 for (;;) {
20667 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
20668 tag = p.first;
20669 if (!p.second) goto handle_unusual;
20670 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
20671 // required .Hdfs.Internal.SafeModeActionProto action = 1;
20672 case 1: {
20673 if (static_cast< ::google::protobuf::uint8>(tag) ==
20674 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
20675 int value;
20676 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20677 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
20678 input, &value)));
20679 if (::Hdfs::Internal::SafeModeActionProto_IsValid(value)) {
20680 set_action(static_cast< ::Hdfs::Internal::SafeModeActionProto >(value));
20681 } else {
20682 mutable_unknown_fields()->AddVarint(
20683 1, static_cast< ::google::protobuf::uint64>(value));
20684 }
20685 } else {
20686 goto handle_unusual;
20687 }
20688 break;
20689 }
20690
20691 // optional bool checked = 2 [default = false];
20692 case 2: {
20693 if (static_cast< ::google::protobuf::uint8>(tag) ==
20694 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
20695 set_has_checked();
20696 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20697 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
20698 input, &checked_)));
20699 } else {
20700 goto handle_unusual;
20701 }
20702 break;
20703 }
20704
20705 default: {
20706 handle_unusual:
20707 if (tag == 0) {
20708 goto success;
20709 }
20710 DO_(::google::protobuf::internal::WireFormat::SkipField(
20711 input, tag, _internal_metadata_.mutable_unknown_fields()));
20712 break;
20713 }
20714 }
20715 }
20716success:
20717 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetSafeModeRequestProto)
20718 return true;
20719failure:
20720 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetSafeModeRequestProto)
20721 return false;
20722#undef DO_
20723}
20724
20725void SetSafeModeRequestProto::SerializeWithCachedSizes(
20726 ::google::protobuf::io::CodedOutputStream* output) const {
20727 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetSafeModeRequestProto)
20728 ::google::protobuf::uint32 cached_has_bits = 0;
20729 (void) cached_has_bits;
20730
20731 cached_has_bits = _has_bits_[0];
20732 // required .Hdfs.Internal.SafeModeActionProto action = 1;
20733 if (cached_has_bits & 0x00000002u) {
20734 ::google::protobuf::internal::WireFormatLite::WriteEnum(
20735 1, this->action(), output);
20736 }
20737
20738 // optional bool checked = 2 [default = false];
20739 if (cached_has_bits & 0x00000001u) {
20740 ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->checked(), output);
20741 }
20742
20743 if (_internal_metadata_.have_unknown_fields()) {
20744 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
20745 _internal_metadata_.unknown_fields(), output);
20746 }
20747 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetSafeModeRequestProto)
20748}
20749
20750::google::protobuf::uint8* SetSafeModeRequestProto::InternalSerializeWithCachedSizesToArray(
20751 bool deterministic, ::google::protobuf::uint8* target) const {
20752 (void)deterministic; // Unused
20753 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetSafeModeRequestProto)
20754 ::google::protobuf::uint32 cached_has_bits = 0;
20755 (void) cached_has_bits;
20756
20757 cached_has_bits = _has_bits_[0];
20758 // required .Hdfs.Internal.SafeModeActionProto action = 1;
20759 if (cached_has_bits & 0x00000002u) {
20760 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
20761 1, this->action(), target);
20762 }
20763
20764 // optional bool checked = 2 [default = false];
20765 if (cached_has_bits & 0x00000001u) {
20766 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->checked(), target);
20767 }
20768
20769 if (_internal_metadata_.have_unknown_fields()) {
20770 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
20771 _internal_metadata_.unknown_fields(), target);
20772 }
20773 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetSafeModeRequestProto)
20774 return target;
20775}
20776
20777size_t SetSafeModeRequestProto::ByteSizeLong() const {
20778// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetSafeModeRequestProto)
20779 size_t total_size = 0;
20780
20781 if (_internal_metadata_.have_unknown_fields()) {
20782 total_size +=
20783 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
20784 _internal_metadata_.unknown_fields());
20785 }
20786 // required .Hdfs.Internal.SafeModeActionProto action = 1;
20787 if (has_action()) {
20788 total_size += 1 +
20789 ::google::protobuf::internal::WireFormatLite::EnumSize(this->action());
20790 }
20791 // optional bool checked = 2 [default = false];
20792 if (has_checked()) {
20793 total_size += 1 + 1;
20794 }
20795
20796 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
20797 SetCachedSize(cached_size);
20798 return total_size;
20799}
20800
20801void SetSafeModeRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
20802// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetSafeModeRequestProto)
20803 GOOGLE_DCHECK_NE(&from, this);
20804 const SetSafeModeRequestProto* source =
20805 ::google::protobuf::internal::DynamicCastToGenerated<const SetSafeModeRequestProto>(
20806 &from);
20807 if (source == NULL) {
20808 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetSafeModeRequestProto)
20809 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
20810 } else {
20811 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetSafeModeRequestProto)
20812 MergeFrom(*source);
20813 }
20814}
20815
20816void SetSafeModeRequestProto::MergeFrom(const SetSafeModeRequestProto& from) {
20817// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetSafeModeRequestProto)
20818 GOOGLE_DCHECK_NE(&from, this);
20819 _internal_metadata_.MergeFrom(from._internal_metadata_);
20820 ::google::protobuf::uint32 cached_has_bits = 0;
20821 (void) cached_has_bits;
20822
20823 cached_has_bits = from._has_bits_[0];
20824 if (cached_has_bits & 3u) {
20825 if (cached_has_bits & 0x00000001u) {
20826 checked_ = from.checked_;
20827 }
20828 if (cached_has_bits & 0x00000002u) {
20829 action_ = from.action_;
20830 }
20831 _has_bits_[0] |= cached_has_bits;
20832 }
20833}
20834
20835void SetSafeModeRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
20836// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetSafeModeRequestProto)
20837 if (&from == this) return;
20838 Clear();
20839 MergeFrom(from);
20840}
20841
20842void SetSafeModeRequestProto::CopyFrom(const SetSafeModeRequestProto& from) {
20843// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetSafeModeRequestProto)
20844 if (&from == this) return;
20845 Clear();
20846 MergeFrom(from);
20847}
20848
20849bool SetSafeModeRequestProto::IsInitialized() const {
20850 if ((_has_bits_[0] & 0x00000002) != 0x00000002) return false;
20851 return true;
20852}
20853
20854void SetSafeModeRequestProto::Swap(SetSafeModeRequestProto* other) {
20855 if (other == this) return;
20856 InternalSwap(other);
20857}
20858void SetSafeModeRequestProto::InternalSwap(SetSafeModeRequestProto* other) {
20859 using std::swap;
20860 swap(checked_, other->checked_);
20861 swap(action_, other->action_);
20862 swap(_has_bits_[0], other->_has_bits_[0]);
20863 _internal_metadata_.Swap(&other->_internal_metadata_);
20864}
20865
20866::google::protobuf::Metadata SetSafeModeRequestProto::GetMetadata() const {
20867 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
20868 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
20869}
20870
20871
20872// ===================================================================
20873
20874void SetSafeModeResponseProto::InitAsDefaultInstance() {
20875}
20876#if !defined(_MSC_VER) || _MSC_VER >= 1900
20877const int SetSafeModeResponseProto::kResultFieldNumber;
20878#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
20879
20880SetSafeModeResponseProto::SetSafeModeResponseProto()
20881 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
20882 ::google::protobuf::internal::InitSCC(
20883 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetSafeModeResponseProto.base);
20884 SharedCtor();
20885 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetSafeModeResponseProto)
20886}
20887SetSafeModeResponseProto::SetSafeModeResponseProto(const SetSafeModeResponseProto& from)
20888 : ::google::protobuf::Message(),
20889 _internal_metadata_(NULL),
20890 _has_bits_(from._has_bits_) {
20891 _internal_metadata_.MergeFrom(from._internal_metadata_);
20892 result_ = from.result_;
20893 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetSafeModeResponseProto)
20894}
20895
20896void SetSafeModeResponseProto::SharedCtor() {
20897 result_ = false;
20898}
20899
20900SetSafeModeResponseProto::~SetSafeModeResponseProto() {
20901 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetSafeModeResponseProto)
20902 SharedDtor();
20903}
20904
20905void SetSafeModeResponseProto::SharedDtor() {
20906}
20907
20908void SetSafeModeResponseProto::SetCachedSize(int size) const {
20909 _cached_size_.Set(size);
20910}
20911const ::google::protobuf::Descriptor* SetSafeModeResponseProto::descriptor() {
20912 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
20913 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
20914}
20915
20916const SetSafeModeResponseProto& SetSafeModeResponseProto::default_instance() {
20917 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetSafeModeResponseProto.base);
20918 return *internal_default_instance();
20919}
20920
20921
20922void SetSafeModeResponseProto::Clear() {
20923// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetSafeModeResponseProto)
20924 ::google::protobuf::uint32 cached_has_bits = 0;
20925 // Prevent compiler warnings about cached_has_bits being unused
20926 (void) cached_has_bits;
20927
20928 result_ = false;
20929 _has_bits_.Clear();
20930 _internal_metadata_.Clear();
20931}
20932
20933bool SetSafeModeResponseProto::MergePartialFromCodedStream(
20934 ::google::protobuf::io::CodedInputStream* input) {
20935#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
20936 ::google::protobuf::uint32 tag;
20937 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetSafeModeResponseProto)
20938 for (;;) {
20939 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
20940 tag = p.first;
20941 if (!p.second) goto handle_unusual;
20942 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
20943 // required bool result = 1;
20944 case 1: {
20945 if (static_cast< ::google::protobuf::uint8>(tag) ==
20946 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
20947 set_has_result();
20948 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20949 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
20950 input, &result_)));
20951 } else {
20952 goto handle_unusual;
20953 }
20954 break;
20955 }
20956
20957 default: {
20958 handle_unusual:
20959 if (tag == 0) {
20960 goto success;
20961 }
20962 DO_(::google::protobuf::internal::WireFormat::SkipField(
20963 input, tag, _internal_metadata_.mutable_unknown_fields()));
20964 break;
20965 }
20966 }
20967 }
20968success:
20969 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetSafeModeResponseProto)
20970 return true;
20971failure:
20972 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetSafeModeResponseProto)
20973 return false;
20974#undef DO_
20975}
20976
20977void SetSafeModeResponseProto::SerializeWithCachedSizes(
20978 ::google::protobuf::io::CodedOutputStream* output) const {
20979 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetSafeModeResponseProto)
20980 ::google::protobuf::uint32 cached_has_bits = 0;
20981 (void) cached_has_bits;
20982
20983 cached_has_bits = _has_bits_[0];
20984 // required bool result = 1;
20985 if (cached_has_bits & 0x00000001u) {
20986 ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->result(), output);
20987 }
20988
20989 if (_internal_metadata_.have_unknown_fields()) {
20990 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
20991 _internal_metadata_.unknown_fields(), output);
20992 }
20993 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetSafeModeResponseProto)
20994}
20995
20996::google::protobuf::uint8* SetSafeModeResponseProto::InternalSerializeWithCachedSizesToArray(
20997 bool deterministic, ::google::protobuf::uint8* target) const {
20998 (void)deterministic; // Unused
20999 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetSafeModeResponseProto)
21000 ::google::protobuf::uint32 cached_has_bits = 0;
21001 (void) cached_has_bits;
21002
21003 cached_has_bits = _has_bits_[0];
21004 // required bool result = 1;
21005 if (cached_has_bits & 0x00000001u) {
21006 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->result(), target);
21007 }
21008
21009 if (_internal_metadata_.have_unknown_fields()) {
21010 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
21011 _internal_metadata_.unknown_fields(), target);
21012 }
21013 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetSafeModeResponseProto)
21014 return target;
21015}
21016
21017size_t SetSafeModeResponseProto::ByteSizeLong() const {
21018// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetSafeModeResponseProto)
21019 size_t total_size = 0;
21020
21021 if (_internal_metadata_.have_unknown_fields()) {
21022 total_size +=
21023 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
21024 _internal_metadata_.unknown_fields());
21025 }
21026 // required bool result = 1;
21027 if (has_result()) {
21028 total_size += 1 + 1;
21029 }
21030 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
21031 SetCachedSize(cached_size);
21032 return total_size;
21033}
21034
21035void SetSafeModeResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
21036// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetSafeModeResponseProto)
21037 GOOGLE_DCHECK_NE(&from, this);
21038 const SetSafeModeResponseProto* source =
21039 ::google::protobuf::internal::DynamicCastToGenerated<const SetSafeModeResponseProto>(
21040 &from);
21041 if (source == NULL) {
21042 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetSafeModeResponseProto)
21043 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
21044 } else {
21045 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetSafeModeResponseProto)
21046 MergeFrom(*source);
21047 }
21048}
21049
21050void SetSafeModeResponseProto::MergeFrom(const SetSafeModeResponseProto& from) {
21051// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetSafeModeResponseProto)
21052 GOOGLE_DCHECK_NE(&from, this);
21053 _internal_metadata_.MergeFrom(from._internal_metadata_);
21054 ::google::protobuf::uint32 cached_has_bits = 0;
21055 (void) cached_has_bits;
21056
21057 if (from.has_result()) {
21058 set_result(from.result());
21059 }
21060}
21061
21062void SetSafeModeResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
21063// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetSafeModeResponseProto)
21064 if (&from == this) return;
21065 Clear();
21066 MergeFrom(from);
21067}
21068
21069void SetSafeModeResponseProto::CopyFrom(const SetSafeModeResponseProto& from) {
21070// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetSafeModeResponseProto)
21071 if (&from == this) return;
21072 Clear();
21073 MergeFrom(from);
21074}
21075
21076bool SetSafeModeResponseProto::IsInitialized() const {
21077 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
21078 return true;
21079}
21080
21081void SetSafeModeResponseProto::Swap(SetSafeModeResponseProto* other) {
21082 if (other == this) return;
21083 InternalSwap(other);
21084}
21085void SetSafeModeResponseProto::InternalSwap(SetSafeModeResponseProto* other) {
21086 using std::swap;
21087 swap(result_, other->result_);
21088 swap(_has_bits_[0], other->_has_bits_[0]);
21089 _internal_metadata_.Swap(&other->_internal_metadata_);
21090}
21091
21092::google::protobuf::Metadata SetSafeModeResponseProto::GetMetadata() const {
21093 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
21094 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
21095}
21096
21097
21098// ===================================================================
21099
21100void SaveNamespaceRequestProto::InitAsDefaultInstance() {
21101}
21102#if !defined(_MSC_VER) || _MSC_VER >= 1900
21103#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
21104
21105SaveNamespaceRequestProto::SaveNamespaceRequestProto()
21106 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
21107 ::google::protobuf::internal::InitSCC(
21108 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SaveNamespaceRequestProto.base);
21109 SharedCtor();
21110 // @@protoc_insertion_point(constructor:Hdfs.Internal.SaveNamespaceRequestProto)
21111}
21112SaveNamespaceRequestProto::SaveNamespaceRequestProto(const SaveNamespaceRequestProto& from)
21113 : ::google::protobuf::Message(),
21114 _internal_metadata_(NULL),
21115 _has_bits_(from._has_bits_) {
21116 _internal_metadata_.MergeFrom(from._internal_metadata_);
21117 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SaveNamespaceRequestProto)
21118}
21119
21120void SaveNamespaceRequestProto::SharedCtor() {
21121}
21122
21123SaveNamespaceRequestProto::~SaveNamespaceRequestProto() {
21124 // @@protoc_insertion_point(destructor:Hdfs.Internal.SaveNamespaceRequestProto)
21125 SharedDtor();
21126}
21127
21128void SaveNamespaceRequestProto::SharedDtor() {
21129}
21130
21131void SaveNamespaceRequestProto::SetCachedSize(int size) const {
21132 _cached_size_.Set(size);
21133}
21134const ::google::protobuf::Descriptor* SaveNamespaceRequestProto::descriptor() {
21135 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
21136 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
21137}
21138
21139const SaveNamespaceRequestProto& SaveNamespaceRequestProto::default_instance() {
21140 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SaveNamespaceRequestProto.base);
21141 return *internal_default_instance();
21142}
21143
21144
21145void SaveNamespaceRequestProto::Clear() {
21146// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SaveNamespaceRequestProto)
21147 ::google::protobuf::uint32 cached_has_bits = 0;
21148 // Prevent compiler warnings about cached_has_bits being unused
21149 (void) cached_has_bits;
21150
21151 _has_bits_.Clear();
21152 _internal_metadata_.Clear();
21153}
21154
21155bool SaveNamespaceRequestProto::MergePartialFromCodedStream(
21156 ::google::protobuf::io::CodedInputStream* input) {
21157#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
21158 ::google::protobuf::uint32 tag;
21159 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SaveNamespaceRequestProto)
21160 for (;;) {
21161 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
21162 tag = p.first;
21163 if (!p.second) goto handle_unusual;
21164 handle_unusual:
21165 if (tag == 0) {
21166 goto success;
21167 }
21168 DO_(::google::protobuf::internal::WireFormat::SkipField(
21169 input, tag, _internal_metadata_.mutable_unknown_fields()));
21170 }
21171success:
21172 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SaveNamespaceRequestProto)
21173 return true;
21174failure:
21175 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SaveNamespaceRequestProto)
21176 return false;
21177#undef DO_
21178}
21179
21180void SaveNamespaceRequestProto::SerializeWithCachedSizes(
21181 ::google::protobuf::io::CodedOutputStream* output) const {
21182 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SaveNamespaceRequestProto)
21183 ::google::protobuf::uint32 cached_has_bits = 0;
21184 (void) cached_has_bits;
21185
21186 if (_internal_metadata_.have_unknown_fields()) {
21187 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
21188 _internal_metadata_.unknown_fields(), output);
21189 }
21190 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SaveNamespaceRequestProto)
21191}
21192
21193::google::protobuf::uint8* SaveNamespaceRequestProto::InternalSerializeWithCachedSizesToArray(
21194 bool deterministic, ::google::protobuf::uint8* target) const {
21195 (void)deterministic; // Unused
21196 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SaveNamespaceRequestProto)
21197 ::google::protobuf::uint32 cached_has_bits = 0;
21198 (void) cached_has_bits;
21199
21200 if (_internal_metadata_.have_unknown_fields()) {
21201 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
21202 _internal_metadata_.unknown_fields(), target);
21203 }
21204 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SaveNamespaceRequestProto)
21205 return target;
21206}
21207
21208size_t SaveNamespaceRequestProto::ByteSizeLong() const {
21209// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SaveNamespaceRequestProto)
21210 size_t total_size = 0;
21211
21212 if (_internal_metadata_.have_unknown_fields()) {
21213 total_size +=
21214 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
21215 _internal_metadata_.unknown_fields());
21216 }
21217 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
21218 SetCachedSize(cached_size);
21219 return total_size;
21220}
21221
21222void SaveNamespaceRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
21223// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SaveNamespaceRequestProto)
21224 GOOGLE_DCHECK_NE(&from, this);
21225 const SaveNamespaceRequestProto* source =
21226 ::google::protobuf::internal::DynamicCastToGenerated<const SaveNamespaceRequestProto>(
21227 &from);
21228 if (source == NULL) {
21229 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SaveNamespaceRequestProto)
21230 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
21231 } else {
21232 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SaveNamespaceRequestProto)
21233 MergeFrom(*source);
21234 }
21235}
21236
21237void SaveNamespaceRequestProto::MergeFrom(const SaveNamespaceRequestProto& from) {
21238// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SaveNamespaceRequestProto)
21239 GOOGLE_DCHECK_NE(&from, this);
21240 _internal_metadata_.MergeFrom(from._internal_metadata_);
21241 ::google::protobuf::uint32 cached_has_bits = 0;
21242 (void) cached_has_bits;
21243
21244}
21245
21246void SaveNamespaceRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
21247// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SaveNamespaceRequestProto)
21248 if (&from == this) return;
21249 Clear();
21250 MergeFrom(from);
21251}
21252
21253void SaveNamespaceRequestProto::CopyFrom(const SaveNamespaceRequestProto& from) {
21254// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SaveNamespaceRequestProto)
21255 if (&from == this) return;
21256 Clear();
21257 MergeFrom(from);
21258}
21259
21260bool SaveNamespaceRequestProto::IsInitialized() const {
21261 return true;
21262}
21263
21264void SaveNamespaceRequestProto::Swap(SaveNamespaceRequestProto* other) {
21265 if (other == this) return;
21266 InternalSwap(other);
21267}
21268void SaveNamespaceRequestProto::InternalSwap(SaveNamespaceRequestProto* other) {
21269 using std::swap;
21270 swap(_has_bits_[0], other->_has_bits_[0]);
21271 _internal_metadata_.Swap(&other->_internal_metadata_);
21272}
21273
21274::google::protobuf::Metadata SaveNamespaceRequestProto::GetMetadata() const {
21275 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
21276 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
21277}
21278
21279
21280// ===================================================================
21281
21282void SaveNamespaceResponseProto::InitAsDefaultInstance() {
21283}
21284#if !defined(_MSC_VER) || _MSC_VER >= 1900
21285#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
21286
21287SaveNamespaceResponseProto::SaveNamespaceResponseProto()
21288 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
21289 ::google::protobuf::internal::InitSCC(
21290 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SaveNamespaceResponseProto.base);
21291 SharedCtor();
21292 // @@protoc_insertion_point(constructor:Hdfs.Internal.SaveNamespaceResponseProto)
21293}
21294SaveNamespaceResponseProto::SaveNamespaceResponseProto(const SaveNamespaceResponseProto& from)
21295 : ::google::protobuf::Message(),
21296 _internal_metadata_(NULL),
21297 _has_bits_(from._has_bits_) {
21298 _internal_metadata_.MergeFrom(from._internal_metadata_);
21299 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SaveNamespaceResponseProto)
21300}
21301
21302void SaveNamespaceResponseProto::SharedCtor() {
21303}
21304
21305SaveNamespaceResponseProto::~SaveNamespaceResponseProto() {
21306 // @@protoc_insertion_point(destructor:Hdfs.Internal.SaveNamespaceResponseProto)
21307 SharedDtor();
21308}
21309
21310void SaveNamespaceResponseProto::SharedDtor() {
21311}
21312
21313void SaveNamespaceResponseProto::SetCachedSize(int size) const {
21314 _cached_size_.Set(size);
21315}
21316const ::google::protobuf::Descriptor* SaveNamespaceResponseProto::descriptor() {
21317 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
21318 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
21319}
21320
21321const SaveNamespaceResponseProto& SaveNamespaceResponseProto::default_instance() {
21322 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SaveNamespaceResponseProto.base);
21323 return *internal_default_instance();
21324}
21325
21326
21327void SaveNamespaceResponseProto::Clear() {
21328// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SaveNamespaceResponseProto)
21329 ::google::protobuf::uint32 cached_has_bits = 0;
21330 // Prevent compiler warnings about cached_has_bits being unused
21331 (void) cached_has_bits;
21332
21333 _has_bits_.Clear();
21334 _internal_metadata_.Clear();
21335}
21336
21337bool SaveNamespaceResponseProto::MergePartialFromCodedStream(
21338 ::google::protobuf::io::CodedInputStream* input) {
21339#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
21340 ::google::protobuf::uint32 tag;
21341 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SaveNamespaceResponseProto)
21342 for (;;) {
21343 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
21344 tag = p.first;
21345 if (!p.second) goto handle_unusual;
21346 handle_unusual:
21347 if (tag == 0) {
21348 goto success;
21349 }
21350 DO_(::google::protobuf::internal::WireFormat::SkipField(
21351 input, tag, _internal_metadata_.mutable_unknown_fields()));
21352 }
21353success:
21354 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SaveNamespaceResponseProto)
21355 return true;
21356failure:
21357 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SaveNamespaceResponseProto)
21358 return false;
21359#undef DO_
21360}
21361
21362void SaveNamespaceResponseProto::SerializeWithCachedSizes(
21363 ::google::protobuf::io::CodedOutputStream* output) const {
21364 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SaveNamespaceResponseProto)
21365 ::google::protobuf::uint32 cached_has_bits = 0;
21366 (void) cached_has_bits;
21367
21368 if (_internal_metadata_.have_unknown_fields()) {
21369 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
21370 _internal_metadata_.unknown_fields(), output);
21371 }
21372 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SaveNamespaceResponseProto)
21373}
21374
21375::google::protobuf::uint8* SaveNamespaceResponseProto::InternalSerializeWithCachedSizesToArray(
21376 bool deterministic, ::google::protobuf::uint8* target) const {
21377 (void)deterministic; // Unused
21378 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SaveNamespaceResponseProto)
21379 ::google::protobuf::uint32 cached_has_bits = 0;
21380 (void) cached_has_bits;
21381
21382 if (_internal_metadata_.have_unknown_fields()) {
21383 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
21384 _internal_metadata_.unknown_fields(), target);
21385 }
21386 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SaveNamespaceResponseProto)
21387 return target;
21388}
21389
21390size_t SaveNamespaceResponseProto::ByteSizeLong() const {
21391// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SaveNamespaceResponseProto)
21392 size_t total_size = 0;
21393
21394 if (_internal_metadata_.have_unknown_fields()) {
21395 total_size +=
21396 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
21397 _internal_metadata_.unknown_fields());
21398 }
21399 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
21400 SetCachedSize(cached_size);
21401 return total_size;
21402}
21403
21404void SaveNamespaceResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
21405// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SaveNamespaceResponseProto)
21406 GOOGLE_DCHECK_NE(&from, this);
21407 const SaveNamespaceResponseProto* source =
21408 ::google::protobuf::internal::DynamicCastToGenerated<const SaveNamespaceResponseProto>(
21409 &from);
21410 if (source == NULL) {
21411 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SaveNamespaceResponseProto)
21412 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
21413 } else {
21414 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SaveNamespaceResponseProto)
21415 MergeFrom(*source);
21416 }
21417}
21418
21419void SaveNamespaceResponseProto::MergeFrom(const SaveNamespaceResponseProto& from) {
21420// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SaveNamespaceResponseProto)
21421 GOOGLE_DCHECK_NE(&from, this);
21422 _internal_metadata_.MergeFrom(from._internal_metadata_);
21423 ::google::protobuf::uint32 cached_has_bits = 0;
21424 (void) cached_has_bits;
21425
21426}
21427
21428void SaveNamespaceResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
21429// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SaveNamespaceResponseProto)
21430 if (&from == this) return;
21431 Clear();
21432 MergeFrom(from);
21433}
21434
21435void SaveNamespaceResponseProto::CopyFrom(const SaveNamespaceResponseProto& from) {
21436// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SaveNamespaceResponseProto)
21437 if (&from == this) return;
21438 Clear();
21439 MergeFrom(from);
21440}
21441
21442bool SaveNamespaceResponseProto::IsInitialized() const {
21443 return true;
21444}
21445
21446void SaveNamespaceResponseProto::Swap(SaveNamespaceResponseProto* other) {
21447 if (other == this) return;
21448 InternalSwap(other);
21449}
21450void SaveNamespaceResponseProto::InternalSwap(SaveNamespaceResponseProto* other) {
21451 using std::swap;
21452 swap(_has_bits_[0], other->_has_bits_[0]);
21453 _internal_metadata_.Swap(&other->_internal_metadata_);
21454}
21455
21456::google::protobuf::Metadata SaveNamespaceResponseProto::GetMetadata() const {
21457 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
21458 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
21459}
21460
21461
21462// ===================================================================
21463
21464void RollEditsRequestProto::InitAsDefaultInstance() {
21465}
21466#if !defined(_MSC_VER) || _MSC_VER >= 1900
21467#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
21468
21469RollEditsRequestProto::RollEditsRequestProto()
21470 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
21471 ::google::protobuf::internal::InitSCC(
21472 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RollEditsRequestProto.base);
21473 SharedCtor();
21474 // @@protoc_insertion_point(constructor:Hdfs.Internal.RollEditsRequestProto)
21475}
21476RollEditsRequestProto::RollEditsRequestProto(const RollEditsRequestProto& from)
21477 : ::google::protobuf::Message(),
21478 _internal_metadata_(NULL),
21479 _has_bits_(from._has_bits_) {
21480 _internal_metadata_.MergeFrom(from._internal_metadata_);
21481 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RollEditsRequestProto)
21482}
21483
21484void RollEditsRequestProto::SharedCtor() {
21485}
21486
21487RollEditsRequestProto::~RollEditsRequestProto() {
21488 // @@protoc_insertion_point(destructor:Hdfs.Internal.RollEditsRequestProto)
21489 SharedDtor();
21490}
21491
21492void RollEditsRequestProto::SharedDtor() {
21493}
21494
21495void RollEditsRequestProto::SetCachedSize(int size) const {
21496 _cached_size_.Set(size);
21497}
21498const ::google::protobuf::Descriptor* RollEditsRequestProto::descriptor() {
21499 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
21500 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
21501}
21502
21503const RollEditsRequestProto& RollEditsRequestProto::default_instance() {
21504 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RollEditsRequestProto.base);
21505 return *internal_default_instance();
21506}
21507
21508
21509void RollEditsRequestProto::Clear() {
21510// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RollEditsRequestProto)
21511 ::google::protobuf::uint32 cached_has_bits = 0;
21512 // Prevent compiler warnings about cached_has_bits being unused
21513 (void) cached_has_bits;
21514
21515 _has_bits_.Clear();
21516 _internal_metadata_.Clear();
21517}
21518
21519bool RollEditsRequestProto::MergePartialFromCodedStream(
21520 ::google::protobuf::io::CodedInputStream* input) {
21521#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
21522 ::google::protobuf::uint32 tag;
21523 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RollEditsRequestProto)
21524 for (;;) {
21525 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
21526 tag = p.first;
21527 if (!p.second) goto handle_unusual;
21528 handle_unusual:
21529 if (tag == 0) {
21530 goto success;
21531 }
21532 DO_(::google::protobuf::internal::WireFormat::SkipField(
21533 input, tag, _internal_metadata_.mutable_unknown_fields()));
21534 }
21535success:
21536 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RollEditsRequestProto)
21537 return true;
21538failure:
21539 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RollEditsRequestProto)
21540 return false;
21541#undef DO_
21542}
21543
21544void RollEditsRequestProto::SerializeWithCachedSizes(
21545 ::google::protobuf::io::CodedOutputStream* output) const {
21546 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RollEditsRequestProto)
21547 ::google::protobuf::uint32 cached_has_bits = 0;
21548 (void) cached_has_bits;
21549
21550 if (_internal_metadata_.have_unknown_fields()) {
21551 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
21552 _internal_metadata_.unknown_fields(), output);
21553 }
21554 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RollEditsRequestProto)
21555}
21556
21557::google::protobuf::uint8* RollEditsRequestProto::InternalSerializeWithCachedSizesToArray(
21558 bool deterministic, ::google::protobuf::uint8* target) const {
21559 (void)deterministic; // Unused
21560 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RollEditsRequestProto)
21561 ::google::protobuf::uint32 cached_has_bits = 0;
21562 (void) cached_has_bits;
21563
21564 if (_internal_metadata_.have_unknown_fields()) {
21565 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
21566 _internal_metadata_.unknown_fields(), target);
21567 }
21568 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RollEditsRequestProto)
21569 return target;
21570}
21571
21572size_t RollEditsRequestProto::ByteSizeLong() const {
21573// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RollEditsRequestProto)
21574 size_t total_size = 0;
21575
21576 if (_internal_metadata_.have_unknown_fields()) {
21577 total_size +=
21578 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
21579 _internal_metadata_.unknown_fields());
21580 }
21581 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
21582 SetCachedSize(cached_size);
21583 return total_size;
21584}
21585
21586void RollEditsRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
21587// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RollEditsRequestProto)
21588 GOOGLE_DCHECK_NE(&from, this);
21589 const RollEditsRequestProto* source =
21590 ::google::protobuf::internal::DynamicCastToGenerated<const RollEditsRequestProto>(
21591 &from);
21592 if (source == NULL) {
21593 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RollEditsRequestProto)
21594 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
21595 } else {
21596 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RollEditsRequestProto)
21597 MergeFrom(*source);
21598 }
21599}
21600
21601void RollEditsRequestProto::MergeFrom(const RollEditsRequestProto& from) {
21602// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RollEditsRequestProto)
21603 GOOGLE_DCHECK_NE(&from, this);
21604 _internal_metadata_.MergeFrom(from._internal_metadata_);
21605 ::google::protobuf::uint32 cached_has_bits = 0;
21606 (void) cached_has_bits;
21607
21608}
21609
21610void RollEditsRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
21611// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RollEditsRequestProto)
21612 if (&from == this) return;
21613 Clear();
21614 MergeFrom(from);
21615}
21616
21617void RollEditsRequestProto::CopyFrom(const RollEditsRequestProto& from) {
21618// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RollEditsRequestProto)
21619 if (&from == this) return;
21620 Clear();
21621 MergeFrom(from);
21622}
21623
21624bool RollEditsRequestProto::IsInitialized() const {
21625 return true;
21626}
21627
21628void RollEditsRequestProto::Swap(RollEditsRequestProto* other) {
21629 if (other == this) return;
21630 InternalSwap(other);
21631}
21632void RollEditsRequestProto::InternalSwap(RollEditsRequestProto* other) {
21633 using std::swap;
21634 swap(_has_bits_[0], other->_has_bits_[0]);
21635 _internal_metadata_.Swap(&other->_internal_metadata_);
21636}
21637
21638::google::protobuf::Metadata RollEditsRequestProto::GetMetadata() const {
21639 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
21640 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
21641}
21642
21643
21644// ===================================================================
21645
21646void RollEditsResponseProto::InitAsDefaultInstance() {
21647}
21648#if !defined(_MSC_VER) || _MSC_VER >= 1900
21649const int RollEditsResponseProto::kNewSegmentTxIdFieldNumber;
21650#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
21651
21652RollEditsResponseProto::RollEditsResponseProto()
21653 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
21654 ::google::protobuf::internal::InitSCC(
21655 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RollEditsResponseProto.base);
21656 SharedCtor();
21657 // @@protoc_insertion_point(constructor:Hdfs.Internal.RollEditsResponseProto)
21658}
21659RollEditsResponseProto::RollEditsResponseProto(const RollEditsResponseProto& from)
21660 : ::google::protobuf::Message(),
21661 _internal_metadata_(NULL),
21662 _has_bits_(from._has_bits_) {
21663 _internal_metadata_.MergeFrom(from._internal_metadata_);
21664 newsegmenttxid_ = from.newsegmenttxid_;
21665 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RollEditsResponseProto)
21666}
21667
21668void RollEditsResponseProto::SharedCtor() {
21669 newsegmenttxid_ = GOOGLE_ULONGLONG(0);
21670}
21671
21672RollEditsResponseProto::~RollEditsResponseProto() {
21673 // @@protoc_insertion_point(destructor:Hdfs.Internal.RollEditsResponseProto)
21674 SharedDtor();
21675}
21676
21677void RollEditsResponseProto::SharedDtor() {
21678}
21679
21680void RollEditsResponseProto::SetCachedSize(int size) const {
21681 _cached_size_.Set(size);
21682}
21683const ::google::protobuf::Descriptor* RollEditsResponseProto::descriptor() {
21684 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
21685 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
21686}
21687
21688const RollEditsResponseProto& RollEditsResponseProto::default_instance() {
21689 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RollEditsResponseProto.base);
21690 return *internal_default_instance();
21691}
21692
21693
21694void RollEditsResponseProto::Clear() {
21695// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RollEditsResponseProto)
21696 ::google::protobuf::uint32 cached_has_bits = 0;
21697 // Prevent compiler warnings about cached_has_bits being unused
21698 (void) cached_has_bits;
21699
21700 newsegmenttxid_ = GOOGLE_ULONGLONG(0);
21701 _has_bits_.Clear();
21702 _internal_metadata_.Clear();
21703}
21704
21705bool RollEditsResponseProto::MergePartialFromCodedStream(
21706 ::google::protobuf::io::CodedInputStream* input) {
21707#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
21708 ::google::protobuf::uint32 tag;
21709 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RollEditsResponseProto)
21710 for (;;) {
21711 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
21712 tag = p.first;
21713 if (!p.second) goto handle_unusual;
21714 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
21715 // required uint64 newSegmentTxId = 1;
21716 case 1: {
21717 if (static_cast< ::google::protobuf::uint8>(tag) ==
21718 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
21719 set_has_newsegmenttxid();
21720 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
21721 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
21722 input, &newsegmenttxid_)));
21723 } else {
21724 goto handle_unusual;
21725 }
21726 break;
21727 }
21728
21729 default: {
21730 handle_unusual:
21731 if (tag == 0) {
21732 goto success;
21733 }
21734 DO_(::google::protobuf::internal::WireFormat::SkipField(
21735 input, tag, _internal_metadata_.mutable_unknown_fields()));
21736 break;
21737 }
21738 }
21739 }
21740success:
21741 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RollEditsResponseProto)
21742 return true;
21743failure:
21744 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RollEditsResponseProto)
21745 return false;
21746#undef DO_
21747}
21748
21749void RollEditsResponseProto::SerializeWithCachedSizes(
21750 ::google::protobuf::io::CodedOutputStream* output) const {
21751 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RollEditsResponseProto)
21752 ::google::protobuf::uint32 cached_has_bits = 0;
21753 (void) cached_has_bits;
21754
21755 cached_has_bits = _has_bits_[0];
21756 // required uint64 newSegmentTxId = 1;
21757 if (cached_has_bits & 0x00000001u) {
21758 ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->newsegmenttxid(), output);
21759 }
21760
21761 if (_internal_metadata_.have_unknown_fields()) {
21762 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
21763 _internal_metadata_.unknown_fields(), output);
21764 }
21765 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RollEditsResponseProto)
21766}
21767
21768::google::protobuf::uint8* RollEditsResponseProto::InternalSerializeWithCachedSizesToArray(
21769 bool deterministic, ::google::protobuf::uint8* target) const {
21770 (void)deterministic; // Unused
21771 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RollEditsResponseProto)
21772 ::google::protobuf::uint32 cached_has_bits = 0;
21773 (void) cached_has_bits;
21774
21775 cached_has_bits = _has_bits_[0];
21776 // required uint64 newSegmentTxId = 1;
21777 if (cached_has_bits & 0x00000001u) {
21778 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->newsegmenttxid(), target);
21779 }
21780
21781 if (_internal_metadata_.have_unknown_fields()) {
21782 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
21783 _internal_metadata_.unknown_fields(), target);
21784 }
21785 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RollEditsResponseProto)
21786 return target;
21787}
21788
21789size_t RollEditsResponseProto::ByteSizeLong() const {
21790// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RollEditsResponseProto)
21791 size_t total_size = 0;
21792
21793 if (_internal_metadata_.have_unknown_fields()) {
21794 total_size +=
21795 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
21796 _internal_metadata_.unknown_fields());
21797 }
21798 // required uint64 newSegmentTxId = 1;
21799 if (has_newsegmenttxid()) {
21800 total_size += 1 +
21801 ::google::protobuf::internal::WireFormatLite::UInt64Size(
21802 this->newsegmenttxid());
21803 }
21804 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
21805 SetCachedSize(cached_size);
21806 return total_size;
21807}
21808
21809void RollEditsResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
21810// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RollEditsResponseProto)
21811 GOOGLE_DCHECK_NE(&from, this);
21812 const RollEditsResponseProto* source =
21813 ::google::protobuf::internal::DynamicCastToGenerated<const RollEditsResponseProto>(
21814 &from);
21815 if (source == NULL) {
21816 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RollEditsResponseProto)
21817 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
21818 } else {
21819 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RollEditsResponseProto)
21820 MergeFrom(*source);
21821 }
21822}
21823
21824void RollEditsResponseProto::MergeFrom(const RollEditsResponseProto& from) {
21825// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RollEditsResponseProto)
21826 GOOGLE_DCHECK_NE(&from, this);
21827 _internal_metadata_.MergeFrom(from._internal_metadata_);
21828 ::google::protobuf::uint32 cached_has_bits = 0;
21829 (void) cached_has_bits;
21830
21831 if (from.has_newsegmenttxid()) {
21832 set_newsegmenttxid(from.newsegmenttxid());
21833 }
21834}
21835
21836void RollEditsResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
21837// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RollEditsResponseProto)
21838 if (&from == this) return;
21839 Clear();
21840 MergeFrom(from);
21841}
21842
21843void RollEditsResponseProto::CopyFrom(const RollEditsResponseProto& from) {
21844// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RollEditsResponseProto)
21845 if (&from == this) return;
21846 Clear();
21847 MergeFrom(from);
21848}
21849
21850bool RollEditsResponseProto::IsInitialized() const {
21851 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
21852 return true;
21853}
21854
21855void RollEditsResponseProto::Swap(RollEditsResponseProto* other) {
21856 if (other == this) return;
21857 InternalSwap(other);
21858}
21859void RollEditsResponseProto::InternalSwap(RollEditsResponseProto* other) {
21860 using std::swap;
21861 swap(newsegmenttxid_, other->newsegmenttxid_);
21862 swap(_has_bits_[0], other->_has_bits_[0]);
21863 _internal_metadata_.Swap(&other->_internal_metadata_);
21864}
21865
21866::google::protobuf::Metadata RollEditsResponseProto::GetMetadata() const {
21867 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
21868 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
21869}
21870
21871
21872// ===================================================================
21873
21874void RestoreFailedStorageRequestProto::InitAsDefaultInstance() {
21875}
21876#if !defined(_MSC_VER) || _MSC_VER >= 1900
21877const int RestoreFailedStorageRequestProto::kArgFieldNumber;
21878#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
21879
21880RestoreFailedStorageRequestProto::RestoreFailedStorageRequestProto()
21881 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
21882 ::google::protobuf::internal::InitSCC(
21883 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RestoreFailedStorageRequestProto.base);
21884 SharedCtor();
21885 // @@protoc_insertion_point(constructor:Hdfs.Internal.RestoreFailedStorageRequestProto)
21886}
21887RestoreFailedStorageRequestProto::RestoreFailedStorageRequestProto(const RestoreFailedStorageRequestProto& from)
21888 : ::google::protobuf::Message(),
21889 _internal_metadata_(NULL),
21890 _has_bits_(from._has_bits_) {
21891 _internal_metadata_.MergeFrom(from._internal_metadata_);
21892 arg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21893 if (from.has_arg()) {
21894 arg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.arg_);
21895 }
21896 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RestoreFailedStorageRequestProto)
21897}
21898
21899void RestoreFailedStorageRequestProto::SharedCtor() {
21900 arg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21901}
21902
21903RestoreFailedStorageRequestProto::~RestoreFailedStorageRequestProto() {
21904 // @@protoc_insertion_point(destructor:Hdfs.Internal.RestoreFailedStorageRequestProto)
21905 SharedDtor();
21906}
21907
21908void RestoreFailedStorageRequestProto::SharedDtor() {
21909 arg_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21910}
21911
21912void RestoreFailedStorageRequestProto::SetCachedSize(int size) const {
21913 _cached_size_.Set(size);
21914}
21915const ::google::protobuf::Descriptor* RestoreFailedStorageRequestProto::descriptor() {
21916 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
21917 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
21918}
21919
21920const RestoreFailedStorageRequestProto& RestoreFailedStorageRequestProto::default_instance() {
21921 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RestoreFailedStorageRequestProto.base);
21922 return *internal_default_instance();
21923}
21924
21925
21926void RestoreFailedStorageRequestProto::Clear() {
21927// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RestoreFailedStorageRequestProto)
21928 ::google::protobuf::uint32 cached_has_bits = 0;
21929 // Prevent compiler warnings about cached_has_bits being unused
21930 (void) cached_has_bits;
21931
21932 cached_has_bits = _has_bits_[0];
21933 if (cached_has_bits & 0x00000001u) {
21934 arg_.ClearNonDefaultToEmptyNoArena();
21935 }
21936 _has_bits_.Clear();
21937 _internal_metadata_.Clear();
21938}
21939
21940bool RestoreFailedStorageRequestProto::MergePartialFromCodedStream(
21941 ::google::protobuf::io::CodedInputStream* input) {
21942#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
21943 ::google::protobuf::uint32 tag;
21944 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RestoreFailedStorageRequestProto)
21945 for (;;) {
21946 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
21947 tag = p.first;
21948 if (!p.second) goto handle_unusual;
21949 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
21950 // required string arg = 1;
21951 case 1: {
21952 if (static_cast< ::google::protobuf::uint8>(tag) ==
21953 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
21954 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
21955 input, this->mutable_arg()));
21956 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
21957 this->arg().data(), static_cast<int>(this->arg().length()),
21958 ::google::protobuf::internal::WireFormat::PARSE,
21959 "Hdfs.Internal.RestoreFailedStorageRequestProto.arg");
21960 } else {
21961 goto handle_unusual;
21962 }
21963 break;
21964 }
21965
21966 default: {
21967 handle_unusual:
21968 if (tag == 0) {
21969 goto success;
21970 }
21971 DO_(::google::protobuf::internal::WireFormat::SkipField(
21972 input, tag, _internal_metadata_.mutable_unknown_fields()));
21973 break;
21974 }
21975 }
21976 }
21977success:
21978 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RestoreFailedStorageRequestProto)
21979 return true;
21980failure:
21981 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RestoreFailedStorageRequestProto)
21982 return false;
21983#undef DO_
21984}
21985
21986void RestoreFailedStorageRequestProto::SerializeWithCachedSizes(
21987 ::google::protobuf::io::CodedOutputStream* output) const {
21988 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RestoreFailedStorageRequestProto)
21989 ::google::protobuf::uint32 cached_has_bits = 0;
21990 (void) cached_has_bits;
21991
21992 cached_has_bits = _has_bits_[0];
21993 // required string arg = 1;
21994 if (cached_has_bits & 0x00000001u) {
21995 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
21996 this->arg().data(), static_cast<int>(this->arg().length()),
21997 ::google::protobuf::internal::WireFormat::SERIALIZE,
21998 "Hdfs.Internal.RestoreFailedStorageRequestProto.arg");
21999 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
22000 1, this->arg(), output);
22001 }
22002
22003 if (_internal_metadata_.have_unknown_fields()) {
22004 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
22005 _internal_metadata_.unknown_fields(), output);
22006 }
22007 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RestoreFailedStorageRequestProto)
22008}
22009
22010::google::protobuf::uint8* RestoreFailedStorageRequestProto::InternalSerializeWithCachedSizesToArray(
22011 bool deterministic, ::google::protobuf::uint8* target) const {
22012 (void)deterministic; // Unused
22013 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RestoreFailedStorageRequestProto)
22014 ::google::protobuf::uint32 cached_has_bits = 0;
22015 (void) cached_has_bits;
22016
22017 cached_has_bits = _has_bits_[0];
22018 // required string arg = 1;
22019 if (cached_has_bits & 0x00000001u) {
22020 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
22021 this->arg().data(), static_cast<int>(this->arg().length()),
22022 ::google::protobuf::internal::WireFormat::SERIALIZE,
22023 "Hdfs.Internal.RestoreFailedStorageRequestProto.arg");
22024 target =
22025 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
22026 1, this->arg(), target);
22027 }
22028
22029 if (_internal_metadata_.have_unknown_fields()) {
22030 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
22031 _internal_metadata_.unknown_fields(), target);
22032 }
22033 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RestoreFailedStorageRequestProto)
22034 return target;
22035}
22036
22037size_t RestoreFailedStorageRequestProto::ByteSizeLong() const {
22038// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RestoreFailedStorageRequestProto)
22039 size_t total_size = 0;
22040
22041 if (_internal_metadata_.have_unknown_fields()) {
22042 total_size +=
22043 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
22044 _internal_metadata_.unknown_fields());
22045 }
22046 // required string arg = 1;
22047 if (has_arg()) {
22048 total_size += 1 +
22049 ::google::protobuf::internal::WireFormatLite::StringSize(
22050 this->arg());
22051 }
22052 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
22053 SetCachedSize(cached_size);
22054 return total_size;
22055}
22056
22057void RestoreFailedStorageRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
22058// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RestoreFailedStorageRequestProto)
22059 GOOGLE_DCHECK_NE(&from, this);
22060 const RestoreFailedStorageRequestProto* source =
22061 ::google::protobuf::internal::DynamicCastToGenerated<const RestoreFailedStorageRequestProto>(
22062 &from);
22063 if (source == NULL) {
22064 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RestoreFailedStorageRequestProto)
22065 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
22066 } else {
22067 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RestoreFailedStorageRequestProto)
22068 MergeFrom(*source);
22069 }
22070}
22071
22072void RestoreFailedStorageRequestProto::MergeFrom(const RestoreFailedStorageRequestProto& from) {
22073// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RestoreFailedStorageRequestProto)
22074 GOOGLE_DCHECK_NE(&from, this);
22075 _internal_metadata_.MergeFrom(from._internal_metadata_);
22076 ::google::protobuf::uint32 cached_has_bits = 0;
22077 (void) cached_has_bits;
22078
22079 if (from.has_arg()) {
22080 set_has_arg();
22081 arg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.arg_);
22082 }
22083}
22084
22085void RestoreFailedStorageRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
22086// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RestoreFailedStorageRequestProto)
22087 if (&from == this) return;
22088 Clear();
22089 MergeFrom(from);
22090}
22091
22092void RestoreFailedStorageRequestProto::CopyFrom(const RestoreFailedStorageRequestProto& from) {
22093// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RestoreFailedStorageRequestProto)
22094 if (&from == this) return;
22095 Clear();
22096 MergeFrom(from);
22097}
22098
22099bool RestoreFailedStorageRequestProto::IsInitialized() const {
22100 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
22101 return true;
22102}
22103
22104void RestoreFailedStorageRequestProto::Swap(RestoreFailedStorageRequestProto* other) {
22105 if (other == this) return;
22106 InternalSwap(other);
22107}
22108void RestoreFailedStorageRequestProto::InternalSwap(RestoreFailedStorageRequestProto* other) {
22109 using std::swap;
22110 arg_.Swap(&other->arg_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
22111 GetArenaNoVirtual());
22112 swap(_has_bits_[0], other->_has_bits_[0]);
22113 _internal_metadata_.Swap(&other->_internal_metadata_);
22114}
22115
22116::google::protobuf::Metadata RestoreFailedStorageRequestProto::GetMetadata() const {
22117 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
22118 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
22119}
22120
22121
22122// ===================================================================
22123
22124void RestoreFailedStorageResponseProto::InitAsDefaultInstance() {
22125}
22126#if !defined(_MSC_VER) || _MSC_VER >= 1900
22127const int RestoreFailedStorageResponseProto::kResultFieldNumber;
22128#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
22129
22130RestoreFailedStorageResponseProto::RestoreFailedStorageResponseProto()
22131 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
22132 ::google::protobuf::internal::InitSCC(
22133 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RestoreFailedStorageResponseProto.base);
22134 SharedCtor();
22135 // @@protoc_insertion_point(constructor:Hdfs.Internal.RestoreFailedStorageResponseProto)
22136}
22137RestoreFailedStorageResponseProto::RestoreFailedStorageResponseProto(const RestoreFailedStorageResponseProto& from)
22138 : ::google::protobuf::Message(),
22139 _internal_metadata_(NULL),
22140 _has_bits_(from._has_bits_) {
22141 _internal_metadata_.MergeFrom(from._internal_metadata_);
22142 result_ = from.result_;
22143 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RestoreFailedStorageResponseProto)
22144}
22145
22146void RestoreFailedStorageResponseProto::SharedCtor() {
22147 result_ = false;
22148}
22149
22150RestoreFailedStorageResponseProto::~RestoreFailedStorageResponseProto() {
22151 // @@protoc_insertion_point(destructor:Hdfs.Internal.RestoreFailedStorageResponseProto)
22152 SharedDtor();
22153}
22154
22155void RestoreFailedStorageResponseProto::SharedDtor() {
22156}
22157
22158void RestoreFailedStorageResponseProto::SetCachedSize(int size) const {
22159 _cached_size_.Set(size);
22160}
22161const ::google::protobuf::Descriptor* RestoreFailedStorageResponseProto::descriptor() {
22162 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
22163 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
22164}
22165
22166const RestoreFailedStorageResponseProto& RestoreFailedStorageResponseProto::default_instance() {
22167 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RestoreFailedStorageResponseProto.base);
22168 return *internal_default_instance();
22169}
22170
22171
22172void RestoreFailedStorageResponseProto::Clear() {
22173// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RestoreFailedStorageResponseProto)
22174 ::google::protobuf::uint32 cached_has_bits = 0;
22175 // Prevent compiler warnings about cached_has_bits being unused
22176 (void) cached_has_bits;
22177
22178 result_ = false;
22179 _has_bits_.Clear();
22180 _internal_metadata_.Clear();
22181}
22182
22183bool RestoreFailedStorageResponseProto::MergePartialFromCodedStream(
22184 ::google::protobuf::io::CodedInputStream* input) {
22185#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
22186 ::google::protobuf::uint32 tag;
22187 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RestoreFailedStorageResponseProto)
22188 for (;;) {
22189 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
22190 tag = p.first;
22191 if (!p.second) goto handle_unusual;
22192 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
22193 // required bool result = 1;
22194 case 1: {
22195 if (static_cast< ::google::protobuf::uint8>(tag) ==
22196 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
22197 set_has_result();
22198 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22199 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
22200 input, &result_)));
22201 } else {
22202 goto handle_unusual;
22203 }
22204 break;
22205 }
22206
22207 default: {
22208 handle_unusual:
22209 if (tag == 0) {
22210 goto success;
22211 }
22212 DO_(::google::protobuf::internal::WireFormat::SkipField(
22213 input, tag, _internal_metadata_.mutable_unknown_fields()));
22214 break;
22215 }
22216 }
22217 }
22218success:
22219 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RestoreFailedStorageResponseProto)
22220 return true;
22221failure:
22222 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RestoreFailedStorageResponseProto)
22223 return false;
22224#undef DO_
22225}
22226
22227void RestoreFailedStorageResponseProto::SerializeWithCachedSizes(
22228 ::google::protobuf::io::CodedOutputStream* output) const {
22229 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RestoreFailedStorageResponseProto)
22230 ::google::protobuf::uint32 cached_has_bits = 0;
22231 (void) cached_has_bits;
22232
22233 cached_has_bits = _has_bits_[0];
22234 // required bool result = 1;
22235 if (cached_has_bits & 0x00000001u) {
22236 ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->result(), output);
22237 }
22238
22239 if (_internal_metadata_.have_unknown_fields()) {
22240 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
22241 _internal_metadata_.unknown_fields(), output);
22242 }
22243 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RestoreFailedStorageResponseProto)
22244}
22245
22246::google::protobuf::uint8* RestoreFailedStorageResponseProto::InternalSerializeWithCachedSizesToArray(
22247 bool deterministic, ::google::protobuf::uint8* target) const {
22248 (void)deterministic; // Unused
22249 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RestoreFailedStorageResponseProto)
22250 ::google::protobuf::uint32 cached_has_bits = 0;
22251 (void) cached_has_bits;
22252
22253 cached_has_bits = _has_bits_[0];
22254 // required bool result = 1;
22255 if (cached_has_bits & 0x00000001u) {
22256 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->result(), target);
22257 }
22258
22259 if (_internal_metadata_.have_unknown_fields()) {
22260 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
22261 _internal_metadata_.unknown_fields(), target);
22262 }
22263 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RestoreFailedStorageResponseProto)
22264 return target;
22265}
22266
22267size_t RestoreFailedStorageResponseProto::ByteSizeLong() const {
22268// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RestoreFailedStorageResponseProto)
22269 size_t total_size = 0;
22270
22271 if (_internal_metadata_.have_unknown_fields()) {
22272 total_size +=
22273 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
22274 _internal_metadata_.unknown_fields());
22275 }
22276 // required bool result = 1;
22277 if (has_result()) {
22278 total_size += 1 + 1;
22279 }
22280 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
22281 SetCachedSize(cached_size);
22282 return total_size;
22283}
22284
22285void RestoreFailedStorageResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
22286// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RestoreFailedStorageResponseProto)
22287 GOOGLE_DCHECK_NE(&from, this);
22288 const RestoreFailedStorageResponseProto* source =
22289 ::google::protobuf::internal::DynamicCastToGenerated<const RestoreFailedStorageResponseProto>(
22290 &from);
22291 if (source == NULL) {
22292 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RestoreFailedStorageResponseProto)
22293 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
22294 } else {
22295 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RestoreFailedStorageResponseProto)
22296 MergeFrom(*source);
22297 }
22298}
22299
22300void RestoreFailedStorageResponseProto::MergeFrom(const RestoreFailedStorageResponseProto& from) {
22301// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RestoreFailedStorageResponseProto)
22302 GOOGLE_DCHECK_NE(&from, this);
22303 _internal_metadata_.MergeFrom(from._internal_metadata_);
22304 ::google::protobuf::uint32 cached_has_bits = 0;
22305 (void) cached_has_bits;
22306
22307 if (from.has_result()) {
22308 set_result(from.result());
22309 }
22310}
22311
22312void RestoreFailedStorageResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
22313// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RestoreFailedStorageResponseProto)
22314 if (&from == this) return;
22315 Clear();
22316 MergeFrom(from);
22317}
22318
22319void RestoreFailedStorageResponseProto::CopyFrom(const RestoreFailedStorageResponseProto& from) {
22320// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RestoreFailedStorageResponseProto)
22321 if (&from == this) return;
22322 Clear();
22323 MergeFrom(from);
22324}
22325
22326bool RestoreFailedStorageResponseProto::IsInitialized() const {
22327 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
22328 return true;
22329}
22330
22331void RestoreFailedStorageResponseProto::Swap(RestoreFailedStorageResponseProto* other) {
22332 if (other == this) return;
22333 InternalSwap(other);
22334}
22335void RestoreFailedStorageResponseProto::InternalSwap(RestoreFailedStorageResponseProto* other) {
22336 using std::swap;
22337 swap(result_, other->result_);
22338 swap(_has_bits_[0], other->_has_bits_[0]);
22339 _internal_metadata_.Swap(&other->_internal_metadata_);
22340}
22341
22342::google::protobuf::Metadata RestoreFailedStorageResponseProto::GetMetadata() const {
22343 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
22344 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
22345}
22346
22347
22348// ===================================================================
22349
22350void RefreshNodesRequestProto::InitAsDefaultInstance() {
22351}
22352#if !defined(_MSC_VER) || _MSC_VER >= 1900
22353#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
22354
22355RefreshNodesRequestProto::RefreshNodesRequestProto()
22356 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
22357 ::google::protobuf::internal::InitSCC(
22358 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RefreshNodesRequestProto.base);
22359 SharedCtor();
22360 // @@protoc_insertion_point(constructor:Hdfs.Internal.RefreshNodesRequestProto)
22361}
22362RefreshNodesRequestProto::RefreshNodesRequestProto(const RefreshNodesRequestProto& from)
22363 : ::google::protobuf::Message(),
22364 _internal_metadata_(NULL),
22365 _has_bits_(from._has_bits_) {
22366 _internal_metadata_.MergeFrom(from._internal_metadata_);
22367 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RefreshNodesRequestProto)
22368}
22369
22370void RefreshNodesRequestProto::SharedCtor() {
22371}
22372
22373RefreshNodesRequestProto::~RefreshNodesRequestProto() {
22374 // @@protoc_insertion_point(destructor:Hdfs.Internal.RefreshNodesRequestProto)
22375 SharedDtor();
22376}
22377
22378void RefreshNodesRequestProto::SharedDtor() {
22379}
22380
22381void RefreshNodesRequestProto::SetCachedSize(int size) const {
22382 _cached_size_.Set(size);
22383}
22384const ::google::protobuf::Descriptor* RefreshNodesRequestProto::descriptor() {
22385 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
22386 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
22387}
22388
22389const RefreshNodesRequestProto& RefreshNodesRequestProto::default_instance() {
22390 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RefreshNodesRequestProto.base);
22391 return *internal_default_instance();
22392}
22393
22394
22395void RefreshNodesRequestProto::Clear() {
22396// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RefreshNodesRequestProto)
22397 ::google::protobuf::uint32 cached_has_bits = 0;
22398 // Prevent compiler warnings about cached_has_bits being unused
22399 (void) cached_has_bits;
22400
22401 _has_bits_.Clear();
22402 _internal_metadata_.Clear();
22403}
22404
22405bool RefreshNodesRequestProto::MergePartialFromCodedStream(
22406 ::google::protobuf::io::CodedInputStream* input) {
22407#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
22408 ::google::protobuf::uint32 tag;
22409 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RefreshNodesRequestProto)
22410 for (;;) {
22411 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
22412 tag = p.first;
22413 if (!p.second) goto handle_unusual;
22414 handle_unusual:
22415 if (tag == 0) {
22416 goto success;
22417 }
22418 DO_(::google::protobuf::internal::WireFormat::SkipField(
22419 input, tag, _internal_metadata_.mutable_unknown_fields()));
22420 }
22421success:
22422 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RefreshNodesRequestProto)
22423 return true;
22424failure:
22425 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RefreshNodesRequestProto)
22426 return false;
22427#undef DO_
22428}
22429
22430void RefreshNodesRequestProto::SerializeWithCachedSizes(
22431 ::google::protobuf::io::CodedOutputStream* output) const {
22432 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RefreshNodesRequestProto)
22433 ::google::protobuf::uint32 cached_has_bits = 0;
22434 (void) cached_has_bits;
22435
22436 if (_internal_metadata_.have_unknown_fields()) {
22437 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
22438 _internal_metadata_.unknown_fields(), output);
22439 }
22440 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RefreshNodesRequestProto)
22441}
22442
22443::google::protobuf::uint8* RefreshNodesRequestProto::InternalSerializeWithCachedSizesToArray(
22444 bool deterministic, ::google::protobuf::uint8* target) const {
22445 (void)deterministic; // Unused
22446 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RefreshNodesRequestProto)
22447 ::google::protobuf::uint32 cached_has_bits = 0;
22448 (void) cached_has_bits;
22449
22450 if (_internal_metadata_.have_unknown_fields()) {
22451 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
22452 _internal_metadata_.unknown_fields(), target);
22453 }
22454 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RefreshNodesRequestProto)
22455 return target;
22456}
22457
22458size_t RefreshNodesRequestProto::ByteSizeLong() const {
22459// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RefreshNodesRequestProto)
22460 size_t total_size = 0;
22461
22462 if (_internal_metadata_.have_unknown_fields()) {
22463 total_size +=
22464 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
22465 _internal_metadata_.unknown_fields());
22466 }
22467 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
22468 SetCachedSize(cached_size);
22469 return total_size;
22470}
22471
22472void RefreshNodesRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
22473// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RefreshNodesRequestProto)
22474 GOOGLE_DCHECK_NE(&from, this);
22475 const RefreshNodesRequestProto* source =
22476 ::google::protobuf::internal::DynamicCastToGenerated<const RefreshNodesRequestProto>(
22477 &from);
22478 if (source == NULL) {
22479 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RefreshNodesRequestProto)
22480 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
22481 } else {
22482 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RefreshNodesRequestProto)
22483 MergeFrom(*source);
22484 }
22485}
22486
22487void RefreshNodesRequestProto::MergeFrom(const RefreshNodesRequestProto& from) {
22488// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RefreshNodesRequestProto)
22489 GOOGLE_DCHECK_NE(&from, this);
22490 _internal_metadata_.MergeFrom(from._internal_metadata_);
22491 ::google::protobuf::uint32 cached_has_bits = 0;
22492 (void) cached_has_bits;
22493
22494}
22495
22496void RefreshNodesRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
22497// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RefreshNodesRequestProto)
22498 if (&from == this) return;
22499 Clear();
22500 MergeFrom(from);
22501}
22502
22503void RefreshNodesRequestProto::CopyFrom(const RefreshNodesRequestProto& from) {
22504// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RefreshNodesRequestProto)
22505 if (&from == this) return;
22506 Clear();
22507 MergeFrom(from);
22508}
22509
22510bool RefreshNodesRequestProto::IsInitialized() const {
22511 return true;
22512}
22513
22514void RefreshNodesRequestProto::Swap(RefreshNodesRequestProto* other) {
22515 if (other == this) return;
22516 InternalSwap(other);
22517}
22518void RefreshNodesRequestProto::InternalSwap(RefreshNodesRequestProto* other) {
22519 using std::swap;
22520 swap(_has_bits_[0], other->_has_bits_[0]);
22521 _internal_metadata_.Swap(&other->_internal_metadata_);
22522}
22523
22524::google::protobuf::Metadata RefreshNodesRequestProto::GetMetadata() const {
22525 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
22526 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
22527}
22528
22529
22530// ===================================================================
22531
22532void RefreshNodesResponseProto::InitAsDefaultInstance() {
22533}
22534#if !defined(_MSC_VER) || _MSC_VER >= 1900
22535#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
22536
22537RefreshNodesResponseProto::RefreshNodesResponseProto()
22538 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
22539 ::google::protobuf::internal::InitSCC(
22540 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RefreshNodesResponseProto.base);
22541 SharedCtor();
22542 // @@protoc_insertion_point(constructor:Hdfs.Internal.RefreshNodesResponseProto)
22543}
22544RefreshNodesResponseProto::RefreshNodesResponseProto(const RefreshNodesResponseProto& from)
22545 : ::google::protobuf::Message(),
22546 _internal_metadata_(NULL),
22547 _has_bits_(from._has_bits_) {
22548 _internal_metadata_.MergeFrom(from._internal_metadata_);
22549 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RefreshNodesResponseProto)
22550}
22551
22552void RefreshNodesResponseProto::SharedCtor() {
22553}
22554
22555RefreshNodesResponseProto::~RefreshNodesResponseProto() {
22556 // @@protoc_insertion_point(destructor:Hdfs.Internal.RefreshNodesResponseProto)
22557 SharedDtor();
22558}
22559
22560void RefreshNodesResponseProto::SharedDtor() {
22561}
22562
22563void RefreshNodesResponseProto::SetCachedSize(int size) const {
22564 _cached_size_.Set(size);
22565}
22566const ::google::protobuf::Descriptor* RefreshNodesResponseProto::descriptor() {
22567 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
22568 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
22569}
22570
22571const RefreshNodesResponseProto& RefreshNodesResponseProto::default_instance() {
22572 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RefreshNodesResponseProto.base);
22573 return *internal_default_instance();
22574}
22575
22576
22577void RefreshNodesResponseProto::Clear() {
22578// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RefreshNodesResponseProto)
22579 ::google::protobuf::uint32 cached_has_bits = 0;
22580 // Prevent compiler warnings about cached_has_bits being unused
22581 (void) cached_has_bits;
22582
22583 _has_bits_.Clear();
22584 _internal_metadata_.Clear();
22585}
22586
22587bool RefreshNodesResponseProto::MergePartialFromCodedStream(
22588 ::google::protobuf::io::CodedInputStream* input) {
22589#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
22590 ::google::protobuf::uint32 tag;
22591 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RefreshNodesResponseProto)
22592 for (;;) {
22593 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
22594 tag = p.first;
22595 if (!p.second) goto handle_unusual;
22596 handle_unusual:
22597 if (tag == 0) {
22598 goto success;
22599 }
22600 DO_(::google::protobuf::internal::WireFormat::SkipField(
22601 input, tag, _internal_metadata_.mutable_unknown_fields()));
22602 }
22603success:
22604 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RefreshNodesResponseProto)
22605 return true;
22606failure:
22607 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RefreshNodesResponseProto)
22608 return false;
22609#undef DO_
22610}
22611
22612void RefreshNodesResponseProto::SerializeWithCachedSizes(
22613 ::google::protobuf::io::CodedOutputStream* output) const {
22614 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RefreshNodesResponseProto)
22615 ::google::protobuf::uint32 cached_has_bits = 0;
22616 (void) cached_has_bits;
22617
22618 if (_internal_metadata_.have_unknown_fields()) {
22619 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
22620 _internal_metadata_.unknown_fields(), output);
22621 }
22622 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RefreshNodesResponseProto)
22623}
22624
22625::google::protobuf::uint8* RefreshNodesResponseProto::InternalSerializeWithCachedSizesToArray(
22626 bool deterministic, ::google::protobuf::uint8* target) const {
22627 (void)deterministic; // Unused
22628 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RefreshNodesResponseProto)
22629 ::google::protobuf::uint32 cached_has_bits = 0;
22630 (void) cached_has_bits;
22631
22632 if (_internal_metadata_.have_unknown_fields()) {
22633 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
22634 _internal_metadata_.unknown_fields(), target);
22635 }
22636 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RefreshNodesResponseProto)
22637 return target;
22638}
22639
22640size_t RefreshNodesResponseProto::ByteSizeLong() const {
22641// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RefreshNodesResponseProto)
22642 size_t total_size = 0;
22643
22644 if (_internal_metadata_.have_unknown_fields()) {
22645 total_size +=
22646 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
22647 _internal_metadata_.unknown_fields());
22648 }
22649 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
22650 SetCachedSize(cached_size);
22651 return total_size;
22652}
22653
22654void RefreshNodesResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
22655// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RefreshNodesResponseProto)
22656 GOOGLE_DCHECK_NE(&from, this);
22657 const RefreshNodesResponseProto* source =
22658 ::google::protobuf::internal::DynamicCastToGenerated<const RefreshNodesResponseProto>(
22659 &from);
22660 if (source == NULL) {
22661 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RefreshNodesResponseProto)
22662 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
22663 } else {
22664 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RefreshNodesResponseProto)
22665 MergeFrom(*source);
22666 }
22667}
22668
22669void RefreshNodesResponseProto::MergeFrom(const RefreshNodesResponseProto& from) {
22670// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RefreshNodesResponseProto)
22671 GOOGLE_DCHECK_NE(&from, this);
22672 _internal_metadata_.MergeFrom(from._internal_metadata_);
22673 ::google::protobuf::uint32 cached_has_bits = 0;
22674 (void) cached_has_bits;
22675
22676}
22677
22678void RefreshNodesResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
22679// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RefreshNodesResponseProto)
22680 if (&from == this) return;
22681 Clear();
22682 MergeFrom(from);
22683}
22684
22685void RefreshNodesResponseProto::CopyFrom(const RefreshNodesResponseProto& from) {
22686// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RefreshNodesResponseProto)
22687 if (&from == this) return;
22688 Clear();
22689 MergeFrom(from);
22690}
22691
22692bool RefreshNodesResponseProto::IsInitialized() const {
22693 return true;
22694}
22695
22696void RefreshNodesResponseProto::Swap(RefreshNodesResponseProto* other) {
22697 if (other == this) return;
22698 InternalSwap(other);
22699}
22700void RefreshNodesResponseProto::InternalSwap(RefreshNodesResponseProto* other) {
22701 using std::swap;
22702 swap(_has_bits_[0], other->_has_bits_[0]);
22703 _internal_metadata_.Swap(&other->_internal_metadata_);
22704}
22705
22706::google::protobuf::Metadata RefreshNodesResponseProto::GetMetadata() const {
22707 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
22708 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
22709}
22710
22711
22712// ===================================================================
22713
22714void FinalizeUpgradeRequestProto::InitAsDefaultInstance() {
22715}
22716#if !defined(_MSC_VER) || _MSC_VER >= 1900
22717#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
22718
22719FinalizeUpgradeRequestProto::FinalizeUpgradeRequestProto()
22720 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
22721 ::google::protobuf::internal::InitSCC(
22722 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_FinalizeUpgradeRequestProto.base);
22723 SharedCtor();
22724 // @@protoc_insertion_point(constructor:Hdfs.Internal.FinalizeUpgradeRequestProto)
22725}
22726FinalizeUpgradeRequestProto::FinalizeUpgradeRequestProto(const FinalizeUpgradeRequestProto& from)
22727 : ::google::protobuf::Message(),
22728 _internal_metadata_(NULL),
22729 _has_bits_(from._has_bits_) {
22730 _internal_metadata_.MergeFrom(from._internal_metadata_);
22731 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.FinalizeUpgradeRequestProto)
22732}
22733
22734void FinalizeUpgradeRequestProto::SharedCtor() {
22735}
22736
22737FinalizeUpgradeRequestProto::~FinalizeUpgradeRequestProto() {
22738 // @@protoc_insertion_point(destructor:Hdfs.Internal.FinalizeUpgradeRequestProto)
22739 SharedDtor();
22740}
22741
22742void FinalizeUpgradeRequestProto::SharedDtor() {
22743}
22744
22745void FinalizeUpgradeRequestProto::SetCachedSize(int size) const {
22746 _cached_size_.Set(size);
22747}
22748const ::google::protobuf::Descriptor* FinalizeUpgradeRequestProto::descriptor() {
22749 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
22750 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
22751}
22752
22753const FinalizeUpgradeRequestProto& FinalizeUpgradeRequestProto::default_instance() {
22754 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_FinalizeUpgradeRequestProto.base);
22755 return *internal_default_instance();
22756}
22757
22758
22759void FinalizeUpgradeRequestProto::Clear() {
22760// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.FinalizeUpgradeRequestProto)
22761 ::google::protobuf::uint32 cached_has_bits = 0;
22762 // Prevent compiler warnings about cached_has_bits being unused
22763 (void) cached_has_bits;
22764
22765 _has_bits_.Clear();
22766 _internal_metadata_.Clear();
22767}
22768
22769bool FinalizeUpgradeRequestProto::MergePartialFromCodedStream(
22770 ::google::protobuf::io::CodedInputStream* input) {
22771#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
22772 ::google::protobuf::uint32 tag;
22773 // @@protoc_insertion_point(parse_start:Hdfs.Internal.FinalizeUpgradeRequestProto)
22774 for (;;) {
22775 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
22776 tag = p.first;
22777 if (!p.second) goto handle_unusual;
22778 handle_unusual:
22779 if (tag == 0) {
22780 goto success;
22781 }
22782 DO_(::google::protobuf::internal::WireFormat::SkipField(
22783 input, tag, _internal_metadata_.mutable_unknown_fields()));
22784 }
22785success:
22786 // @@protoc_insertion_point(parse_success:Hdfs.Internal.FinalizeUpgradeRequestProto)
22787 return true;
22788failure:
22789 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.FinalizeUpgradeRequestProto)
22790 return false;
22791#undef DO_
22792}
22793
22794void FinalizeUpgradeRequestProto::SerializeWithCachedSizes(
22795 ::google::protobuf::io::CodedOutputStream* output) const {
22796 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.FinalizeUpgradeRequestProto)
22797 ::google::protobuf::uint32 cached_has_bits = 0;
22798 (void) cached_has_bits;
22799
22800 if (_internal_metadata_.have_unknown_fields()) {
22801 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
22802 _internal_metadata_.unknown_fields(), output);
22803 }
22804 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.FinalizeUpgradeRequestProto)
22805}
22806
22807::google::protobuf::uint8* FinalizeUpgradeRequestProto::InternalSerializeWithCachedSizesToArray(
22808 bool deterministic, ::google::protobuf::uint8* target) const {
22809 (void)deterministic; // Unused
22810 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.FinalizeUpgradeRequestProto)
22811 ::google::protobuf::uint32 cached_has_bits = 0;
22812 (void) cached_has_bits;
22813
22814 if (_internal_metadata_.have_unknown_fields()) {
22815 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
22816 _internal_metadata_.unknown_fields(), target);
22817 }
22818 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.FinalizeUpgradeRequestProto)
22819 return target;
22820}
22821
22822size_t FinalizeUpgradeRequestProto::ByteSizeLong() const {
22823// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.FinalizeUpgradeRequestProto)
22824 size_t total_size = 0;
22825
22826 if (_internal_metadata_.have_unknown_fields()) {
22827 total_size +=
22828 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
22829 _internal_metadata_.unknown_fields());
22830 }
22831 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
22832 SetCachedSize(cached_size);
22833 return total_size;
22834}
22835
22836void FinalizeUpgradeRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
22837// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.FinalizeUpgradeRequestProto)
22838 GOOGLE_DCHECK_NE(&from, this);
22839 const FinalizeUpgradeRequestProto* source =
22840 ::google::protobuf::internal::DynamicCastToGenerated<const FinalizeUpgradeRequestProto>(
22841 &from);
22842 if (source == NULL) {
22843 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.FinalizeUpgradeRequestProto)
22844 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
22845 } else {
22846 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.FinalizeUpgradeRequestProto)
22847 MergeFrom(*source);
22848 }
22849}
22850
22851void FinalizeUpgradeRequestProto::MergeFrom(const FinalizeUpgradeRequestProto& from) {
22852// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.FinalizeUpgradeRequestProto)
22853 GOOGLE_DCHECK_NE(&from, this);
22854 _internal_metadata_.MergeFrom(from._internal_metadata_);
22855 ::google::protobuf::uint32 cached_has_bits = 0;
22856 (void) cached_has_bits;
22857
22858}
22859
22860void FinalizeUpgradeRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
22861// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.FinalizeUpgradeRequestProto)
22862 if (&from == this) return;
22863 Clear();
22864 MergeFrom(from);
22865}
22866
22867void FinalizeUpgradeRequestProto::CopyFrom(const FinalizeUpgradeRequestProto& from) {
22868// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.FinalizeUpgradeRequestProto)
22869 if (&from == this) return;
22870 Clear();
22871 MergeFrom(from);
22872}
22873
22874bool FinalizeUpgradeRequestProto::IsInitialized() const {
22875 return true;
22876}
22877
22878void FinalizeUpgradeRequestProto::Swap(FinalizeUpgradeRequestProto* other) {
22879 if (other == this) return;
22880 InternalSwap(other);
22881}
22882void FinalizeUpgradeRequestProto::InternalSwap(FinalizeUpgradeRequestProto* other) {
22883 using std::swap;
22884 swap(_has_bits_[0], other->_has_bits_[0]);
22885 _internal_metadata_.Swap(&other->_internal_metadata_);
22886}
22887
22888::google::protobuf::Metadata FinalizeUpgradeRequestProto::GetMetadata() const {
22889 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
22890 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
22891}
22892
22893
22894// ===================================================================
22895
22896void FinalizeUpgradeResponseProto::InitAsDefaultInstance() {
22897}
22898#if !defined(_MSC_VER) || _MSC_VER >= 1900
22899#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
22900
22901FinalizeUpgradeResponseProto::FinalizeUpgradeResponseProto()
22902 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
22903 ::google::protobuf::internal::InitSCC(
22904 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_FinalizeUpgradeResponseProto.base);
22905 SharedCtor();
22906 // @@protoc_insertion_point(constructor:Hdfs.Internal.FinalizeUpgradeResponseProto)
22907}
22908FinalizeUpgradeResponseProto::FinalizeUpgradeResponseProto(const FinalizeUpgradeResponseProto& from)
22909 : ::google::protobuf::Message(),
22910 _internal_metadata_(NULL),
22911 _has_bits_(from._has_bits_) {
22912 _internal_metadata_.MergeFrom(from._internal_metadata_);
22913 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.FinalizeUpgradeResponseProto)
22914}
22915
22916void FinalizeUpgradeResponseProto::SharedCtor() {
22917}
22918
22919FinalizeUpgradeResponseProto::~FinalizeUpgradeResponseProto() {
22920 // @@protoc_insertion_point(destructor:Hdfs.Internal.FinalizeUpgradeResponseProto)
22921 SharedDtor();
22922}
22923
22924void FinalizeUpgradeResponseProto::SharedDtor() {
22925}
22926
22927void FinalizeUpgradeResponseProto::SetCachedSize(int size) const {
22928 _cached_size_.Set(size);
22929}
22930const ::google::protobuf::Descriptor* FinalizeUpgradeResponseProto::descriptor() {
22931 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
22932 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
22933}
22934
22935const FinalizeUpgradeResponseProto& FinalizeUpgradeResponseProto::default_instance() {
22936 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_FinalizeUpgradeResponseProto.base);
22937 return *internal_default_instance();
22938}
22939
22940
22941void FinalizeUpgradeResponseProto::Clear() {
22942// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.FinalizeUpgradeResponseProto)
22943 ::google::protobuf::uint32 cached_has_bits = 0;
22944 // Prevent compiler warnings about cached_has_bits being unused
22945 (void) cached_has_bits;
22946
22947 _has_bits_.Clear();
22948 _internal_metadata_.Clear();
22949}
22950
22951bool FinalizeUpgradeResponseProto::MergePartialFromCodedStream(
22952 ::google::protobuf::io::CodedInputStream* input) {
22953#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
22954 ::google::protobuf::uint32 tag;
22955 // @@protoc_insertion_point(parse_start:Hdfs.Internal.FinalizeUpgradeResponseProto)
22956 for (;;) {
22957 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
22958 tag = p.first;
22959 if (!p.second) goto handle_unusual;
22960 handle_unusual:
22961 if (tag == 0) {
22962 goto success;
22963 }
22964 DO_(::google::protobuf::internal::WireFormat::SkipField(
22965 input, tag, _internal_metadata_.mutable_unknown_fields()));
22966 }
22967success:
22968 // @@protoc_insertion_point(parse_success:Hdfs.Internal.FinalizeUpgradeResponseProto)
22969 return true;
22970failure:
22971 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.FinalizeUpgradeResponseProto)
22972 return false;
22973#undef DO_
22974}
22975
22976void FinalizeUpgradeResponseProto::SerializeWithCachedSizes(
22977 ::google::protobuf::io::CodedOutputStream* output) const {
22978 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.FinalizeUpgradeResponseProto)
22979 ::google::protobuf::uint32 cached_has_bits = 0;
22980 (void) cached_has_bits;
22981
22982 if (_internal_metadata_.have_unknown_fields()) {
22983 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
22984 _internal_metadata_.unknown_fields(), output);
22985 }
22986 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.FinalizeUpgradeResponseProto)
22987}
22988
22989::google::protobuf::uint8* FinalizeUpgradeResponseProto::InternalSerializeWithCachedSizesToArray(
22990 bool deterministic, ::google::protobuf::uint8* target) const {
22991 (void)deterministic; // Unused
22992 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.FinalizeUpgradeResponseProto)
22993 ::google::protobuf::uint32 cached_has_bits = 0;
22994 (void) cached_has_bits;
22995
22996 if (_internal_metadata_.have_unknown_fields()) {
22997 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
22998 _internal_metadata_.unknown_fields(), target);
22999 }
23000 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.FinalizeUpgradeResponseProto)
23001 return target;
23002}
23003
23004size_t FinalizeUpgradeResponseProto::ByteSizeLong() const {
23005// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.FinalizeUpgradeResponseProto)
23006 size_t total_size = 0;
23007
23008 if (_internal_metadata_.have_unknown_fields()) {
23009 total_size +=
23010 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
23011 _internal_metadata_.unknown_fields());
23012 }
23013 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
23014 SetCachedSize(cached_size);
23015 return total_size;
23016}
23017
23018void FinalizeUpgradeResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
23019// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.FinalizeUpgradeResponseProto)
23020 GOOGLE_DCHECK_NE(&from, this);
23021 const FinalizeUpgradeResponseProto* source =
23022 ::google::protobuf::internal::DynamicCastToGenerated<const FinalizeUpgradeResponseProto>(
23023 &from);
23024 if (source == NULL) {
23025 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.FinalizeUpgradeResponseProto)
23026 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
23027 } else {
23028 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.FinalizeUpgradeResponseProto)
23029 MergeFrom(*source);
23030 }
23031}
23032
23033void FinalizeUpgradeResponseProto::MergeFrom(const FinalizeUpgradeResponseProto& from) {
23034// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.FinalizeUpgradeResponseProto)
23035 GOOGLE_DCHECK_NE(&from, this);
23036 _internal_metadata_.MergeFrom(from._internal_metadata_);
23037 ::google::protobuf::uint32 cached_has_bits = 0;
23038 (void) cached_has_bits;
23039
23040}
23041
23042void FinalizeUpgradeResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
23043// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.FinalizeUpgradeResponseProto)
23044 if (&from == this) return;
23045 Clear();
23046 MergeFrom(from);
23047}
23048
23049void FinalizeUpgradeResponseProto::CopyFrom(const FinalizeUpgradeResponseProto& from) {
23050// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.FinalizeUpgradeResponseProto)
23051 if (&from == this) return;
23052 Clear();
23053 MergeFrom(from);
23054}
23055
23056bool FinalizeUpgradeResponseProto::IsInitialized() const {
23057 return true;
23058}
23059
23060void FinalizeUpgradeResponseProto::Swap(FinalizeUpgradeResponseProto* other) {
23061 if (other == this) return;
23062 InternalSwap(other);
23063}
23064void FinalizeUpgradeResponseProto::InternalSwap(FinalizeUpgradeResponseProto* other) {
23065 using std::swap;
23066 swap(_has_bits_[0], other->_has_bits_[0]);
23067 _internal_metadata_.Swap(&other->_internal_metadata_);
23068}
23069
23070::google::protobuf::Metadata FinalizeUpgradeResponseProto::GetMetadata() const {
23071 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
23072 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
23073}
23074
23075
23076// ===================================================================
23077
23078void ListCorruptFileBlocksRequestProto::InitAsDefaultInstance() {
23079}
23080#if !defined(_MSC_VER) || _MSC_VER >= 1900
23081const int ListCorruptFileBlocksRequestProto::kPathFieldNumber;
23082const int ListCorruptFileBlocksRequestProto::kCookieFieldNumber;
23083#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
23084
23085ListCorruptFileBlocksRequestProto::ListCorruptFileBlocksRequestProto()
23086 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
23087 ::google::protobuf::internal::InitSCC(
23088 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ListCorruptFileBlocksRequestProto.base);
23089 SharedCtor();
23090 // @@protoc_insertion_point(constructor:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23091}
23092ListCorruptFileBlocksRequestProto::ListCorruptFileBlocksRequestProto(const ListCorruptFileBlocksRequestProto& from)
23093 : ::google::protobuf::Message(),
23094 _internal_metadata_(NULL),
23095 _has_bits_(from._has_bits_) {
23096 _internal_metadata_.MergeFrom(from._internal_metadata_);
23097 path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23098 if (from.has_path()) {
23099 path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
23100 }
23101 cookie_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23102 if (from.has_cookie()) {
23103 cookie_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cookie_);
23104 }
23105 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23106}
23107
23108void ListCorruptFileBlocksRequestProto::SharedCtor() {
23109 path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23110 cookie_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23111}
23112
23113ListCorruptFileBlocksRequestProto::~ListCorruptFileBlocksRequestProto() {
23114 // @@protoc_insertion_point(destructor:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23115 SharedDtor();
23116}
23117
23118void ListCorruptFileBlocksRequestProto::SharedDtor() {
23119 path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23120 cookie_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23121}
23122
23123void ListCorruptFileBlocksRequestProto::SetCachedSize(int size) const {
23124 _cached_size_.Set(size);
23125}
23126const ::google::protobuf::Descriptor* ListCorruptFileBlocksRequestProto::descriptor() {
23127 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
23128 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
23129}
23130
23131const ListCorruptFileBlocksRequestProto& ListCorruptFileBlocksRequestProto::default_instance() {
23132 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ListCorruptFileBlocksRequestProto.base);
23133 return *internal_default_instance();
23134}
23135
23136
23137void ListCorruptFileBlocksRequestProto::Clear() {
23138// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23139 ::google::protobuf::uint32 cached_has_bits = 0;
23140 // Prevent compiler warnings about cached_has_bits being unused
23141 (void) cached_has_bits;
23142
23143 cached_has_bits = _has_bits_[0];
23144 if (cached_has_bits & 3u) {
23145 if (cached_has_bits & 0x00000001u) {
23146 path_.ClearNonDefaultToEmptyNoArena();
23147 }
23148 if (cached_has_bits & 0x00000002u) {
23149 cookie_.ClearNonDefaultToEmptyNoArena();
23150 }
23151 }
23152 _has_bits_.Clear();
23153 _internal_metadata_.Clear();
23154}
23155
23156bool ListCorruptFileBlocksRequestProto::MergePartialFromCodedStream(
23157 ::google::protobuf::io::CodedInputStream* input) {
23158#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
23159 ::google::protobuf::uint32 tag;
23160 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23161 for (;;) {
23162 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
23163 tag = p.first;
23164 if (!p.second) goto handle_unusual;
23165 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
23166 // required string path = 1;
23167 case 1: {
23168 if (static_cast< ::google::protobuf::uint8>(tag) ==
23169 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
23170 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
23171 input, this->mutable_path()));
23172 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23173 this->path().data(), static_cast<int>(this->path().length()),
23174 ::google::protobuf::internal::WireFormat::PARSE,
23175 "Hdfs.Internal.ListCorruptFileBlocksRequestProto.path");
23176 } else {
23177 goto handle_unusual;
23178 }
23179 break;
23180 }
23181
23182 // optional string cookie = 2;
23183 case 2: {
23184 if (static_cast< ::google::protobuf::uint8>(tag) ==
23185 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
23186 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
23187 input, this->mutable_cookie()));
23188 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23189 this->cookie().data(), static_cast<int>(this->cookie().length()),
23190 ::google::protobuf::internal::WireFormat::PARSE,
23191 "Hdfs.Internal.ListCorruptFileBlocksRequestProto.cookie");
23192 } else {
23193 goto handle_unusual;
23194 }
23195 break;
23196 }
23197
23198 default: {
23199 handle_unusual:
23200 if (tag == 0) {
23201 goto success;
23202 }
23203 DO_(::google::protobuf::internal::WireFormat::SkipField(
23204 input, tag, _internal_metadata_.mutable_unknown_fields()));
23205 break;
23206 }
23207 }
23208 }
23209success:
23210 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23211 return true;
23212failure:
23213 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23214 return false;
23215#undef DO_
23216}
23217
23218void ListCorruptFileBlocksRequestProto::SerializeWithCachedSizes(
23219 ::google::protobuf::io::CodedOutputStream* output) const {
23220 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23221 ::google::protobuf::uint32 cached_has_bits = 0;
23222 (void) cached_has_bits;
23223
23224 cached_has_bits = _has_bits_[0];
23225 // required string path = 1;
23226 if (cached_has_bits & 0x00000001u) {
23227 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23228 this->path().data(), static_cast<int>(this->path().length()),
23229 ::google::protobuf::internal::WireFormat::SERIALIZE,
23230 "Hdfs.Internal.ListCorruptFileBlocksRequestProto.path");
23231 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
23232 1, this->path(), output);
23233 }
23234
23235 // optional string cookie = 2;
23236 if (cached_has_bits & 0x00000002u) {
23237 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23238 this->cookie().data(), static_cast<int>(this->cookie().length()),
23239 ::google::protobuf::internal::WireFormat::SERIALIZE,
23240 "Hdfs.Internal.ListCorruptFileBlocksRequestProto.cookie");
23241 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
23242 2, this->cookie(), output);
23243 }
23244
23245 if (_internal_metadata_.have_unknown_fields()) {
23246 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
23247 _internal_metadata_.unknown_fields(), output);
23248 }
23249 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23250}
23251
23252::google::protobuf::uint8* ListCorruptFileBlocksRequestProto::InternalSerializeWithCachedSizesToArray(
23253 bool deterministic, ::google::protobuf::uint8* target) const {
23254 (void)deterministic; // Unused
23255 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23256 ::google::protobuf::uint32 cached_has_bits = 0;
23257 (void) cached_has_bits;
23258
23259 cached_has_bits = _has_bits_[0];
23260 // required string path = 1;
23261 if (cached_has_bits & 0x00000001u) {
23262 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23263 this->path().data(), static_cast<int>(this->path().length()),
23264 ::google::protobuf::internal::WireFormat::SERIALIZE,
23265 "Hdfs.Internal.ListCorruptFileBlocksRequestProto.path");
23266 target =
23267 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
23268 1, this->path(), target);
23269 }
23270
23271 // optional string cookie = 2;
23272 if (cached_has_bits & 0x00000002u) {
23273 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23274 this->cookie().data(), static_cast<int>(this->cookie().length()),
23275 ::google::protobuf::internal::WireFormat::SERIALIZE,
23276 "Hdfs.Internal.ListCorruptFileBlocksRequestProto.cookie");
23277 target =
23278 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
23279 2, this->cookie(), target);
23280 }
23281
23282 if (_internal_metadata_.have_unknown_fields()) {
23283 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
23284 _internal_metadata_.unknown_fields(), target);
23285 }
23286 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23287 return target;
23288}
23289
23290size_t ListCorruptFileBlocksRequestProto::ByteSizeLong() const {
23291// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23292 size_t total_size = 0;
23293
23294 if (_internal_metadata_.have_unknown_fields()) {
23295 total_size +=
23296 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
23297 _internal_metadata_.unknown_fields());
23298 }
23299 // required string path = 1;
23300 if (has_path()) {
23301 total_size += 1 +
23302 ::google::protobuf::internal::WireFormatLite::StringSize(
23303 this->path());
23304 }
23305 // optional string cookie = 2;
23306 if (has_cookie()) {
23307 total_size += 1 +
23308 ::google::protobuf::internal::WireFormatLite::StringSize(
23309 this->cookie());
23310 }
23311
23312 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
23313 SetCachedSize(cached_size);
23314 return total_size;
23315}
23316
23317void ListCorruptFileBlocksRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
23318// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23319 GOOGLE_DCHECK_NE(&from, this);
23320 const ListCorruptFileBlocksRequestProto* source =
23321 ::google::protobuf::internal::DynamicCastToGenerated<const ListCorruptFileBlocksRequestProto>(
23322 &from);
23323 if (source == NULL) {
23324 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23325 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
23326 } else {
23327 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23328 MergeFrom(*source);
23329 }
23330}
23331
23332void ListCorruptFileBlocksRequestProto::MergeFrom(const ListCorruptFileBlocksRequestProto& from) {
23333// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23334 GOOGLE_DCHECK_NE(&from, this);
23335 _internal_metadata_.MergeFrom(from._internal_metadata_);
23336 ::google::protobuf::uint32 cached_has_bits = 0;
23337 (void) cached_has_bits;
23338
23339 cached_has_bits = from._has_bits_[0];
23340 if (cached_has_bits & 3u) {
23341 if (cached_has_bits & 0x00000001u) {
23342 set_has_path();
23343 path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
23344 }
23345 if (cached_has_bits & 0x00000002u) {
23346 set_has_cookie();
23347 cookie_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cookie_);
23348 }
23349 }
23350}
23351
23352void ListCorruptFileBlocksRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
23353// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23354 if (&from == this) return;
23355 Clear();
23356 MergeFrom(from);
23357}
23358
23359void ListCorruptFileBlocksRequestProto::CopyFrom(const ListCorruptFileBlocksRequestProto& from) {
23360// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ListCorruptFileBlocksRequestProto)
23361 if (&from == this) return;
23362 Clear();
23363 MergeFrom(from);
23364}
23365
23366bool ListCorruptFileBlocksRequestProto::IsInitialized() const {
23367 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
23368 return true;
23369}
23370
23371void ListCorruptFileBlocksRequestProto::Swap(ListCorruptFileBlocksRequestProto* other) {
23372 if (other == this) return;
23373 InternalSwap(other);
23374}
23375void ListCorruptFileBlocksRequestProto::InternalSwap(ListCorruptFileBlocksRequestProto* other) {
23376 using std::swap;
23377 path_.Swap(&other->path_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
23378 GetArenaNoVirtual());
23379 cookie_.Swap(&other->cookie_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
23380 GetArenaNoVirtual());
23381 swap(_has_bits_[0], other->_has_bits_[0]);
23382 _internal_metadata_.Swap(&other->_internal_metadata_);
23383}
23384
23385::google::protobuf::Metadata ListCorruptFileBlocksRequestProto::GetMetadata() const {
23386 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
23387 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
23388}
23389
23390
23391// ===================================================================
23392
23393void ListCorruptFileBlocksResponseProto::InitAsDefaultInstance() {
23394 ::Hdfs::Internal::_ListCorruptFileBlocksResponseProto_default_instance_._instance.get_mutable()->corrupt_ = const_cast< ::Hdfs::Internal::CorruptFileBlocksProto*>(
23395 ::Hdfs::Internal::CorruptFileBlocksProto::internal_default_instance());
23396}
23397void ListCorruptFileBlocksResponseProto::clear_corrupt() {
23398 if (corrupt_ != NULL) corrupt_->Clear();
23399 clear_has_corrupt();
23400}
23401#if !defined(_MSC_VER) || _MSC_VER >= 1900
23402const int ListCorruptFileBlocksResponseProto::kCorruptFieldNumber;
23403#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
23404
23405ListCorruptFileBlocksResponseProto::ListCorruptFileBlocksResponseProto()
23406 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
23407 ::google::protobuf::internal::InitSCC(
23408 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ListCorruptFileBlocksResponseProto.base);
23409 SharedCtor();
23410 // @@protoc_insertion_point(constructor:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23411}
23412ListCorruptFileBlocksResponseProto::ListCorruptFileBlocksResponseProto(const ListCorruptFileBlocksResponseProto& from)
23413 : ::google::protobuf::Message(),
23414 _internal_metadata_(NULL),
23415 _has_bits_(from._has_bits_) {
23416 _internal_metadata_.MergeFrom(from._internal_metadata_);
23417 if (from.has_corrupt()) {
23418 corrupt_ = new ::Hdfs::Internal::CorruptFileBlocksProto(*from.corrupt_);
23419 } else {
23420 corrupt_ = NULL;
23421 }
23422 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23423}
23424
23425void ListCorruptFileBlocksResponseProto::SharedCtor() {
23426 corrupt_ = NULL;
23427}
23428
23429ListCorruptFileBlocksResponseProto::~ListCorruptFileBlocksResponseProto() {
23430 // @@protoc_insertion_point(destructor:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23431 SharedDtor();
23432}
23433
23434void ListCorruptFileBlocksResponseProto::SharedDtor() {
23435 if (this != internal_default_instance()) delete corrupt_;
23436}
23437
23438void ListCorruptFileBlocksResponseProto::SetCachedSize(int size) const {
23439 _cached_size_.Set(size);
23440}
23441const ::google::protobuf::Descriptor* ListCorruptFileBlocksResponseProto::descriptor() {
23442 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
23443 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
23444}
23445
23446const ListCorruptFileBlocksResponseProto& ListCorruptFileBlocksResponseProto::default_instance() {
23447 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ListCorruptFileBlocksResponseProto.base);
23448 return *internal_default_instance();
23449}
23450
23451
23452void ListCorruptFileBlocksResponseProto::Clear() {
23453// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23454 ::google::protobuf::uint32 cached_has_bits = 0;
23455 // Prevent compiler warnings about cached_has_bits being unused
23456 (void) cached_has_bits;
23457
23458 cached_has_bits = _has_bits_[0];
23459 if (cached_has_bits & 0x00000001u) {
23460 GOOGLE_DCHECK(corrupt_ != NULL);
23461 corrupt_->Clear();
23462 }
23463 _has_bits_.Clear();
23464 _internal_metadata_.Clear();
23465}
23466
23467bool ListCorruptFileBlocksResponseProto::MergePartialFromCodedStream(
23468 ::google::protobuf::io::CodedInputStream* input) {
23469#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
23470 ::google::protobuf::uint32 tag;
23471 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23472 for (;;) {
23473 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
23474 tag = p.first;
23475 if (!p.second) goto handle_unusual;
23476 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
23477 // required .Hdfs.Internal.CorruptFileBlocksProto corrupt = 1;
23478 case 1: {
23479 if (static_cast< ::google::protobuf::uint8>(tag) ==
23480 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
23481 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
23482 input, mutable_corrupt()));
23483 } else {
23484 goto handle_unusual;
23485 }
23486 break;
23487 }
23488
23489 default: {
23490 handle_unusual:
23491 if (tag == 0) {
23492 goto success;
23493 }
23494 DO_(::google::protobuf::internal::WireFormat::SkipField(
23495 input, tag, _internal_metadata_.mutable_unknown_fields()));
23496 break;
23497 }
23498 }
23499 }
23500success:
23501 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23502 return true;
23503failure:
23504 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23505 return false;
23506#undef DO_
23507}
23508
23509void ListCorruptFileBlocksResponseProto::SerializeWithCachedSizes(
23510 ::google::protobuf::io::CodedOutputStream* output) const {
23511 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23512 ::google::protobuf::uint32 cached_has_bits = 0;
23513 (void) cached_has_bits;
23514
23515 cached_has_bits = _has_bits_[0];
23516 // required .Hdfs.Internal.CorruptFileBlocksProto corrupt = 1;
23517 if (cached_has_bits & 0x00000001u) {
23518 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
23519 1, this->_internal_corrupt(), output);
23520 }
23521
23522 if (_internal_metadata_.have_unknown_fields()) {
23523 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
23524 _internal_metadata_.unknown_fields(), output);
23525 }
23526 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23527}
23528
23529::google::protobuf::uint8* ListCorruptFileBlocksResponseProto::InternalSerializeWithCachedSizesToArray(
23530 bool deterministic, ::google::protobuf::uint8* target) const {
23531 (void)deterministic; // Unused
23532 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23533 ::google::protobuf::uint32 cached_has_bits = 0;
23534 (void) cached_has_bits;
23535
23536 cached_has_bits = _has_bits_[0];
23537 // required .Hdfs.Internal.CorruptFileBlocksProto corrupt = 1;
23538 if (cached_has_bits & 0x00000001u) {
23539 target = ::google::protobuf::internal::WireFormatLite::
23540 InternalWriteMessageToArray(
23541 1, this->_internal_corrupt(), deterministic, target);
23542 }
23543
23544 if (_internal_metadata_.have_unknown_fields()) {
23545 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
23546 _internal_metadata_.unknown_fields(), target);
23547 }
23548 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23549 return target;
23550}
23551
23552size_t ListCorruptFileBlocksResponseProto::ByteSizeLong() const {
23553// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23554 size_t total_size = 0;
23555
23556 if (_internal_metadata_.have_unknown_fields()) {
23557 total_size +=
23558 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
23559 _internal_metadata_.unknown_fields());
23560 }
23561 // required .Hdfs.Internal.CorruptFileBlocksProto corrupt = 1;
23562 if (has_corrupt()) {
23563 total_size += 1 +
23564 ::google::protobuf::internal::WireFormatLite::MessageSize(
23565 *corrupt_);
23566 }
23567 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
23568 SetCachedSize(cached_size);
23569 return total_size;
23570}
23571
23572void ListCorruptFileBlocksResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
23573// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23574 GOOGLE_DCHECK_NE(&from, this);
23575 const ListCorruptFileBlocksResponseProto* source =
23576 ::google::protobuf::internal::DynamicCastToGenerated<const ListCorruptFileBlocksResponseProto>(
23577 &from);
23578 if (source == NULL) {
23579 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23580 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
23581 } else {
23582 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23583 MergeFrom(*source);
23584 }
23585}
23586
23587void ListCorruptFileBlocksResponseProto::MergeFrom(const ListCorruptFileBlocksResponseProto& from) {
23588// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23589 GOOGLE_DCHECK_NE(&from, this);
23590 _internal_metadata_.MergeFrom(from._internal_metadata_);
23591 ::google::protobuf::uint32 cached_has_bits = 0;
23592 (void) cached_has_bits;
23593
23594 if (from.has_corrupt()) {
23595 mutable_corrupt()->::Hdfs::Internal::CorruptFileBlocksProto::MergeFrom(from.corrupt());
23596 }
23597}
23598
23599void ListCorruptFileBlocksResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
23600// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23601 if (&from == this) return;
23602 Clear();
23603 MergeFrom(from);
23604}
23605
23606void ListCorruptFileBlocksResponseProto::CopyFrom(const ListCorruptFileBlocksResponseProto& from) {
23607// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ListCorruptFileBlocksResponseProto)
23608 if (&from == this) return;
23609 Clear();
23610 MergeFrom(from);
23611}
23612
23613bool ListCorruptFileBlocksResponseProto::IsInitialized() const {
23614 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
23615 if (has_corrupt()) {
23616 if (!this->corrupt_->IsInitialized()) return false;
23617 }
23618 return true;
23619}
23620
23621void ListCorruptFileBlocksResponseProto::Swap(ListCorruptFileBlocksResponseProto* other) {
23622 if (other == this) return;
23623 InternalSwap(other);
23624}
23625void ListCorruptFileBlocksResponseProto::InternalSwap(ListCorruptFileBlocksResponseProto* other) {
23626 using std::swap;
23627 swap(corrupt_, other->corrupt_);
23628 swap(_has_bits_[0], other->_has_bits_[0]);
23629 _internal_metadata_.Swap(&other->_internal_metadata_);
23630}
23631
23632::google::protobuf::Metadata ListCorruptFileBlocksResponseProto::GetMetadata() const {
23633 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
23634 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
23635}
23636
23637
23638// ===================================================================
23639
23640void MetaSaveRequestProto::InitAsDefaultInstance() {
23641}
23642#if !defined(_MSC_VER) || _MSC_VER >= 1900
23643const int MetaSaveRequestProto::kFilenameFieldNumber;
23644#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
23645
23646MetaSaveRequestProto::MetaSaveRequestProto()
23647 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
23648 ::google::protobuf::internal::InitSCC(
23649 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_MetaSaveRequestProto.base);
23650 SharedCtor();
23651 // @@protoc_insertion_point(constructor:Hdfs.Internal.MetaSaveRequestProto)
23652}
23653MetaSaveRequestProto::MetaSaveRequestProto(const MetaSaveRequestProto& from)
23654 : ::google::protobuf::Message(),
23655 _internal_metadata_(NULL),
23656 _has_bits_(from._has_bits_) {
23657 _internal_metadata_.MergeFrom(from._internal_metadata_);
23658 filename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23659 if (from.has_filename()) {
23660 filename_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filename_);
23661 }
23662 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.MetaSaveRequestProto)
23663}
23664
23665void MetaSaveRequestProto::SharedCtor() {
23666 filename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23667}
23668
23669MetaSaveRequestProto::~MetaSaveRequestProto() {
23670 // @@protoc_insertion_point(destructor:Hdfs.Internal.MetaSaveRequestProto)
23671 SharedDtor();
23672}
23673
23674void MetaSaveRequestProto::SharedDtor() {
23675 filename_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23676}
23677
23678void MetaSaveRequestProto::SetCachedSize(int size) const {
23679 _cached_size_.Set(size);
23680}
23681const ::google::protobuf::Descriptor* MetaSaveRequestProto::descriptor() {
23682 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
23683 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
23684}
23685
23686const MetaSaveRequestProto& MetaSaveRequestProto::default_instance() {
23687 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_MetaSaveRequestProto.base);
23688 return *internal_default_instance();
23689}
23690
23691
23692void MetaSaveRequestProto::Clear() {
23693// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.MetaSaveRequestProto)
23694 ::google::protobuf::uint32 cached_has_bits = 0;
23695 // Prevent compiler warnings about cached_has_bits being unused
23696 (void) cached_has_bits;
23697
23698 cached_has_bits = _has_bits_[0];
23699 if (cached_has_bits & 0x00000001u) {
23700 filename_.ClearNonDefaultToEmptyNoArena();
23701 }
23702 _has_bits_.Clear();
23703 _internal_metadata_.Clear();
23704}
23705
23706bool MetaSaveRequestProto::MergePartialFromCodedStream(
23707 ::google::protobuf::io::CodedInputStream* input) {
23708#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
23709 ::google::protobuf::uint32 tag;
23710 // @@protoc_insertion_point(parse_start:Hdfs.Internal.MetaSaveRequestProto)
23711 for (;;) {
23712 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
23713 tag = p.first;
23714 if (!p.second) goto handle_unusual;
23715 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
23716 // required string filename = 1;
23717 case 1: {
23718 if (static_cast< ::google::protobuf::uint8>(tag) ==
23719 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
23720 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
23721 input, this->mutable_filename()));
23722 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23723 this->filename().data(), static_cast<int>(this->filename().length()),
23724 ::google::protobuf::internal::WireFormat::PARSE,
23725 "Hdfs.Internal.MetaSaveRequestProto.filename");
23726 } else {
23727 goto handle_unusual;
23728 }
23729 break;
23730 }
23731
23732 default: {
23733 handle_unusual:
23734 if (tag == 0) {
23735 goto success;
23736 }
23737 DO_(::google::protobuf::internal::WireFormat::SkipField(
23738 input, tag, _internal_metadata_.mutable_unknown_fields()));
23739 break;
23740 }
23741 }
23742 }
23743success:
23744 // @@protoc_insertion_point(parse_success:Hdfs.Internal.MetaSaveRequestProto)
23745 return true;
23746failure:
23747 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.MetaSaveRequestProto)
23748 return false;
23749#undef DO_
23750}
23751
23752void MetaSaveRequestProto::SerializeWithCachedSizes(
23753 ::google::protobuf::io::CodedOutputStream* output) const {
23754 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.MetaSaveRequestProto)
23755 ::google::protobuf::uint32 cached_has_bits = 0;
23756 (void) cached_has_bits;
23757
23758 cached_has_bits = _has_bits_[0];
23759 // required string filename = 1;
23760 if (cached_has_bits & 0x00000001u) {
23761 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23762 this->filename().data(), static_cast<int>(this->filename().length()),
23763 ::google::protobuf::internal::WireFormat::SERIALIZE,
23764 "Hdfs.Internal.MetaSaveRequestProto.filename");
23765 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
23766 1, this->filename(), output);
23767 }
23768
23769 if (_internal_metadata_.have_unknown_fields()) {
23770 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
23771 _internal_metadata_.unknown_fields(), output);
23772 }
23773 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.MetaSaveRequestProto)
23774}
23775
23776::google::protobuf::uint8* MetaSaveRequestProto::InternalSerializeWithCachedSizesToArray(
23777 bool deterministic, ::google::protobuf::uint8* target) const {
23778 (void)deterministic; // Unused
23779 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.MetaSaveRequestProto)
23780 ::google::protobuf::uint32 cached_has_bits = 0;
23781 (void) cached_has_bits;
23782
23783 cached_has_bits = _has_bits_[0];
23784 // required string filename = 1;
23785 if (cached_has_bits & 0x00000001u) {
23786 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
23787 this->filename().data(), static_cast<int>(this->filename().length()),
23788 ::google::protobuf::internal::WireFormat::SERIALIZE,
23789 "Hdfs.Internal.MetaSaveRequestProto.filename");
23790 target =
23791 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
23792 1, this->filename(), target);
23793 }
23794
23795 if (_internal_metadata_.have_unknown_fields()) {
23796 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
23797 _internal_metadata_.unknown_fields(), target);
23798 }
23799 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.MetaSaveRequestProto)
23800 return target;
23801}
23802
23803size_t MetaSaveRequestProto::ByteSizeLong() const {
23804// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.MetaSaveRequestProto)
23805 size_t total_size = 0;
23806
23807 if (_internal_metadata_.have_unknown_fields()) {
23808 total_size +=
23809 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
23810 _internal_metadata_.unknown_fields());
23811 }
23812 // required string filename = 1;
23813 if (has_filename()) {
23814 total_size += 1 +
23815 ::google::protobuf::internal::WireFormatLite::StringSize(
23816 this->filename());
23817 }
23818 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
23819 SetCachedSize(cached_size);
23820 return total_size;
23821}
23822
23823void MetaSaveRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
23824// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.MetaSaveRequestProto)
23825 GOOGLE_DCHECK_NE(&from, this);
23826 const MetaSaveRequestProto* source =
23827 ::google::protobuf::internal::DynamicCastToGenerated<const MetaSaveRequestProto>(
23828 &from);
23829 if (source == NULL) {
23830 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.MetaSaveRequestProto)
23831 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
23832 } else {
23833 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.MetaSaveRequestProto)
23834 MergeFrom(*source);
23835 }
23836}
23837
23838void MetaSaveRequestProto::MergeFrom(const MetaSaveRequestProto& from) {
23839// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.MetaSaveRequestProto)
23840 GOOGLE_DCHECK_NE(&from, this);
23841 _internal_metadata_.MergeFrom(from._internal_metadata_);
23842 ::google::protobuf::uint32 cached_has_bits = 0;
23843 (void) cached_has_bits;
23844
23845 if (from.has_filename()) {
23846 set_has_filename();
23847 filename_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filename_);
23848 }
23849}
23850
23851void MetaSaveRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
23852// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.MetaSaveRequestProto)
23853 if (&from == this) return;
23854 Clear();
23855 MergeFrom(from);
23856}
23857
23858void MetaSaveRequestProto::CopyFrom(const MetaSaveRequestProto& from) {
23859// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.MetaSaveRequestProto)
23860 if (&from == this) return;
23861 Clear();
23862 MergeFrom(from);
23863}
23864
23865bool MetaSaveRequestProto::IsInitialized() const {
23866 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
23867 return true;
23868}
23869
23870void MetaSaveRequestProto::Swap(MetaSaveRequestProto* other) {
23871 if (other == this) return;
23872 InternalSwap(other);
23873}
23874void MetaSaveRequestProto::InternalSwap(MetaSaveRequestProto* other) {
23875 using std::swap;
23876 filename_.Swap(&other->filename_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
23877 GetArenaNoVirtual());
23878 swap(_has_bits_[0], other->_has_bits_[0]);
23879 _internal_metadata_.Swap(&other->_internal_metadata_);
23880}
23881
23882::google::protobuf::Metadata MetaSaveRequestProto::GetMetadata() const {
23883 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
23884 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
23885}
23886
23887
23888// ===================================================================
23889
23890void MetaSaveResponseProto::InitAsDefaultInstance() {
23891}
23892#if !defined(_MSC_VER) || _MSC_VER >= 1900
23893#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
23894
23895MetaSaveResponseProto::MetaSaveResponseProto()
23896 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
23897 ::google::protobuf::internal::InitSCC(
23898 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_MetaSaveResponseProto.base);
23899 SharedCtor();
23900 // @@protoc_insertion_point(constructor:Hdfs.Internal.MetaSaveResponseProto)
23901}
23902MetaSaveResponseProto::MetaSaveResponseProto(const MetaSaveResponseProto& from)
23903 : ::google::protobuf::Message(),
23904 _internal_metadata_(NULL),
23905 _has_bits_(from._has_bits_) {
23906 _internal_metadata_.MergeFrom(from._internal_metadata_);
23907 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.MetaSaveResponseProto)
23908}
23909
23910void MetaSaveResponseProto::SharedCtor() {
23911}
23912
23913MetaSaveResponseProto::~MetaSaveResponseProto() {
23914 // @@protoc_insertion_point(destructor:Hdfs.Internal.MetaSaveResponseProto)
23915 SharedDtor();
23916}
23917
23918void MetaSaveResponseProto::SharedDtor() {
23919}
23920
23921void MetaSaveResponseProto::SetCachedSize(int size) const {
23922 _cached_size_.Set(size);
23923}
23924const ::google::protobuf::Descriptor* MetaSaveResponseProto::descriptor() {
23925 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
23926 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
23927}
23928
23929const MetaSaveResponseProto& MetaSaveResponseProto::default_instance() {
23930 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_MetaSaveResponseProto.base);
23931 return *internal_default_instance();
23932}
23933
23934
23935void MetaSaveResponseProto::Clear() {
23936// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.MetaSaveResponseProto)
23937 ::google::protobuf::uint32 cached_has_bits = 0;
23938 // Prevent compiler warnings about cached_has_bits being unused
23939 (void) cached_has_bits;
23940
23941 _has_bits_.Clear();
23942 _internal_metadata_.Clear();
23943}
23944
23945bool MetaSaveResponseProto::MergePartialFromCodedStream(
23946 ::google::protobuf::io::CodedInputStream* input) {
23947#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
23948 ::google::protobuf::uint32 tag;
23949 // @@protoc_insertion_point(parse_start:Hdfs.Internal.MetaSaveResponseProto)
23950 for (;;) {
23951 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
23952 tag = p.first;
23953 if (!p.second) goto handle_unusual;
23954 handle_unusual:
23955 if (tag == 0) {
23956 goto success;
23957 }
23958 DO_(::google::protobuf::internal::WireFormat::SkipField(
23959 input, tag, _internal_metadata_.mutable_unknown_fields()));
23960 }
23961success:
23962 // @@protoc_insertion_point(parse_success:Hdfs.Internal.MetaSaveResponseProto)
23963 return true;
23964failure:
23965 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.MetaSaveResponseProto)
23966 return false;
23967#undef DO_
23968}
23969
23970void MetaSaveResponseProto::SerializeWithCachedSizes(
23971 ::google::protobuf::io::CodedOutputStream* output) const {
23972 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.MetaSaveResponseProto)
23973 ::google::protobuf::uint32 cached_has_bits = 0;
23974 (void) cached_has_bits;
23975
23976 if (_internal_metadata_.have_unknown_fields()) {
23977 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
23978 _internal_metadata_.unknown_fields(), output);
23979 }
23980 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.MetaSaveResponseProto)
23981}
23982
23983::google::protobuf::uint8* MetaSaveResponseProto::InternalSerializeWithCachedSizesToArray(
23984 bool deterministic, ::google::protobuf::uint8* target) const {
23985 (void)deterministic; // Unused
23986 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.MetaSaveResponseProto)
23987 ::google::protobuf::uint32 cached_has_bits = 0;
23988 (void) cached_has_bits;
23989
23990 if (_internal_metadata_.have_unknown_fields()) {
23991 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
23992 _internal_metadata_.unknown_fields(), target);
23993 }
23994 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.MetaSaveResponseProto)
23995 return target;
23996}
23997
23998size_t MetaSaveResponseProto::ByteSizeLong() const {
23999// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.MetaSaveResponseProto)
24000 size_t total_size = 0;
24001
24002 if (_internal_metadata_.have_unknown_fields()) {
24003 total_size +=
24004 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
24005 _internal_metadata_.unknown_fields());
24006 }
24007 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
24008 SetCachedSize(cached_size);
24009 return total_size;
24010}
24011
24012void MetaSaveResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
24013// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.MetaSaveResponseProto)
24014 GOOGLE_DCHECK_NE(&from, this);
24015 const MetaSaveResponseProto* source =
24016 ::google::protobuf::internal::DynamicCastToGenerated<const MetaSaveResponseProto>(
24017 &from);
24018 if (source == NULL) {
24019 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.MetaSaveResponseProto)
24020 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
24021 } else {
24022 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.MetaSaveResponseProto)
24023 MergeFrom(*source);
24024 }
24025}
24026
24027void MetaSaveResponseProto::MergeFrom(const MetaSaveResponseProto& from) {
24028// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.MetaSaveResponseProto)
24029 GOOGLE_DCHECK_NE(&from, this);
24030 _internal_metadata_.MergeFrom(from._internal_metadata_);
24031 ::google::protobuf::uint32 cached_has_bits = 0;
24032 (void) cached_has_bits;
24033
24034}
24035
24036void MetaSaveResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
24037// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.MetaSaveResponseProto)
24038 if (&from == this) return;
24039 Clear();
24040 MergeFrom(from);
24041}
24042
24043void MetaSaveResponseProto::CopyFrom(const MetaSaveResponseProto& from) {
24044// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.MetaSaveResponseProto)
24045 if (&from == this) return;
24046 Clear();
24047 MergeFrom(from);
24048}
24049
24050bool MetaSaveResponseProto::IsInitialized() const {
24051 return true;
24052}
24053
24054void MetaSaveResponseProto::Swap(MetaSaveResponseProto* other) {
24055 if (other == this) return;
24056 InternalSwap(other);
24057}
24058void MetaSaveResponseProto::InternalSwap(MetaSaveResponseProto* other) {
24059 using std::swap;
24060 swap(_has_bits_[0], other->_has_bits_[0]);
24061 _internal_metadata_.Swap(&other->_internal_metadata_);
24062}
24063
24064::google::protobuf::Metadata MetaSaveResponseProto::GetMetadata() const {
24065 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
24066 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
24067}
24068
24069
24070// ===================================================================
24071
24072void GetFileInfoRequestProto::InitAsDefaultInstance() {
24073}
24074#if !defined(_MSC_VER) || _MSC_VER >= 1900
24075const int GetFileInfoRequestProto::kSrcFieldNumber;
24076#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
24077
24078GetFileInfoRequestProto::GetFileInfoRequestProto()
24079 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
24080 ::google::protobuf::internal::InitSCC(
24081 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetFileInfoRequestProto.base);
24082 SharedCtor();
24083 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetFileInfoRequestProto)
24084}
24085GetFileInfoRequestProto::GetFileInfoRequestProto(const GetFileInfoRequestProto& from)
24086 : ::google::protobuf::Message(),
24087 _internal_metadata_(NULL),
24088 _has_bits_(from._has_bits_) {
24089 _internal_metadata_.MergeFrom(from._internal_metadata_);
24090 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24091 if (from.has_src()) {
24092 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
24093 }
24094 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetFileInfoRequestProto)
24095}
24096
24097void GetFileInfoRequestProto::SharedCtor() {
24098 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24099}
24100
24101GetFileInfoRequestProto::~GetFileInfoRequestProto() {
24102 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetFileInfoRequestProto)
24103 SharedDtor();
24104}
24105
24106void GetFileInfoRequestProto::SharedDtor() {
24107 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24108}
24109
24110void GetFileInfoRequestProto::SetCachedSize(int size) const {
24111 _cached_size_.Set(size);
24112}
24113const ::google::protobuf::Descriptor* GetFileInfoRequestProto::descriptor() {
24114 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
24115 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
24116}
24117
24118const GetFileInfoRequestProto& GetFileInfoRequestProto::default_instance() {
24119 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetFileInfoRequestProto.base);
24120 return *internal_default_instance();
24121}
24122
24123
24124void GetFileInfoRequestProto::Clear() {
24125// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetFileInfoRequestProto)
24126 ::google::protobuf::uint32 cached_has_bits = 0;
24127 // Prevent compiler warnings about cached_has_bits being unused
24128 (void) cached_has_bits;
24129
24130 cached_has_bits = _has_bits_[0];
24131 if (cached_has_bits & 0x00000001u) {
24132 src_.ClearNonDefaultToEmptyNoArena();
24133 }
24134 _has_bits_.Clear();
24135 _internal_metadata_.Clear();
24136}
24137
24138bool GetFileInfoRequestProto::MergePartialFromCodedStream(
24139 ::google::protobuf::io::CodedInputStream* input) {
24140#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
24141 ::google::protobuf::uint32 tag;
24142 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetFileInfoRequestProto)
24143 for (;;) {
24144 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
24145 tag = p.first;
24146 if (!p.second) goto handle_unusual;
24147 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24148 // required string src = 1;
24149 case 1: {
24150 if (static_cast< ::google::protobuf::uint8>(tag) ==
24151 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
24152 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
24153 input, this->mutable_src()));
24154 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
24155 this->src().data(), static_cast<int>(this->src().length()),
24156 ::google::protobuf::internal::WireFormat::PARSE,
24157 "Hdfs.Internal.GetFileInfoRequestProto.src");
24158 } else {
24159 goto handle_unusual;
24160 }
24161 break;
24162 }
24163
24164 default: {
24165 handle_unusual:
24166 if (tag == 0) {
24167 goto success;
24168 }
24169 DO_(::google::protobuf::internal::WireFormat::SkipField(
24170 input, tag, _internal_metadata_.mutable_unknown_fields()));
24171 break;
24172 }
24173 }
24174 }
24175success:
24176 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetFileInfoRequestProto)
24177 return true;
24178failure:
24179 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetFileInfoRequestProto)
24180 return false;
24181#undef DO_
24182}
24183
24184void GetFileInfoRequestProto::SerializeWithCachedSizes(
24185 ::google::protobuf::io::CodedOutputStream* output) const {
24186 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetFileInfoRequestProto)
24187 ::google::protobuf::uint32 cached_has_bits = 0;
24188 (void) cached_has_bits;
24189
24190 cached_has_bits = _has_bits_[0];
24191 // required string src = 1;
24192 if (cached_has_bits & 0x00000001u) {
24193 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
24194 this->src().data(), static_cast<int>(this->src().length()),
24195 ::google::protobuf::internal::WireFormat::SERIALIZE,
24196 "Hdfs.Internal.GetFileInfoRequestProto.src");
24197 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
24198 1, this->src(), output);
24199 }
24200
24201 if (_internal_metadata_.have_unknown_fields()) {
24202 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
24203 _internal_metadata_.unknown_fields(), output);
24204 }
24205 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetFileInfoRequestProto)
24206}
24207
24208::google::protobuf::uint8* GetFileInfoRequestProto::InternalSerializeWithCachedSizesToArray(
24209 bool deterministic, ::google::protobuf::uint8* target) const {
24210 (void)deterministic; // Unused
24211 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetFileInfoRequestProto)
24212 ::google::protobuf::uint32 cached_has_bits = 0;
24213 (void) cached_has_bits;
24214
24215 cached_has_bits = _has_bits_[0];
24216 // required string src = 1;
24217 if (cached_has_bits & 0x00000001u) {
24218 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
24219 this->src().data(), static_cast<int>(this->src().length()),
24220 ::google::protobuf::internal::WireFormat::SERIALIZE,
24221 "Hdfs.Internal.GetFileInfoRequestProto.src");
24222 target =
24223 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
24224 1, this->src(), target);
24225 }
24226
24227 if (_internal_metadata_.have_unknown_fields()) {
24228 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
24229 _internal_metadata_.unknown_fields(), target);
24230 }
24231 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetFileInfoRequestProto)
24232 return target;
24233}
24234
24235size_t GetFileInfoRequestProto::ByteSizeLong() const {
24236// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetFileInfoRequestProto)
24237 size_t total_size = 0;
24238
24239 if (_internal_metadata_.have_unknown_fields()) {
24240 total_size +=
24241 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
24242 _internal_metadata_.unknown_fields());
24243 }
24244 // required string src = 1;
24245 if (has_src()) {
24246 total_size += 1 +
24247 ::google::protobuf::internal::WireFormatLite::StringSize(
24248 this->src());
24249 }
24250 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
24251 SetCachedSize(cached_size);
24252 return total_size;
24253}
24254
24255void GetFileInfoRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
24256// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetFileInfoRequestProto)
24257 GOOGLE_DCHECK_NE(&from, this);
24258 const GetFileInfoRequestProto* source =
24259 ::google::protobuf::internal::DynamicCastToGenerated<const GetFileInfoRequestProto>(
24260 &from);
24261 if (source == NULL) {
24262 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetFileInfoRequestProto)
24263 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
24264 } else {
24265 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetFileInfoRequestProto)
24266 MergeFrom(*source);
24267 }
24268}
24269
24270void GetFileInfoRequestProto::MergeFrom(const GetFileInfoRequestProto& from) {
24271// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetFileInfoRequestProto)
24272 GOOGLE_DCHECK_NE(&from, this);
24273 _internal_metadata_.MergeFrom(from._internal_metadata_);
24274 ::google::protobuf::uint32 cached_has_bits = 0;
24275 (void) cached_has_bits;
24276
24277 if (from.has_src()) {
24278 set_has_src();
24279 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
24280 }
24281}
24282
24283void GetFileInfoRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
24284// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetFileInfoRequestProto)
24285 if (&from == this) return;
24286 Clear();
24287 MergeFrom(from);
24288}
24289
24290void GetFileInfoRequestProto::CopyFrom(const GetFileInfoRequestProto& from) {
24291// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetFileInfoRequestProto)
24292 if (&from == this) return;
24293 Clear();
24294 MergeFrom(from);
24295}
24296
24297bool GetFileInfoRequestProto::IsInitialized() const {
24298 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
24299 return true;
24300}
24301
24302void GetFileInfoRequestProto::Swap(GetFileInfoRequestProto* other) {
24303 if (other == this) return;
24304 InternalSwap(other);
24305}
24306void GetFileInfoRequestProto::InternalSwap(GetFileInfoRequestProto* other) {
24307 using std::swap;
24308 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
24309 GetArenaNoVirtual());
24310 swap(_has_bits_[0], other->_has_bits_[0]);
24311 _internal_metadata_.Swap(&other->_internal_metadata_);
24312}
24313
24314::google::protobuf::Metadata GetFileInfoRequestProto::GetMetadata() const {
24315 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
24316 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
24317}
24318
24319
24320// ===================================================================
24321
24322void GetFileInfoResponseProto::InitAsDefaultInstance() {
24323 ::Hdfs::Internal::_GetFileInfoResponseProto_default_instance_._instance.get_mutable()->fs_ = const_cast< ::Hdfs::Internal::HdfsFileStatusProto*>(
24324 ::Hdfs::Internal::HdfsFileStatusProto::internal_default_instance());
24325}
24326void GetFileInfoResponseProto::clear_fs() {
24327 if (fs_ != NULL) fs_->Clear();
24328 clear_has_fs();
24329}
24330#if !defined(_MSC_VER) || _MSC_VER >= 1900
24331const int GetFileInfoResponseProto::kFsFieldNumber;
24332#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
24333
24334GetFileInfoResponseProto::GetFileInfoResponseProto()
24335 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
24336 ::google::protobuf::internal::InitSCC(
24337 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetFileInfoResponseProto.base);
24338 SharedCtor();
24339 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetFileInfoResponseProto)
24340}
24341GetFileInfoResponseProto::GetFileInfoResponseProto(const GetFileInfoResponseProto& from)
24342 : ::google::protobuf::Message(),
24343 _internal_metadata_(NULL),
24344 _has_bits_(from._has_bits_) {
24345 _internal_metadata_.MergeFrom(from._internal_metadata_);
24346 if (from.has_fs()) {
24347 fs_ = new ::Hdfs::Internal::HdfsFileStatusProto(*from.fs_);
24348 } else {
24349 fs_ = NULL;
24350 }
24351 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetFileInfoResponseProto)
24352}
24353
24354void GetFileInfoResponseProto::SharedCtor() {
24355 fs_ = NULL;
24356}
24357
24358GetFileInfoResponseProto::~GetFileInfoResponseProto() {
24359 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetFileInfoResponseProto)
24360 SharedDtor();
24361}
24362
24363void GetFileInfoResponseProto::SharedDtor() {
24364 if (this != internal_default_instance()) delete fs_;
24365}
24366
24367void GetFileInfoResponseProto::SetCachedSize(int size) const {
24368 _cached_size_.Set(size);
24369}
24370const ::google::protobuf::Descriptor* GetFileInfoResponseProto::descriptor() {
24371 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
24372 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
24373}
24374
24375const GetFileInfoResponseProto& GetFileInfoResponseProto::default_instance() {
24376 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetFileInfoResponseProto.base);
24377 return *internal_default_instance();
24378}
24379
24380
24381void GetFileInfoResponseProto::Clear() {
24382// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetFileInfoResponseProto)
24383 ::google::protobuf::uint32 cached_has_bits = 0;
24384 // Prevent compiler warnings about cached_has_bits being unused
24385 (void) cached_has_bits;
24386
24387 cached_has_bits = _has_bits_[0];
24388 if (cached_has_bits & 0x00000001u) {
24389 GOOGLE_DCHECK(fs_ != NULL);
24390 fs_->Clear();
24391 }
24392 _has_bits_.Clear();
24393 _internal_metadata_.Clear();
24394}
24395
24396bool GetFileInfoResponseProto::MergePartialFromCodedStream(
24397 ::google::protobuf::io::CodedInputStream* input) {
24398#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
24399 ::google::protobuf::uint32 tag;
24400 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetFileInfoResponseProto)
24401 for (;;) {
24402 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
24403 tag = p.first;
24404 if (!p.second) goto handle_unusual;
24405 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24406 // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1;
24407 case 1: {
24408 if (static_cast< ::google::protobuf::uint8>(tag) ==
24409 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
24410 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
24411 input, mutable_fs()));
24412 } else {
24413 goto handle_unusual;
24414 }
24415 break;
24416 }
24417
24418 default: {
24419 handle_unusual:
24420 if (tag == 0) {
24421 goto success;
24422 }
24423 DO_(::google::protobuf::internal::WireFormat::SkipField(
24424 input, tag, _internal_metadata_.mutable_unknown_fields()));
24425 break;
24426 }
24427 }
24428 }
24429success:
24430 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetFileInfoResponseProto)
24431 return true;
24432failure:
24433 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetFileInfoResponseProto)
24434 return false;
24435#undef DO_
24436}
24437
24438void GetFileInfoResponseProto::SerializeWithCachedSizes(
24439 ::google::protobuf::io::CodedOutputStream* output) const {
24440 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetFileInfoResponseProto)
24441 ::google::protobuf::uint32 cached_has_bits = 0;
24442 (void) cached_has_bits;
24443
24444 cached_has_bits = _has_bits_[0];
24445 // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1;
24446 if (cached_has_bits & 0x00000001u) {
24447 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
24448 1, this->_internal_fs(), output);
24449 }
24450
24451 if (_internal_metadata_.have_unknown_fields()) {
24452 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
24453 _internal_metadata_.unknown_fields(), output);
24454 }
24455 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetFileInfoResponseProto)
24456}
24457
24458::google::protobuf::uint8* GetFileInfoResponseProto::InternalSerializeWithCachedSizesToArray(
24459 bool deterministic, ::google::protobuf::uint8* target) const {
24460 (void)deterministic; // Unused
24461 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetFileInfoResponseProto)
24462 ::google::protobuf::uint32 cached_has_bits = 0;
24463 (void) cached_has_bits;
24464
24465 cached_has_bits = _has_bits_[0];
24466 // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1;
24467 if (cached_has_bits & 0x00000001u) {
24468 target = ::google::protobuf::internal::WireFormatLite::
24469 InternalWriteMessageToArray(
24470 1, this->_internal_fs(), deterministic, target);
24471 }
24472
24473 if (_internal_metadata_.have_unknown_fields()) {
24474 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
24475 _internal_metadata_.unknown_fields(), target);
24476 }
24477 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetFileInfoResponseProto)
24478 return target;
24479}
24480
24481size_t GetFileInfoResponseProto::ByteSizeLong() const {
24482// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetFileInfoResponseProto)
24483 size_t total_size = 0;
24484
24485 if (_internal_metadata_.have_unknown_fields()) {
24486 total_size +=
24487 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
24488 _internal_metadata_.unknown_fields());
24489 }
24490 // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1;
24491 if (has_fs()) {
24492 total_size += 1 +
24493 ::google::protobuf::internal::WireFormatLite::MessageSize(
24494 *fs_);
24495 }
24496
24497 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
24498 SetCachedSize(cached_size);
24499 return total_size;
24500}
24501
24502void GetFileInfoResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
24503// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetFileInfoResponseProto)
24504 GOOGLE_DCHECK_NE(&from, this);
24505 const GetFileInfoResponseProto* source =
24506 ::google::protobuf::internal::DynamicCastToGenerated<const GetFileInfoResponseProto>(
24507 &from);
24508 if (source == NULL) {
24509 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetFileInfoResponseProto)
24510 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
24511 } else {
24512 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetFileInfoResponseProto)
24513 MergeFrom(*source);
24514 }
24515}
24516
24517void GetFileInfoResponseProto::MergeFrom(const GetFileInfoResponseProto& from) {
24518// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetFileInfoResponseProto)
24519 GOOGLE_DCHECK_NE(&from, this);
24520 _internal_metadata_.MergeFrom(from._internal_metadata_);
24521 ::google::protobuf::uint32 cached_has_bits = 0;
24522 (void) cached_has_bits;
24523
24524 if (from.has_fs()) {
24525 mutable_fs()->::Hdfs::Internal::HdfsFileStatusProto::MergeFrom(from.fs());
24526 }
24527}
24528
24529void GetFileInfoResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
24530// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetFileInfoResponseProto)
24531 if (&from == this) return;
24532 Clear();
24533 MergeFrom(from);
24534}
24535
24536void GetFileInfoResponseProto::CopyFrom(const GetFileInfoResponseProto& from) {
24537// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetFileInfoResponseProto)
24538 if (&from == this) return;
24539 Clear();
24540 MergeFrom(from);
24541}
24542
24543bool GetFileInfoResponseProto::IsInitialized() const {
24544 if (has_fs()) {
24545 if (!this->fs_->IsInitialized()) return false;
24546 }
24547 return true;
24548}
24549
24550void GetFileInfoResponseProto::Swap(GetFileInfoResponseProto* other) {
24551 if (other == this) return;
24552 InternalSwap(other);
24553}
24554void GetFileInfoResponseProto::InternalSwap(GetFileInfoResponseProto* other) {
24555 using std::swap;
24556 swap(fs_, other->fs_);
24557 swap(_has_bits_[0], other->_has_bits_[0]);
24558 _internal_metadata_.Swap(&other->_internal_metadata_);
24559}
24560
24561::google::protobuf::Metadata GetFileInfoResponseProto::GetMetadata() const {
24562 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
24563 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
24564}
24565
24566
24567// ===================================================================
24568
24569void IsFileClosedRequestProto::InitAsDefaultInstance() {
24570}
24571#if !defined(_MSC_VER) || _MSC_VER >= 1900
24572const int IsFileClosedRequestProto::kSrcFieldNumber;
24573#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
24574
24575IsFileClosedRequestProto::IsFileClosedRequestProto()
24576 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
24577 ::google::protobuf::internal::InitSCC(
24578 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_IsFileClosedRequestProto.base);
24579 SharedCtor();
24580 // @@protoc_insertion_point(constructor:Hdfs.Internal.IsFileClosedRequestProto)
24581}
24582IsFileClosedRequestProto::IsFileClosedRequestProto(const IsFileClosedRequestProto& from)
24583 : ::google::protobuf::Message(),
24584 _internal_metadata_(NULL),
24585 _has_bits_(from._has_bits_) {
24586 _internal_metadata_.MergeFrom(from._internal_metadata_);
24587 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24588 if (from.has_src()) {
24589 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
24590 }
24591 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.IsFileClosedRequestProto)
24592}
24593
24594void IsFileClosedRequestProto::SharedCtor() {
24595 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24596}
24597
24598IsFileClosedRequestProto::~IsFileClosedRequestProto() {
24599 // @@protoc_insertion_point(destructor:Hdfs.Internal.IsFileClosedRequestProto)
24600 SharedDtor();
24601}
24602
24603void IsFileClosedRequestProto::SharedDtor() {
24604 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24605}
24606
24607void IsFileClosedRequestProto::SetCachedSize(int size) const {
24608 _cached_size_.Set(size);
24609}
24610const ::google::protobuf::Descriptor* IsFileClosedRequestProto::descriptor() {
24611 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
24612 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
24613}
24614
24615const IsFileClosedRequestProto& IsFileClosedRequestProto::default_instance() {
24616 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_IsFileClosedRequestProto.base);
24617 return *internal_default_instance();
24618}
24619
24620
24621void IsFileClosedRequestProto::Clear() {
24622// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.IsFileClosedRequestProto)
24623 ::google::protobuf::uint32 cached_has_bits = 0;
24624 // Prevent compiler warnings about cached_has_bits being unused
24625 (void) cached_has_bits;
24626
24627 cached_has_bits = _has_bits_[0];
24628 if (cached_has_bits & 0x00000001u) {
24629 src_.ClearNonDefaultToEmptyNoArena();
24630 }
24631 _has_bits_.Clear();
24632 _internal_metadata_.Clear();
24633}
24634
24635bool IsFileClosedRequestProto::MergePartialFromCodedStream(
24636 ::google::protobuf::io::CodedInputStream* input) {
24637#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
24638 ::google::protobuf::uint32 tag;
24639 // @@protoc_insertion_point(parse_start:Hdfs.Internal.IsFileClosedRequestProto)
24640 for (;;) {
24641 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
24642 tag = p.first;
24643 if (!p.second) goto handle_unusual;
24644 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24645 // required string src = 1;
24646 case 1: {
24647 if (static_cast< ::google::protobuf::uint8>(tag) ==
24648 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
24649 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
24650 input, this->mutable_src()));
24651 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
24652 this->src().data(), static_cast<int>(this->src().length()),
24653 ::google::protobuf::internal::WireFormat::PARSE,
24654 "Hdfs.Internal.IsFileClosedRequestProto.src");
24655 } else {
24656 goto handle_unusual;
24657 }
24658 break;
24659 }
24660
24661 default: {
24662 handle_unusual:
24663 if (tag == 0) {
24664 goto success;
24665 }
24666 DO_(::google::protobuf::internal::WireFormat::SkipField(
24667 input, tag, _internal_metadata_.mutable_unknown_fields()));
24668 break;
24669 }
24670 }
24671 }
24672success:
24673 // @@protoc_insertion_point(parse_success:Hdfs.Internal.IsFileClosedRequestProto)
24674 return true;
24675failure:
24676 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.IsFileClosedRequestProto)
24677 return false;
24678#undef DO_
24679}
24680
24681void IsFileClosedRequestProto::SerializeWithCachedSizes(
24682 ::google::protobuf::io::CodedOutputStream* output) const {
24683 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.IsFileClosedRequestProto)
24684 ::google::protobuf::uint32 cached_has_bits = 0;
24685 (void) cached_has_bits;
24686
24687 cached_has_bits = _has_bits_[0];
24688 // required string src = 1;
24689 if (cached_has_bits & 0x00000001u) {
24690 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
24691 this->src().data(), static_cast<int>(this->src().length()),
24692 ::google::protobuf::internal::WireFormat::SERIALIZE,
24693 "Hdfs.Internal.IsFileClosedRequestProto.src");
24694 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
24695 1, this->src(), output);
24696 }
24697
24698 if (_internal_metadata_.have_unknown_fields()) {
24699 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
24700 _internal_metadata_.unknown_fields(), output);
24701 }
24702 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.IsFileClosedRequestProto)
24703}
24704
24705::google::protobuf::uint8* IsFileClosedRequestProto::InternalSerializeWithCachedSizesToArray(
24706 bool deterministic, ::google::protobuf::uint8* target) const {
24707 (void)deterministic; // Unused
24708 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.IsFileClosedRequestProto)
24709 ::google::protobuf::uint32 cached_has_bits = 0;
24710 (void) cached_has_bits;
24711
24712 cached_has_bits = _has_bits_[0];
24713 // required string src = 1;
24714 if (cached_has_bits & 0x00000001u) {
24715 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
24716 this->src().data(), static_cast<int>(this->src().length()),
24717 ::google::protobuf::internal::WireFormat::SERIALIZE,
24718 "Hdfs.Internal.IsFileClosedRequestProto.src");
24719 target =
24720 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
24721 1, this->src(), target);
24722 }
24723
24724 if (_internal_metadata_.have_unknown_fields()) {
24725 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
24726 _internal_metadata_.unknown_fields(), target);
24727 }
24728 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.IsFileClosedRequestProto)
24729 return target;
24730}
24731
24732size_t IsFileClosedRequestProto::ByteSizeLong() const {
24733// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.IsFileClosedRequestProto)
24734 size_t total_size = 0;
24735
24736 if (_internal_metadata_.have_unknown_fields()) {
24737 total_size +=
24738 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
24739 _internal_metadata_.unknown_fields());
24740 }
24741 // required string src = 1;
24742 if (has_src()) {
24743 total_size += 1 +
24744 ::google::protobuf::internal::WireFormatLite::StringSize(
24745 this->src());
24746 }
24747 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
24748 SetCachedSize(cached_size);
24749 return total_size;
24750}
24751
24752void IsFileClosedRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
24753// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.IsFileClosedRequestProto)
24754 GOOGLE_DCHECK_NE(&from, this);
24755 const IsFileClosedRequestProto* source =
24756 ::google::protobuf::internal::DynamicCastToGenerated<const IsFileClosedRequestProto>(
24757 &from);
24758 if (source == NULL) {
24759 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.IsFileClosedRequestProto)
24760 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
24761 } else {
24762 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.IsFileClosedRequestProto)
24763 MergeFrom(*source);
24764 }
24765}
24766
24767void IsFileClosedRequestProto::MergeFrom(const IsFileClosedRequestProto& from) {
24768// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.IsFileClosedRequestProto)
24769 GOOGLE_DCHECK_NE(&from, this);
24770 _internal_metadata_.MergeFrom(from._internal_metadata_);
24771 ::google::protobuf::uint32 cached_has_bits = 0;
24772 (void) cached_has_bits;
24773
24774 if (from.has_src()) {
24775 set_has_src();
24776 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
24777 }
24778}
24779
24780void IsFileClosedRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
24781// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.IsFileClosedRequestProto)
24782 if (&from == this) return;
24783 Clear();
24784 MergeFrom(from);
24785}
24786
24787void IsFileClosedRequestProto::CopyFrom(const IsFileClosedRequestProto& from) {
24788// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.IsFileClosedRequestProto)
24789 if (&from == this) return;
24790 Clear();
24791 MergeFrom(from);
24792}
24793
24794bool IsFileClosedRequestProto::IsInitialized() const {
24795 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
24796 return true;
24797}
24798
24799void IsFileClosedRequestProto::Swap(IsFileClosedRequestProto* other) {
24800 if (other == this) return;
24801 InternalSwap(other);
24802}
24803void IsFileClosedRequestProto::InternalSwap(IsFileClosedRequestProto* other) {
24804 using std::swap;
24805 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
24806 GetArenaNoVirtual());
24807 swap(_has_bits_[0], other->_has_bits_[0]);
24808 _internal_metadata_.Swap(&other->_internal_metadata_);
24809}
24810
24811::google::protobuf::Metadata IsFileClosedRequestProto::GetMetadata() const {
24812 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
24813 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
24814}
24815
24816
24817// ===================================================================
24818
24819void IsFileClosedResponseProto::InitAsDefaultInstance() {
24820}
24821#if !defined(_MSC_VER) || _MSC_VER >= 1900
24822const int IsFileClosedResponseProto::kResultFieldNumber;
24823#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
24824
24825IsFileClosedResponseProto::IsFileClosedResponseProto()
24826 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
24827 ::google::protobuf::internal::InitSCC(
24828 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_IsFileClosedResponseProto.base);
24829 SharedCtor();
24830 // @@protoc_insertion_point(constructor:Hdfs.Internal.IsFileClosedResponseProto)
24831}
24832IsFileClosedResponseProto::IsFileClosedResponseProto(const IsFileClosedResponseProto& from)
24833 : ::google::protobuf::Message(),
24834 _internal_metadata_(NULL),
24835 _has_bits_(from._has_bits_) {
24836 _internal_metadata_.MergeFrom(from._internal_metadata_);
24837 result_ = from.result_;
24838 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.IsFileClosedResponseProto)
24839}
24840
24841void IsFileClosedResponseProto::SharedCtor() {
24842 result_ = false;
24843}
24844
24845IsFileClosedResponseProto::~IsFileClosedResponseProto() {
24846 // @@protoc_insertion_point(destructor:Hdfs.Internal.IsFileClosedResponseProto)
24847 SharedDtor();
24848}
24849
24850void IsFileClosedResponseProto::SharedDtor() {
24851}
24852
24853void IsFileClosedResponseProto::SetCachedSize(int size) const {
24854 _cached_size_.Set(size);
24855}
24856const ::google::protobuf::Descriptor* IsFileClosedResponseProto::descriptor() {
24857 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
24858 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
24859}
24860
24861const IsFileClosedResponseProto& IsFileClosedResponseProto::default_instance() {
24862 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_IsFileClosedResponseProto.base);
24863 return *internal_default_instance();
24864}
24865
24866
24867void IsFileClosedResponseProto::Clear() {
24868// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.IsFileClosedResponseProto)
24869 ::google::protobuf::uint32 cached_has_bits = 0;
24870 // Prevent compiler warnings about cached_has_bits being unused
24871 (void) cached_has_bits;
24872
24873 result_ = false;
24874 _has_bits_.Clear();
24875 _internal_metadata_.Clear();
24876}
24877
24878bool IsFileClosedResponseProto::MergePartialFromCodedStream(
24879 ::google::protobuf::io::CodedInputStream* input) {
24880#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
24881 ::google::protobuf::uint32 tag;
24882 // @@protoc_insertion_point(parse_start:Hdfs.Internal.IsFileClosedResponseProto)
24883 for (;;) {
24884 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
24885 tag = p.first;
24886 if (!p.second) goto handle_unusual;
24887 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24888 // required bool result = 1;
24889 case 1: {
24890 if (static_cast< ::google::protobuf::uint8>(tag) ==
24891 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
24892 set_has_result();
24893 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
24894 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
24895 input, &result_)));
24896 } else {
24897 goto handle_unusual;
24898 }
24899 break;
24900 }
24901
24902 default: {
24903 handle_unusual:
24904 if (tag == 0) {
24905 goto success;
24906 }
24907 DO_(::google::protobuf::internal::WireFormat::SkipField(
24908 input, tag, _internal_metadata_.mutable_unknown_fields()));
24909 break;
24910 }
24911 }
24912 }
24913success:
24914 // @@protoc_insertion_point(parse_success:Hdfs.Internal.IsFileClosedResponseProto)
24915 return true;
24916failure:
24917 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.IsFileClosedResponseProto)
24918 return false;
24919#undef DO_
24920}
24921
24922void IsFileClosedResponseProto::SerializeWithCachedSizes(
24923 ::google::protobuf::io::CodedOutputStream* output) const {
24924 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.IsFileClosedResponseProto)
24925 ::google::protobuf::uint32 cached_has_bits = 0;
24926 (void) cached_has_bits;
24927
24928 cached_has_bits = _has_bits_[0];
24929 // required bool result = 1;
24930 if (cached_has_bits & 0x00000001u) {
24931 ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->result(), output);
24932 }
24933
24934 if (_internal_metadata_.have_unknown_fields()) {
24935 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
24936 _internal_metadata_.unknown_fields(), output);
24937 }
24938 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.IsFileClosedResponseProto)
24939}
24940
24941::google::protobuf::uint8* IsFileClosedResponseProto::InternalSerializeWithCachedSizesToArray(
24942 bool deterministic, ::google::protobuf::uint8* target) const {
24943 (void)deterministic; // Unused
24944 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.IsFileClosedResponseProto)
24945 ::google::protobuf::uint32 cached_has_bits = 0;
24946 (void) cached_has_bits;
24947
24948 cached_has_bits = _has_bits_[0];
24949 // required bool result = 1;
24950 if (cached_has_bits & 0x00000001u) {
24951 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->result(), target);
24952 }
24953
24954 if (_internal_metadata_.have_unknown_fields()) {
24955 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
24956 _internal_metadata_.unknown_fields(), target);
24957 }
24958 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.IsFileClosedResponseProto)
24959 return target;
24960}
24961
24962size_t IsFileClosedResponseProto::ByteSizeLong() const {
24963// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.IsFileClosedResponseProto)
24964 size_t total_size = 0;
24965
24966 if (_internal_metadata_.have_unknown_fields()) {
24967 total_size +=
24968 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
24969 _internal_metadata_.unknown_fields());
24970 }
24971 // required bool result = 1;
24972 if (has_result()) {
24973 total_size += 1 + 1;
24974 }
24975 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
24976 SetCachedSize(cached_size);
24977 return total_size;
24978}
24979
24980void IsFileClosedResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
24981// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.IsFileClosedResponseProto)
24982 GOOGLE_DCHECK_NE(&from, this);
24983 const IsFileClosedResponseProto* source =
24984 ::google::protobuf::internal::DynamicCastToGenerated<const IsFileClosedResponseProto>(
24985 &from);
24986 if (source == NULL) {
24987 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.IsFileClosedResponseProto)
24988 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
24989 } else {
24990 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.IsFileClosedResponseProto)
24991 MergeFrom(*source);
24992 }
24993}
24994
24995void IsFileClosedResponseProto::MergeFrom(const IsFileClosedResponseProto& from) {
24996// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.IsFileClosedResponseProto)
24997 GOOGLE_DCHECK_NE(&from, this);
24998 _internal_metadata_.MergeFrom(from._internal_metadata_);
24999 ::google::protobuf::uint32 cached_has_bits = 0;
25000 (void) cached_has_bits;
25001
25002 if (from.has_result()) {
25003 set_result(from.result());
25004 }
25005}
25006
25007void IsFileClosedResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
25008// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.IsFileClosedResponseProto)
25009 if (&from == this) return;
25010 Clear();
25011 MergeFrom(from);
25012}
25013
25014void IsFileClosedResponseProto::CopyFrom(const IsFileClosedResponseProto& from) {
25015// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.IsFileClosedResponseProto)
25016 if (&from == this) return;
25017 Clear();
25018 MergeFrom(from);
25019}
25020
25021bool IsFileClosedResponseProto::IsInitialized() const {
25022 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
25023 return true;
25024}
25025
25026void IsFileClosedResponseProto::Swap(IsFileClosedResponseProto* other) {
25027 if (other == this) return;
25028 InternalSwap(other);
25029}
25030void IsFileClosedResponseProto::InternalSwap(IsFileClosedResponseProto* other) {
25031 using std::swap;
25032 swap(result_, other->result_);
25033 swap(_has_bits_[0], other->_has_bits_[0]);
25034 _internal_metadata_.Swap(&other->_internal_metadata_);
25035}
25036
25037::google::protobuf::Metadata IsFileClosedResponseProto::GetMetadata() const {
25038 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
25039 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
25040}
25041
25042
25043// ===================================================================
25044
25045void CacheDirectiveInfoProto::InitAsDefaultInstance() {
25046 ::Hdfs::Internal::_CacheDirectiveInfoProto_default_instance_._instance.get_mutable()->expiration_ = const_cast< ::Hdfs::Internal::CacheDirectiveInfoExpirationProto*>(
25047 ::Hdfs::Internal::CacheDirectiveInfoExpirationProto::internal_default_instance());
25048}
25049#if !defined(_MSC_VER) || _MSC_VER >= 1900
25050const int CacheDirectiveInfoProto::kIdFieldNumber;
25051const int CacheDirectiveInfoProto::kPathFieldNumber;
25052const int CacheDirectiveInfoProto::kReplicationFieldNumber;
25053const int CacheDirectiveInfoProto::kPoolFieldNumber;
25054const int CacheDirectiveInfoProto::kExpirationFieldNumber;
25055#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
25056
25057CacheDirectiveInfoProto::CacheDirectiveInfoProto()
25058 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
25059 ::google::protobuf::internal::InitSCC(
25060 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveInfoProto.base);
25061 SharedCtor();
25062 // @@protoc_insertion_point(constructor:Hdfs.Internal.CacheDirectiveInfoProto)
25063}
25064CacheDirectiveInfoProto::CacheDirectiveInfoProto(const CacheDirectiveInfoProto& from)
25065 : ::google::protobuf::Message(),
25066 _internal_metadata_(NULL),
25067 _has_bits_(from._has_bits_) {
25068 _internal_metadata_.MergeFrom(from._internal_metadata_);
25069 path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25070 if (from.has_path()) {
25071 path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
25072 }
25073 pool_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25074 if (from.has_pool()) {
25075 pool_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.pool_);
25076 }
25077 if (from.has_expiration()) {
25078 expiration_ = new ::Hdfs::Internal::CacheDirectiveInfoExpirationProto(*from.expiration_);
25079 } else {
25080 expiration_ = NULL;
25081 }
25082 ::memcpy(&id_, &from.id_,
25083 static_cast<size_t>(reinterpret_cast<char*>(&replication_) -
25084 reinterpret_cast<char*>(&id_)) + sizeof(replication_));
25085 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CacheDirectiveInfoProto)
25086}
25087
25088void CacheDirectiveInfoProto::SharedCtor() {
25089 path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25090 pool_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25091 ::memset(&expiration_, 0, static_cast<size_t>(
25092 reinterpret_cast<char*>(&replication_) -
25093 reinterpret_cast<char*>(&expiration_)) + sizeof(replication_));
25094}
25095
25096CacheDirectiveInfoProto::~CacheDirectiveInfoProto() {
25097 // @@protoc_insertion_point(destructor:Hdfs.Internal.CacheDirectiveInfoProto)
25098 SharedDtor();
25099}
25100
25101void CacheDirectiveInfoProto::SharedDtor() {
25102 path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25103 pool_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25104 if (this != internal_default_instance()) delete expiration_;
25105}
25106
25107void CacheDirectiveInfoProto::SetCachedSize(int size) const {
25108 _cached_size_.Set(size);
25109}
25110const ::google::protobuf::Descriptor* CacheDirectiveInfoProto::descriptor() {
25111 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
25112 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
25113}
25114
25115const CacheDirectiveInfoProto& CacheDirectiveInfoProto::default_instance() {
25116 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveInfoProto.base);
25117 return *internal_default_instance();
25118}
25119
25120
25121void CacheDirectiveInfoProto::Clear() {
25122// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CacheDirectiveInfoProto)
25123 ::google::protobuf::uint32 cached_has_bits = 0;
25124 // Prevent compiler warnings about cached_has_bits being unused
25125 (void) cached_has_bits;
25126
25127 cached_has_bits = _has_bits_[0];
25128 if (cached_has_bits & 7u) {
25129 if (cached_has_bits & 0x00000001u) {
25130 path_.ClearNonDefaultToEmptyNoArena();
25131 }
25132 if (cached_has_bits & 0x00000002u) {
25133 pool_.ClearNonDefaultToEmptyNoArena();
25134 }
25135 if (cached_has_bits & 0x00000004u) {
25136 GOOGLE_DCHECK(expiration_ != NULL);
25137 expiration_->Clear();
25138 }
25139 }
25140 if (cached_has_bits & 24u) {
25141 ::memset(&id_, 0, static_cast<size_t>(
25142 reinterpret_cast<char*>(&replication_) -
25143 reinterpret_cast<char*>(&id_)) + sizeof(replication_));
25144 }
25145 _has_bits_.Clear();
25146 _internal_metadata_.Clear();
25147}
25148
25149bool CacheDirectiveInfoProto::MergePartialFromCodedStream(
25150 ::google::protobuf::io::CodedInputStream* input) {
25151#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
25152 ::google::protobuf::uint32 tag;
25153 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CacheDirectiveInfoProto)
25154 for (;;) {
25155 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
25156 tag = p.first;
25157 if (!p.second) goto handle_unusual;
25158 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
25159 // optional int64 id = 1;
25160 case 1: {
25161 if (static_cast< ::google::protobuf::uint8>(tag) ==
25162 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
25163 set_has_id();
25164 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
25165 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
25166 input, &id_)));
25167 } else {
25168 goto handle_unusual;
25169 }
25170 break;
25171 }
25172
25173 // optional string path = 2;
25174 case 2: {
25175 if (static_cast< ::google::protobuf::uint8>(tag) ==
25176 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
25177 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
25178 input, this->mutable_path()));
25179 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
25180 this->path().data(), static_cast<int>(this->path().length()),
25181 ::google::protobuf::internal::WireFormat::PARSE,
25182 "Hdfs.Internal.CacheDirectiveInfoProto.path");
25183 } else {
25184 goto handle_unusual;
25185 }
25186 break;
25187 }
25188
25189 // optional uint32 replication = 3;
25190 case 3: {
25191 if (static_cast< ::google::protobuf::uint8>(tag) ==
25192 static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
25193 set_has_replication();
25194 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
25195 ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
25196 input, &replication_)));
25197 } else {
25198 goto handle_unusual;
25199 }
25200 break;
25201 }
25202
25203 // optional string pool = 4;
25204 case 4: {
25205 if (static_cast< ::google::protobuf::uint8>(tag) ==
25206 static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
25207 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
25208 input, this->mutable_pool()));
25209 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
25210 this->pool().data(), static_cast<int>(this->pool().length()),
25211 ::google::protobuf::internal::WireFormat::PARSE,
25212 "Hdfs.Internal.CacheDirectiveInfoProto.pool");
25213 } else {
25214 goto handle_unusual;
25215 }
25216 break;
25217 }
25218
25219 // optional .Hdfs.Internal.CacheDirectiveInfoExpirationProto expiration = 5;
25220 case 5: {
25221 if (static_cast< ::google::protobuf::uint8>(tag) ==
25222 static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
25223 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
25224 input, mutable_expiration()));
25225 } else {
25226 goto handle_unusual;
25227 }
25228 break;
25229 }
25230
25231 default: {
25232 handle_unusual:
25233 if (tag == 0) {
25234 goto success;
25235 }
25236 DO_(::google::protobuf::internal::WireFormat::SkipField(
25237 input, tag, _internal_metadata_.mutable_unknown_fields()));
25238 break;
25239 }
25240 }
25241 }
25242success:
25243 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CacheDirectiveInfoProto)
25244 return true;
25245failure:
25246 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CacheDirectiveInfoProto)
25247 return false;
25248#undef DO_
25249}
25250
25251void CacheDirectiveInfoProto::SerializeWithCachedSizes(
25252 ::google::protobuf::io::CodedOutputStream* output) const {
25253 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CacheDirectiveInfoProto)
25254 ::google::protobuf::uint32 cached_has_bits = 0;
25255 (void) cached_has_bits;
25256
25257 cached_has_bits = _has_bits_[0];
25258 // optional int64 id = 1;
25259 if (cached_has_bits & 0x00000008u) {
25260 ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->id(), output);
25261 }
25262
25263 // optional string path = 2;
25264 if (cached_has_bits & 0x00000001u) {
25265 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
25266 this->path().data(), static_cast<int>(this->path().length()),
25267 ::google::protobuf::internal::WireFormat::SERIALIZE,
25268 "Hdfs.Internal.CacheDirectiveInfoProto.path");
25269 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
25270 2, this->path(), output);
25271 }
25272
25273 // optional uint32 replication = 3;
25274 if (cached_has_bits & 0x00000010u) {
25275 ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->replication(), output);
25276 }
25277
25278 // optional string pool = 4;
25279 if (cached_has_bits & 0x00000002u) {
25280 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
25281 this->pool().data(), static_cast<int>(this->pool().length()),
25282 ::google::protobuf::internal::WireFormat::SERIALIZE,
25283 "Hdfs.Internal.CacheDirectiveInfoProto.pool");
25284 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
25285 4, this->pool(), output);
25286 }
25287
25288 // optional .Hdfs.Internal.CacheDirectiveInfoExpirationProto expiration = 5;
25289 if (cached_has_bits & 0x00000004u) {
25290 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
25291 5, this->_internal_expiration(), output);
25292 }
25293
25294 if (_internal_metadata_.have_unknown_fields()) {
25295 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
25296 _internal_metadata_.unknown_fields(), output);
25297 }
25298 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CacheDirectiveInfoProto)
25299}
25300
25301::google::protobuf::uint8* CacheDirectiveInfoProto::InternalSerializeWithCachedSizesToArray(
25302 bool deterministic, ::google::protobuf::uint8* target) const {
25303 (void)deterministic; // Unused
25304 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CacheDirectiveInfoProto)
25305 ::google::protobuf::uint32 cached_has_bits = 0;
25306 (void) cached_has_bits;
25307
25308 cached_has_bits = _has_bits_[0];
25309 // optional int64 id = 1;
25310 if (cached_has_bits & 0x00000008u) {
25311 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->id(), target);
25312 }
25313
25314 // optional string path = 2;
25315 if (cached_has_bits & 0x00000001u) {
25316 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
25317 this->path().data(), static_cast<int>(this->path().length()),
25318 ::google::protobuf::internal::WireFormat::SERIALIZE,
25319 "Hdfs.Internal.CacheDirectiveInfoProto.path");
25320 target =
25321 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
25322 2, this->path(), target);
25323 }
25324
25325 // optional uint32 replication = 3;
25326 if (cached_has_bits & 0x00000010u) {
25327 target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->replication(), target);
25328 }
25329
25330 // optional string pool = 4;
25331 if (cached_has_bits & 0x00000002u) {
25332 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
25333 this->pool().data(), static_cast<int>(this->pool().length()),
25334 ::google::protobuf::internal::WireFormat::SERIALIZE,
25335 "Hdfs.Internal.CacheDirectiveInfoProto.pool");
25336 target =
25337 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
25338 4, this->pool(), target);
25339 }
25340
25341 // optional .Hdfs.Internal.CacheDirectiveInfoExpirationProto expiration = 5;
25342 if (cached_has_bits & 0x00000004u) {
25343 target = ::google::protobuf::internal::WireFormatLite::
25344 InternalWriteMessageToArray(
25345 5, this->_internal_expiration(), deterministic, target);
25346 }
25347
25348 if (_internal_metadata_.have_unknown_fields()) {
25349 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
25350 _internal_metadata_.unknown_fields(), target);
25351 }
25352 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CacheDirectiveInfoProto)
25353 return target;
25354}
25355
25356size_t CacheDirectiveInfoProto::ByteSizeLong() const {
25357// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CacheDirectiveInfoProto)
25358 size_t total_size = 0;
25359
25360 if (_internal_metadata_.have_unknown_fields()) {
25361 total_size +=
25362 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
25363 _internal_metadata_.unknown_fields());
25364 }
25365 if (_has_bits_[0 / 32] & 31u) {
25366 // optional string path = 2;
25367 if (has_path()) {
25368 total_size += 1 +
25369 ::google::protobuf::internal::WireFormatLite::StringSize(
25370 this->path());
25371 }
25372
25373 // optional string pool = 4;
25374 if (has_pool()) {
25375 total_size += 1 +
25376 ::google::protobuf::internal::WireFormatLite::StringSize(
25377 this->pool());
25378 }
25379
25380 // optional .Hdfs.Internal.CacheDirectiveInfoExpirationProto expiration = 5;
25381 if (has_expiration()) {
25382 total_size += 1 +
25383 ::google::protobuf::internal::WireFormatLite::MessageSize(
25384 *expiration_);
25385 }
25386
25387 // optional int64 id = 1;
25388 if (has_id()) {
25389 total_size += 1 +
25390 ::google::protobuf::internal::WireFormatLite::Int64Size(
25391 this->id());
25392 }
25393
25394 // optional uint32 replication = 3;
25395 if (has_replication()) {
25396 total_size += 1 +
25397 ::google::protobuf::internal::WireFormatLite::UInt32Size(
25398 this->replication());
25399 }
25400
25401 }
25402 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
25403 SetCachedSize(cached_size);
25404 return total_size;
25405}
25406
25407void CacheDirectiveInfoProto::MergeFrom(const ::google::protobuf::Message& from) {
25408// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CacheDirectiveInfoProto)
25409 GOOGLE_DCHECK_NE(&from, this);
25410 const CacheDirectiveInfoProto* source =
25411 ::google::protobuf::internal::DynamicCastToGenerated<const CacheDirectiveInfoProto>(
25412 &from);
25413 if (source == NULL) {
25414 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CacheDirectiveInfoProto)
25415 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
25416 } else {
25417 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CacheDirectiveInfoProto)
25418 MergeFrom(*source);
25419 }
25420}
25421
25422void CacheDirectiveInfoProto::MergeFrom(const CacheDirectiveInfoProto& from) {
25423// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CacheDirectiveInfoProto)
25424 GOOGLE_DCHECK_NE(&from, this);
25425 _internal_metadata_.MergeFrom(from._internal_metadata_);
25426 ::google::protobuf::uint32 cached_has_bits = 0;
25427 (void) cached_has_bits;
25428
25429 cached_has_bits = from._has_bits_[0];
25430 if (cached_has_bits & 31u) {
25431 if (cached_has_bits & 0x00000001u) {
25432 set_has_path();
25433 path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
25434 }
25435 if (cached_has_bits & 0x00000002u) {
25436 set_has_pool();
25437 pool_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.pool_);
25438 }
25439 if (cached_has_bits & 0x00000004u) {
25440 mutable_expiration()->::Hdfs::Internal::CacheDirectiveInfoExpirationProto::MergeFrom(from.expiration());
25441 }
25442 if (cached_has_bits & 0x00000008u) {
25443 id_ = from.id_;
25444 }
25445 if (cached_has_bits & 0x00000010u) {
25446 replication_ = from.replication_;
25447 }
25448 _has_bits_[0] |= cached_has_bits;
25449 }
25450}
25451
25452void CacheDirectiveInfoProto::CopyFrom(const ::google::protobuf::Message& from) {
25453// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CacheDirectiveInfoProto)
25454 if (&from == this) return;
25455 Clear();
25456 MergeFrom(from);
25457}
25458
25459void CacheDirectiveInfoProto::CopyFrom(const CacheDirectiveInfoProto& from) {
25460// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CacheDirectiveInfoProto)
25461 if (&from == this) return;
25462 Clear();
25463 MergeFrom(from);
25464}
25465
25466bool CacheDirectiveInfoProto::IsInitialized() const {
25467 if (has_expiration()) {
25468 if (!this->expiration_->IsInitialized()) return false;
25469 }
25470 return true;
25471}
25472
25473void CacheDirectiveInfoProto::Swap(CacheDirectiveInfoProto* other) {
25474 if (other == this) return;
25475 InternalSwap(other);
25476}
25477void CacheDirectiveInfoProto::InternalSwap(CacheDirectiveInfoProto* other) {
25478 using std::swap;
25479 path_.Swap(&other->path_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
25480 GetArenaNoVirtual());
25481 pool_.Swap(&other->pool_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
25482 GetArenaNoVirtual());
25483 swap(expiration_, other->expiration_);
25484 swap(id_, other->id_);
25485 swap(replication_, other->replication_);
25486 swap(_has_bits_[0], other->_has_bits_[0]);
25487 _internal_metadata_.Swap(&other->_internal_metadata_);
25488}
25489
25490::google::protobuf::Metadata CacheDirectiveInfoProto::GetMetadata() const {
25491 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
25492 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
25493}
25494
25495
25496// ===================================================================
25497
25498void CacheDirectiveInfoExpirationProto::InitAsDefaultInstance() {
25499}
25500#if !defined(_MSC_VER) || _MSC_VER >= 1900
25501const int CacheDirectiveInfoExpirationProto::kMillisFieldNumber;
25502const int CacheDirectiveInfoExpirationProto::kIsRelativeFieldNumber;
25503#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
25504
25505CacheDirectiveInfoExpirationProto::CacheDirectiveInfoExpirationProto()
25506 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
25507 ::google::protobuf::internal::InitSCC(
25508 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveInfoExpirationProto.base);
25509 SharedCtor();
25510 // @@protoc_insertion_point(constructor:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25511}
25512CacheDirectiveInfoExpirationProto::CacheDirectiveInfoExpirationProto(const CacheDirectiveInfoExpirationProto& from)
25513 : ::google::protobuf::Message(),
25514 _internal_metadata_(NULL),
25515 _has_bits_(from._has_bits_) {
25516 _internal_metadata_.MergeFrom(from._internal_metadata_);
25517 ::memcpy(&millis_, &from.millis_,
25518 static_cast<size_t>(reinterpret_cast<char*>(&isrelative_) -
25519 reinterpret_cast<char*>(&millis_)) + sizeof(isrelative_));
25520 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25521}
25522
25523void CacheDirectiveInfoExpirationProto::SharedCtor() {
25524 ::memset(&millis_, 0, static_cast<size_t>(
25525 reinterpret_cast<char*>(&isrelative_) -
25526 reinterpret_cast<char*>(&millis_)) + sizeof(isrelative_));
25527}
25528
25529CacheDirectiveInfoExpirationProto::~CacheDirectiveInfoExpirationProto() {
25530 // @@protoc_insertion_point(destructor:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25531 SharedDtor();
25532}
25533
25534void CacheDirectiveInfoExpirationProto::SharedDtor() {
25535}
25536
25537void CacheDirectiveInfoExpirationProto::SetCachedSize(int size) const {
25538 _cached_size_.Set(size);
25539}
25540const ::google::protobuf::Descriptor* CacheDirectiveInfoExpirationProto::descriptor() {
25541 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
25542 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
25543}
25544
25545const CacheDirectiveInfoExpirationProto& CacheDirectiveInfoExpirationProto::default_instance() {
25546 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveInfoExpirationProto.base);
25547 return *internal_default_instance();
25548}
25549
25550
25551void CacheDirectiveInfoExpirationProto::Clear() {
25552// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25553 ::google::protobuf::uint32 cached_has_bits = 0;
25554 // Prevent compiler warnings about cached_has_bits being unused
25555 (void) cached_has_bits;
25556
25557 cached_has_bits = _has_bits_[0];
25558 if (cached_has_bits & 3u) {
25559 ::memset(&millis_, 0, static_cast<size_t>(
25560 reinterpret_cast<char*>(&isrelative_) -
25561 reinterpret_cast<char*>(&millis_)) + sizeof(isrelative_));
25562 }
25563 _has_bits_.Clear();
25564 _internal_metadata_.Clear();
25565}
25566
25567bool CacheDirectiveInfoExpirationProto::MergePartialFromCodedStream(
25568 ::google::protobuf::io::CodedInputStream* input) {
25569#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
25570 ::google::protobuf::uint32 tag;
25571 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25572 for (;;) {
25573 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
25574 tag = p.first;
25575 if (!p.second) goto handle_unusual;
25576 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
25577 // required int64 millis = 1;
25578 case 1: {
25579 if (static_cast< ::google::protobuf::uint8>(tag) ==
25580 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
25581 set_has_millis();
25582 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
25583 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
25584 input, &millis_)));
25585 } else {
25586 goto handle_unusual;
25587 }
25588 break;
25589 }
25590
25591 // required bool isRelative = 2;
25592 case 2: {
25593 if (static_cast< ::google::protobuf::uint8>(tag) ==
25594 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
25595 set_has_isrelative();
25596 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
25597 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
25598 input, &isrelative_)));
25599 } else {
25600 goto handle_unusual;
25601 }
25602 break;
25603 }
25604
25605 default: {
25606 handle_unusual:
25607 if (tag == 0) {
25608 goto success;
25609 }
25610 DO_(::google::protobuf::internal::WireFormat::SkipField(
25611 input, tag, _internal_metadata_.mutable_unknown_fields()));
25612 break;
25613 }
25614 }
25615 }
25616success:
25617 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25618 return true;
25619failure:
25620 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25621 return false;
25622#undef DO_
25623}
25624
25625void CacheDirectiveInfoExpirationProto::SerializeWithCachedSizes(
25626 ::google::protobuf::io::CodedOutputStream* output) const {
25627 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25628 ::google::protobuf::uint32 cached_has_bits = 0;
25629 (void) cached_has_bits;
25630
25631 cached_has_bits = _has_bits_[0];
25632 // required int64 millis = 1;
25633 if (cached_has_bits & 0x00000001u) {
25634 ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->millis(), output);
25635 }
25636
25637 // required bool isRelative = 2;
25638 if (cached_has_bits & 0x00000002u) {
25639 ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->isrelative(), output);
25640 }
25641
25642 if (_internal_metadata_.have_unknown_fields()) {
25643 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
25644 _internal_metadata_.unknown_fields(), output);
25645 }
25646 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25647}
25648
25649::google::protobuf::uint8* CacheDirectiveInfoExpirationProto::InternalSerializeWithCachedSizesToArray(
25650 bool deterministic, ::google::protobuf::uint8* target) const {
25651 (void)deterministic; // Unused
25652 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25653 ::google::protobuf::uint32 cached_has_bits = 0;
25654 (void) cached_has_bits;
25655
25656 cached_has_bits = _has_bits_[0];
25657 // required int64 millis = 1;
25658 if (cached_has_bits & 0x00000001u) {
25659 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->millis(), target);
25660 }
25661
25662 // required bool isRelative = 2;
25663 if (cached_has_bits & 0x00000002u) {
25664 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->isrelative(), target);
25665 }
25666
25667 if (_internal_metadata_.have_unknown_fields()) {
25668 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
25669 _internal_metadata_.unknown_fields(), target);
25670 }
25671 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25672 return target;
25673}
25674
25675size_t CacheDirectiveInfoExpirationProto::RequiredFieldsByteSizeFallback() const {
25676// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25677 size_t total_size = 0;
25678
25679 if (has_millis()) {
25680 // required int64 millis = 1;
25681 total_size += 1 +
25682 ::google::protobuf::internal::WireFormatLite::Int64Size(
25683 this->millis());
25684 }
25685
25686 if (has_isrelative()) {
25687 // required bool isRelative = 2;
25688 total_size += 1 + 1;
25689 }
25690
25691 return total_size;
25692}
25693size_t CacheDirectiveInfoExpirationProto::ByteSizeLong() const {
25694// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25695 size_t total_size = 0;
25696
25697 if (_internal_metadata_.have_unknown_fields()) {
25698 total_size +=
25699 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
25700 _internal_metadata_.unknown_fields());
25701 }
25702 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
25703 // required int64 millis = 1;
25704 total_size += 1 +
25705 ::google::protobuf::internal::WireFormatLite::Int64Size(
25706 this->millis());
25707
25708 // required bool isRelative = 2;
25709 total_size += 1 + 1;
25710
25711 } else {
25712 total_size += RequiredFieldsByteSizeFallback();
25713 }
25714 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
25715 SetCachedSize(cached_size);
25716 return total_size;
25717}
25718
25719void CacheDirectiveInfoExpirationProto::MergeFrom(const ::google::protobuf::Message& from) {
25720// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25721 GOOGLE_DCHECK_NE(&from, this);
25722 const CacheDirectiveInfoExpirationProto* source =
25723 ::google::protobuf::internal::DynamicCastToGenerated<const CacheDirectiveInfoExpirationProto>(
25724 &from);
25725 if (source == NULL) {
25726 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25727 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
25728 } else {
25729 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25730 MergeFrom(*source);
25731 }
25732}
25733
25734void CacheDirectiveInfoExpirationProto::MergeFrom(const CacheDirectiveInfoExpirationProto& from) {
25735// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25736 GOOGLE_DCHECK_NE(&from, this);
25737 _internal_metadata_.MergeFrom(from._internal_metadata_);
25738 ::google::protobuf::uint32 cached_has_bits = 0;
25739 (void) cached_has_bits;
25740
25741 cached_has_bits = from._has_bits_[0];
25742 if (cached_has_bits & 3u) {
25743 if (cached_has_bits & 0x00000001u) {
25744 millis_ = from.millis_;
25745 }
25746 if (cached_has_bits & 0x00000002u) {
25747 isrelative_ = from.isrelative_;
25748 }
25749 _has_bits_[0] |= cached_has_bits;
25750 }
25751}
25752
25753void CacheDirectiveInfoExpirationProto::CopyFrom(const ::google::protobuf::Message& from) {
25754// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25755 if (&from == this) return;
25756 Clear();
25757 MergeFrom(from);
25758}
25759
25760void CacheDirectiveInfoExpirationProto::CopyFrom(const CacheDirectiveInfoExpirationProto& from) {
25761// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CacheDirectiveInfoExpirationProto)
25762 if (&from == this) return;
25763 Clear();
25764 MergeFrom(from);
25765}
25766
25767bool CacheDirectiveInfoExpirationProto::IsInitialized() const {
25768 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
25769 return true;
25770}
25771
25772void CacheDirectiveInfoExpirationProto::Swap(CacheDirectiveInfoExpirationProto* other) {
25773 if (other == this) return;
25774 InternalSwap(other);
25775}
25776void CacheDirectiveInfoExpirationProto::InternalSwap(CacheDirectiveInfoExpirationProto* other) {
25777 using std::swap;
25778 swap(millis_, other->millis_);
25779 swap(isrelative_, other->isrelative_);
25780 swap(_has_bits_[0], other->_has_bits_[0]);
25781 _internal_metadata_.Swap(&other->_internal_metadata_);
25782}
25783
25784::google::protobuf::Metadata CacheDirectiveInfoExpirationProto::GetMetadata() const {
25785 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
25786 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
25787}
25788
25789
25790// ===================================================================
25791
25792void CacheDirectiveStatsProto::InitAsDefaultInstance() {
25793}
25794#if !defined(_MSC_VER) || _MSC_VER >= 1900
25795const int CacheDirectiveStatsProto::kBytesNeededFieldNumber;
25796const int CacheDirectiveStatsProto::kBytesCachedFieldNumber;
25797const int CacheDirectiveStatsProto::kFilesNeededFieldNumber;
25798const int CacheDirectiveStatsProto::kFilesCachedFieldNumber;
25799const int CacheDirectiveStatsProto::kHasExpiredFieldNumber;
25800#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
25801
25802CacheDirectiveStatsProto::CacheDirectiveStatsProto()
25803 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
25804 ::google::protobuf::internal::InitSCC(
25805 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveStatsProto.base);
25806 SharedCtor();
25807 // @@protoc_insertion_point(constructor:Hdfs.Internal.CacheDirectiveStatsProto)
25808}
25809CacheDirectiveStatsProto::CacheDirectiveStatsProto(const CacheDirectiveStatsProto& from)
25810 : ::google::protobuf::Message(),
25811 _internal_metadata_(NULL),
25812 _has_bits_(from._has_bits_) {
25813 _internal_metadata_.MergeFrom(from._internal_metadata_);
25814 ::memcpy(&bytesneeded_, &from.bytesneeded_,
25815 static_cast<size_t>(reinterpret_cast<char*>(&hasexpired_) -
25816 reinterpret_cast<char*>(&bytesneeded_)) + sizeof(hasexpired_));
25817 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CacheDirectiveStatsProto)
25818}
25819
25820void CacheDirectiveStatsProto::SharedCtor() {
25821 ::memset(&bytesneeded_, 0, static_cast<size_t>(
25822 reinterpret_cast<char*>(&hasexpired_) -
25823 reinterpret_cast<char*>(&bytesneeded_)) + sizeof(hasexpired_));
25824}
25825
25826CacheDirectiveStatsProto::~CacheDirectiveStatsProto() {
25827 // @@protoc_insertion_point(destructor:Hdfs.Internal.CacheDirectiveStatsProto)
25828 SharedDtor();
25829}
25830
25831void CacheDirectiveStatsProto::SharedDtor() {
25832}
25833
25834void CacheDirectiveStatsProto::SetCachedSize(int size) const {
25835 _cached_size_.Set(size);
25836}
25837const ::google::protobuf::Descriptor* CacheDirectiveStatsProto::descriptor() {
25838 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
25839 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
25840}
25841
25842const CacheDirectiveStatsProto& CacheDirectiveStatsProto::default_instance() {
25843 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveStatsProto.base);
25844 return *internal_default_instance();
25845}
25846
25847
25848void CacheDirectiveStatsProto::Clear() {
25849// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CacheDirectiveStatsProto)
25850 ::google::protobuf::uint32 cached_has_bits = 0;
25851 // Prevent compiler warnings about cached_has_bits being unused
25852 (void) cached_has_bits;
25853
25854 cached_has_bits = _has_bits_[0];
25855 if (cached_has_bits & 31u) {
25856 ::memset(&bytesneeded_, 0, static_cast<size_t>(
25857 reinterpret_cast<char*>(&hasexpired_) -
25858 reinterpret_cast<char*>(&bytesneeded_)) + sizeof(hasexpired_));
25859 }
25860 _has_bits_.Clear();
25861 _internal_metadata_.Clear();
25862}
25863
25864bool CacheDirectiveStatsProto::MergePartialFromCodedStream(
25865 ::google::protobuf::io::CodedInputStream* input) {
25866#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
25867 ::google::protobuf::uint32 tag;
25868 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CacheDirectiveStatsProto)
25869 for (;;) {
25870 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
25871 tag = p.first;
25872 if (!p.second) goto handle_unusual;
25873 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
25874 // required int64 bytesNeeded = 1;
25875 case 1: {
25876 if (static_cast< ::google::protobuf::uint8>(tag) ==
25877 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
25878 set_has_bytesneeded();
25879 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
25880 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
25881 input, &bytesneeded_)));
25882 } else {
25883 goto handle_unusual;
25884 }
25885 break;
25886 }
25887
25888 // required int64 bytesCached = 2;
25889 case 2: {
25890 if (static_cast< ::google::protobuf::uint8>(tag) ==
25891 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
25892 set_has_bytescached();
25893 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
25894 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
25895 input, &bytescached_)));
25896 } else {
25897 goto handle_unusual;
25898 }
25899 break;
25900 }
25901
25902 // required int64 filesNeeded = 3;
25903 case 3: {
25904 if (static_cast< ::google::protobuf::uint8>(tag) ==
25905 static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
25906 set_has_filesneeded();
25907 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
25908 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
25909 input, &filesneeded_)));
25910 } else {
25911 goto handle_unusual;
25912 }
25913 break;
25914 }
25915
25916 // required int64 filesCached = 4;
25917 case 4: {
25918 if (static_cast< ::google::protobuf::uint8>(tag) ==
25919 static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
25920 set_has_filescached();
25921 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
25922 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
25923 input, &filescached_)));
25924 } else {
25925 goto handle_unusual;
25926 }
25927 break;
25928 }
25929
25930 // required bool hasExpired = 5;
25931 case 5: {
25932 if (static_cast< ::google::protobuf::uint8>(tag) ==
25933 static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
25934 set_has_hasexpired();
25935 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
25936 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
25937 input, &hasexpired_)));
25938 } else {
25939 goto handle_unusual;
25940 }
25941 break;
25942 }
25943
25944 default: {
25945 handle_unusual:
25946 if (tag == 0) {
25947 goto success;
25948 }
25949 DO_(::google::protobuf::internal::WireFormat::SkipField(
25950 input, tag, _internal_metadata_.mutable_unknown_fields()));
25951 break;
25952 }
25953 }
25954 }
25955success:
25956 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CacheDirectiveStatsProto)
25957 return true;
25958failure:
25959 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CacheDirectiveStatsProto)
25960 return false;
25961#undef DO_
25962}
25963
25964void CacheDirectiveStatsProto::SerializeWithCachedSizes(
25965 ::google::protobuf::io::CodedOutputStream* output) const {
25966 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CacheDirectiveStatsProto)
25967 ::google::protobuf::uint32 cached_has_bits = 0;
25968 (void) cached_has_bits;
25969
25970 cached_has_bits = _has_bits_[0];
25971 // required int64 bytesNeeded = 1;
25972 if (cached_has_bits & 0x00000001u) {
25973 ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->bytesneeded(), output);
25974 }
25975
25976 // required int64 bytesCached = 2;
25977 if (cached_has_bits & 0x00000002u) {
25978 ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->bytescached(), output);
25979 }
25980
25981 // required int64 filesNeeded = 3;
25982 if (cached_has_bits & 0x00000004u) {
25983 ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->filesneeded(), output);
25984 }
25985
25986 // required int64 filesCached = 4;
25987 if (cached_has_bits & 0x00000008u) {
25988 ::google::protobuf::internal::WireFormatLite::WriteInt64(4, this->filescached(), output);
25989 }
25990
25991 // required bool hasExpired = 5;
25992 if (cached_has_bits & 0x00000010u) {
25993 ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->hasexpired(), output);
25994 }
25995
25996 if (_internal_metadata_.have_unknown_fields()) {
25997 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
25998 _internal_metadata_.unknown_fields(), output);
25999 }
26000 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CacheDirectiveStatsProto)
26001}
26002
26003::google::protobuf::uint8* CacheDirectiveStatsProto::InternalSerializeWithCachedSizesToArray(
26004 bool deterministic, ::google::protobuf::uint8* target) const {
26005 (void)deterministic; // Unused
26006 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CacheDirectiveStatsProto)
26007 ::google::protobuf::uint32 cached_has_bits = 0;
26008 (void) cached_has_bits;
26009
26010 cached_has_bits = _has_bits_[0];
26011 // required int64 bytesNeeded = 1;
26012 if (cached_has_bits & 0x00000001u) {
26013 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->bytesneeded(), target);
26014 }
26015
26016 // required int64 bytesCached = 2;
26017 if (cached_has_bits & 0x00000002u) {
26018 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->bytescached(), target);
26019 }
26020
26021 // required int64 filesNeeded = 3;
26022 if (cached_has_bits & 0x00000004u) {
26023 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->filesneeded(), target);
26024 }
26025
26026 // required int64 filesCached = 4;
26027 if (cached_has_bits & 0x00000008u) {
26028 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(4, this->filescached(), target);
26029 }
26030
26031 // required bool hasExpired = 5;
26032 if (cached_has_bits & 0x00000010u) {
26033 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->hasexpired(), target);
26034 }
26035
26036 if (_internal_metadata_.have_unknown_fields()) {
26037 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
26038 _internal_metadata_.unknown_fields(), target);
26039 }
26040 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CacheDirectiveStatsProto)
26041 return target;
26042}
26043
26044size_t CacheDirectiveStatsProto::RequiredFieldsByteSizeFallback() const {
26045// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.CacheDirectiveStatsProto)
26046 size_t total_size = 0;
26047
26048 if (has_bytesneeded()) {
26049 // required int64 bytesNeeded = 1;
26050 total_size += 1 +
26051 ::google::protobuf::internal::WireFormatLite::Int64Size(
26052 this->bytesneeded());
26053 }
26054
26055 if (has_bytescached()) {
26056 // required int64 bytesCached = 2;
26057 total_size += 1 +
26058 ::google::protobuf::internal::WireFormatLite::Int64Size(
26059 this->bytescached());
26060 }
26061
26062 if (has_filesneeded()) {
26063 // required int64 filesNeeded = 3;
26064 total_size += 1 +
26065 ::google::protobuf::internal::WireFormatLite::Int64Size(
26066 this->filesneeded());
26067 }
26068
26069 if (has_filescached()) {
26070 // required int64 filesCached = 4;
26071 total_size += 1 +
26072 ::google::protobuf::internal::WireFormatLite::Int64Size(
26073 this->filescached());
26074 }
26075
26076 if (has_hasexpired()) {
26077 // required bool hasExpired = 5;
26078 total_size += 1 + 1;
26079 }
26080
26081 return total_size;
26082}
26083size_t CacheDirectiveStatsProto::ByteSizeLong() const {
26084// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CacheDirectiveStatsProto)
26085 size_t total_size = 0;
26086
26087 if (_internal_metadata_.have_unknown_fields()) {
26088 total_size +=
26089 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
26090 _internal_metadata_.unknown_fields());
26091 }
26092 if (((_has_bits_[0] & 0x0000001f) ^ 0x0000001f) == 0) { // All required fields are present.
26093 // required int64 bytesNeeded = 1;
26094 total_size += 1 +
26095 ::google::protobuf::internal::WireFormatLite::Int64Size(
26096 this->bytesneeded());
26097
26098 // required int64 bytesCached = 2;
26099 total_size += 1 +
26100 ::google::protobuf::internal::WireFormatLite::Int64Size(
26101 this->bytescached());
26102
26103 // required int64 filesNeeded = 3;
26104 total_size += 1 +
26105 ::google::protobuf::internal::WireFormatLite::Int64Size(
26106 this->filesneeded());
26107
26108 // required int64 filesCached = 4;
26109 total_size += 1 +
26110 ::google::protobuf::internal::WireFormatLite::Int64Size(
26111 this->filescached());
26112
26113 // required bool hasExpired = 5;
26114 total_size += 1 + 1;
26115
26116 } else {
26117 total_size += RequiredFieldsByteSizeFallback();
26118 }
26119 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
26120 SetCachedSize(cached_size);
26121 return total_size;
26122}
26123
26124void CacheDirectiveStatsProto::MergeFrom(const ::google::protobuf::Message& from) {
26125// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CacheDirectiveStatsProto)
26126 GOOGLE_DCHECK_NE(&from, this);
26127 const CacheDirectiveStatsProto* source =
26128 ::google::protobuf::internal::DynamicCastToGenerated<const CacheDirectiveStatsProto>(
26129 &from);
26130 if (source == NULL) {
26131 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CacheDirectiveStatsProto)
26132 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
26133 } else {
26134 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CacheDirectiveStatsProto)
26135 MergeFrom(*source);
26136 }
26137}
26138
26139void CacheDirectiveStatsProto::MergeFrom(const CacheDirectiveStatsProto& from) {
26140// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CacheDirectiveStatsProto)
26141 GOOGLE_DCHECK_NE(&from, this);
26142 _internal_metadata_.MergeFrom(from._internal_metadata_);
26143 ::google::protobuf::uint32 cached_has_bits = 0;
26144 (void) cached_has_bits;
26145
26146 cached_has_bits = from._has_bits_[0];
26147 if (cached_has_bits & 31u) {
26148 if (cached_has_bits & 0x00000001u) {
26149 bytesneeded_ = from.bytesneeded_;
26150 }
26151 if (cached_has_bits & 0x00000002u) {
26152 bytescached_ = from.bytescached_;
26153 }
26154 if (cached_has_bits & 0x00000004u) {
26155 filesneeded_ = from.filesneeded_;
26156 }
26157 if (cached_has_bits & 0x00000008u) {
26158 filescached_ = from.filescached_;
26159 }
26160 if (cached_has_bits & 0x00000010u) {
26161 hasexpired_ = from.hasexpired_;
26162 }
26163 _has_bits_[0] |= cached_has_bits;
26164 }
26165}
26166
26167void CacheDirectiveStatsProto::CopyFrom(const ::google::protobuf::Message& from) {
26168// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CacheDirectiveStatsProto)
26169 if (&from == this) return;
26170 Clear();
26171 MergeFrom(from);
26172}
26173
26174void CacheDirectiveStatsProto::CopyFrom(const CacheDirectiveStatsProto& from) {
26175// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CacheDirectiveStatsProto)
26176 if (&from == this) return;
26177 Clear();
26178 MergeFrom(from);
26179}
26180
26181bool CacheDirectiveStatsProto::IsInitialized() const {
26182 if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false;
26183 return true;
26184}
26185
26186void CacheDirectiveStatsProto::Swap(CacheDirectiveStatsProto* other) {
26187 if (other == this) return;
26188 InternalSwap(other);
26189}
26190void CacheDirectiveStatsProto::InternalSwap(CacheDirectiveStatsProto* other) {
26191 using std::swap;
26192 swap(bytesneeded_, other->bytesneeded_);
26193 swap(bytescached_, other->bytescached_);
26194 swap(filesneeded_, other->filesneeded_);
26195 swap(filescached_, other->filescached_);
26196 swap(hasexpired_, other->hasexpired_);
26197 swap(_has_bits_[0], other->_has_bits_[0]);
26198 _internal_metadata_.Swap(&other->_internal_metadata_);
26199}
26200
26201::google::protobuf::Metadata CacheDirectiveStatsProto::GetMetadata() const {
26202 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
26203 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
26204}
26205
26206
26207// ===================================================================
26208
26209void AddCacheDirectiveRequestProto::InitAsDefaultInstance() {
26210 ::Hdfs::Internal::_AddCacheDirectiveRequestProto_default_instance_._instance.get_mutable()->info_ = const_cast< ::Hdfs::Internal::CacheDirectiveInfoProto*>(
26211 ::Hdfs::Internal::CacheDirectiveInfoProto::internal_default_instance());
26212}
26213#if !defined(_MSC_VER) || _MSC_VER >= 1900
26214const int AddCacheDirectiveRequestProto::kInfoFieldNumber;
26215const int AddCacheDirectiveRequestProto::kCacheFlagsFieldNumber;
26216#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
26217
26218AddCacheDirectiveRequestProto::AddCacheDirectiveRequestProto()
26219 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
26220 ::google::protobuf::internal::InitSCC(
26221 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_AddCacheDirectiveRequestProto.base);
26222 SharedCtor();
26223 // @@protoc_insertion_point(constructor:Hdfs.Internal.AddCacheDirectiveRequestProto)
26224}
26225AddCacheDirectiveRequestProto::AddCacheDirectiveRequestProto(const AddCacheDirectiveRequestProto& from)
26226 : ::google::protobuf::Message(),
26227 _internal_metadata_(NULL),
26228 _has_bits_(from._has_bits_) {
26229 _internal_metadata_.MergeFrom(from._internal_metadata_);
26230 if (from.has_info()) {
26231 info_ = new ::Hdfs::Internal::CacheDirectiveInfoProto(*from.info_);
26232 } else {
26233 info_ = NULL;
26234 }
26235 cacheflags_ = from.cacheflags_;
26236 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.AddCacheDirectiveRequestProto)
26237}
26238
26239void AddCacheDirectiveRequestProto::SharedCtor() {
26240 ::memset(&info_, 0, static_cast<size_t>(
26241 reinterpret_cast<char*>(&cacheflags_) -
26242 reinterpret_cast<char*>(&info_)) + sizeof(cacheflags_));
26243}
26244
26245AddCacheDirectiveRequestProto::~AddCacheDirectiveRequestProto() {
26246 // @@protoc_insertion_point(destructor:Hdfs.Internal.AddCacheDirectiveRequestProto)
26247 SharedDtor();
26248}
26249
26250void AddCacheDirectiveRequestProto::SharedDtor() {
26251 if (this != internal_default_instance()) delete info_;
26252}
26253
26254void AddCacheDirectiveRequestProto::SetCachedSize(int size) const {
26255 _cached_size_.Set(size);
26256}
26257const ::google::protobuf::Descriptor* AddCacheDirectiveRequestProto::descriptor() {
26258 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
26259 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
26260}
26261
26262const AddCacheDirectiveRequestProto& AddCacheDirectiveRequestProto::default_instance() {
26263 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_AddCacheDirectiveRequestProto.base);
26264 return *internal_default_instance();
26265}
26266
26267
26268void AddCacheDirectiveRequestProto::Clear() {
26269// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.AddCacheDirectiveRequestProto)
26270 ::google::protobuf::uint32 cached_has_bits = 0;
26271 // Prevent compiler warnings about cached_has_bits being unused
26272 (void) cached_has_bits;
26273
26274 cached_has_bits = _has_bits_[0];
26275 if (cached_has_bits & 0x00000001u) {
26276 GOOGLE_DCHECK(info_ != NULL);
26277 info_->Clear();
26278 }
26279 cacheflags_ = 0u;
26280 _has_bits_.Clear();
26281 _internal_metadata_.Clear();
26282}
26283
26284bool AddCacheDirectiveRequestProto::MergePartialFromCodedStream(
26285 ::google::protobuf::io::CodedInputStream* input) {
26286#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
26287 ::google::protobuf::uint32 tag;
26288 // @@protoc_insertion_point(parse_start:Hdfs.Internal.AddCacheDirectiveRequestProto)
26289 for (;;) {
26290 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
26291 tag = p.first;
26292 if (!p.second) goto handle_unusual;
26293 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
26294 // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1;
26295 case 1: {
26296 if (static_cast< ::google::protobuf::uint8>(tag) ==
26297 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
26298 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
26299 input, mutable_info()));
26300 } else {
26301 goto handle_unusual;
26302 }
26303 break;
26304 }
26305
26306 // optional uint32 cacheFlags = 2;
26307 case 2: {
26308 if (static_cast< ::google::protobuf::uint8>(tag) ==
26309 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
26310 set_has_cacheflags();
26311 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
26312 ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
26313 input, &cacheflags_)));
26314 } else {
26315 goto handle_unusual;
26316 }
26317 break;
26318 }
26319
26320 default: {
26321 handle_unusual:
26322 if (tag == 0) {
26323 goto success;
26324 }
26325 DO_(::google::protobuf::internal::WireFormat::SkipField(
26326 input, tag, _internal_metadata_.mutable_unknown_fields()));
26327 break;
26328 }
26329 }
26330 }
26331success:
26332 // @@protoc_insertion_point(parse_success:Hdfs.Internal.AddCacheDirectiveRequestProto)
26333 return true;
26334failure:
26335 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.AddCacheDirectiveRequestProto)
26336 return false;
26337#undef DO_
26338}
26339
26340void AddCacheDirectiveRequestProto::SerializeWithCachedSizes(
26341 ::google::protobuf::io::CodedOutputStream* output) const {
26342 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.AddCacheDirectiveRequestProto)
26343 ::google::protobuf::uint32 cached_has_bits = 0;
26344 (void) cached_has_bits;
26345
26346 cached_has_bits = _has_bits_[0];
26347 // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1;
26348 if (cached_has_bits & 0x00000001u) {
26349 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
26350 1, this->_internal_info(), output);
26351 }
26352
26353 // optional uint32 cacheFlags = 2;
26354 if (cached_has_bits & 0x00000002u) {
26355 ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->cacheflags(), output);
26356 }
26357
26358 if (_internal_metadata_.have_unknown_fields()) {
26359 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
26360 _internal_metadata_.unknown_fields(), output);
26361 }
26362 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.AddCacheDirectiveRequestProto)
26363}
26364
26365::google::protobuf::uint8* AddCacheDirectiveRequestProto::InternalSerializeWithCachedSizesToArray(
26366 bool deterministic, ::google::protobuf::uint8* target) const {
26367 (void)deterministic; // Unused
26368 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.AddCacheDirectiveRequestProto)
26369 ::google::protobuf::uint32 cached_has_bits = 0;
26370 (void) cached_has_bits;
26371
26372 cached_has_bits = _has_bits_[0];
26373 // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1;
26374 if (cached_has_bits & 0x00000001u) {
26375 target = ::google::protobuf::internal::WireFormatLite::
26376 InternalWriteMessageToArray(
26377 1, this->_internal_info(), deterministic, target);
26378 }
26379
26380 // optional uint32 cacheFlags = 2;
26381 if (cached_has_bits & 0x00000002u) {
26382 target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->cacheflags(), target);
26383 }
26384
26385 if (_internal_metadata_.have_unknown_fields()) {
26386 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
26387 _internal_metadata_.unknown_fields(), target);
26388 }
26389 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.AddCacheDirectiveRequestProto)
26390 return target;
26391}
26392
26393size_t AddCacheDirectiveRequestProto::ByteSizeLong() const {
26394// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.AddCacheDirectiveRequestProto)
26395 size_t total_size = 0;
26396
26397 if (_internal_metadata_.have_unknown_fields()) {
26398 total_size +=
26399 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
26400 _internal_metadata_.unknown_fields());
26401 }
26402 // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1;
26403 if (has_info()) {
26404 total_size += 1 +
26405 ::google::protobuf::internal::WireFormatLite::MessageSize(
26406 *info_);
26407 }
26408 // optional uint32 cacheFlags = 2;
26409 if (has_cacheflags()) {
26410 total_size += 1 +
26411 ::google::protobuf::internal::WireFormatLite::UInt32Size(
26412 this->cacheflags());
26413 }
26414
26415 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
26416 SetCachedSize(cached_size);
26417 return total_size;
26418}
26419
26420void AddCacheDirectiveRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
26421// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.AddCacheDirectiveRequestProto)
26422 GOOGLE_DCHECK_NE(&from, this);
26423 const AddCacheDirectiveRequestProto* source =
26424 ::google::protobuf::internal::DynamicCastToGenerated<const AddCacheDirectiveRequestProto>(
26425 &from);
26426 if (source == NULL) {
26427 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.AddCacheDirectiveRequestProto)
26428 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
26429 } else {
26430 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.AddCacheDirectiveRequestProto)
26431 MergeFrom(*source);
26432 }
26433}
26434
26435void AddCacheDirectiveRequestProto::MergeFrom(const AddCacheDirectiveRequestProto& from) {
26436// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.AddCacheDirectiveRequestProto)
26437 GOOGLE_DCHECK_NE(&from, this);
26438 _internal_metadata_.MergeFrom(from._internal_metadata_);
26439 ::google::protobuf::uint32 cached_has_bits = 0;
26440 (void) cached_has_bits;
26441
26442 cached_has_bits = from._has_bits_[0];
26443 if (cached_has_bits & 3u) {
26444 if (cached_has_bits & 0x00000001u) {
26445 mutable_info()->::Hdfs::Internal::CacheDirectiveInfoProto::MergeFrom(from.info());
26446 }
26447 if (cached_has_bits & 0x00000002u) {
26448 cacheflags_ = from.cacheflags_;
26449 }
26450 _has_bits_[0] |= cached_has_bits;
26451 }
26452}
26453
26454void AddCacheDirectiveRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
26455// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.AddCacheDirectiveRequestProto)
26456 if (&from == this) return;
26457 Clear();
26458 MergeFrom(from);
26459}
26460
26461void AddCacheDirectiveRequestProto::CopyFrom(const AddCacheDirectiveRequestProto& from) {
26462// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.AddCacheDirectiveRequestProto)
26463 if (&from == this) return;
26464 Clear();
26465 MergeFrom(from);
26466}
26467
26468bool AddCacheDirectiveRequestProto::IsInitialized() const {
26469 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
26470 if (has_info()) {
26471 if (!this->info_->IsInitialized()) return false;
26472 }
26473 return true;
26474}
26475
26476void AddCacheDirectiveRequestProto::Swap(AddCacheDirectiveRequestProto* other) {
26477 if (other == this) return;
26478 InternalSwap(other);
26479}
26480void AddCacheDirectiveRequestProto::InternalSwap(AddCacheDirectiveRequestProto* other) {
26481 using std::swap;
26482 swap(info_, other->info_);
26483 swap(cacheflags_, other->cacheflags_);
26484 swap(_has_bits_[0], other->_has_bits_[0]);
26485 _internal_metadata_.Swap(&other->_internal_metadata_);
26486}
26487
26488::google::protobuf::Metadata AddCacheDirectiveRequestProto::GetMetadata() const {
26489 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
26490 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
26491}
26492
26493
26494// ===================================================================
26495
26496void AddCacheDirectiveResponseProto::InitAsDefaultInstance() {
26497}
26498#if !defined(_MSC_VER) || _MSC_VER >= 1900
26499const int AddCacheDirectiveResponseProto::kIdFieldNumber;
26500#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
26501
26502AddCacheDirectiveResponseProto::AddCacheDirectiveResponseProto()
26503 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
26504 ::google::protobuf::internal::InitSCC(
26505 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_AddCacheDirectiveResponseProto.base);
26506 SharedCtor();
26507 // @@protoc_insertion_point(constructor:Hdfs.Internal.AddCacheDirectiveResponseProto)
26508}
26509AddCacheDirectiveResponseProto::AddCacheDirectiveResponseProto(const AddCacheDirectiveResponseProto& from)
26510 : ::google::protobuf::Message(),
26511 _internal_metadata_(NULL),
26512 _has_bits_(from._has_bits_) {
26513 _internal_metadata_.MergeFrom(from._internal_metadata_);
26514 id_ = from.id_;
26515 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.AddCacheDirectiveResponseProto)
26516}
26517
26518void AddCacheDirectiveResponseProto::SharedCtor() {
26519 id_ = GOOGLE_LONGLONG(0);
26520}
26521
26522AddCacheDirectiveResponseProto::~AddCacheDirectiveResponseProto() {
26523 // @@protoc_insertion_point(destructor:Hdfs.Internal.AddCacheDirectiveResponseProto)
26524 SharedDtor();
26525}
26526
26527void AddCacheDirectiveResponseProto::SharedDtor() {
26528}
26529
26530void AddCacheDirectiveResponseProto::SetCachedSize(int size) const {
26531 _cached_size_.Set(size);
26532}
26533const ::google::protobuf::Descriptor* AddCacheDirectiveResponseProto::descriptor() {
26534 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
26535 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
26536}
26537
26538const AddCacheDirectiveResponseProto& AddCacheDirectiveResponseProto::default_instance() {
26539 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_AddCacheDirectiveResponseProto.base);
26540 return *internal_default_instance();
26541}
26542
26543
26544void AddCacheDirectiveResponseProto::Clear() {
26545// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.AddCacheDirectiveResponseProto)
26546 ::google::protobuf::uint32 cached_has_bits = 0;
26547 // Prevent compiler warnings about cached_has_bits being unused
26548 (void) cached_has_bits;
26549
26550 id_ = GOOGLE_LONGLONG(0);
26551 _has_bits_.Clear();
26552 _internal_metadata_.Clear();
26553}
26554
26555bool AddCacheDirectiveResponseProto::MergePartialFromCodedStream(
26556 ::google::protobuf::io::CodedInputStream* input) {
26557#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
26558 ::google::protobuf::uint32 tag;
26559 // @@protoc_insertion_point(parse_start:Hdfs.Internal.AddCacheDirectiveResponseProto)
26560 for (;;) {
26561 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
26562 tag = p.first;
26563 if (!p.second) goto handle_unusual;
26564 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
26565 // required int64 id = 1;
26566 case 1: {
26567 if (static_cast< ::google::protobuf::uint8>(tag) ==
26568 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
26569 set_has_id();
26570 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
26571 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
26572 input, &id_)));
26573 } else {
26574 goto handle_unusual;
26575 }
26576 break;
26577 }
26578
26579 default: {
26580 handle_unusual:
26581 if (tag == 0) {
26582 goto success;
26583 }
26584 DO_(::google::protobuf::internal::WireFormat::SkipField(
26585 input, tag, _internal_metadata_.mutable_unknown_fields()));
26586 break;
26587 }
26588 }
26589 }
26590success:
26591 // @@protoc_insertion_point(parse_success:Hdfs.Internal.AddCacheDirectiveResponseProto)
26592 return true;
26593failure:
26594 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.AddCacheDirectiveResponseProto)
26595 return false;
26596#undef DO_
26597}
26598
26599void AddCacheDirectiveResponseProto::SerializeWithCachedSizes(
26600 ::google::protobuf::io::CodedOutputStream* output) const {
26601 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.AddCacheDirectiveResponseProto)
26602 ::google::protobuf::uint32 cached_has_bits = 0;
26603 (void) cached_has_bits;
26604
26605 cached_has_bits = _has_bits_[0];
26606 // required int64 id = 1;
26607 if (cached_has_bits & 0x00000001u) {
26608 ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->id(), output);
26609 }
26610
26611 if (_internal_metadata_.have_unknown_fields()) {
26612 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
26613 _internal_metadata_.unknown_fields(), output);
26614 }
26615 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.AddCacheDirectiveResponseProto)
26616}
26617
26618::google::protobuf::uint8* AddCacheDirectiveResponseProto::InternalSerializeWithCachedSizesToArray(
26619 bool deterministic, ::google::protobuf::uint8* target) const {
26620 (void)deterministic; // Unused
26621 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.AddCacheDirectiveResponseProto)
26622 ::google::protobuf::uint32 cached_has_bits = 0;
26623 (void) cached_has_bits;
26624
26625 cached_has_bits = _has_bits_[0];
26626 // required int64 id = 1;
26627 if (cached_has_bits & 0x00000001u) {
26628 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->id(), target);
26629 }
26630
26631 if (_internal_metadata_.have_unknown_fields()) {
26632 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
26633 _internal_metadata_.unknown_fields(), target);
26634 }
26635 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.AddCacheDirectiveResponseProto)
26636 return target;
26637}
26638
26639size_t AddCacheDirectiveResponseProto::ByteSizeLong() const {
26640// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.AddCacheDirectiveResponseProto)
26641 size_t total_size = 0;
26642
26643 if (_internal_metadata_.have_unknown_fields()) {
26644 total_size +=
26645 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
26646 _internal_metadata_.unknown_fields());
26647 }
26648 // required int64 id = 1;
26649 if (has_id()) {
26650 total_size += 1 +
26651 ::google::protobuf::internal::WireFormatLite::Int64Size(
26652 this->id());
26653 }
26654 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
26655 SetCachedSize(cached_size);
26656 return total_size;
26657}
26658
26659void AddCacheDirectiveResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
26660// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.AddCacheDirectiveResponseProto)
26661 GOOGLE_DCHECK_NE(&from, this);
26662 const AddCacheDirectiveResponseProto* source =
26663 ::google::protobuf::internal::DynamicCastToGenerated<const AddCacheDirectiveResponseProto>(
26664 &from);
26665 if (source == NULL) {
26666 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.AddCacheDirectiveResponseProto)
26667 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
26668 } else {
26669 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.AddCacheDirectiveResponseProto)
26670 MergeFrom(*source);
26671 }
26672}
26673
26674void AddCacheDirectiveResponseProto::MergeFrom(const AddCacheDirectiveResponseProto& from) {
26675// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.AddCacheDirectiveResponseProto)
26676 GOOGLE_DCHECK_NE(&from, this);
26677 _internal_metadata_.MergeFrom(from._internal_metadata_);
26678 ::google::protobuf::uint32 cached_has_bits = 0;
26679 (void) cached_has_bits;
26680
26681 if (from.has_id()) {
26682 set_id(from.id());
26683 }
26684}
26685
26686void AddCacheDirectiveResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
26687// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.AddCacheDirectiveResponseProto)
26688 if (&from == this) return;
26689 Clear();
26690 MergeFrom(from);
26691}
26692
26693void AddCacheDirectiveResponseProto::CopyFrom(const AddCacheDirectiveResponseProto& from) {
26694// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.AddCacheDirectiveResponseProto)
26695 if (&from == this) return;
26696 Clear();
26697 MergeFrom(from);
26698}
26699
26700bool AddCacheDirectiveResponseProto::IsInitialized() const {
26701 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
26702 return true;
26703}
26704
26705void AddCacheDirectiveResponseProto::Swap(AddCacheDirectiveResponseProto* other) {
26706 if (other == this) return;
26707 InternalSwap(other);
26708}
26709void AddCacheDirectiveResponseProto::InternalSwap(AddCacheDirectiveResponseProto* other) {
26710 using std::swap;
26711 swap(id_, other->id_);
26712 swap(_has_bits_[0], other->_has_bits_[0]);
26713 _internal_metadata_.Swap(&other->_internal_metadata_);
26714}
26715
26716::google::protobuf::Metadata AddCacheDirectiveResponseProto::GetMetadata() const {
26717 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
26718 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
26719}
26720
26721
26722// ===================================================================
26723
26724void ModifyCacheDirectiveRequestProto::InitAsDefaultInstance() {
26725 ::Hdfs::Internal::_ModifyCacheDirectiveRequestProto_default_instance_._instance.get_mutable()->info_ = const_cast< ::Hdfs::Internal::CacheDirectiveInfoProto*>(
26726 ::Hdfs::Internal::CacheDirectiveInfoProto::internal_default_instance());
26727}
26728#if !defined(_MSC_VER) || _MSC_VER >= 1900
26729const int ModifyCacheDirectiveRequestProto::kInfoFieldNumber;
26730const int ModifyCacheDirectiveRequestProto::kCacheFlagsFieldNumber;
26731#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
26732
26733ModifyCacheDirectiveRequestProto::ModifyCacheDirectiveRequestProto()
26734 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
26735 ::google::protobuf::internal::InitSCC(
26736 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ModifyCacheDirectiveRequestProto.base);
26737 SharedCtor();
26738 // @@protoc_insertion_point(constructor:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26739}
26740ModifyCacheDirectiveRequestProto::ModifyCacheDirectiveRequestProto(const ModifyCacheDirectiveRequestProto& from)
26741 : ::google::protobuf::Message(),
26742 _internal_metadata_(NULL),
26743 _has_bits_(from._has_bits_) {
26744 _internal_metadata_.MergeFrom(from._internal_metadata_);
26745 if (from.has_info()) {
26746 info_ = new ::Hdfs::Internal::CacheDirectiveInfoProto(*from.info_);
26747 } else {
26748 info_ = NULL;
26749 }
26750 cacheflags_ = from.cacheflags_;
26751 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26752}
26753
26754void ModifyCacheDirectiveRequestProto::SharedCtor() {
26755 ::memset(&info_, 0, static_cast<size_t>(
26756 reinterpret_cast<char*>(&cacheflags_) -
26757 reinterpret_cast<char*>(&info_)) + sizeof(cacheflags_));
26758}
26759
26760ModifyCacheDirectiveRequestProto::~ModifyCacheDirectiveRequestProto() {
26761 // @@protoc_insertion_point(destructor:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26762 SharedDtor();
26763}
26764
26765void ModifyCacheDirectiveRequestProto::SharedDtor() {
26766 if (this != internal_default_instance()) delete info_;
26767}
26768
26769void ModifyCacheDirectiveRequestProto::SetCachedSize(int size) const {
26770 _cached_size_.Set(size);
26771}
26772const ::google::protobuf::Descriptor* ModifyCacheDirectiveRequestProto::descriptor() {
26773 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
26774 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
26775}
26776
26777const ModifyCacheDirectiveRequestProto& ModifyCacheDirectiveRequestProto::default_instance() {
26778 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ModifyCacheDirectiveRequestProto.base);
26779 return *internal_default_instance();
26780}
26781
26782
26783void ModifyCacheDirectiveRequestProto::Clear() {
26784// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26785 ::google::protobuf::uint32 cached_has_bits = 0;
26786 // Prevent compiler warnings about cached_has_bits being unused
26787 (void) cached_has_bits;
26788
26789 cached_has_bits = _has_bits_[0];
26790 if (cached_has_bits & 0x00000001u) {
26791 GOOGLE_DCHECK(info_ != NULL);
26792 info_->Clear();
26793 }
26794 cacheflags_ = 0u;
26795 _has_bits_.Clear();
26796 _internal_metadata_.Clear();
26797}
26798
26799bool ModifyCacheDirectiveRequestProto::MergePartialFromCodedStream(
26800 ::google::protobuf::io::CodedInputStream* input) {
26801#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
26802 ::google::protobuf::uint32 tag;
26803 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26804 for (;;) {
26805 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
26806 tag = p.first;
26807 if (!p.second) goto handle_unusual;
26808 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
26809 // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1;
26810 case 1: {
26811 if (static_cast< ::google::protobuf::uint8>(tag) ==
26812 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
26813 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
26814 input, mutable_info()));
26815 } else {
26816 goto handle_unusual;
26817 }
26818 break;
26819 }
26820
26821 // optional uint32 cacheFlags = 2;
26822 case 2: {
26823 if (static_cast< ::google::protobuf::uint8>(tag) ==
26824 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
26825 set_has_cacheflags();
26826 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
26827 ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
26828 input, &cacheflags_)));
26829 } else {
26830 goto handle_unusual;
26831 }
26832 break;
26833 }
26834
26835 default: {
26836 handle_unusual:
26837 if (tag == 0) {
26838 goto success;
26839 }
26840 DO_(::google::protobuf::internal::WireFormat::SkipField(
26841 input, tag, _internal_metadata_.mutable_unknown_fields()));
26842 break;
26843 }
26844 }
26845 }
26846success:
26847 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26848 return true;
26849failure:
26850 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26851 return false;
26852#undef DO_
26853}
26854
26855void ModifyCacheDirectiveRequestProto::SerializeWithCachedSizes(
26856 ::google::protobuf::io::CodedOutputStream* output) const {
26857 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26858 ::google::protobuf::uint32 cached_has_bits = 0;
26859 (void) cached_has_bits;
26860
26861 cached_has_bits = _has_bits_[0];
26862 // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1;
26863 if (cached_has_bits & 0x00000001u) {
26864 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
26865 1, this->_internal_info(), output);
26866 }
26867
26868 // optional uint32 cacheFlags = 2;
26869 if (cached_has_bits & 0x00000002u) {
26870 ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->cacheflags(), output);
26871 }
26872
26873 if (_internal_metadata_.have_unknown_fields()) {
26874 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
26875 _internal_metadata_.unknown_fields(), output);
26876 }
26877 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26878}
26879
26880::google::protobuf::uint8* ModifyCacheDirectiveRequestProto::InternalSerializeWithCachedSizesToArray(
26881 bool deterministic, ::google::protobuf::uint8* target) const {
26882 (void)deterministic; // Unused
26883 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26884 ::google::protobuf::uint32 cached_has_bits = 0;
26885 (void) cached_has_bits;
26886
26887 cached_has_bits = _has_bits_[0];
26888 // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1;
26889 if (cached_has_bits & 0x00000001u) {
26890 target = ::google::protobuf::internal::WireFormatLite::
26891 InternalWriteMessageToArray(
26892 1, this->_internal_info(), deterministic, target);
26893 }
26894
26895 // optional uint32 cacheFlags = 2;
26896 if (cached_has_bits & 0x00000002u) {
26897 target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->cacheflags(), target);
26898 }
26899
26900 if (_internal_metadata_.have_unknown_fields()) {
26901 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
26902 _internal_metadata_.unknown_fields(), target);
26903 }
26904 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26905 return target;
26906}
26907
26908size_t ModifyCacheDirectiveRequestProto::ByteSizeLong() const {
26909// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26910 size_t total_size = 0;
26911
26912 if (_internal_metadata_.have_unknown_fields()) {
26913 total_size +=
26914 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
26915 _internal_metadata_.unknown_fields());
26916 }
26917 // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1;
26918 if (has_info()) {
26919 total_size += 1 +
26920 ::google::protobuf::internal::WireFormatLite::MessageSize(
26921 *info_);
26922 }
26923 // optional uint32 cacheFlags = 2;
26924 if (has_cacheflags()) {
26925 total_size += 1 +
26926 ::google::protobuf::internal::WireFormatLite::UInt32Size(
26927 this->cacheflags());
26928 }
26929
26930 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
26931 SetCachedSize(cached_size);
26932 return total_size;
26933}
26934
26935void ModifyCacheDirectiveRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
26936// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26937 GOOGLE_DCHECK_NE(&from, this);
26938 const ModifyCacheDirectiveRequestProto* source =
26939 ::google::protobuf::internal::DynamicCastToGenerated<const ModifyCacheDirectiveRequestProto>(
26940 &from);
26941 if (source == NULL) {
26942 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26943 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
26944 } else {
26945 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26946 MergeFrom(*source);
26947 }
26948}
26949
26950void ModifyCacheDirectiveRequestProto::MergeFrom(const ModifyCacheDirectiveRequestProto& from) {
26951// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26952 GOOGLE_DCHECK_NE(&from, this);
26953 _internal_metadata_.MergeFrom(from._internal_metadata_);
26954 ::google::protobuf::uint32 cached_has_bits = 0;
26955 (void) cached_has_bits;
26956
26957 cached_has_bits = from._has_bits_[0];
26958 if (cached_has_bits & 3u) {
26959 if (cached_has_bits & 0x00000001u) {
26960 mutable_info()->::Hdfs::Internal::CacheDirectiveInfoProto::MergeFrom(from.info());
26961 }
26962 if (cached_has_bits & 0x00000002u) {
26963 cacheflags_ = from.cacheflags_;
26964 }
26965 _has_bits_[0] |= cached_has_bits;
26966 }
26967}
26968
26969void ModifyCacheDirectiveRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
26970// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26971 if (&from == this) return;
26972 Clear();
26973 MergeFrom(from);
26974}
26975
26976void ModifyCacheDirectiveRequestProto::CopyFrom(const ModifyCacheDirectiveRequestProto& from) {
26977// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ModifyCacheDirectiveRequestProto)
26978 if (&from == this) return;
26979 Clear();
26980 MergeFrom(from);
26981}
26982
26983bool ModifyCacheDirectiveRequestProto::IsInitialized() const {
26984 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
26985 if (has_info()) {
26986 if (!this->info_->IsInitialized()) return false;
26987 }
26988 return true;
26989}
26990
26991void ModifyCacheDirectiveRequestProto::Swap(ModifyCacheDirectiveRequestProto* other) {
26992 if (other == this) return;
26993 InternalSwap(other);
26994}
26995void ModifyCacheDirectiveRequestProto::InternalSwap(ModifyCacheDirectiveRequestProto* other) {
26996 using std::swap;
26997 swap(info_, other->info_);
26998 swap(cacheflags_, other->cacheflags_);
26999 swap(_has_bits_[0], other->_has_bits_[0]);
27000 _internal_metadata_.Swap(&other->_internal_metadata_);
27001}
27002
27003::google::protobuf::Metadata ModifyCacheDirectiveRequestProto::GetMetadata() const {
27004 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
27005 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
27006}
27007
27008
27009// ===================================================================
27010
27011void ModifyCacheDirectiveResponseProto::InitAsDefaultInstance() {
27012}
27013#if !defined(_MSC_VER) || _MSC_VER >= 1900
27014#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
27015
27016ModifyCacheDirectiveResponseProto::ModifyCacheDirectiveResponseProto()
27017 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
27018 ::google::protobuf::internal::InitSCC(
27019 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ModifyCacheDirectiveResponseProto.base);
27020 SharedCtor();
27021 // @@protoc_insertion_point(constructor:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27022}
27023ModifyCacheDirectiveResponseProto::ModifyCacheDirectiveResponseProto(const ModifyCacheDirectiveResponseProto& from)
27024 : ::google::protobuf::Message(),
27025 _internal_metadata_(NULL),
27026 _has_bits_(from._has_bits_) {
27027 _internal_metadata_.MergeFrom(from._internal_metadata_);
27028 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27029}
27030
27031void ModifyCacheDirectiveResponseProto::SharedCtor() {
27032}
27033
27034ModifyCacheDirectiveResponseProto::~ModifyCacheDirectiveResponseProto() {
27035 // @@protoc_insertion_point(destructor:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27036 SharedDtor();
27037}
27038
27039void ModifyCacheDirectiveResponseProto::SharedDtor() {
27040}
27041
27042void ModifyCacheDirectiveResponseProto::SetCachedSize(int size) const {
27043 _cached_size_.Set(size);
27044}
27045const ::google::protobuf::Descriptor* ModifyCacheDirectiveResponseProto::descriptor() {
27046 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
27047 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
27048}
27049
27050const ModifyCacheDirectiveResponseProto& ModifyCacheDirectiveResponseProto::default_instance() {
27051 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ModifyCacheDirectiveResponseProto.base);
27052 return *internal_default_instance();
27053}
27054
27055
27056void ModifyCacheDirectiveResponseProto::Clear() {
27057// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27058 ::google::protobuf::uint32 cached_has_bits = 0;
27059 // Prevent compiler warnings about cached_has_bits being unused
27060 (void) cached_has_bits;
27061
27062 _has_bits_.Clear();
27063 _internal_metadata_.Clear();
27064}
27065
27066bool ModifyCacheDirectiveResponseProto::MergePartialFromCodedStream(
27067 ::google::protobuf::io::CodedInputStream* input) {
27068#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
27069 ::google::protobuf::uint32 tag;
27070 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27071 for (;;) {
27072 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
27073 tag = p.first;
27074 if (!p.second) goto handle_unusual;
27075 handle_unusual:
27076 if (tag == 0) {
27077 goto success;
27078 }
27079 DO_(::google::protobuf::internal::WireFormat::SkipField(
27080 input, tag, _internal_metadata_.mutable_unknown_fields()));
27081 }
27082success:
27083 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27084 return true;
27085failure:
27086 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27087 return false;
27088#undef DO_
27089}
27090
27091void ModifyCacheDirectiveResponseProto::SerializeWithCachedSizes(
27092 ::google::protobuf::io::CodedOutputStream* output) const {
27093 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27094 ::google::protobuf::uint32 cached_has_bits = 0;
27095 (void) cached_has_bits;
27096
27097 if (_internal_metadata_.have_unknown_fields()) {
27098 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
27099 _internal_metadata_.unknown_fields(), output);
27100 }
27101 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27102}
27103
27104::google::protobuf::uint8* ModifyCacheDirectiveResponseProto::InternalSerializeWithCachedSizesToArray(
27105 bool deterministic, ::google::protobuf::uint8* target) const {
27106 (void)deterministic; // Unused
27107 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27108 ::google::protobuf::uint32 cached_has_bits = 0;
27109 (void) cached_has_bits;
27110
27111 if (_internal_metadata_.have_unknown_fields()) {
27112 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
27113 _internal_metadata_.unknown_fields(), target);
27114 }
27115 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27116 return target;
27117}
27118
27119size_t ModifyCacheDirectiveResponseProto::ByteSizeLong() const {
27120// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27121 size_t total_size = 0;
27122
27123 if (_internal_metadata_.have_unknown_fields()) {
27124 total_size +=
27125 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
27126 _internal_metadata_.unknown_fields());
27127 }
27128 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
27129 SetCachedSize(cached_size);
27130 return total_size;
27131}
27132
27133void ModifyCacheDirectiveResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
27134// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27135 GOOGLE_DCHECK_NE(&from, this);
27136 const ModifyCacheDirectiveResponseProto* source =
27137 ::google::protobuf::internal::DynamicCastToGenerated<const ModifyCacheDirectiveResponseProto>(
27138 &from);
27139 if (source == NULL) {
27140 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27141 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
27142 } else {
27143 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27144 MergeFrom(*source);
27145 }
27146}
27147
27148void ModifyCacheDirectiveResponseProto::MergeFrom(const ModifyCacheDirectiveResponseProto& from) {
27149// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27150 GOOGLE_DCHECK_NE(&from, this);
27151 _internal_metadata_.MergeFrom(from._internal_metadata_);
27152 ::google::protobuf::uint32 cached_has_bits = 0;
27153 (void) cached_has_bits;
27154
27155}
27156
27157void ModifyCacheDirectiveResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
27158// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27159 if (&from == this) return;
27160 Clear();
27161 MergeFrom(from);
27162}
27163
27164void ModifyCacheDirectiveResponseProto::CopyFrom(const ModifyCacheDirectiveResponseProto& from) {
27165// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ModifyCacheDirectiveResponseProto)
27166 if (&from == this) return;
27167 Clear();
27168 MergeFrom(from);
27169}
27170
27171bool ModifyCacheDirectiveResponseProto::IsInitialized() const {
27172 return true;
27173}
27174
27175void ModifyCacheDirectiveResponseProto::Swap(ModifyCacheDirectiveResponseProto* other) {
27176 if (other == this) return;
27177 InternalSwap(other);
27178}
27179void ModifyCacheDirectiveResponseProto::InternalSwap(ModifyCacheDirectiveResponseProto* other) {
27180 using std::swap;
27181 swap(_has_bits_[0], other->_has_bits_[0]);
27182 _internal_metadata_.Swap(&other->_internal_metadata_);
27183}
27184
27185::google::protobuf::Metadata ModifyCacheDirectiveResponseProto::GetMetadata() const {
27186 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
27187 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
27188}
27189
27190
27191// ===================================================================
27192
27193void RemoveCacheDirectiveRequestProto::InitAsDefaultInstance() {
27194}
27195#if !defined(_MSC_VER) || _MSC_VER >= 1900
27196const int RemoveCacheDirectiveRequestProto::kIdFieldNumber;
27197#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
27198
27199RemoveCacheDirectiveRequestProto::RemoveCacheDirectiveRequestProto()
27200 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
27201 ::google::protobuf::internal::InitSCC(
27202 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RemoveCacheDirectiveRequestProto.base);
27203 SharedCtor();
27204 // @@protoc_insertion_point(constructor:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27205}
27206RemoveCacheDirectiveRequestProto::RemoveCacheDirectiveRequestProto(const RemoveCacheDirectiveRequestProto& from)
27207 : ::google::protobuf::Message(),
27208 _internal_metadata_(NULL),
27209 _has_bits_(from._has_bits_) {
27210 _internal_metadata_.MergeFrom(from._internal_metadata_);
27211 id_ = from.id_;
27212 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27213}
27214
27215void RemoveCacheDirectiveRequestProto::SharedCtor() {
27216 id_ = GOOGLE_LONGLONG(0);
27217}
27218
27219RemoveCacheDirectiveRequestProto::~RemoveCacheDirectiveRequestProto() {
27220 // @@protoc_insertion_point(destructor:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27221 SharedDtor();
27222}
27223
27224void RemoveCacheDirectiveRequestProto::SharedDtor() {
27225}
27226
27227void RemoveCacheDirectiveRequestProto::SetCachedSize(int size) const {
27228 _cached_size_.Set(size);
27229}
27230const ::google::protobuf::Descriptor* RemoveCacheDirectiveRequestProto::descriptor() {
27231 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
27232 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
27233}
27234
27235const RemoveCacheDirectiveRequestProto& RemoveCacheDirectiveRequestProto::default_instance() {
27236 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RemoveCacheDirectiveRequestProto.base);
27237 return *internal_default_instance();
27238}
27239
27240
27241void RemoveCacheDirectiveRequestProto::Clear() {
27242// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27243 ::google::protobuf::uint32 cached_has_bits = 0;
27244 // Prevent compiler warnings about cached_has_bits being unused
27245 (void) cached_has_bits;
27246
27247 id_ = GOOGLE_LONGLONG(0);
27248 _has_bits_.Clear();
27249 _internal_metadata_.Clear();
27250}
27251
27252bool RemoveCacheDirectiveRequestProto::MergePartialFromCodedStream(
27253 ::google::protobuf::io::CodedInputStream* input) {
27254#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
27255 ::google::protobuf::uint32 tag;
27256 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27257 for (;;) {
27258 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
27259 tag = p.first;
27260 if (!p.second) goto handle_unusual;
27261 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
27262 // required int64 id = 1;
27263 case 1: {
27264 if (static_cast< ::google::protobuf::uint8>(tag) ==
27265 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
27266 set_has_id();
27267 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
27268 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
27269 input, &id_)));
27270 } else {
27271 goto handle_unusual;
27272 }
27273 break;
27274 }
27275
27276 default: {
27277 handle_unusual:
27278 if (tag == 0) {
27279 goto success;
27280 }
27281 DO_(::google::protobuf::internal::WireFormat::SkipField(
27282 input, tag, _internal_metadata_.mutable_unknown_fields()));
27283 break;
27284 }
27285 }
27286 }
27287success:
27288 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27289 return true;
27290failure:
27291 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27292 return false;
27293#undef DO_
27294}
27295
27296void RemoveCacheDirectiveRequestProto::SerializeWithCachedSizes(
27297 ::google::protobuf::io::CodedOutputStream* output) const {
27298 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27299 ::google::protobuf::uint32 cached_has_bits = 0;
27300 (void) cached_has_bits;
27301
27302 cached_has_bits = _has_bits_[0];
27303 // required int64 id = 1;
27304 if (cached_has_bits & 0x00000001u) {
27305 ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->id(), output);
27306 }
27307
27308 if (_internal_metadata_.have_unknown_fields()) {
27309 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
27310 _internal_metadata_.unknown_fields(), output);
27311 }
27312 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27313}
27314
27315::google::protobuf::uint8* RemoveCacheDirectiveRequestProto::InternalSerializeWithCachedSizesToArray(
27316 bool deterministic, ::google::protobuf::uint8* target) const {
27317 (void)deterministic; // Unused
27318 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27319 ::google::protobuf::uint32 cached_has_bits = 0;
27320 (void) cached_has_bits;
27321
27322 cached_has_bits = _has_bits_[0];
27323 // required int64 id = 1;
27324 if (cached_has_bits & 0x00000001u) {
27325 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->id(), target);
27326 }
27327
27328 if (_internal_metadata_.have_unknown_fields()) {
27329 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
27330 _internal_metadata_.unknown_fields(), target);
27331 }
27332 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27333 return target;
27334}
27335
27336size_t RemoveCacheDirectiveRequestProto::ByteSizeLong() const {
27337// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27338 size_t total_size = 0;
27339
27340 if (_internal_metadata_.have_unknown_fields()) {
27341 total_size +=
27342 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
27343 _internal_metadata_.unknown_fields());
27344 }
27345 // required int64 id = 1;
27346 if (has_id()) {
27347 total_size += 1 +
27348 ::google::protobuf::internal::WireFormatLite::Int64Size(
27349 this->id());
27350 }
27351 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
27352 SetCachedSize(cached_size);
27353 return total_size;
27354}
27355
27356void RemoveCacheDirectiveRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
27357// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27358 GOOGLE_DCHECK_NE(&from, this);
27359 const RemoveCacheDirectiveRequestProto* source =
27360 ::google::protobuf::internal::DynamicCastToGenerated<const RemoveCacheDirectiveRequestProto>(
27361 &from);
27362 if (source == NULL) {
27363 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27364 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
27365 } else {
27366 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27367 MergeFrom(*source);
27368 }
27369}
27370
27371void RemoveCacheDirectiveRequestProto::MergeFrom(const RemoveCacheDirectiveRequestProto& from) {
27372// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27373 GOOGLE_DCHECK_NE(&from, this);
27374 _internal_metadata_.MergeFrom(from._internal_metadata_);
27375 ::google::protobuf::uint32 cached_has_bits = 0;
27376 (void) cached_has_bits;
27377
27378 if (from.has_id()) {
27379 set_id(from.id());
27380 }
27381}
27382
27383void RemoveCacheDirectiveRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
27384// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27385 if (&from == this) return;
27386 Clear();
27387 MergeFrom(from);
27388}
27389
27390void RemoveCacheDirectiveRequestProto::CopyFrom(const RemoveCacheDirectiveRequestProto& from) {
27391// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RemoveCacheDirectiveRequestProto)
27392 if (&from == this) return;
27393 Clear();
27394 MergeFrom(from);
27395}
27396
27397bool RemoveCacheDirectiveRequestProto::IsInitialized() const {
27398 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
27399 return true;
27400}
27401
27402void RemoveCacheDirectiveRequestProto::Swap(RemoveCacheDirectiveRequestProto* other) {
27403 if (other == this) return;
27404 InternalSwap(other);
27405}
27406void RemoveCacheDirectiveRequestProto::InternalSwap(RemoveCacheDirectiveRequestProto* other) {
27407 using std::swap;
27408 swap(id_, other->id_);
27409 swap(_has_bits_[0], other->_has_bits_[0]);
27410 _internal_metadata_.Swap(&other->_internal_metadata_);
27411}
27412
27413::google::protobuf::Metadata RemoveCacheDirectiveRequestProto::GetMetadata() const {
27414 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
27415 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
27416}
27417
27418
27419// ===================================================================
27420
27421void RemoveCacheDirectiveResponseProto::InitAsDefaultInstance() {
27422}
27423#if !defined(_MSC_VER) || _MSC_VER >= 1900
27424#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
27425
27426RemoveCacheDirectiveResponseProto::RemoveCacheDirectiveResponseProto()
27427 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
27428 ::google::protobuf::internal::InitSCC(
27429 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RemoveCacheDirectiveResponseProto.base);
27430 SharedCtor();
27431 // @@protoc_insertion_point(constructor:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27432}
27433RemoveCacheDirectiveResponseProto::RemoveCacheDirectiveResponseProto(const RemoveCacheDirectiveResponseProto& from)
27434 : ::google::protobuf::Message(),
27435 _internal_metadata_(NULL),
27436 _has_bits_(from._has_bits_) {
27437 _internal_metadata_.MergeFrom(from._internal_metadata_);
27438 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27439}
27440
27441void RemoveCacheDirectiveResponseProto::SharedCtor() {
27442}
27443
27444RemoveCacheDirectiveResponseProto::~RemoveCacheDirectiveResponseProto() {
27445 // @@protoc_insertion_point(destructor:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27446 SharedDtor();
27447}
27448
27449void RemoveCacheDirectiveResponseProto::SharedDtor() {
27450}
27451
27452void RemoveCacheDirectiveResponseProto::SetCachedSize(int size) const {
27453 _cached_size_.Set(size);
27454}
27455const ::google::protobuf::Descriptor* RemoveCacheDirectiveResponseProto::descriptor() {
27456 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
27457 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
27458}
27459
27460const RemoveCacheDirectiveResponseProto& RemoveCacheDirectiveResponseProto::default_instance() {
27461 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RemoveCacheDirectiveResponseProto.base);
27462 return *internal_default_instance();
27463}
27464
27465
27466void RemoveCacheDirectiveResponseProto::Clear() {
27467// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27468 ::google::protobuf::uint32 cached_has_bits = 0;
27469 // Prevent compiler warnings about cached_has_bits being unused
27470 (void) cached_has_bits;
27471
27472 _has_bits_.Clear();
27473 _internal_metadata_.Clear();
27474}
27475
27476bool RemoveCacheDirectiveResponseProto::MergePartialFromCodedStream(
27477 ::google::protobuf::io::CodedInputStream* input) {
27478#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
27479 ::google::protobuf::uint32 tag;
27480 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27481 for (;;) {
27482 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
27483 tag = p.first;
27484 if (!p.second) goto handle_unusual;
27485 handle_unusual:
27486 if (tag == 0) {
27487 goto success;
27488 }
27489 DO_(::google::protobuf::internal::WireFormat::SkipField(
27490 input, tag, _internal_metadata_.mutable_unknown_fields()));
27491 }
27492success:
27493 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27494 return true;
27495failure:
27496 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27497 return false;
27498#undef DO_
27499}
27500
27501void RemoveCacheDirectiveResponseProto::SerializeWithCachedSizes(
27502 ::google::protobuf::io::CodedOutputStream* output) const {
27503 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27504 ::google::protobuf::uint32 cached_has_bits = 0;
27505 (void) cached_has_bits;
27506
27507 if (_internal_metadata_.have_unknown_fields()) {
27508 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
27509 _internal_metadata_.unknown_fields(), output);
27510 }
27511 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27512}
27513
27514::google::protobuf::uint8* RemoveCacheDirectiveResponseProto::InternalSerializeWithCachedSizesToArray(
27515 bool deterministic, ::google::protobuf::uint8* target) const {
27516 (void)deterministic; // Unused
27517 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27518 ::google::protobuf::uint32 cached_has_bits = 0;
27519 (void) cached_has_bits;
27520
27521 if (_internal_metadata_.have_unknown_fields()) {
27522 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
27523 _internal_metadata_.unknown_fields(), target);
27524 }
27525 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27526 return target;
27527}
27528
27529size_t RemoveCacheDirectiveResponseProto::ByteSizeLong() const {
27530// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27531 size_t total_size = 0;
27532
27533 if (_internal_metadata_.have_unknown_fields()) {
27534 total_size +=
27535 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
27536 _internal_metadata_.unknown_fields());
27537 }
27538 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
27539 SetCachedSize(cached_size);
27540 return total_size;
27541}
27542
27543void RemoveCacheDirectiveResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
27544// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27545 GOOGLE_DCHECK_NE(&from, this);
27546 const RemoveCacheDirectiveResponseProto* source =
27547 ::google::protobuf::internal::DynamicCastToGenerated<const RemoveCacheDirectiveResponseProto>(
27548 &from);
27549 if (source == NULL) {
27550 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27551 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
27552 } else {
27553 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27554 MergeFrom(*source);
27555 }
27556}
27557
27558void RemoveCacheDirectiveResponseProto::MergeFrom(const RemoveCacheDirectiveResponseProto& from) {
27559// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27560 GOOGLE_DCHECK_NE(&from, this);
27561 _internal_metadata_.MergeFrom(from._internal_metadata_);
27562 ::google::protobuf::uint32 cached_has_bits = 0;
27563 (void) cached_has_bits;
27564
27565}
27566
27567void RemoveCacheDirectiveResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
27568// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27569 if (&from == this) return;
27570 Clear();
27571 MergeFrom(from);
27572}
27573
27574void RemoveCacheDirectiveResponseProto::CopyFrom(const RemoveCacheDirectiveResponseProto& from) {
27575// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RemoveCacheDirectiveResponseProto)
27576 if (&from == this) return;
27577 Clear();
27578 MergeFrom(from);
27579}
27580
27581bool RemoveCacheDirectiveResponseProto::IsInitialized() const {
27582 return true;
27583}
27584
27585void RemoveCacheDirectiveResponseProto::Swap(RemoveCacheDirectiveResponseProto* other) {
27586 if (other == this) return;
27587 InternalSwap(other);
27588}
27589void RemoveCacheDirectiveResponseProto::InternalSwap(RemoveCacheDirectiveResponseProto* other) {
27590 using std::swap;
27591 swap(_has_bits_[0], other->_has_bits_[0]);
27592 _internal_metadata_.Swap(&other->_internal_metadata_);
27593}
27594
27595::google::protobuf::Metadata RemoveCacheDirectiveResponseProto::GetMetadata() const {
27596 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
27597 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
27598}
27599
27600
27601// ===================================================================
27602
27603void ListCacheDirectivesRequestProto::InitAsDefaultInstance() {
27604 ::Hdfs::Internal::_ListCacheDirectivesRequestProto_default_instance_._instance.get_mutable()->filter_ = const_cast< ::Hdfs::Internal::CacheDirectiveInfoProto*>(
27605 ::Hdfs::Internal::CacheDirectiveInfoProto::internal_default_instance());
27606}
27607#if !defined(_MSC_VER) || _MSC_VER >= 1900
27608const int ListCacheDirectivesRequestProto::kPrevIdFieldNumber;
27609const int ListCacheDirectivesRequestProto::kFilterFieldNumber;
27610#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
27611
27612ListCacheDirectivesRequestProto::ListCacheDirectivesRequestProto()
27613 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
27614 ::google::protobuf::internal::InitSCC(
27615 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ListCacheDirectivesRequestProto.base);
27616 SharedCtor();
27617 // @@protoc_insertion_point(constructor:Hdfs.Internal.ListCacheDirectivesRequestProto)
27618}
27619ListCacheDirectivesRequestProto::ListCacheDirectivesRequestProto(const ListCacheDirectivesRequestProto& from)
27620 : ::google::protobuf::Message(),
27621 _internal_metadata_(NULL),
27622 _has_bits_(from._has_bits_) {
27623 _internal_metadata_.MergeFrom(from._internal_metadata_);
27624 if (from.has_filter()) {
27625 filter_ = new ::Hdfs::Internal::CacheDirectiveInfoProto(*from.filter_);
27626 } else {
27627 filter_ = NULL;
27628 }
27629 previd_ = from.previd_;
27630 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ListCacheDirectivesRequestProto)
27631}
27632
27633void ListCacheDirectivesRequestProto::SharedCtor() {
27634 ::memset(&filter_, 0, static_cast<size_t>(
27635 reinterpret_cast<char*>(&previd_) -
27636 reinterpret_cast<char*>(&filter_)) + sizeof(previd_));
27637}
27638
27639ListCacheDirectivesRequestProto::~ListCacheDirectivesRequestProto() {
27640 // @@protoc_insertion_point(destructor:Hdfs.Internal.ListCacheDirectivesRequestProto)
27641 SharedDtor();
27642}
27643
27644void ListCacheDirectivesRequestProto::SharedDtor() {
27645 if (this != internal_default_instance()) delete filter_;
27646}
27647
27648void ListCacheDirectivesRequestProto::SetCachedSize(int size) const {
27649 _cached_size_.Set(size);
27650}
27651const ::google::protobuf::Descriptor* ListCacheDirectivesRequestProto::descriptor() {
27652 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
27653 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
27654}
27655
27656const ListCacheDirectivesRequestProto& ListCacheDirectivesRequestProto::default_instance() {
27657 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ListCacheDirectivesRequestProto.base);
27658 return *internal_default_instance();
27659}
27660
27661
27662void ListCacheDirectivesRequestProto::Clear() {
27663// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ListCacheDirectivesRequestProto)
27664 ::google::protobuf::uint32 cached_has_bits = 0;
27665 // Prevent compiler warnings about cached_has_bits being unused
27666 (void) cached_has_bits;
27667
27668 cached_has_bits = _has_bits_[0];
27669 if (cached_has_bits & 0x00000001u) {
27670 GOOGLE_DCHECK(filter_ != NULL);
27671 filter_->Clear();
27672 }
27673 previd_ = GOOGLE_LONGLONG(0);
27674 _has_bits_.Clear();
27675 _internal_metadata_.Clear();
27676}
27677
27678bool ListCacheDirectivesRequestProto::MergePartialFromCodedStream(
27679 ::google::protobuf::io::CodedInputStream* input) {
27680#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
27681 ::google::protobuf::uint32 tag;
27682 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ListCacheDirectivesRequestProto)
27683 for (;;) {
27684 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
27685 tag = p.first;
27686 if (!p.second) goto handle_unusual;
27687 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
27688 // required int64 prevId = 1;
27689 case 1: {
27690 if (static_cast< ::google::protobuf::uint8>(tag) ==
27691 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
27692 set_has_previd();
27693 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
27694 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
27695 input, &previd_)));
27696 } else {
27697 goto handle_unusual;
27698 }
27699 break;
27700 }
27701
27702 // required .Hdfs.Internal.CacheDirectiveInfoProto filter = 2;
27703 case 2: {
27704 if (static_cast< ::google::protobuf::uint8>(tag) ==
27705 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
27706 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
27707 input, mutable_filter()));
27708 } else {
27709 goto handle_unusual;
27710 }
27711 break;
27712 }
27713
27714 default: {
27715 handle_unusual:
27716 if (tag == 0) {
27717 goto success;
27718 }
27719 DO_(::google::protobuf::internal::WireFormat::SkipField(
27720 input, tag, _internal_metadata_.mutable_unknown_fields()));
27721 break;
27722 }
27723 }
27724 }
27725success:
27726 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ListCacheDirectivesRequestProto)
27727 return true;
27728failure:
27729 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ListCacheDirectivesRequestProto)
27730 return false;
27731#undef DO_
27732}
27733
27734void ListCacheDirectivesRequestProto::SerializeWithCachedSizes(
27735 ::google::protobuf::io::CodedOutputStream* output) const {
27736 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ListCacheDirectivesRequestProto)
27737 ::google::protobuf::uint32 cached_has_bits = 0;
27738 (void) cached_has_bits;
27739
27740 cached_has_bits = _has_bits_[0];
27741 // required int64 prevId = 1;
27742 if (cached_has_bits & 0x00000002u) {
27743 ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->previd(), output);
27744 }
27745
27746 // required .Hdfs.Internal.CacheDirectiveInfoProto filter = 2;
27747 if (cached_has_bits & 0x00000001u) {
27748 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
27749 2, this->_internal_filter(), output);
27750 }
27751
27752 if (_internal_metadata_.have_unknown_fields()) {
27753 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
27754 _internal_metadata_.unknown_fields(), output);
27755 }
27756 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ListCacheDirectivesRequestProto)
27757}
27758
27759::google::protobuf::uint8* ListCacheDirectivesRequestProto::InternalSerializeWithCachedSizesToArray(
27760 bool deterministic, ::google::protobuf::uint8* target) const {
27761 (void)deterministic; // Unused
27762 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ListCacheDirectivesRequestProto)
27763 ::google::protobuf::uint32 cached_has_bits = 0;
27764 (void) cached_has_bits;
27765
27766 cached_has_bits = _has_bits_[0];
27767 // required int64 prevId = 1;
27768 if (cached_has_bits & 0x00000002u) {
27769 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->previd(), target);
27770 }
27771
27772 // required .Hdfs.Internal.CacheDirectiveInfoProto filter = 2;
27773 if (cached_has_bits & 0x00000001u) {
27774 target = ::google::protobuf::internal::WireFormatLite::
27775 InternalWriteMessageToArray(
27776 2, this->_internal_filter(), deterministic, target);
27777 }
27778
27779 if (_internal_metadata_.have_unknown_fields()) {
27780 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
27781 _internal_metadata_.unknown_fields(), target);
27782 }
27783 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ListCacheDirectivesRequestProto)
27784 return target;
27785}
27786
27787size_t ListCacheDirectivesRequestProto::RequiredFieldsByteSizeFallback() const {
27788// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.ListCacheDirectivesRequestProto)
27789 size_t total_size = 0;
27790
27791 if (has_filter()) {
27792 // required .Hdfs.Internal.CacheDirectiveInfoProto filter = 2;
27793 total_size += 1 +
27794 ::google::protobuf::internal::WireFormatLite::MessageSize(
27795 *filter_);
27796 }
27797
27798 if (has_previd()) {
27799 // required int64 prevId = 1;
27800 total_size += 1 +
27801 ::google::protobuf::internal::WireFormatLite::Int64Size(
27802 this->previd());
27803 }
27804
27805 return total_size;
27806}
27807size_t ListCacheDirectivesRequestProto::ByteSizeLong() const {
27808// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ListCacheDirectivesRequestProto)
27809 size_t total_size = 0;
27810
27811 if (_internal_metadata_.have_unknown_fields()) {
27812 total_size +=
27813 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
27814 _internal_metadata_.unknown_fields());
27815 }
27816 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
27817 // required .Hdfs.Internal.CacheDirectiveInfoProto filter = 2;
27818 total_size += 1 +
27819 ::google::protobuf::internal::WireFormatLite::MessageSize(
27820 *filter_);
27821
27822 // required int64 prevId = 1;
27823 total_size += 1 +
27824 ::google::protobuf::internal::WireFormatLite::Int64Size(
27825 this->previd());
27826
27827 } else {
27828 total_size += RequiredFieldsByteSizeFallback();
27829 }
27830 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
27831 SetCachedSize(cached_size);
27832 return total_size;
27833}
27834
27835void ListCacheDirectivesRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
27836// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ListCacheDirectivesRequestProto)
27837 GOOGLE_DCHECK_NE(&from, this);
27838 const ListCacheDirectivesRequestProto* source =
27839 ::google::protobuf::internal::DynamicCastToGenerated<const ListCacheDirectivesRequestProto>(
27840 &from);
27841 if (source == NULL) {
27842 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ListCacheDirectivesRequestProto)
27843 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
27844 } else {
27845 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ListCacheDirectivesRequestProto)
27846 MergeFrom(*source);
27847 }
27848}
27849
27850void ListCacheDirectivesRequestProto::MergeFrom(const ListCacheDirectivesRequestProto& from) {
27851// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ListCacheDirectivesRequestProto)
27852 GOOGLE_DCHECK_NE(&from, this);
27853 _internal_metadata_.MergeFrom(from._internal_metadata_);
27854 ::google::protobuf::uint32 cached_has_bits = 0;
27855 (void) cached_has_bits;
27856
27857 cached_has_bits = from._has_bits_[0];
27858 if (cached_has_bits & 3u) {
27859 if (cached_has_bits & 0x00000001u) {
27860 mutable_filter()->::Hdfs::Internal::CacheDirectiveInfoProto::MergeFrom(from.filter());
27861 }
27862 if (cached_has_bits & 0x00000002u) {
27863 previd_ = from.previd_;
27864 }
27865 _has_bits_[0] |= cached_has_bits;
27866 }
27867}
27868
27869void ListCacheDirectivesRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
27870// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ListCacheDirectivesRequestProto)
27871 if (&from == this) return;
27872 Clear();
27873 MergeFrom(from);
27874}
27875
27876void ListCacheDirectivesRequestProto::CopyFrom(const ListCacheDirectivesRequestProto& from) {
27877// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ListCacheDirectivesRequestProto)
27878 if (&from == this) return;
27879 Clear();
27880 MergeFrom(from);
27881}
27882
27883bool ListCacheDirectivesRequestProto::IsInitialized() const {
27884 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
27885 if (has_filter()) {
27886 if (!this->filter_->IsInitialized()) return false;
27887 }
27888 return true;
27889}
27890
27891void ListCacheDirectivesRequestProto::Swap(ListCacheDirectivesRequestProto* other) {
27892 if (other == this) return;
27893 InternalSwap(other);
27894}
27895void ListCacheDirectivesRequestProto::InternalSwap(ListCacheDirectivesRequestProto* other) {
27896 using std::swap;
27897 swap(filter_, other->filter_);
27898 swap(previd_, other->previd_);
27899 swap(_has_bits_[0], other->_has_bits_[0]);
27900 _internal_metadata_.Swap(&other->_internal_metadata_);
27901}
27902
27903::google::protobuf::Metadata ListCacheDirectivesRequestProto::GetMetadata() const {
27904 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
27905 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
27906}
27907
27908
27909// ===================================================================
27910
27911void CacheDirectiveEntryProto::InitAsDefaultInstance() {
27912 ::Hdfs::Internal::_CacheDirectiveEntryProto_default_instance_._instance.get_mutable()->info_ = const_cast< ::Hdfs::Internal::CacheDirectiveInfoProto*>(
27913 ::Hdfs::Internal::CacheDirectiveInfoProto::internal_default_instance());
27914 ::Hdfs::Internal::_CacheDirectiveEntryProto_default_instance_._instance.get_mutable()->stats_ = const_cast< ::Hdfs::Internal::CacheDirectiveStatsProto*>(
27915 ::Hdfs::Internal::CacheDirectiveStatsProto::internal_default_instance());
27916}
27917#if !defined(_MSC_VER) || _MSC_VER >= 1900
27918const int CacheDirectiveEntryProto::kInfoFieldNumber;
27919const int CacheDirectiveEntryProto::kStatsFieldNumber;
27920#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
27921
27922CacheDirectiveEntryProto::CacheDirectiveEntryProto()
27923 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
27924 ::google::protobuf::internal::InitSCC(
27925 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveEntryProto.base);
27926 SharedCtor();
27927 // @@protoc_insertion_point(constructor:Hdfs.Internal.CacheDirectiveEntryProto)
27928}
27929CacheDirectiveEntryProto::CacheDirectiveEntryProto(const CacheDirectiveEntryProto& from)
27930 : ::google::protobuf::Message(),
27931 _internal_metadata_(NULL),
27932 _has_bits_(from._has_bits_) {
27933 _internal_metadata_.MergeFrom(from._internal_metadata_);
27934 if (from.has_info()) {
27935 info_ = new ::Hdfs::Internal::CacheDirectiveInfoProto(*from.info_);
27936 } else {
27937 info_ = NULL;
27938 }
27939 if (from.has_stats()) {
27940 stats_ = new ::Hdfs::Internal::CacheDirectiveStatsProto(*from.stats_);
27941 } else {
27942 stats_ = NULL;
27943 }
27944 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CacheDirectiveEntryProto)
27945}
27946
27947void CacheDirectiveEntryProto::SharedCtor() {
27948 ::memset(&info_, 0, static_cast<size_t>(
27949 reinterpret_cast<char*>(&stats_) -
27950 reinterpret_cast<char*>(&info_)) + sizeof(stats_));
27951}
27952
27953CacheDirectiveEntryProto::~CacheDirectiveEntryProto() {
27954 // @@protoc_insertion_point(destructor:Hdfs.Internal.CacheDirectiveEntryProto)
27955 SharedDtor();
27956}
27957
27958void CacheDirectiveEntryProto::SharedDtor() {
27959 if (this != internal_default_instance()) delete info_;
27960 if (this != internal_default_instance()) delete stats_;
27961}
27962
27963void CacheDirectiveEntryProto::SetCachedSize(int size) const {
27964 _cached_size_.Set(size);
27965}
27966const ::google::protobuf::Descriptor* CacheDirectiveEntryProto::descriptor() {
27967 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
27968 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
27969}
27970
27971const CacheDirectiveEntryProto& CacheDirectiveEntryProto::default_instance() {
27972 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CacheDirectiveEntryProto.base);
27973 return *internal_default_instance();
27974}
27975
27976
27977void CacheDirectiveEntryProto::Clear() {
27978// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CacheDirectiveEntryProto)
27979 ::google::protobuf::uint32 cached_has_bits = 0;
27980 // Prevent compiler warnings about cached_has_bits being unused
27981 (void) cached_has_bits;
27982
27983 cached_has_bits = _has_bits_[0];
27984 if (cached_has_bits & 3u) {
27985 if (cached_has_bits & 0x00000001u) {
27986 GOOGLE_DCHECK(info_ != NULL);
27987 info_->Clear();
27988 }
27989 if (cached_has_bits & 0x00000002u) {
27990 GOOGLE_DCHECK(stats_ != NULL);
27991 stats_->Clear();
27992 }
27993 }
27994 _has_bits_.Clear();
27995 _internal_metadata_.Clear();
27996}
27997
27998bool CacheDirectiveEntryProto::MergePartialFromCodedStream(
27999 ::google::protobuf::io::CodedInputStream* input) {
28000#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
28001 ::google::protobuf::uint32 tag;
28002 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CacheDirectiveEntryProto)
28003 for (;;) {
28004 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
28005 tag = p.first;
28006 if (!p.second) goto handle_unusual;
28007 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
28008 // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1;
28009 case 1: {
28010 if (static_cast< ::google::protobuf::uint8>(tag) ==
28011 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
28012 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
28013 input, mutable_info()));
28014 } else {
28015 goto handle_unusual;
28016 }
28017 break;
28018 }
28019
28020 // required .Hdfs.Internal.CacheDirectiveStatsProto stats = 2;
28021 case 2: {
28022 if (static_cast< ::google::protobuf::uint8>(tag) ==
28023 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
28024 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
28025 input, mutable_stats()));
28026 } else {
28027 goto handle_unusual;
28028 }
28029 break;
28030 }
28031
28032 default: {
28033 handle_unusual:
28034 if (tag == 0) {
28035 goto success;
28036 }
28037 DO_(::google::protobuf::internal::WireFormat::SkipField(
28038 input, tag, _internal_metadata_.mutable_unknown_fields()));
28039 break;
28040 }
28041 }
28042 }
28043success:
28044 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CacheDirectiveEntryProto)
28045 return true;
28046failure:
28047 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CacheDirectiveEntryProto)
28048 return false;
28049#undef DO_
28050}
28051
28052void CacheDirectiveEntryProto::SerializeWithCachedSizes(
28053 ::google::protobuf::io::CodedOutputStream* output) const {
28054 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CacheDirectiveEntryProto)
28055 ::google::protobuf::uint32 cached_has_bits = 0;
28056 (void) cached_has_bits;
28057
28058 cached_has_bits = _has_bits_[0];
28059 // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1;
28060 if (cached_has_bits & 0x00000001u) {
28061 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
28062 1, this->_internal_info(), output);
28063 }
28064
28065 // required .Hdfs.Internal.CacheDirectiveStatsProto stats = 2;
28066 if (cached_has_bits & 0x00000002u) {
28067 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
28068 2, this->_internal_stats(), output);
28069 }
28070
28071 if (_internal_metadata_.have_unknown_fields()) {
28072 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
28073 _internal_metadata_.unknown_fields(), output);
28074 }
28075 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CacheDirectiveEntryProto)
28076}
28077
28078::google::protobuf::uint8* CacheDirectiveEntryProto::InternalSerializeWithCachedSizesToArray(
28079 bool deterministic, ::google::protobuf::uint8* target) const {
28080 (void)deterministic; // Unused
28081 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CacheDirectiveEntryProto)
28082 ::google::protobuf::uint32 cached_has_bits = 0;
28083 (void) cached_has_bits;
28084
28085 cached_has_bits = _has_bits_[0];
28086 // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1;
28087 if (cached_has_bits & 0x00000001u) {
28088 target = ::google::protobuf::internal::WireFormatLite::
28089 InternalWriteMessageToArray(
28090 1, this->_internal_info(), deterministic, target);
28091 }
28092
28093 // required .Hdfs.Internal.CacheDirectiveStatsProto stats = 2;
28094 if (cached_has_bits & 0x00000002u) {
28095 target = ::google::protobuf::internal::WireFormatLite::
28096 InternalWriteMessageToArray(
28097 2, this->_internal_stats(), deterministic, target);
28098 }
28099
28100 if (_internal_metadata_.have_unknown_fields()) {
28101 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
28102 _internal_metadata_.unknown_fields(), target);
28103 }
28104 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CacheDirectiveEntryProto)
28105 return target;
28106}
28107
28108size_t CacheDirectiveEntryProto::RequiredFieldsByteSizeFallback() const {
28109// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.CacheDirectiveEntryProto)
28110 size_t total_size = 0;
28111
28112 if (has_info()) {
28113 // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1;
28114 total_size += 1 +
28115 ::google::protobuf::internal::WireFormatLite::MessageSize(
28116 *info_);
28117 }
28118
28119 if (has_stats()) {
28120 // required .Hdfs.Internal.CacheDirectiveStatsProto stats = 2;
28121 total_size += 1 +
28122 ::google::protobuf::internal::WireFormatLite::MessageSize(
28123 *stats_);
28124 }
28125
28126 return total_size;
28127}
28128size_t CacheDirectiveEntryProto::ByteSizeLong() const {
28129// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CacheDirectiveEntryProto)
28130 size_t total_size = 0;
28131
28132 if (_internal_metadata_.have_unknown_fields()) {
28133 total_size +=
28134 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
28135 _internal_metadata_.unknown_fields());
28136 }
28137 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
28138 // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1;
28139 total_size += 1 +
28140 ::google::protobuf::internal::WireFormatLite::MessageSize(
28141 *info_);
28142
28143 // required .Hdfs.Internal.CacheDirectiveStatsProto stats = 2;
28144 total_size += 1 +
28145 ::google::protobuf::internal::WireFormatLite::MessageSize(
28146 *stats_);
28147
28148 } else {
28149 total_size += RequiredFieldsByteSizeFallback();
28150 }
28151 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
28152 SetCachedSize(cached_size);
28153 return total_size;
28154}
28155
28156void CacheDirectiveEntryProto::MergeFrom(const ::google::protobuf::Message& from) {
28157// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CacheDirectiveEntryProto)
28158 GOOGLE_DCHECK_NE(&from, this);
28159 const CacheDirectiveEntryProto* source =
28160 ::google::protobuf::internal::DynamicCastToGenerated<const CacheDirectiveEntryProto>(
28161 &from);
28162 if (source == NULL) {
28163 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CacheDirectiveEntryProto)
28164 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
28165 } else {
28166 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CacheDirectiveEntryProto)
28167 MergeFrom(*source);
28168 }
28169}
28170
28171void CacheDirectiveEntryProto::MergeFrom(const CacheDirectiveEntryProto& from) {
28172// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CacheDirectiveEntryProto)
28173 GOOGLE_DCHECK_NE(&from, this);
28174 _internal_metadata_.MergeFrom(from._internal_metadata_);
28175 ::google::protobuf::uint32 cached_has_bits = 0;
28176 (void) cached_has_bits;
28177
28178 cached_has_bits = from._has_bits_[0];
28179 if (cached_has_bits & 3u) {
28180 if (cached_has_bits & 0x00000001u) {
28181 mutable_info()->::Hdfs::Internal::CacheDirectiveInfoProto::MergeFrom(from.info());
28182 }
28183 if (cached_has_bits & 0x00000002u) {
28184 mutable_stats()->::Hdfs::Internal::CacheDirectiveStatsProto::MergeFrom(from.stats());
28185 }
28186 }
28187}
28188
28189void CacheDirectiveEntryProto::CopyFrom(const ::google::protobuf::Message& from) {
28190// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CacheDirectiveEntryProto)
28191 if (&from == this) return;
28192 Clear();
28193 MergeFrom(from);
28194}
28195
28196void CacheDirectiveEntryProto::CopyFrom(const CacheDirectiveEntryProto& from) {
28197// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CacheDirectiveEntryProto)
28198 if (&from == this) return;
28199 Clear();
28200 MergeFrom(from);
28201}
28202
28203bool CacheDirectiveEntryProto::IsInitialized() const {
28204 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
28205 if (has_info()) {
28206 if (!this->info_->IsInitialized()) return false;
28207 }
28208 if (has_stats()) {
28209 if (!this->stats_->IsInitialized()) return false;
28210 }
28211 return true;
28212}
28213
28214void CacheDirectiveEntryProto::Swap(CacheDirectiveEntryProto* other) {
28215 if (other == this) return;
28216 InternalSwap(other);
28217}
28218void CacheDirectiveEntryProto::InternalSwap(CacheDirectiveEntryProto* other) {
28219 using std::swap;
28220 swap(info_, other->info_);
28221 swap(stats_, other->stats_);
28222 swap(_has_bits_[0], other->_has_bits_[0]);
28223 _internal_metadata_.Swap(&other->_internal_metadata_);
28224}
28225
28226::google::protobuf::Metadata CacheDirectiveEntryProto::GetMetadata() const {
28227 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
28228 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
28229}
28230
28231
28232// ===================================================================
28233
28234void ListCacheDirectivesResponseProto::InitAsDefaultInstance() {
28235}
28236#if !defined(_MSC_VER) || _MSC_VER >= 1900
28237const int ListCacheDirectivesResponseProto::kElementsFieldNumber;
28238const int ListCacheDirectivesResponseProto::kHasMoreFieldNumber;
28239#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
28240
28241ListCacheDirectivesResponseProto::ListCacheDirectivesResponseProto()
28242 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
28243 ::google::protobuf::internal::InitSCC(
28244 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ListCacheDirectivesResponseProto.base);
28245 SharedCtor();
28246 // @@protoc_insertion_point(constructor:Hdfs.Internal.ListCacheDirectivesResponseProto)
28247}
28248ListCacheDirectivesResponseProto::ListCacheDirectivesResponseProto(const ListCacheDirectivesResponseProto& from)
28249 : ::google::protobuf::Message(),
28250 _internal_metadata_(NULL),
28251 _has_bits_(from._has_bits_),
28252 elements_(from.elements_) {
28253 _internal_metadata_.MergeFrom(from._internal_metadata_);
28254 hasmore_ = from.hasmore_;
28255 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ListCacheDirectivesResponseProto)
28256}
28257
28258void ListCacheDirectivesResponseProto::SharedCtor() {
28259 hasmore_ = false;
28260}
28261
28262ListCacheDirectivesResponseProto::~ListCacheDirectivesResponseProto() {
28263 // @@protoc_insertion_point(destructor:Hdfs.Internal.ListCacheDirectivesResponseProto)
28264 SharedDtor();
28265}
28266
28267void ListCacheDirectivesResponseProto::SharedDtor() {
28268}
28269
28270void ListCacheDirectivesResponseProto::SetCachedSize(int size) const {
28271 _cached_size_.Set(size);
28272}
28273const ::google::protobuf::Descriptor* ListCacheDirectivesResponseProto::descriptor() {
28274 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
28275 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
28276}
28277
28278const ListCacheDirectivesResponseProto& ListCacheDirectivesResponseProto::default_instance() {
28279 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ListCacheDirectivesResponseProto.base);
28280 return *internal_default_instance();
28281}
28282
28283
28284void ListCacheDirectivesResponseProto::Clear() {
28285// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ListCacheDirectivesResponseProto)
28286 ::google::protobuf::uint32 cached_has_bits = 0;
28287 // Prevent compiler warnings about cached_has_bits being unused
28288 (void) cached_has_bits;
28289
28290 elements_.Clear();
28291 hasmore_ = false;
28292 _has_bits_.Clear();
28293 _internal_metadata_.Clear();
28294}
28295
28296bool ListCacheDirectivesResponseProto::MergePartialFromCodedStream(
28297 ::google::protobuf::io::CodedInputStream* input) {
28298#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
28299 ::google::protobuf::uint32 tag;
28300 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ListCacheDirectivesResponseProto)
28301 for (;;) {
28302 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
28303 tag = p.first;
28304 if (!p.second) goto handle_unusual;
28305 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
28306 // repeated .Hdfs.Internal.CacheDirectiveEntryProto elements = 1;
28307 case 1: {
28308 if (static_cast< ::google::protobuf::uint8>(tag) ==
28309 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
28310 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
28311 input, add_elements()));
28312 } else {
28313 goto handle_unusual;
28314 }
28315 break;
28316 }
28317
28318 // required bool hasMore = 2;
28319 case 2: {
28320 if (static_cast< ::google::protobuf::uint8>(tag) ==
28321 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
28322 set_has_hasmore();
28323 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
28324 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
28325 input, &hasmore_)));
28326 } else {
28327 goto handle_unusual;
28328 }
28329 break;
28330 }
28331
28332 default: {
28333 handle_unusual:
28334 if (tag == 0) {
28335 goto success;
28336 }
28337 DO_(::google::protobuf::internal::WireFormat::SkipField(
28338 input, tag, _internal_metadata_.mutable_unknown_fields()));
28339 break;
28340 }
28341 }
28342 }
28343success:
28344 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ListCacheDirectivesResponseProto)
28345 return true;
28346failure:
28347 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ListCacheDirectivesResponseProto)
28348 return false;
28349#undef DO_
28350}
28351
28352void ListCacheDirectivesResponseProto::SerializeWithCachedSizes(
28353 ::google::protobuf::io::CodedOutputStream* output) const {
28354 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ListCacheDirectivesResponseProto)
28355 ::google::protobuf::uint32 cached_has_bits = 0;
28356 (void) cached_has_bits;
28357
28358 // repeated .Hdfs.Internal.CacheDirectiveEntryProto elements = 1;
28359 for (unsigned int i = 0,
28360 n = static_cast<unsigned int>(this->elements_size()); i < n; i++) {
28361 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
28362 1,
28363 this->elements(static_cast<int>(i)),
28364 output);
28365 }
28366
28367 cached_has_bits = _has_bits_[0];
28368 // required bool hasMore = 2;
28369 if (cached_has_bits & 0x00000001u) {
28370 ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->hasmore(), output);
28371 }
28372
28373 if (_internal_metadata_.have_unknown_fields()) {
28374 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
28375 _internal_metadata_.unknown_fields(), output);
28376 }
28377 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ListCacheDirectivesResponseProto)
28378}
28379
28380::google::protobuf::uint8* ListCacheDirectivesResponseProto::InternalSerializeWithCachedSizesToArray(
28381 bool deterministic, ::google::protobuf::uint8* target) const {
28382 (void)deterministic; // Unused
28383 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ListCacheDirectivesResponseProto)
28384 ::google::protobuf::uint32 cached_has_bits = 0;
28385 (void) cached_has_bits;
28386
28387 // repeated .Hdfs.Internal.CacheDirectiveEntryProto elements = 1;
28388 for (unsigned int i = 0,
28389 n = static_cast<unsigned int>(this->elements_size()); i < n; i++) {
28390 target = ::google::protobuf::internal::WireFormatLite::
28391 InternalWriteMessageToArray(
28392 1, this->elements(static_cast<int>(i)), deterministic, target);
28393 }
28394
28395 cached_has_bits = _has_bits_[0];
28396 // required bool hasMore = 2;
28397 if (cached_has_bits & 0x00000001u) {
28398 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->hasmore(), target);
28399 }
28400
28401 if (_internal_metadata_.have_unknown_fields()) {
28402 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
28403 _internal_metadata_.unknown_fields(), target);
28404 }
28405 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ListCacheDirectivesResponseProto)
28406 return target;
28407}
28408
28409size_t ListCacheDirectivesResponseProto::ByteSizeLong() const {
28410// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ListCacheDirectivesResponseProto)
28411 size_t total_size = 0;
28412
28413 if (_internal_metadata_.have_unknown_fields()) {
28414 total_size +=
28415 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
28416 _internal_metadata_.unknown_fields());
28417 }
28418 // required bool hasMore = 2;
28419 if (has_hasmore()) {
28420 total_size += 1 + 1;
28421 }
28422 // repeated .Hdfs.Internal.CacheDirectiveEntryProto elements = 1;
28423 {
28424 unsigned int count = static_cast<unsigned int>(this->elements_size());
28425 total_size += 1UL * count;
28426 for (unsigned int i = 0; i < count; i++) {
28427 total_size +=
28428 ::google::protobuf::internal::WireFormatLite::MessageSize(
28429 this->elements(static_cast<int>(i)));
28430 }
28431 }
28432
28433 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
28434 SetCachedSize(cached_size);
28435 return total_size;
28436}
28437
28438void ListCacheDirectivesResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
28439// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ListCacheDirectivesResponseProto)
28440 GOOGLE_DCHECK_NE(&from, this);
28441 const ListCacheDirectivesResponseProto* source =
28442 ::google::protobuf::internal::DynamicCastToGenerated<const ListCacheDirectivesResponseProto>(
28443 &from);
28444 if (source == NULL) {
28445 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ListCacheDirectivesResponseProto)
28446 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
28447 } else {
28448 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ListCacheDirectivesResponseProto)
28449 MergeFrom(*source);
28450 }
28451}
28452
28453void ListCacheDirectivesResponseProto::MergeFrom(const ListCacheDirectivesResponseProto& from) {
28454// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ListCacheDirectivesResponseProto)
28455 GOOGLE_DCHECK_NE(&from, this);
28456 _internal_metadata_.MergeFrom(from._internal_metadata_);
28457 ::google::protobuf::uint32 cached_has_bits = 0;
28458 (void) cached_has_bits;
28459
28460 elements_.MergeFrom(from.elements_);
28461 if (from.has_hasmore()) {
28462 set_hasmore(from.hasmore());
28463 }
28464}
28465
28466void ListCacheDirectivesResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
28467// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ListCacheDirectivesResponseProto)
28468 if (&from == this) return;
28469 Clear();
28470 MergeFrom(from);
28471}
28472
28473void ListCacheDirectivesResponseProto::CopyFrom(const ListCacheDirectivesResponseProto& from) {
28474// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ListCacheDirectivesResponseProto)
28475 if (&from == this) return;
28476 Clear();
28477 MergeFrom(from);
28478}
28479
28480bool ListCacheDirectivesResponseProto::IsInitialized() const {
28481 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
28482 if (!::google::protobuf::internal::AllAreInitialized(this->elements())) return false;
28483 return true;
28484}
28485
28486void ListCacheDirectivesResponseProto::Swap(ListCacheDirectivesResponseProto* other) {
28487 if (other == this) return;
28488 InternalSwap(other);
28489}
28490void ListCacheDirectivesResponseProto::InternalSwap(ListCacheDirectivesResponseProto* other) {
28491 using std::swap;
28492 CastToBase(&elements_)->InternalSwap(CastToBase(&other->elements_));
28493 swap(hasmore_, other->hasmore_);
28494 swap(_has_bits_[0], other->_has_bits_[0]);
28495 _internal_metadata_.Swap(&other->_internal_metadata_);
28496}
28497
28498::google::protobuf::Metadata ListCacheDirectivesResponseProto::GetMetadata() const {
28499 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
28500 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
28501}
28502
28503
28504// ===================================================================
28505
28506void CachePoolInfoProto::InitAsDefaultInstance() {
28507}
28508#if !defined(_MSC_VER) || _MSC_VER >= 1900
28509const int CachePoolInfoProto::kPoolNameFieldNumber;
28510const int CachePoolInfoProto::kOwnerNameFieldNumber;
28511const int CachePoolInfoProto::kGroupNameFieldNumber;
28512const int CachePoolInfoProto::kModeFieldNumber;
28513const int CachePoolInfoProto::kLimitFieldNumber;
28514const int CachePoolInfoProto::kMaxRelativeExpiryFieldNumber;
28515#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
28516
28517CachePoolInfoProto::CachePoolInfoProto()
28518 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
28519 ::google::protobuf::internal::InitSCC(
28520 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CachePoolInfoProto.base);
28521 SharedCtor();
28522 // @@protoc_insertion_point(constructor:Hdfs.Internal.CachePoolInfoProto)
28523}
28524CachePoolInfoProto::CachePoolInfoProto(const CachePoolInfoProto& from)
28525 : ::google::protobuf::Message(),
28526 _internal_metadata_(NULL),
28527 _has_bits_(from._has_bits_) {
28528 _internal_metadata_.MergeFrom(from._internal_metadata_);
28529 poolname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28530 if (from.has_poolname()) {
28531 poolname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.poolname_);
28532 }
28533 ownername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28534 if (from.has_ownername()) {
28535 ownername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ownername_);
28536 }
28537 groupname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28538 if (from.has_groupname()) {
28539 groupname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.groupname_);
28540 }
28541 ::memcpy(&limit_, &from.limit_,
28542 static_cast<size_t>(reinterpret_cast<char*>(&mode_) -
28543 reinterpret_cast<char*>(&limit_)) + sizeof(mode_));
28544 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CachePoolInfoProto)
28545}
28546
28547void CachePoolInfoProto::SharedCtor() {
28548 poolname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28549 ownername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28550 groupname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28551 ::memset(&limit_, 0, static_cast<size_t>(
28552 reinterpret_cast<char*>(&mode_) -
28553 reinterpret_cast<char*>(&limit_)) + sizeof(mode_));
28554}
28555
28556CachePoolInfoProto::~CachePoolInfoProto() {
28557 // @@protoc_insertion_point(destructor:Hdfs.Internal.CachePoolInfoProto)
28558 SharedDtor();
28559}
28560
28561void CachePoolInfoProto::SharedDtor() {
28562 poolname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28563 ownername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28564 groupname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28565}
28566
28567void CachePoolInfoProto::SetCachedSize(int size) const {
28568 _cached_size_.Set(size);
28569}
28570const ::google::protobuf::Descriptor* CachePoolInfoProto::descriptor() {
28571 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
28572 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
28573}
28574
28575const CachePoolInfoProto& CachePoolInfoProto::default_instance() {
28576 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CachePoolInfoProto.base);
28577 return *internal_default_instance();
28578}
28579
28580
28581void CachePoolInfoProto::Clear() {
28582// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CachePoolInfoProto)
28583 ::google::protobuf::uint32 cached_has_bits = 0;
28584 // Prevent compiler warnings about cached_has_bits being unused
28585 (void) cached_has_bits;
28586
28587 cached_has_bits = _has_bits_[0];
28588 if (cached_has_bits & 7u) {
28589 if (cached_has_bits & 0x00000001u) {
28590 poolname_.ClearNonDefaultToEmptyNoArena();
28591 }
28592 if (cached_has_bits & 0x00000002u) {
28593 ownername_.ClearNonDefaultToEmptyNoArena();
28594 }
28595 if (cached_has_bits & 0x00000004u) {
28596 groupname_.ClearNonDefaultToEmptyNoArena();
28597 }
28598 }
28599 if (cached_has_bits & 56u) {
28600 ::memset(&limit_, 0, static_cast<size_t>(
28601 reinterpret_cast<char*>(&mode_) -
28602 reinterpret_cast<char*>(&limit_)) + sizeof(mode_));
28603 }
28604 _has_bits_.Clear();
28605 _internal_metadata_.Clear();
28606}
28607
28608bool CachePoolInfoProto::MergePartialFromCodedStream(
28609 ::google::protobuf::io::CodedInputStream* input) {
28610#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
28611 ::google::protobuf::uint32 tag;
28612 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CachePoolInfoProto)
28613 for (;;) {
28614 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
28615 tag = p.first;
28616 if (!p.second) goto handle_unusual;
28617 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
28618 // optional string poolName = 1;
28619 case 1: {
28620 if (static_cast< ::google::protobuf::uint8>(tag) ==
28621 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
28622 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
28623 input, this->mutable_poolname()));
28624 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
28625 this->poolname().data(), static_cast<int>(this->poolname().length()),
28626 ::google::protobuf::internal::WireFormat::PARSE,
28627 "Hdfs.Internal.CachePoolInfoProto.poolName");
28628 } else {
28629 goto handle_unusual;
28630 }
28631 break;
28632 }
28633
28634 // optional string ownerName = 2;
28635 case 2: {
28636 if (static_cast< ::google::protobuf::uint8>(tag) ==
28637 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
28638 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
28639 input, this->mutable_ownername()));
28640 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
28641 this->ownername().data(), static_cast<int>(this->ownername().length()),
28642 ::google::protobuf::internal::WireFormat::PARSE,
28643 "Hdfs.Internal.CachePoolInfoProto.ownerName");
28644 } else {
28645 goto handle_unusual;
28646 }
28647 break;
28648 }
28649
28650 // optional string groupName = 3;
28651 case 3: {
28652 if (static_cast< ::google::protobuf::uint8>(tag) ==
28653 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
28654 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
28655 input, this->mutable_groupname()));
28656 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
28657 this->groupname().data(), static_cast<int>(this->groupname().length()),
28658 ::google::protobuf::internal::WireFormat::PARSE,
28659 "Hdfs.Internal.CachePoolInfoProto.groupName");
28660 } else {
28661 goto handle_unusual;
28662 }
28663 break;
28664 }
28665
28666 // optional int32 mode = 4;
28667 case 4: {
28668 if (static_cast< ::google::protobuf::uint8>(tag) ==
28669 static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
28670 set_has_mode();
28671 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
28672 ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
28673 input, &mode_)));
28674 } else {
28675 goto handle_unusual;
28676 }
28677 break;
28678 }
28679
28680 // optional int64 limit = 5;
28681 case 5: {
28682 if (static_cast< ::google::protobuf::uint8>(tag) ==
28683 static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
28684 set_has_limit();
28685 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
28686 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
28687 input, &limit_)));
28688 } else {
28689 goto handle_unusual;
28690 }
28691 break;
28692 }
28693
28694 // optional int64 maxRelativeExpiry = 6;
28695 case 6: {
28696 if (static_cast< ::google::protobuf::uint8>(tag) ==
28697 static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
28698 set_has_maxrelativeexpiry();
28699 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
28700 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
28701 input, &maxrelativeexpiry_)));
28702 } else {
28703 goto handle_unusual;
28704 }
28705 break;
28706 }
28707
28708 default: {
28709 handle_unusual:
28710 if (tag == 0) {
28711 goto success;
28712 }
28713 DO_(::google::protobuf::internal::WireFormat::SkipField(
28714 input, tag, _internal_metadata_.mutable_unknown_fields()));
28715 break;
28716 }
28717 }
28718 }
28719success:
28720 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CachePoolInfoProto)
28721 return true;
28722failure:
28723 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CachePoolInfoProto)
28724 return false;
28725#undef DO_
28726}
28727
28728void CachePoolInfoProto::SerializeWithCachedSizes(
28729 ::google::protobuf::io::CodedOutputStream* output) const {
28730 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CachePoolInfoProto)
28731 ::google::protobuf::uint32 cached_has_bits = 0;
28732 (void) cached_has_bits;
28733
28734 cached_has_bits = _has_bits_[0];
28735 // optional string poolName = 1;
28736 if (cached_has_bits & 0x00000001u) {
28737 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
28738 this->poolname().data(), static_cast<int>(this->poolname().length()),
28739 ::google::protobuf::internal::WireFormat::SERIALIZE,
28740 "Hdfs.Internal.CachePoolInfoProto.poolName");
28741 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
28742 1, this->poolname(), output);
28743 }
28744
28745 // optional string ownerName = 2;
28746 if (cached_has_bits & 0x00000002u) {
28747 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
28748 this->ownername().data(), static_cast<int>(this->ownername().length()),
28749 ::google::protobuf::internal::WireFormat::SERIALIZE,
28750 "Hdfs.Internal.CachePoolInfoProto.ownerName");
28751 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
28752 2, this->ownername(), output);
28753 }
28754
28755 // optional string groupName = 3;
28756 if (cached_has_bits & 0x00000004u) {
28757 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
28758 this->groupname().data(), static_cast<int>(this->groupname().length()),
28759 ::google::protobuf::internal::WireFormat::SERIALIZE,
28760 "Hdfs.Internal.CachePoolInfoProto.groupName");
28761 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
28762 3, this->groupname(), output);
28763 }
28764
28765 // optional int32 mode = 4;
28766 if (cached_has_bits & 0x00000020u) {
28767 ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->mode(), output);
28768 }
28769
28770 // optional int64 limit = 5;
28771 if (cached_has_bits & 0x00000008u) {
28772 ::google::protobuf::internal::WireFormatLite::WriteInt64(5, this->limit(), output);
28773 }
28774
28775 // optional int64 maxRelativeExpiry = 6;
28776 if (cached_has_bits & 0x00000010u) {
28777 ::google::protobuf::internal::WireFormatLite::WriteInt64(6, this->maxrelativeexpiry(), output);
28778 }
28779
28780 if (_internal_metadata_.have_unknown_fields()) {
28781 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
28782 _internal_metadata_.unknown_fields(), output);
28783 }
28784 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CachePoolInfoProto)
28785}
28786
28787::google::protobuf::uint8* CachePoolInfoProto::InternalSerializeWithCachedSizesToArray(
28788 bool deterministic, ::google::protobuf::uint8* target) const {
28789 (void)deterministic; // Unused
28790 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CachePoolInfoProto)
28791 ::google::protobuf::uint32 cached_has_bits = 0;
28792 (void) cached_has_bits;
28793
28794 cached_has_bits = _has_bits_[0];
28795 // optional string poolName = 1;
28796 if (cached_has_bits & 0x00000001u) {
28797 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
28798 this->poolname().data(), static_cast<int>(this->poolname().length()),
28799 ::google::protobuf::internal::WireFormat::SERIALIZE,
28800 "Hdfs.Internal.CachePoolInfoProto.poolName");
28801 target =
28802 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
28803 1, this->poolname(), target);
28804 }
28805
28806 // optional string ownerName = 2;
28807 if (cached_has_bits & 0x00000002u) {
28808 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
28809 this->ownername().data(), static_cast<int>(this->ownername().length()),
28810 ::google::protobuf::internal::WireFormat::SERIALIZE,
28811 "Hdfs.Internal.CachePoolInfoProto.ownerName");
28812 target =
28813 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
28814 2, this->ownername(), target);
28815 }
28816
28817 // optional string groupName = 3;
28818 if (cached_has_bits & 0x00000004u) {
28819 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
28820 this->groupname().data(), static_cast<int>(this->groupname().length()),
28821 ::google::protobuf::internal::WireFormat::SERIALIZE,
28822 "Hdfs.Internal.CachePoolInfoProto.groupName");
28823 target =
28824 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
28825 3, this->groupname(), target);
28826 }
28827
28828 // optional int32 mode = 4;
28829 if (cached_has_bits & 0x00000020u) {
28830 target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->mode(), target);
28831 }
28832
28833 // optional int64 limit = 5;
28834 if (cached_has_bits & 0x00000008u) {
28835 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(5, this->limit(), target);
28836 }
28837
28838 // optional int64 maxRelativeExpiry = 6;
28839 if (cached_has_bits & 0x00000010u) {
28840 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(6, this->maxrelativeexpiry(), target);
28841 }
28842
28843 if (_internal_metadata_.have_unknown_fields()) {
28844 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
28845 _internal_metadata_.unknown_fields(), target);
28846 }
28847 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CachePoolInfoProto)
28848 return target;
28849}
28850
28851size_t CachePoolInfoProto::ByteSizeLong() const {
28852// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CachePoolInfoProto)
28853 size_t total_size = 0;
28854
28855 if (_internal_metadata_.have_unknown_fields()) {
28856 total_size +=
28857 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
28858 _internal_metadata_.unknown_fields());
28859 }
28860 if (_has_bits_[0 / 32] & 63u) {
28861 // optional string poolName = 1;
28862 if (has_poolname()) {
28863 total_size += 1 +
28864 ::google::protobuf::internal::WireFormatLite::StringSize(
28865 this->poolname());
28866 }
28867
28868 // optional string ownerName = 2;
28869 if (has_ownername()) {
28870 total_size += 1 +
28871 ::google::protobuf::internal::WireFormatLite::StringSize(
28872 this->ownername());
28873 }
28874
28875 // optional string groupName = 3;
28876 if (has_groupname()) {
28877 total_size += 1 +
28878 ::google::protobuf::internal::WireFormatLite::StringSize(
28879 this->groupname());
28880 }
28881
28882 // optional int64 limit = 5;
28883 if (has_limit()) {
28884 total_size += 1 +
28885 ::google::protobuf::internal::WireFormatLite::Int64Size(
28886 this->limit());
28887 }
28888
28889 // optional int64 maxRelativeExpiry = 6;
28890 if (has_maxrelativeexpiry()) {
28891 total_size += 1 +
28892 ::google::protobuf::internal::WireFormatLite::Int64Size(
28893 this->maxrelativeexpiry());
28894 }
28895
28896 // optional int32 mode = 4;
28897 if (has_mode()) {
28898 total_size += 1 +
28899 ::google::protobuf::internal::WireFormatLite::Int32Size(
28900 this->mode());
28901 }
28902
28903 }
28904 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
28905 SetCachedSize(cached_size);
28906 return total_size;
28907}
28908
28909void CachePoolInfoProto::MergeFrom(const ::google::protobuf::Message& from) {
28910// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CachePoolInfoProto)
28911 GOOGLE_DCHECK_NE(&from, this);
28912 const CachePoolInfoProto* source =
28913 ::google::protobuf::internal::DynamicCastToGenerated<const CachePoolInfoProto>(
28914 &from);
28915 if (source == NULL) {
28916 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CachePoolInfoProto)
28917 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
28918 } else {
28919 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CachePoolInfoProto)
28920 MergeFrom(*source);
28921 }
28922}
28923
28924void CachePoolInfoProto::MergeFrom(const CachePoolInfoProto& from) {
28925// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CachePoolInfoProto)
28926 GOOGLE_DCHECK_NE(&from, this);
28927 _internal_metadata_.MergeFrom(from._internal_metadata_);
28928 ::google::protobuf::uint32 cached_has_bits = 0;
28929 (void) cached_has_bits;
28930
28931 cached_has_bits = from._has_bits_[0];
28932 if (cached_has_bits & 63u) {
28933 if (cached_has_bits & 0x00000001u) {
28934 set_has_poolname();
28935 poolname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.poolname_);
28936 }
28937 if (cached_has_bits & 0x00000002u) {
28938 set_has_ownername();
28939 ownername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ownername_);
28940 }
28941 if (cached_has_bits & 0x00000004u) {
28942 set_has_groupname();
28943 groupname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.groupname_);
28944 }
28945 if (cached_has_bits & 0x00000008u) {
28946 limit_ = from.limit_;
28947 }
28948 if (cached_has_bits & 0x00000010u) {
28949 maxrelativeexpiry_ = from.maxrelativeexpiry_;
28950 }
28951 if (cached_has_bits & 0x00000020u) {
28952 mode_ = from.mode_;
28953 }
28954 _has_bits_[0] |= cached_has_bits;
28955 }
28956}
28957
28958void CachePoolInfoProto::CopyFrom(const ::google::protobuf::Message& from) {
28959// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CachePoolInfoProto)
28960 if (&from == this) return;
28961 Clear();
28962 MergeFrom(from);
28963}
28964
28965void CachePoolInfoProto::CopyFrom(const CachePoolInfoProto& from) {
28966// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CachePoolInfoProto)
28967 if (&from == this) return;
28968 Clear();
28969 MergeFrom(from);
28970}
28971
28972bool CachePoolInfoProto::IsInitialized() const {
28973 return true;
28974}
28975
28976void CachePoolInfoProto::Swap(CachePoolInfoProto* other) {
28977 if (other == this) return;
28978 InternalSwap(other);
28979}
28980void CachePoolInfoProto::InternalSwap(CachePoolInfoProto* other) {
28981 using std::swap;
28982 poolname_.Swap(&other->poolname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
28983 GetArenaNoVirtual());
28984 ownername_.Swap(&other->ownername_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
28985 GetArenaNoVirtual());
28986 groupname_.Swap(&other->groupname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
28987 GetArenaNoVirtual());
28988 swap(limit_, other->limit_);
28989 swap(maxrelativeexpiry_, other->maxrelativeexpiry_);
28990 swap(mode_, other->mode_);
28991 swap(_has_bits_[0], other->_has_bits_[0]);
28992 _internal_metadata_.Swap(&other->_internal_metadata_);
28993}
28994
28995::google::protobuf::Metadata CachePoolInfoProto::GetMetadata() const {
28996 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
28997 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
28998}
28999
29000
29001// ===================================================================
29002
29003void CachePoolStatsProto::InitAsDefaultInstance() {
29004}
29005#if !defined(_MSC_VER) || _MSC_VER >= 1900
29006const int CachePoolStatsProto::kBytesNeededFieldNumber;
29007const int CachePoolStatsProto::kBytesCachedFieldNumber;
29008const int CachePoolStatsProto::kBytesOverlimitFieldNumber;
29009const int CachePoolStatsProto::kFilesNeededFieldNumber;
29010const int CachePoolStatsProto::kFilesCachedFieldNumber;
29011#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
29012
29013CachePoolStatsProto::CachePoolStatsProto()
29014 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
29015 ::google::protobuf::internal::InitSCC(
29016 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CachePoolStatsProto.base);
29017 SharedCtor();
29018 // @@protoc_insertion_point(constructor:Hdfs.Internal.CachePoolStatsProto)
29019}
29020CachePoolStatsProto::CachePoolStatsProto(const CachePoolStatsProto& from)
29021 : ::google::protobuf::Message(),
29022 _internal_metadata_(NULL),
29023 _has_bits_(from._has_bits_) {
29024 _internal_metadata_.MergeFrom(from._internal_metadata_);
29025 ::memcpy(&bytesneeded_, &from.bytesneeded_,
29026 static_cast<size_t>(reinterpret_cast<char*>(&filescached_) -
29027 reinterpret_cast<char*>(&bytesneeded_)) + sizeof(filescached_));
29028 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CachePoolStatsProto)
29029}
29030
29031void CachePoolStatsProto::SharedCtor() {
29032 ::memset(&bytesneeded_, 0, static_cast<size_t>(
29033 reinterpret_cast<char*>(&filescached_) -
29034 reinterpret_cast<char*>(&bytesneeded_)) + sizeof(filescached_));
29035}
29036
29037CachePoolStatsProto::~CachePoolStatsProto() {
29038 // @@protoc_insertion_point(destructor:Hdfs.Internal.CachePoolStatsProto)
29039 SharedDtor();
29040}
29041
29042void CachePoolStatsProto::SharedDtor() {
29043}
29044
29045void CachePoolStatsProto::SetCachedSize(int size) const {
29046 _cached_size_.Set(size);
29047}
29048const ::google::protobuf::Descriptor* CachePoolStatsProto::descriptor() {
29049 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
29050 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
29051}
29052
29053const CachePoolStatsProto& CachePoolStatsProto::default_instance() {
29054 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CachePoolStatsProto.base);
29055 return *internal_default_instance();
29056}
29057
29058
29059void CachePoolStatsProto::Clear() {
29060// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CachePoolStatsProto)
29061 ::google::protobuf::uint32 cached_has_bits = 0;
29062 // Prevent compiler warnings about cached_has_bits being unused
29063 (void) cached_has_bits;
29064
29065 cached_has_bits = _has_bits_[0];
29066 if (cached_has_bits & 31u) {
29067 ::memset(&bytesneeded_, 0, static_cast<size_t>(
29068 reinterpret_cast<char*>(&filescached_) -
29069 reinterpret_cast<char*>(&bytesneeded_)) + sizeof(filescached_));
29070 }
29071 _has_bits_.Clear();
29072 _internal_metadata_.Clear();
29073}
29074
29075bool CachePoolStatsProto::MergePartialFromCodedStream(
29076 ::google::protobuf::io::CodedInputStream* input) {
29077#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
29078 ::google::protobuf::uint32 tag;
29079 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CachePoolStatsProto)
29080 for (;;) {
29081 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
29082 tag = p.first;
29083 if (!p.second) goto handle_unusual;
29084 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
29085 // required int64 bytesNeeded = 1;
29086 case 1: {
29087 if (static_cast< ::google::protobuf::uint8>(tag) ==
29088 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
29089 set_has_bytesneeded();
29090 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
29091 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
29092 input, &bytesneeded_)));
29093 } else {
29094 goto handle_unusual;
29095 }
29096 break;
29097 }
29098
29099 // required int64 bytesCached = 2;
29100 case 2: {
29101 if (static_cast< ::google::protobuf::uint8>(tag) ==
29102 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
29103 set_has_bytescached();
29104 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
29105 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
29106 input, &bytescached_)));
29107 } else {
29108 goto handle_unusual;
29109 }
29110 break;
29111 }
29112
29113 // required int64 bytesOverlimit = 3;
29114 case 3: {
29115 if (static_cast< ::google::protobuf::uint8>(tag) ==
29116 static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
29117 set_has_bytesoverlimit();
29118 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
29119 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
29120 input, &bytesoverlimit_)));
29121 } else {
29122 goto handle_unusual;
29123 }
29124 break;
29125 }
29126
29127 // required int64 filesNeeded = 4;
29128 case 4: {
29129 if (static_cast< ::google::protobuf::uint8>(tag) ==
29130 static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
29131 set_has_filesneeded();
29132 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
29133 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
29134 input, &filesneeded_)));
29135 } else {
29136 goto handle_unusual;
29137 }
29138 break;
29139 }
29140
29141 // required int64 filesCached = 5;
29142 case 5: {
29143 if (static_cast< ::google::protobuf::uint8>(tag) ==
29144 static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
29145 set_has_filescached();
29146 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
29147 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
29148 input, &filescached_)));
29149 } else {
29150 goto handle_unusual;
29151 }
29152 break;
29153 }
29154
29155 default: {
29156 handle_unusual:
29157 if (tag == 0) {
29158 goto success;
29159 }
29160 DO_(::google::protobuf::internal::WireFormat::SkipField(
29161 input, tag, _internal_metadata_.mutable_unknown_fields()));
29162 break;
29163 }
29164 }
29165 }
29166success:
29167 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CachePoolStatsProto)
29168 return true;
29169failure:
29170 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CachePoolStatsProto)
29171 return false;
29172#undef DO_
29173}
29174
29175void CachePoolStatsProto::SerializeWithCachedSizes(
29176 ::google::protobuf::io::CodedOutputStream* output) const {
29177 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CachePoolStatsProto)
29178 ::google::protobuf::uint32 cached_has_bits = 0;
29179 (void) cached_has_bits;
29180
29181 cached_has_bits = _has_bits_[0];
29182 // required int64 bytesNeeded = 1;
29183 if (cached_has_bits & 0x00000001u) {
29184 ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->bytesneeded(), output);
29185 }
29186
29187 // required int64 bytesCached = 2;
29188 if (cached_has_bits & 0x00000002u) {
29189 ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->bytescached(), output);
29190 }
29191
29192 // required int64 bytesOverlimit = 3;
29193 if (cached_has_bits & 0x00000004u) {
29194 ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->bytesoverlimit(), output);
29195 }
29196
29197 // required int64 filesNeeded = 4;
29198 if (cached_has_bits & 0x00000008u) {
29199 ::google::protobuf::internal::WireFormatLite::WriteInt64(4, this->filesneeded(), output);
29200 }
29201
29202 // required int64 filesCached = 5;
29203 if (cached_has_bits & 0x00000010u) {
29204 ::google::protobuf::internal::WireFormatLite::WriteInt64(5, this->filescached(), output);
29205 }
29206
29207 if (_internal_metadata_.have_unknown_fields()) {
29208 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
29209 _internal_metadata_.unknown_fields(), output);
29210 }
29211 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CachePoolStatsProto)
29212}
29213
29214::google::protobuf::uint8* CachePoolStatsProto::InternalSerializeWithCachedSizesToArray(
29215 bool deterministic, ::google::protobuf::uint8* target) const {
29216 (void)deterministic; // Unused
29217 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CachePoolStatsProto)
29218 ::google::protobuf::uint32 cached_has_bits = 0;
29219 (void) cached_has_bits;
29220
29221 cached_has_bits = _has_bits_[0];
29222 // required int64 bytesNeeded = 1;
29223 if (cached_has_bits & 0x00000001u) {
29224 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->bytesneeded(), target);
29225 }
29226
29227 // required int64 bytesCached = 2;
29228 if (cached_has_bits & 0x00000002u) {
29229 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->bytescached(), target);
29230 }
29231
29232 // required int64 bytesOverlimit = 3;
29233 if (cached_has_bits & 0x00000004u) {
29234 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->bytesoverlimit(), target);
29235 }
29236
29237 // required int64 filesNeeded = 4;
29238 if (cached_has_bits & 0x00000008u) {
29239 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(4, this->filesneeded(), target);
29240 }
29241
29242 // required int64 filesCached = 5;
29243 if (cached_has_bits & 0x00000010u) {
29244 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(5, this->filescached(), target);
29245 }
29246
29247 if (_internal_metadata_.have_unknown_fields()) {
29248 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
29249 _internal_metadata_.unknown_fields(), target);
29250 }
29251 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CachePoolStatsProto)
29252 return target;
29253}
29254
29255size_t CachePoolStatsProto::RequiredFieldsByteSizeFallback() const {
29256// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.CachePoolStatsProto)
29257 size_t total_size = 0;
29258
29259 if (has_bytesneeded()) {
29260 // required int64 bytesNeeded = 1;
29261 total_size += 1 +
29262 ::google::protobuf::internal::WireFormatLite::Int64Size(
29263 this->bytesneeded());
29264 }
29265
29266 if (has_bytescached()) {
29267 // required int64 bytesCached = 2;
29268 total_size += 1 +
29269 ::google::protobuf::internal::WireFormatLite::Int64Size(
29270 this->bytescached());
29271 }
29272
29273 if (has_bytesoverlimit()) {
29274 // required int64 bytesOverlimit = 3;
29275 total_size += 1 +
29276 ::google::protobuf::internal::WireFormatLite::Int64Size(
29277 this->bytesoverlimit());
29278 }
29279
29280 if (has_filesneeded()) {
29281 // required int64 filesNeeded = 4;
29282 total_size += 1 +
29283 ::google::protobuf::internal::WireFormatLite::Int64Size(
29284 this->filesneeded());
29285 }
29286
29287 if (has_filescached()) {
29288 // required int64 filesCached = 5;
29289 total_size += 1 +
29290 ::google::protobuf::internal::WireFormatLite::Int64Size(
29291 this->filescached());
29292 }
29293
29294 return total_size;
29295}
29296size_t CachePoolStatsProto::ByteSizeLong() const {
29297// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CachePoolStatsProto)
29298 size_t total_size = 0;
29299
29300 if (_internal_metadata_.have_unknown_fields()) {
29301 total_size +=
29302 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
29303 _internal_metadata_.unknown_fields());
29304 }
29305 if (((_has_bits_[0] & 0x0000001f) ^ 0x0000001f) == 0) { // All required fields are present.
29306 // required int64 bytesNeeded = 1;
29307 total_size += 1 +
29308 ::google::protobuf::internal::WireFormatLite::Int64Size(
29309 this->bytesneeded());
29310
29311 // required int64 bytesCached = 2;
29312 total_size += 1 +
29313 ::google::protobuf::internal::WireFormatLite::Int64Size(
29314 this->bytescached());
29315
29316 // required int64 bytesOverlimit = 3;
29317 total_size += 1 +
29318 ::google::protobuf::internal::WireFormatLite::Int64Size(
29319 this->bytesoverlimit());
29320
29321 // required int64 filesNeeded = 4;
29322 total_size += 1 +
29323 ::google::protobuf::internal::WireFormatLite::Int64Size(
29324 this->filesneeded());
29325
29326 // required int64 filesCached = 5;
29327 total_size += 1 +
29328 ::google::protobuf::internal::WireFormatLite::Int64Size(
29329 this->filescached());
29330
29331 } else {
29332 total_size += RequiredFieldsByteSizeFallback();
29333 }
29334 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
29335 SetCachedSize(cached_size);
29336 return total_size;
29337}
29338
29339void CachePoolStatsProto::MergeFrom(const ::google::protobuf::Message& from) {
29340// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CachePoolStatsProto)
29341 GOOGLE_DCHECK_NE(&from, this);
29342 const CachePoolStatsProto* source =
29343 ::google::protobuf::internal::DynamicCastToGenerated<const CachePoolStatsProto>(
29344 &from);
29345 if (source == NULL) {
29346 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CachePoolStatsProto)
29347 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
29348 } else {
29349 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CachePoolStatsProto)
29350 MergeFrom(*source);
29351 }
29352}
29353
29354void CachePoolStatsProto::MergeFrom(const CachePoolStatsProto& from) {
29355// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CachePoolStatsProto)
29356 GOOGLE_DCHECK_NE(&from, this);
29357 _internal_metadata_.MergeFrom(from._internal_metadata_);
29358 ::google::protobuf::uint32 cached_has_bits = 0;
29359 (void) cached_has_bits;
29360
29361 cached_has_bits = from._has_bits_[0];
29362 if (cached_has_bits & 31u) {
29363 if (cached_has_bits & 0x00000001u) {
29364 bytesneeded_ = from.bytesneeded_;
29365 }
29366 if (cached_has_bits & 0x00000002u) {
29367 bytescached_ = from.bytescached_;
29368 }
29369 if (cached_has_bits & 0x00000004u) {
29370 bytesoverlimit_ = from.bytesoverlimit_;
29371 }
29372 if (cached_has_bits & 0x00000008u) {
29373 filesneeded_ = from.filesneeded_;
29374 }
29375 if (cached_has_bits & 0x00000010u) {
29376 filescached_ = from.filescached_;
29377 }
29378 _has_bits_[0] |= cached_has_bits;
29379 }
29380}
29381
29382void CachePoolStatsProto::CopyFrom(const ::google::protobuf::Message& from) {
29383// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CachePoolStatsProto)
29384 if (&from == this) return;
29385 Clear();
29386 MergeFrom(from);
29387}
29388
29389void CachePoolStatsProto::CopyFrom(const CachePoolStatsProto& from) {
29390// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CachePoolStatsProto)
29391 if (&from == this) return;
29392 Clear();
29393 MergeFrom(from);
29394}
29395
29396bool CachePoolStatsProto::IsInitialized() const {
29397 if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false;
29398 return true;
29399}
29400
29401void CachePoolStatsProto::Swap(CachePoolStatsProto* other) {
29402 if (other == this) return;
29403 InternalSwap(other);
29404}
29405void CachePoolStatsProto::InternalSwap(CachePoolStatsProto* other) {
29406 using std::swap;
29407 swap(bytesneeded_, other->bytesneeded_);
29408 swap(bytescached_, other->bytescached_);
29409 swap(bytesoverlimit_, other->bytesoverlimit_);
29410 swap(filesneeded_, other->filesneeded_);
29411 swap(filescached_, other->filescached_);
29412 swap(_has_bits_[0], other->_has_bits_[0]);
29413 _internal_metadata_.Swap(&other->_internal_metadata_);
29414}
29415
29416::google::protobuf::Metadata CachePoolStatsProto::GetMetadata() const {
29417 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
29418 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
29419}
29420
29421
29422// ===================================================================
29423
29424void AddCachePoolRequestProto::InitAsDefaultInstance() {
29425 ::Hdfs::Internal::_AddCachePoolRequestProto_default_instance_._instance.get_mutable()->info_ = const_cast< ::Hdfs::Internal::CachePoolInfoProto*>(
29426 ::Hdfs::Internal::CachePoolInfoProto::internal_default_instance());
29427}
29428#if !defined(_MSC_VER) || _MSC_VER >= 1900
29429const int AddCachePoolRequestProto::kInfoFieldNumber;
29430#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
29431
29432AddCachePoolRequestProto::AddCachePoolRequestProto()
29433 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
29434 ::google::protobuf::internal::InitSCC(
29435 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_AddCachePoolRequestProto.base);
29436 SharedCtor();
29437 // @@protoc_insertion_point(constructor:Hdfs.Internal.AddCachePoolRequestProto)
29438}
29439AddCachePoolRequestProto::AddCachePoolRequestProto(const AddCachePoolRequestProto& from)
29440 : ::google::protobuf::Message(),
29441 _internal_metadata_(NULL),
29442 _has_bits_(from._has_bits_) {
29443 _internal_metadata_.MergeFrom(from._internal_metadata_);
29444 if (from.has_info()) {
29445 info_ = new ::Hdfs::Internal::CachePoolInfoProto(*from.info_);
29446 } else {
29447 info_ = NULL;
29448 }
29449 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.AddCachePoolRequestProto)
29450}
29451
29452void AddCachePoolRequestProto::SharedCtor() {
29453 info_ = NULL;
29454}
29455
29456AddCachePoolRequestProto::~AddCachePoolRequestProto() {
29457 // @@protoc_insertion_point(destructor:Hdfs.Internal.AddCachePoolRequestProto)
29458 SharedDtor();
29459}
29460
29461void AddCachePoolRequestProto::SharedDtor() {
29462 if (this != internal_default_instance()) delete info_;
29463}
29464
29465void AddCachePoolRequestProto::SetCachedSize(int size) const {
29466 _cached_size_.Set(size);
29467}
29468const ::google::protobuf::Descriptor* AddCachePoolRequestProto::descriptor() {
29469 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
29470 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
29471}
29472
29473const AddCachePoolRequestProto& AddCachePoolRequestProto::default_instance() {
29474 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_AddCachePoolRequestProto.base);
29475 return *internal_default_instance();
29476}
29477
29478
29479void AddCachePoolRequestProto::Clear() {
29480// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.AddCachePoolRequestProto)
29481 ::google::protobuf::uint32 cached_has_bits = 0;
29482 // Prevent compiler warnings about cached_has_bits being unused
29483 (void) cached_has_bits;
29484
29485 cached_has_bits = _has_bits_[0];
29486 if (cached_has_bits & 0x00000001u) {
29487 GOOGLE_DCHECK(info_ != NULL);
29488 info_->Clear();
29489 }
29490 _has_bits_.Clear();
29491 _internal_metadata_.Clear();
29492}
29493
29494bool AddCachePoolRequestProto::MergePartialFromCodedStream(
29495 ::google::protobuf::io::CodedInputStream* input) {
29496#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
29497 ::google::protobuf::uint32 tag;
29498 // @@protoc_insertion_point(parse_start:Hdfs.Internal.AddCachePoolRequestProto)
29499 for (;;) {
29500 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
29501 tag = p.first;
29502 if (!p.second) goto handle_unusual;
29503 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
29504 // required .Hdfs.Internal.CachePoolInfoProto info = 1;
29505 case 1: {
29506 if (static_cast< ::google::protobuf::uint8>(tag) ==
29507 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
29508 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
29509 input, mutable_info()));
29510 } else {
29511 goto handle_unusual;
29512 }
29513 break;
29514 }
29515
29516 default: {
29517 handle_unusual:
29518 if (tag == 0) {
29519 goto success;
29520 }
29521 DO_(::google::protobuf::internal::WireFormat::SkipField(
29522 input, tag, _internal_metadata_.mutable_unknown_fields()));
29523 break;
29524 }
29525 }
29526 }
29527success:
29528 // @@protoc_insertion_point(parse_success:Hdfs.Internal.AddCachePoolRequestProto)
29529 return true;
29530failure:
29531 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.AddCachePoolRequestProto)
29532 return false;
29533#undef DO_
29534}
29535
29536void AddCachePoolRequestProto::SerializeWithCachedSizes(
29537 ::google::protobuf::io::CodedOutputStream* output) const {
29538 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.AddCachePoolRequestProto)
29539 ::google::protobuf::uint32 cached_has_bits = 0;
29540 (void) cached_has_bits;
29541
29542 cached_has_bits = _has_bits_[0];
29543 // required .Hdfs.Internal.CachePoolInfoProto info = 1;
29544 if (cached_has_bits & 0x00000001u) {
29545 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
29546 1, this->_internal_info(), output);
29547 }
29548
29549 if (_internal_metadata_.have_unknown_fields()) {
29550 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
29551 _internal_metadata_.unknown_fields(), output);
29552 }
29553 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.AddCachePoolRequestProto)
29554}
29555
29556::google::protobuf::uint8* AddCachePoolRequestProto::InternalSerializeWithCachedSizesToArray(
29557 bool deterministic, ::google::protobuf::uint8* target) const {
29558 (void)deterministic; // Unused
29559 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.AddCachePoolRequestProto)
29560 ::google::protobuf::uint32 cached_has_bits = 0;
29561 (void) cached_has_bits;
29562
29563 cached_has_bits = _has_bits_[0];
29564 // required .Hdfs.Internal.CachePoolInfoProto info = 1;
29565 if (cached_has_bits & 0x00000001u) {
29566 target = ::google::protobuf::internal::WireFormatLite::
29567 InternalWriteMessageToArray(
29568 1, this->_internal_info(), deterministic, target);
29569 }
29570
29571 if (_internal_metadata_.have_unknown_fields()) {
29572 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
29573 _internal_metadata_.unknown_fields(), target);
29574 }
29575 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.AddCachePoolRequestProto)
29576 return target;
29577}
29578
29579size_t AddCachePoolRequestProto::ByteSizeLong() const {
29580// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.AddCachePoolRequestProto)
29581 size_t total_size = 0;
29582
29583 if (_internal_metadata_.have_unknown_fields()) {
29584 total_size +=
29585 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
29586 _internal_metadata_.unknown_fields());
29587 }
29588 // required .Hdfs.Internal.CachePoolInfoProto info = 1;
29589 if (has_info()) {
29590 total_size += 1 +
29591 ::google::protobuf::internal::WireFormatLite::MessageSize(
29592 *info_);
29593 }
29594 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
29595 SetCachedSize(cached_size);
29596 return total_size;
29597}
29598
29599void AddCachePoolRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
29600// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.AddCachePoolRequestProto)
29601 GOOGLE_DCHECK_NE(&from, this);
29602 const AddCachePoolRequestProto* source =
29603 ::google::protobuf::internal::DynamicCastToGenerated<const AddCachePoolRequestProto>(
29604 &from);
29605 if (source == NULL) {
29606 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.AddCachePoolRequestProto)
29607 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
29608 } else {
29609 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.AddCachePoolRequestProto)
29610 MergeFrom(*source);
29611 }
29612}
29613
29614void AddCachePoolRequestProto::MergeFrom(const AddCachePoolRequestProto& from) {
29615// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.AddCachePoolRequestProto)
29616 GOOGLE_DCHECK_NE(&from, this);
29617 _internal_metadata_.MergeFrom(from._internal_metadata_);
29618 ::google::protobuf::uint32 cached_has_bits = 0;
29619 (void) cached_has_bits;
29620
29621 if (from.has_info()) {
29622 mutable_info()->::Hdfs::Internal::CachePoolInfoProto::MergeFrom(from.info());
29623 }
29624}
29625
29626void AddCachePoolRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
29627// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.AddCachePoolRequestProto)
29628 if (&from == this) return;
29629 Clear();
29630 MergeFrom(from);
29631}
29632
29633void AddCachePoolRequestProto::CopyFrom(const AddCachePoolRequestProto& from) {
29634// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.AddCachePoolRequestProto)
29635 if (&from == this) return;
29636 Clear();
29637 MergeFrom(from);
29638}
29639
29640bool AddCachePoolRequestProto::IsInitialized() const {
29641 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
29642 return true;
29643}
29644
29645void AddCachePoolRequestProto::Swap(AddCachePoolRequestProto* other) {
29646 if (other == this) return;
29647 InternalSwap(other);
29648}
29649void AddCachePoolRequestProto::InternalSwap(AddCachePoolRequestProto* other) {
29650 using std::swap;
29651 swap(info_, other->info_);
29652 swap(_has_bits_[0], other->_has_bits_[0]);
29653 _internal_metadata_.Swap(&other->_internal_metadata_);
29654}
29655
29656::google::protobuf::Metadata AddCachePoolRequestProto::GetMetadata() const {
29657 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
29658 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
29659}
29660
29661
29662// ===================================================================
29663
29664void AddCachePoolResponseProto::InitAsDefaultInstance() {
29665}
29666#if !defined(_MSC_VER) || _MSC_VER >= 1900
29667#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
29668
29669AddCachePoolResponseProto::AddCachePoolResponseProto()
29670 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
29671 ::google::protobuf::internal::InitSCC(
29672 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_AddCachePoolResponseProto.base);
29673 SharedCtor();
29674 // @@protoc_insertion_point(constructor:Hdfs.Internal.AddCachePoolResponseProto)
29675}
29676AddCachePoolResponseProto::AddCachePoolResponseProto(const AddCachePoolResponseProto& from)
29677 : ::google::protobuf::Message(),
29678 _internal_metadata_(NULL),
29679 _has_bits_(from._has_bits_) {
29680 _internal_metadata_.MergeFrom(from._internal_metadata_);
29681 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.AddCachePoolResponseProto)
29682}
29683
29684void AddCachePoolResponseProto::SharedCtor() {
29685}
29686
29687AddCachePoolResponseProto::~AddCachePoolResponseProto() {
29688 // @@protoc_insertion_point(destructor:Hdfs.Internal.AddCachePoolResponseProto)
29689 SharedDtor();
29690}
29691
29692void AddCachePoolResponseProto::SharedDtor() {
29693}
29694
29695void AddCachePoolResponseProto::SetCachedSize(int size) const {
29696 _cached_size_.Set(size);
29697}
29698const ::google::protobuf::Descriptor* AddCachePoolResponseProto::descriptor() {
29699 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
29700 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
29701}
29702
29703const AddCachePoolResponseProto& AddCachePoolResponseProto::default_instance() {
29704 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_AddCachePoolResponseProto.base);
29705 return *internal_default_instance();
29706}
29707
29708
29709void AddCachePoolResponseProto::Clear() {
29710// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.AddCachePoolResponseProto)
29711 ::google::protobuf::uint32 cached_has_bits = 0;
29712 // Prevent compiler warnings about cached_has_bits being unused
29713 (void) cached_has_bits;
29714
29715 _has_bits_.Clear();
29716 _internal_metadata_.Clear();
29717}
29718
29719bool AddCachePoolResponseProto::MergePartialFromCodedStream(
29720 ::google::protobuf::io::CodedInputStream* input) {
29721#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
29722 ::google::protobuf::uint32 tag;
29723 // @@protoc_insertion_point(parse_start:Hdfs.Internal.AddCachePoolResponseProto)
29724 for (;;) {
29725 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
29726 tag = p.first;
29727 if (!p.second) goto handle_unusual;
29728 handle_unusual:
29729 if (tag == 0) {
29730 goto success;
29731 }
29732 DO_(::google::protobuf::internal::WireFormat::SkipField(
29733 input, tag, _internal_metadata_.mutable_unknown_fields()));
29734 }
29735success:
29736 // @@protoc_insertion_point(parse_success:Hdfs.Internal.AddCachePoolResponseProto)
29737 return true;
29738failure:
29739 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.AddCachePoolResponseProto)
29740 return false;
29741#undef DO_
29742}
29743
29744void AddCachePoolResponseProto::SerializeWithCachedSizes(
29745 ::google::protobuf::io::CodedOutputStream* output) const {
29746 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.AddCachePoolResponseProto)
29747 ::google::protobuf::uint32 cached_has_bits = 0;
29748 (void) cached_has_bits;
29749
29750 if (_internal_metadata_.have_unknown_fields()) {
29751 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
29752 _internal_metadata_.unknown_fields(), output);
29753 }
29754 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.AddCachePoolResponseProto)
29755}
29756
29757::google::protobuf::uint8* AddCachePoolResponseProto::InternalSerializeWithCachedSizesToArray(
29758 bool deterministic, ::google::protobuf::uint8* target) const {
29759 (void)deterministic; // Unused
29760 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.AddCachePoolResponseProto)
29761 ::google::protobuf::uint32 cached_has_bits = 0;
29762 (void) cached_has_bits;
29763
29764 if (_internal_metadata_.have_unknown_fields()) {
29765 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
29766 _internal_metadata_.unknown_fields(), target);
29767 }
29768 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.AddCachePoolResponseProto)
29769 return target;
29770}
29771
29772size_t AddCachePoolResponseProto::ByteSizeLong() const {
29773// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.AddCachePoolResponseProto)
29774 size_t total_size = 0;
29775
29776 if (_internal_metadata_.have_unknown_fields()) {
29777 total_size +=
29778 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
29779 _internal_metadata_.unknown_fields());
29780 }
29781 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
29782 SetCachedSize(cached_size);
29783 return total_size;
29784}
29785
29786void AddCachePoolResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
29787// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.AddCachePoolResponseProto)
29788 GOOGLE_DCHECK_NE(&from, this);
29789 const AddCachePoolResponseProto* source =
29790 ::google::protobuf::internal::DynamicCastToGenerated<const AddCachePoolResponseProto>(
29791 &from);
29792 if (source == NULL) {
29793 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.AddCachePoolResponseProto)
29794 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
29795 } else {
29796 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.AddCachePoolResponseProto)
29797 MergeFrom(*source);
29798 }
29799}
29800
29801void AddCachePoolResponseProto::MergeFrom(const AddCachePoolResponseProto& from) {
29802// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.AddCachePoolResponseProto)
29803 GOOGLE_DCHECK_NE(&from, this);
29804 _internal_metadata_.MergeFrom(from._internal_metadata_);
29805 ::google::protobuf::uint32 cached_has_bits = 0;
29806 (void) cached_has_bits;
29807
29808}
29809
29810void AddCachePoolResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
29811// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.AddCachePoolResponseProto)
29812 if (&from == this) return;
29813 Clear();
29814 MergeFrom(from);
29815}
29816
29817void AddCachePoolResponseProto::CopyFrom(const AddCachePoolResponseProto& from) {
29818// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.AddCachePoolResponseProto)
29819 if (&from == this) return;
29820 Clear();
29821 MergeFrom(from);
29822}
29823
29824bool AddCachePoolResponseProto::IsInitialized() const {
29825 return true;
29826}
29827
29828void AddCachePoolResponseProto::Swap(AddCachePoolResponseProto* other) {
29829 if (other == this) return;
29830 InternalSwap(other);
29831}
29832void AddCachePoolResponseProto::InternalSwap(AddCachePoolResponseProto* other) {
29833 using std::swap;
29834 swap(_has_bits_[0], other->_has_bits_[0]);
29835 _internal_metadata_.Swap(&other->_internal_metadata_);
29836}
29837
29838::google::protobuf::Metadata AddCachePoolResponseProto::GetMetadata() const {
29839 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
29840 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
29841}
29842
29843
29844// ===================================================================
29845
29846void ModifyCachePoolRequestProto::InitAsDefaultInstance() {
29847 ::Hdfs::Internal::_ModifyCachePoolRequestProto_default_instance_._instance.get_mutable()->info_ = const_cast< ::Hdfs::Internal::CachePoolInfoProto*>(
29848 ::Hdfs::Internal::CachePoolInfoProto::internal_default_instance());
29849}
29850#if !defined(_MSC_VER) || _MSC_VER >= 1900
29851const int ModifyCachePoolRequestProto::kInfoFieldNumber;
29852#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
29853
29854ModifyCachePoolRequestProto::ModifyCachePoolRequestProto()
29855 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
29856 ::google::protobuf::internal::InitSCC(
29857 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ModifyCachePoolRequestProto.base);
29858 SharedCtor();
29859 // @@protoc_insertion_point(constructor:Hdfs.Internal.ModifyCachePoolRequestProto)
29860}
29861ModifyCachePoolRequestProto::ModifyCachePoolRequestProto(const ModifyCachePoolRequestProto& from)
29862 : ::google::protobuf::Message(),
29863 _internal_metadata_(NULL),
29864 _has_bits_(from._has_bits_) {
29865 _internal_metadata_.MergeFrom(from._internal_metadata_);
29866 if (from.has_info()) {
29867 info_ = new ::Hdfs::Internal::CachePoolInfoProto(*from.info_);
29868 } else {
29869 info_ = NULL;
29870 }
29871 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ModifyCachePoolRequestProto)
29872}
29873
29874void ModifyCachePoolRequestProto::SharedCtor() {
29875 info_ = NULL;
29876}
29877
29878ModifyCachePoolRequestProto::~ModifyCachePoolRequestProto() {
29879 // @@protoc_insertion_point(destructor:Hdfs.Internal.ModifyCachePoolRequestProto)
29880 SharedDtor();
29881}
29882
29883void ModifyCachePoolRequestProto::SharedDtor() {
29884 if (this != internal_default_instance()) delete info_;
29885}
29886
29887void ModifyCachePoolRequestProto::SetCachedSize(int size) const {
29888 _cached_size_.Set(size);
29889}
29890const ::google::protobuf::Descriptor* ModifyCachePoolRequestProto::descriptor() {
29891 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
29892 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
29893}
29894
29895const ModifyCachePoolRequestProto& ModifyCachePoolRequestProto::default_instance() {
29896 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ModifyCachePoolRequestProto.base);
29897 return *internal_default_instance();
29898}
29899
29900
29901void ModifyCachePoolRequestProto::Clear() {
29902// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ModifyCachePoolRequestProto)
29903 ::google::protobuf::uint32 cached_has_bits = 0;
29904 // Prevent compiler warnings about cached_has_bits being unused
29905 (void) cached_has_bits;
29906
29907 cached_has_bits = _has_bits_[0];
29908 if (cached_has_bits & 0x00000001u) {
29909 GOOGLE_DCHECK(info_ != NULL);
29910 info_->Clear();
29911 }
29912 _has_bits_.Clear();
29913 _internal_metadata_.Clear();
29914}
29915
29916bool ModifyCachePoolRequestProto::MergePartialFromCodedStream(
29917 ::google::protobuf::io::CodedInputStream* input) {
29918#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
29919 ::google::protobuf::uint32 tag;
29920 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ModifyCachePoolRequestProto)
29921 for (;;) {
29922 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
29923 tag = p.first;
29924 if (!p.second) goto handle_unusual;
29925 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
29926 // required .Hdfs.Internal.CachePoolInfoProto info = 1;
29927 case 1: {
29928 if (static_cast< ::google::protobuf::uint8>(tag) ==
29929 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
29930 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
29931 input, mutable_info()));
29932 } else {
29933 goto handle_unusual;
29934 }
29935 break;
29936 }
29937
29938 default: {
29939 handle_unusual:
29940 if (tag == 0) {
29941 goto success;
29942 }
29943 DO_(::google::protobuf::internal::WireFormat::SkipField(
29944 input, tag, _internal_metadata_.mutable_unknown_fields()));
29945 break;
29946 }
29947 }
29948 }
29949success:
29950 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ModifyCachePoolRequestProto)
29951 return true;
29952failure:
29953 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ModifyCachePoolRequestProto)
29954 return false;
29955#undef DO_
29956}
29957
29958void ModifyCachePoolRequestProto::SerializeWithCachedSizes(
29959 ::google::protobuf::io::CodedOutputStream* output) const {
29960 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ModifyCachePoolRequestProto)
29961 ::google::protobuf::uint32 cached_has_bits = 0;
29962 (void) cached_has_bits;
29963
29964 cached_has_bits = _has_bits_[0];
29965 // required .Hdfs.Internal.CachePoolInfoProto info = 1;
29966 if (cached_has_bits & 0x00000001u) {
29967 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
29968 1, this->_internal_info(), output);
29969 }
29970
29971 if (_internal_metadata_.have_unknown_fields()) {
29972 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
29973 _internal_metadata_.unknown_fields(), output);
29974 }
29975 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ModifyCachePoolRequestProto)
29976}
29977
29978::google::protobuf::uint8* ModifyCachePoolRequestProto::InternalSerializeWithCachedSizesToArray(
29979 bool deterministic, ::google::protobuf::uint8* target) const {
29980 (void)deterministic; // Unused
29981 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ModifyCachePoolRequestProto)
29982 ::google::protobuf::uint32 cached_has_bits = 0;
29983 (void) cached_has_bits;
29984
29985 cached_has_bits = _has_bits_[0];
29986 // required .Hdfs.Internal.CachePoolInfoProto info = 1;
29987 if (cached_has_bits & 0x00000001u) {
29988 target = ::google::protobuf::internal::WireFormatLite::
29989 InternalWriteMessageToArray(
29990 1, this->_internal_info(), deterministic, target);
29991 }
29992
29993 if (_internal_metadata_.have_unknown_fields()) {
29994 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
29995 _internal_metadata_.unknown_fields(), target);
29996 }
29997 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ModifyCachePoolRequestProto)
29998 return target;
29999}
30000
30001size_t ModifyCachePoolRequestProto::ByteSizeLong() const {
30002// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ModifyCachePoolRequestProto)
30003 size_t total_size = 0;
30004
30005 if (_internal_metadata_.have_unknown_fields()) {
30006 total_size +=
30007 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
30008 _internal_metadata_.unknown_fields());
30009 }
30010 // required .Hdfs.Internal.CachePoolInfoProto info = 1;
30011 if (has_info()) {
30012 total_size += 1 +
30013 ::google::protobuf::internal::WireFormatLite::MessageSize(
30014 *info_);
30015 }
30016 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
30017 SetCachedSize(cached_size);
30018 return total_size;
30019}
30020
30021void ModifyCachePoolRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
30022// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ModifyCachePoolRequestProto)
30023 GOOGLE_DCHECK_NE(&from, this);
30024 const ModifyCachePoolRequestProto* source =
30025 ::google::protobuf::internal::DynamicCastToGenerated<const ModifyCachePoolRequestProto>(
30026 &from);
30027 if (source == NULL) {
30028 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ModifyCachePoolRequestProto)
30029 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
30030 } else {
30031 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ModifyCachePoolRequestProto)
30032 MergeFrom(*source);
30033 }
30034}
30035
30036void ModifyCachePoolRequestProto::MergeFrom(const ModifyCachePoolRequestProto& from) {
30037// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ModifyCachePoolRequestProto)
30038 GOOGLE_DCHECK_NE(&from, this);
30039 _internal_metadata_.MergeFrom(from._internal_metadata_);
30040 ::google::protobuf::uint32 cached_has_bits = 0;
30041 (void) cached_has_bits;
30042
30043 if (from.has_info()) {
30044 mutable_info()->::Hdfs::Internal::CachePoolInfoProto::MergeFrom(from.info());
30045 }
30046}
30047
30048void ModifyCachePoolRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
30049// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ModifyCachePoolRequestProto)
30050 if (&from == this) return;
30051 Clear();
30052 MergeFrom(from);
30053}
30054
30055void ModifyCachePoolRequestProto::CopyFrom(const ModifyCachePoolRequestProto& from) {
30056// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ModifyCachePoolRequestProto)
30057 if (&from == this) return;
30058 Clear();
30059 MergeFrom(from);
30060}
30061
30062bool ModifyCachePoolRequestProto::IsInitialized() const {
30063 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
30064 return true;
30065}
30066
30067void ModifyCachePoolRequestProto::Swap(ModifyCachePoolRequestProto* other) {
30068 if (other == this) return;
30069 InternalSwap(other);
30070}
30071void ModifyCachePoolRequestProto::InternalSwap(ModifyCachePoolRequestProto* other) {
30072 using std::swap;
30073 swap(info_, other->info_);
30074 swap(_has_bits_[0], other->_has_bits_[0]);
30075 _internal_metadata_.Swap(&other->_internal_metadata_);
30076}
30077
30078::google::protobuf::Metadata ModifyCachePoolRequestProto::GetMetadata() const {
30079 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
30080 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
30081}
30082
30083
30084// ===================================================================
30085
30086void ModifyCachePoolResponseProto::InitAsDefaultInstance() {
30087}
30088#if !defined(_MSC_VER) || _MSC_VER >= 1900
30089#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
30090
30091ModifyCachePoolResponseProto::ModifyCachePoolResponseProto()
30092 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
30093 ::google::protobuf::internal::InitSCC(
30094 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ModifyCachePoolResponseProto.base);
30095 SharedCtor();
30096 // @@protoc_insertion_point(constructor:Hdfs.Internal.ModifyCachePoolResponseProto)
30097}
30098ModifyCachePoolResponseProto::ModifyCachePoolResponseProto(const ModifyCachePoolResponseProto& from)
30099 : ::google::protobuf::Message(),
30100 _internal_metadata_(NULL),
30101 _has_bits_(from._has_bits_) {
30102 _internal_metadata_.MergeFrom(from._internal_metadata_);
30103 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ModifyCachePoolResponseProto)
30104}
30105
30106void ModifyCachePoolResponseProto::SharedCtor() {
30107}
30108
30109ModifyCachePoolResponseProto::~ModifyCachePoolResponseProto() {
30110 // @@protoc_insertion_point(destructor:Hdfs.Internal.ModifyCachePoolResponseProto)
30111 SharedDtor();
30112}
30113
30114void ModifyCachePoolResponseProto::SharedDtor() {
30115}
30116
30117void ModifyCachePoolResponseProto::SetCachedSize(int size) const {
30118 _cached_size_.Set(size);
30119}
30120const ::google::protobuf::Descriptor* ModifyCachePoolResponseProto::descriptor() {
30121 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
30122 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
30123}
30124
30125const ModifyCachePoolResponseProto& ModifyCachePoolResponseProto::default_instance() {
30126 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ModifyCachePoolResponseProto.base);
30127 return *internal_default_instance();
30128}
30129
30130
30131void ModifyCachePoolResponseProto::Clear() {
30132// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ModifyCachePoolResponseProto)
30133 ::google::protobuf::uint32 cached_has_bits = 0;
30134 // Prevent compiler warnings about cached_has_bits being unused
30135 (void) cached_has_bits;
30136
30137 _has_bits_.Clear();
30138 _internal_metadata_.Clear();
30139}
30140
30141bool ModifyCachePoolResponseProto::MergePartialFromCodedStream(
30142 ::google::protobuf::io::CodedInputStream* input) {
30143#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
30144 ::google::protobuf::uint32 tag;
30145 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ModifyCachePoolResponseProto)
30146 for (;;) {
30147 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
30148 tag = p.first;
30149 if (!p.second) goto handle_unusual;
30150 handle_unusual:
30151 if (tag == 0) {
30152 goto success;
30153 }
30154 DO_(::google::protobuf::internal::WireFormat::SkipField(
30155 input, tag, _internal_metadata_.mutable_unknown_fields()));
30156 }
30157success:
30158 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ModifyCachePoolResponseProto)
30159 return true;
30160failure:
30161 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ModifyCachePoolResponseProto)
30162 return false;
30163#undef DO_
30164}
30165
30166void ModifyCachePoolResponseProto::SerializeWithCachedSizes(
30167 ::google::protobuf::io::CodedOutputStream* output) const {
30168 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ModifyCachePoolResponseProto)
30169 ::google::protobuf::uint32 cached_has_bits = 0;
30170 (void) cached_has_bits;
30171
30172 if (_internal_metadata_.have_unknown_fields()) {
30173 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
30174 _internal_metadata_.unknown_fields(), output);
30175 }
30176 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ModifyCachePoolResponseProto)
30177}
30178
30179::google::protobuf::uint8* ModifyCachePoolResponseProto::InternalSerializeWithCachedSizesToArray(
30180 bool deterministic, ::google::protobuf::uint8* target) const {
30181 (void)deterministic; // Unused
30182 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ModifyCachePoolResponseProto)
30183 ::google::protobuf::uint32 cached_has_bits = 0;
30184 (void) cached_has_bits;
30185
30186 if (_internal_metadata_.have_unknown_fields()) {
30187 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
30188 _internal_metadata_.unknown_fields(), target);
30189 }
30190 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ModifyCachePoolResponseProto)
30191 return target;
30192}
30193
30194size_t ModifyCachePoolResponseProto::ByteSizeLong() const {
30195// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ModifyCachePoolResponseProto)
30196 size_t total_size = 0;
30197
30198 if (_internal_metadata_.have_unknown_fields()) {
30199 total_size +=
30200 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
30201 _internal_metadata_.unknown_fields());
30202 }
30203 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
30204 SetCachedSize(cached_size);
30205 return total_size;
30206}
30207
30208void ModifyCachePoolResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
30209// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ModifyCachePoolResponseProto)
30210 GOOGLE_DCHECK_NE(&from, this);
30211 const ModifyCachePoolResponseProto* source =
30212 ::google::protobuf::internal::DynamicCastToGenerated<const ModifyCachePoolResponseProto>(
30213 &from);
30214 if (source == NULL) {
30215 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ModifyCachePoolResponseProto)
30216 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
30217 } else {
30218 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ModifyCachePoolResponseProto)
30219 MergeFrom(*source);
30220 }
30221}
30222
30223void ModifyCachePoolResponseProto::MergeFrom(const ModifyCachePoolResponseProto& from) {
30224// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ModifyCachePoolResponseProto)
30225 GOOGLE_DCHECK_NE(&from, this);
30226 _internal_metadata_.MergeFrom(from._internal_metadata_);
30227 ::google::protobuf::uint32 cached_has_bits = 0;
30228 (void) cached_has_bits;
30229
30230}
30231
30232void ModifyCachePoolResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
30233// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ModifyCachePoolResponseProto)
30234 if (&from == this) return;
30235 Clear();
30236 MergeFrom(from);
30237}
30238
30239void ModifyCachePoolResponseProto::CopyFrom(const ModifyCachePoolResponseProto& from) {
30240// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ModifyCachePoolResponseProto)
30241 if (&from == this) return;
30242 Clear();
30243 MergeFrom(from);
30244}
30245
30246bool ModifyCachePoolResponseProto::IsInitialized() const {
30247 return true;
30248}
30249
30250void ModifyCachePoolResponseProto::Swap(ModifyCachePoolResponseProto* other) {
30251 if (other == this) return;
30252 InternalSwap(other);
30253}
30254void ModifyCachePoolResponseProto::InternalSwap(ModifyCachePoolResponseProto* other) {
30255 using std::swap;
30256 swap(_has_bits_[0], other->_has_bits_[0]);
30257 _internal_metadata_.Swap(&other->_internal_metadata_);
30258}
30259
30260::google::protobuf::Metadata ModifyCachePoolResponseProto::GetMetadata() const {
30261 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
30262 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
30263}
30264
30265
30266// ===================================================================
30267
30268void RemoveCachePoolRequestProto::InitAsDefaultInstance() {
30269}
30270#if !defined(_MSC_VER) || _MSC_VER >= 1900
30271const int RemoveCachePoolRequestProto::kPoolNameFieldNumber;
30272#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
30273
30274RemoveCachePoolRequestProto::RemoveCachePoolRequestProto()
30275 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
30276 ::google::protobuf::internal::InitSCC(
30277 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RemoveCachePoolRequestProto.base);
30278 SharedCtor();
30279 // @@protoc_insertion_point(constructor:Hdfs.Internal.RemoveCachePoolRequestProto)
30280}
30281RemoveCachePoolRequestProto::RemoveCachePoolRequestProto(const RemoveCachePoolRequestProto& from)
30282 : ::google::protobuf::Message(),
30283 _internal_metadata_(NULL),
30284 _has_bits_(from._has_bits_) {
30285 _internal_metadata_.MergeFrom(from._internal_metadata_);
30286 poolname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
30287 if (from.has_poolname()) {
30288 poolname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.poolname_);
30289 }
30290 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RemoveCachePoolRequestProto)
30291}
30292
30293void RemoveCachePoolRequestProto::SharedCtor() {
30294 poolname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
30295}
30296
30297RemoveCachePoolRequestProto::~RemoveCachePoolRequestProto() {
30298 // @@protoc_insertion_point(destructor:Hdfs.Internal.RemoveCachePoolRequestProto)
30299 SharedDtor();
30300}
30301
30302void RemoveCachePoolRequestProto::SharedDtor() {
30303 poolname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
30304}
30305
30306void RemoveCachePoolRequestProto::SetCachedSize(int size) const {
30307 _cached_size_.Set(size);
30308}
30309const ::google::protobuf::Descriptor* RemoveCachePoolRequestProto::descriptor() {
30310 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
30311 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
30312}
30313
30314const RemoveCachePoolRequestProto& RemoveCachePoolRequestProto::default_instance() {
30315 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RemoveCachePoolRequestProto.base);
30316 return *internal_default_instance();
30317}
30318
30319
30320void RemoveCachePoolRequestProto::Clear() {
30321// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RemoveCachePoolRequestProto)
30322 ::google::protobuf::uint32 cached_has_bits = 0;
30323 // Prevent compiler warnings about cached_has_bits being unused
30324 (void) cached_has_bits;
30325
30326 cached_has_bits = _has_bits_[0];
30327 if (cached_has_bits & 0x00000001u) {
30328 poolname_.ClearNonDefaultToEmptyNoArena();
30329 }
30330 _has_bits_.Clear();
30331 _internal_metadata_.Clear();
30332}
30333
30334bool RemoveCachePoolRequestProto::MergePartialFromCodedStream(
30335 ::google::protobuf::io::CodedInputStream* input) {
30336#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
30337 ::google::protobuf::uint32 tag;
30338 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RemoveCachePoolRequestProto)
30339 for (;;) {
30340 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
30341 tag = p.first;
30342 if (!p.second) goto handle_unusual;
30343 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
30344 // required string poolName = 1;
30345 case 1: {
30346 if (static_cast< ::google::protobuf::uint8>(tag) ==
30347 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
30348 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
30349 input, this->mutable_poolname()));
30350 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
30351 this->poolname().data(), static_cast<int>(this->poolname().length()),
30352 ::google::protobuf::internal::WireFormat::PARSE,
30353 "Hdfs.Internal.RemoveCachePoolRequestProto.poolName");
30354 } else {
30355 goto handle_unusual;
30356 }
30357 break;
30358 }
30359
30360 default: {
30361 handle_unusual:
30362 if (tag == 0) {
30363 goto success;
30364 }
30365 DO_(::google::protobuf::internal::WireFormat::SkipField(
30366 input, tag, _internal_metadata_.mutable_unknown_fields()));
30367 break;
30368 }
30369 }
30370 }
30371success:
30372 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RemoveCachePoolRequestProto)
30373 return true;
30374failure:
30375 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RemoveCachePoolRequestProto)
30376 return false;
30377#undef DO_
30378}
30379
30380void RemoveCachePoolRequestProto::SerializeWithCachedSizes(
30381 ::google::protobuf::io::CodedOutputStream* output) const {
30382 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RemoveCachePoolRequestProto)
30383 ::google::protobuf::uint32 cached_has_bits = 0;
30384 (void) cached_has_bits;
30385
30386 cached_has_bits = _has_bits_[0];
30387 // required string poolName = 1;
30388 if (cached_has_bits & 0x00000001u) {
30389 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
30390 this->poolname().data(), static_cast<int>(this->poolname().length()),
30391 ::google::protobuf::internal::WireFormat::SERIALIZE,
30392 "Hdfs.Internal.RemoveCachePoolRequestProto.poolName");
30393 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
30394 1, this->poolname(), output);
30395 }
30396
30397 if (_internal_metadata_.have_unknown_fields()) {
30398 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
30399 _internal_metadata_.unknown_fields(), output);
30400 }
30401 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RemoveCachePoolRequestProto)
30402}
30403
30404::google::protobuf::uint8* RemoveCachePoolRequestProto::InternalSerializeWithCachedSizesToArray(
30405 bool deterministic, ::google::protobuf::uint8* target) const {
30406 (void)deterministic; // Unused
30407 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RemoveCachePoolRequestProto)
30408 ::google::protobuf::uint32 cached_has_bits = 0;
30409 (void) cached_has_bits;
30410
30411 cached_has_bits = _has_bits_[0];
30412 // required string poolName = 1;
30413 if (cached_has_bits & 0x00000001u) {
30414 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
30415 this->poolname().data(), static_cast<int>(this->poolname().length()),
30416 ::google::protobuf::internal::WireFormat::SERIALIZE,
30417 "Hdfs.Internal.RemoveCachePoolRequestProto.poolName");
30418 target =
30419 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
30420 1, this->poolname(), target);
30421 }
30422
30423 if (_internal_metadata_.have_unknown_fields()) {
30424 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
30425 _internal_metadata_.unknown_fields(), target);
30426 }
30427 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RemoveCachePoolRequestProto)
30428 return target;
30429}
30430
30431size_t RemoveCachePoolRequestProto::ByteSizeLong() const {
30432// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RemoveCachePoolRequestProto)
30433 size_t total_size = 0;
30434
30435 if (_internal_metadata_.have_unknown_fields()) {
30436 total_size +=
30437 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
30438 _internal_metadata_.unknown_fields());
30439 }
30440 // required string poolName = 1;
30441 if (has_poolname()) {
30442 total_size += 1 +
30443 ::google::protobuf::internal::WireFormatLite::StringSize(
30444 this->poolname());
30445 }
30446 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
30447 SetCachedSize(cached_size);
30448 return total_size;
30449}
30450
30451void RemoveCachePoolRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
30452// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RemoveCachePoolRequestProto)
30453 GOOGLE_DCHECK_NE(&from, this);
30454 const RemoveCachePoolRequestProto* source =
30455 ::google::protobuf::internal::DynamicCastToGenerated<const RemoveCachePoolRequestProto>(
30456 &from);
30457 if (source == NULL) {
30458 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RemoveCachePoolRequestProto)
30459 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
30460 } else {
30461 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RemoveCachePoolRequestProto)
30462 MergeFrom(*source);
30463 }
30464}
30465
30466void RemoveCachePoolRequestProto::MergeFrom(const RemoveCachePoolRequestProto& from) {
30467// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RemoveCachePoolRequestProto)
30468 GOOGLE_DCHECK_NE(&from, this);
30469 _internal_metadata_.MergeFrom(from._internal_metadata_);
30470 ::google::protobuf::uint32 cached_has_bits = 0;
30471 (void) cached_has_bits;
30472
30473 if (from.has_poolname()) {
30474 set_has_poolname();
30475 poolname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.poolname_);
30476 }
30477}
30478
30479void RemoveCachePoolRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
30480// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RemoveCachePoolRequestProto)
30481 if (&from == this) return;
30482 Clear();
30483 MergeFrom(from);
30484}
30485
30486void RemoveCachePoolRequestProto::CopyFrom(const RemoveCachePoolRequestProto& from) {
30487// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RemoveCachePoolRequestProto)
30488 if (&from == this) return;
30489 Clear();
30490 MergeFrom(from);
30491}
30492
30493bool RemoveCachePoolRequestProto::IsInitialized() const {
30494 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
30495 return true;
30496}
30497
30498void RemoveCachePoolRequestProto::Swap(RemoveCachePoolRequestProto* other) {
30499 if (other == this) return;
30500 InternalSwap(other);
30501}
30502void RemoveCachePoolRequestProto::InternalSwap(RemoveCachePoolRequestProto* other) {
30503 using std::swap;
30504 poolname_.Swap(&other->poolname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
30505 GetArenaNoVirtual());
30506 swap(_has_bits_[0], other->_has_bits_[0]);
30507 _internal_metadata_.Swap(&other->_internal_metadata_);
30508}
30509
30510::google::protobuf::Metadata RemoveCachePoolRequestProto::GetMetadata() const {
30511 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
30512 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
30513}
30514
30515
30516// ===================================================================
30517
30518void RemoveCachePoolResponseProto::InitAsDefaultInstance() {
30519}
30520#if !defined(_MSC_VER) || _MSC_VER >= 1900
30521#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
30522
30523RemoveCachePoolResponseProto::RemoveCachePoolResponseProto()
30524 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
30525 ::google::protobuf::internal::InitSCC(
30526 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RemoveCachePoolResponseProto.base);
30527 SharedCtor();
30528 // @@protoc_insertion_point(constructor:Hdfs.Internal.RemoveCachePoolResponseProto)
30529}
30530RemoveCachePoolResponseProto::RemoveCachePoolResponseProto(const RemoveCachePoolResponseProto& from)
30531 : ::google::protobuf::Message(),
30532 _internal_metadata_(NULL),
30533 _has_bits_(from._has_bits_) {
30534 _internal_metadata_.MergeFrom(from._internal_metadata_);
30535 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RemoveCachePoolResponseProto)
30536}
30537
30538void RemoveCachePoolResponseProto::SharedCtor() {
30539}
30540
30541RemoveCachePoolResponseProto::~RemoveCachePoolResponseProto() {
30542 // @@protoc_insertion_point(destructor:Hdfs.Internal.RemoveCachePoolResponseProto)
30543 SharedDtor();
30544}
30545
30546void RemoveCachePoolResponseProto::SharedDtor() {
30547}
30548
30549void RemoveCachePoolResponseProto::SetCachedSize(int size) const {
30550 _cached_size_.Set(size);
30551}
30552const ::google::protobuf::Descriptor* RemoveCachePoolResponseProto::descriptor() {
30553 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
30554 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
30555}
30556
30557const RemoveCachePoolResponseProto& RemoveCachePoolResponseProto::default_instance() {
30558 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RemoveCachePoolResponseProto.base);
30559 return *internal_default_instance();
30560}
30561
30562
30563void RemoveCachePoolResponseProto::Clear() {
30564// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RemoveCachePoolResponseProto)
30565 ::google::protobuf::uint32 cached_has_bits = 0;
30566 // Prevent compiler warnings about cached_has_bits being unused
30567 (void) cached_has_bits;
30568
30569 _has_bits_.Clear();
30570 _internal_metadata_.Clear();
30571}
30572
30573bool RemoveCachePoolResponseProto::MergePartialFromCodedStream(
30574 ::google::protobuf::io::CodedInputStream* input) {
30575#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
30576 ::google::protobuf::uint32 tag;
30577 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RemoveCachePoolResponseProto)
30578 for (;;) {
30579 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
30580 tag = p.first;
30581 if (!p.second) goto handle_unusual;
30582 handle_unusual:
30583 if (tag == 0) {
30584 goto success;
30585 }
30586 DO_(::google::protobuf::internal::WireFormat::SkipField(
30587 input, tag, _internal_metadata_.mutable_unknown_fields()));
30588 }
30589success:
30590 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RemoveCachePoolResponseProto)
30591 return true;
30592failure:
30593 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RemoveCachePoolResponseProto)
30594 return false;
30595#undef DO_
30596}
30597
30598void RemoveCachePoolResponseProto::SerializeWithCachedSizes(
30599 ::google::protobuf::io::CodedOutputStream* output) const {
30600 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RemoveCachePoolResponseProto)
30601 ::google::protobuf::uint32 cached_has_bits = 0;
30602 (void) cached_has_bits;
30603
30604 if (_internal_metadata_.have_unknown_fields()) {
30605 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
30606 _internal_metadata_.unknown_fields(), output);
30607 }
30608 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RemoveCachePoolResponseProto)
30609}
30610
30611::google::protobuf::uint8* RemoveCachePoolResponseProto::InternalSerializeWithCachedSizesToArray(
30612 bool deterministic, ::google::protobuf::uint8* target) const {
30613 (void)deterministic; // Unused
30614 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RemoveCachePoolResponseProto)
30615 ::google::protobuf::uint32 cached_has_bits = 0;
30616 (void) cached_has_bits;
30617
30618 if (_internal_metadata_.have_unknown_fields()) {
30619 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
30620 _internal_metadata_.unknown_fields(), target);
30621 }
30622 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RemoveCachePoolResponseProto)
30623 return target;
30624}
30625
30626size_t RemoveCachePoolResponseProto::ByteSizeLong() const {
30627// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RemoveCachePoolResponseProto)
30628 size_t total_size = 0;
30629
30630 if (_internal_metadata_.have_unknown_fields()) {
30631 total_size +=
30632 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
30633 _internal_metadata_.unknown_fields());
30634 }
30635 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
30636 SetCachedSize(cached_size);
30637 return total_size;
30638}
30639
30640void RemoveCachePoolResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
30641// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RemoveCachePoolResponseProto)
30642 GOOGLE_DCHECK_NE(&from, this);
30643 const RemoveCachePoolResponseProto* source =
30644 ::google::protobuf::internal::DynamicCastToGenerated<const RemoveCachePoolResponseProto>(
30645 &from);
30646 if (source == NULL) {
30647 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RemoveCachePoolResponseProto)
30648 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
30649 } else {
30650 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RemoveCachePoolResponseProto)
30651 MergeFrom(*source);
30652 }
30653}
30654
30655void RemoveCachePoolResponseProto::MergeFrom(const RemoveCachePoolResponseProto& from) {
30656// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RemoveCachePoolResponseProto)
30657 GOOGLE_DCHECK_NE(&from, this);
30658 _internal_metadata_.MergeFrom(from._internal_metadata_);
30659 ::google::protobuf::uint32 cached_has_bits = 0;
30660 (void) cached_has_bits;
30661
30662}
30663
30664void RemoveCachePoolResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
30665// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RemoveCachePoolResponseProto)
30666 if (&from == this) return;
30667 Clear();
30668 MergeFrom(from);
30669}
30670
30671void RemoveCachePoolResponseProto::CopyFrom(const RemoveCachePoolResponseProto& from) {
30672// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RemoveCachePoolResponseProto)
30673 if (&from == this) return;
30674 Clear();
30675 MergeFrom(from);
30676}
30677
30678bool RemoveCachePoolResponseProto::IsInitialized() const {
30679 return true;
30680}
30681
30682void RemoveCachePoolResponseProto::Swap(RemoveCachePoolResponseProto* other) {
30683 if (other == this) return;
30684 InternalSwap(other);
30685}
30686void RemoveCachePoolResponseProto::InternalSwap(RemoveCachePoolResponseProto* other) {
30687 using std::swap;
30688 swap(_has_bits_[0], other->_has_bits_[0]);
30689 _internal_metadata_.Swap(&other->_internal_metadata_);
30690}
30691
30692::google::protobuf::Metadata RemoveCachePoolResponseProto::GetMetadata() const {
30693 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
30694 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
30695}
30696
30697
30698// ===================================================================
30699
30700void ListCachePoolsRequestProto::InitAsDefaultInstance() {
30701}
30702#if !defined(_MSC_VER) || _MSC_VER >= 1900
30703const int ListCachePoolsRequestProto::kPrevPoolNameFieldNumber;
30704#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
30705
30706ListCachePoolsRequestProto::ListCachePoolsRequestProto()
30707 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
30708 ::google::protobuf::internal::InitSCC(
30709 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ListCachePoolsRequestProto.base);
30710 SharedCtor();
30711 // @@protoc_insertion_point(constructor:Hdfs.Internal.ListCachePoolsRequestProto)
30712}
30713ListCachePoolsRequestProto::ListCachePoolsRequestProto(const ListCachePoolsRequestProto& from)
30714 : ::google::protobuf::Message(),
30715 _internal_metadata_(NULL),
30716 _has_bits_(from._has_bits_) {
30717 _internal_metadata_.MergeFrom(from._internal_metadata_);
30718 prevpoolname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
30719 if (from.has_prevpoolname()) {
30720 prevpoolname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.prevpoolname_);
30721 }
30722 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ListCachePoolsRequestProto)
30723}
30724
30725void ListCachePoolsRequestProto::SharedCtor() {
30726 prevpoolname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
30727}
30728
30729ListCachePoolsRequestProto::~ListCachePoolsRequestProto() {
30730 // @@protoc_insertion_point(destructor:Hdfs.Internal.ListCachePoolsRequestProto)
30731 SharedDtor();
30732}
30733
30734void ListCachePoolsRequestProto::SharedDtor() {
30735 prevpoolname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
30736}
30737
30738void ListCachePoolsRequestProto::SetCachedSize(int size) const {
30739 _cached_size_.Set(size);
30740}
30741const ::google::protobuf::Descriptor* ListCachePoolsRequestProto::descriptor() {
30742 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
30743 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
30744}
30745
30746const ListCachePoolsRequestProto& ListCachePoolsRequestProto::default_instance() {
30747 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ListCachePoolsRequestProto.base);
30748 return *internal_default_instance();
30749}
30750
30751
30752void ListCachePoolsRequestProto::Clear() {
30753// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ListCachePoolsRequestProto)
30754 ::google::protobuf::uint32 cached_has_bits = 0;
30755 // Prevent compiler warnings about cached_has_bits being unused
30756 (void) cached_has_bits;
30757
30758 cached_has_bits = _has_bits_[0];
30759 if (cached_has_bits & 0x00000001u) {
30760 prevpoolname_.ClearNonDefaultToEmptyNoArena();
30761 }
30762 _has_bits_.Clear();
30763 _internal_metadata_.Clear();
30764}
30765
30766bool ListCachePoolsRequestProto::MergePartialFromCodedStream(
30767 ::google::protobuf::io::CodedInputStream* input) {
30768#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
30769 ::google::protobuf::uint32 tag;
30770 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ListCachePoolsRequestProto)
30771 for (;;) {
30772 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
30773 tag = p.first;
30774 if (!p.second) goto handle_unusual;
30775 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
30776 // required string prevPoolName = 1;
30777 case 1: {
30778 if (static_cast< ::google::protobuf::uint8>(tag) ==
30779 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
30780 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
30781 input, this->mutable_prevpoolname()));
30782 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
30783 this->prevpoolname().data(), static_cast<int>(this->prevpoolname().length()),
30784 ::google::protobuf::internal::WireFormat::PARSE,
30785 "Hdfs.Internal.ListCachePoolsRequestProto.prevPoolName");
30786 } else {
30787 goto handle_unusual;
30788 }
30789 break;
30790 }
30791
30792 default: {
30793 handle_unusual:
30794 if (tag == 0) {
30795 goto success;
30796 }
30797 DO_(::google::protobuf::internal::WireFormat::SkipField(
30798 input, tag, _internal_metadata_.mutable_unknown_fields()));
30799 break;
30800 }
30801 }
30802 }
30803success:
30804 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ListCachePoolsRequestProto)
30805 return true;
30806failure:
30807 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ListCachePoolsRequestProto)
30808 return false;
30809#undef DO_
30810}
30811
30812void ListCachePoolsRequestProto::SerializeWithCachedSizes(
30813 ::google::protobuf::io::CodedOutputStream* output) const {
30814 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ListCachePoolsRequestProto)
30815 ::google::protobuf::uint32 cached_has_bits = 0;
30816 (void) cached_has_bits;
30817
30818 cached_has_bits = _has_bits_[0];
30819 // required string prevPoolName = 1;
30820 if (cached_has_bits & 0x00000001u) {
30821 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
30822 this->prevpoolname().data(), static_cast<int>(this->prevpoolname().length()),
30823 ::google::protobuf::internal::WireFormat::SERIALIZE,
30824 "Hdfs.Internal.ListCachePoolsRequestProto.prevPoolName");
30825 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
30826 1, this->prevpoolname(), output);
30827 }
30828
30829 if (_internal_metadata_.have_unknown_fields()) {
30830 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
30831 _internal_metadata_.unknown_fields(), output);
30832 }
30833 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ListCachePoolsRequestProto)
30834}
30835
30836::google::protobuf::uint8* ListCachePoolsRequestProto::InternalSerializeWithCachedSizesToArray(
30837 bool deterministic, ::google::protobuf::uint8* target) const {
30838 (void)deterministic; // Unused
30839 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ListCachePoolsRequestProto)
30840 ::google::protobuf::uint32 cached_has_bits = 0;
30841 (void) cached_has_bits;
30842
30843 cached_has_bits = _has_bits_[0];
30844 // required string prevPoolName = 1;
30845 if (cached_has_bits & 0x00000001u) {
30846 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
30847 this->prevpoolname().data(), static_cast<int>(this->prevpoolname().length()),
30848 ::google::protobuf::internal::WireFormat::SERIALIZE,
30849 "Hdfs.Internal.ListCachePoolsRequestProto.prevPoolName");
30850 target =
30851 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
30852 1, this->prevpoolname(), target);
30853 }
30854
30855 if (_internal_metadata_.have_unknown_fields()) {
30856 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
30857 _internal_metadata_.unknown_fields(), target);
30858 }
30859 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ListCachePoolsRequestProto)
30860 return target;
30861}
30862
30863size_t ListCachePoolsRequestProto::ByteSizeLong() const {
30864// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ListCachePoolsRequestProto)
30865 size_t total_size = 0;
30866
30867 if (_internal_metadata_.have_unknown_fields()) {
30868 total_size +=
30869 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
30870 _internal_metadata_.unknown_fields());
30871 }
30872 // required string prevPoolName = 1;
30873 if (has_prevpoolname()) {
30874 total_size += 1 +
30875 ::google::protobuf::internal::WireFormatLite::StringSize(
30876 this->prevpoolname());
30877 }
30878 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
30879 SetCachedSize(cached_size);
30880 return total_size;
30881}
30882
30883void ListCachePoolsRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
30884// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ListCachePoolsRequestProto)
30885 GOOGLE_DCHECK_NE(&from, this);
30886 const ListCachePoolsRequestProto* source =
30887 ::google::protobuf::internal::DynamicCastToGenerated<const ListCachePoolsRequestProto>(
30888 &from);
30889 if (source == NULL) {
30890 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ListCachePoolsRequestProto)
30891 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
30892 } else {
30893 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ListCachePoolsRequestProto)
30894 MergeFrom(*source);
30895 }
30896}
30897
30898void ListCachePoolsRequestProto::MergeFrom(const ListCachePoolsRequestProto& from) {
30899// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ListCachePoolsRequestProto)
30900 GOOGLE_DCHECK_NE(&from, this);
30901 _internal_metadata_.MergeFrom(from._internal_metadata_);
30902 ::google::protobuf::uint32 cached_has_bits = 0;
30903 (void) cached_has_bits;
30904
30905 if (from.has_prevpoolname()) {
30906 set_has_prevpoolname();
30907 prevpoolname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.prevpoolname_);
30908 }
30909}
30910
30911void ListCachePoolsRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
30912// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ListCachePoolsRequestProto)
30913 if (&from == this) return;
30914 Clear();
30915 MergeFrom(from);
30916}
30917
30918void ListCachePoolsRequestProto::CopyFrom(const ListCachePoolsRequestProto& from) {
30919// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ListCachePoolsRequestProto)
30920 if (&from == this) return;
30921 Clear();
30922 MergeFrom(from);
30923}
30924
30925bool ListCachePoolsRequestProto::IsInitialized() const {
30926 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
30927 return true;
30928}
30929
30930void ListCachePoolsRequestProto::Swap(ListCachePoolsRequestProto* other) {
30931 if (other == this) return;
30932 InternalSwap(other);
30933}
30934void ListCachePoolsRequestProto::InternalSwap(ListCachePoolsRequestProto* other) {
30935 using std::swap;
30936 prevpoolname_.Swap(&other->prevpoolname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
30937 GetArenaNoVirtual());
30938 swap(_has_bits_[0], other->_has_bits_[0]);
30939 _internal_metadata_.Swap(&other->_internal_metadata_);
30940}
30941
30942::google::protobuf::Metadata ListCachePoolsRequestProto::GetMetadata() const {
30943 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
30944 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
30945}
30946
30947
30948// ===================================================================
30949
30950void ListCachePoolsResponseProto::InitAsDefaultInstance() {
30951}
30952#if !defined(_MSC_VER) || _MSC_VER >= 1900
30953const int ListCachePoolsResponseProto::kEntriesFieldNumber;
30954const int ListCachePoolsResponseProto::kHasMoreFieldNumber;
30955#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
30956
30957ListCachePoolsResponseProto::ListCachePoolsResponseProto()
30958 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
30959 ::google::protobuf::internal::InitSCC(
30960 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_ListCachePoolsResponseProto.base);
30961 SharedCtor();
30962 // @@protoc_insertion_point(constructor:Hdfs.Internal.ListCachePoolsResponseProto)
30963}
30964ListCachePoolsResponseProto::ListCachePoolsResponseProto(const ListCachePoolsResponseProto& from)
30965 : ::google::protobuf::Message(),
30966 _internal_metadata_(NULL),
30967 _has_bits_(from._has_bits_),
30968 entries_(from.entries_) {
30969 _internal_metadata_.MergeFrom(from._internal_metadata_);
30970 hasmore_ = from.hasmore_;
30971 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.ListCachePoolsResponseProto)
30972}
30973
30974void ListCachePoolsResponseProto::SharedCtor() {
30975 hasmore_ = false;
30976}
30977
30978ListCachePoolsResponseProto::~ListCachePoolsResponseProto() {
30979 // @@protoc_insertion_point(destructor:Hdfs.Internal.ListCachePoolsResponseProto)
30980 SharedDtor();
30981}
30982
30983void ListCachePoolsResponseProto::SharedDtor() {
30984}
30985
30986void ListCachePoolsResponseProto::SetCachedSize(int size) const {
30987 _cached_size_.Set(size);
30988}
30989const ::google::protobuf::Descriptor* ListCachePoolsResponseProto::descriptor() {
30990 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
30991 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
30992}
30993
30994const ListCachePoolsResponseProto& ListCachePoolsResponseProto::default_instance() {
30995 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_ListCachePoolsResponseProto.base);
30996 return *internal_default_instance();
30997}
30998
30999
31000void ListCachePoolsResponseProto::Clear() {
31001// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.ListCachePoolsResponseProto)
31002 ::google::protobuf::uint32 cached_has_bits = 0;
31003 // Prevent compiler warnings about cached_has_bits being unused
31004 (void) cached_has_bits;
31005
31006 entries_.Clear();
31007 hasmore_ = false;
31008 _has_bits_.Clear();
31009 _internal_metadata_.Clear();
31010}
31011
31012bool ListCachePoolsResponseProto::MergePartialFromCodedStream(
31013 ::google::protobuf::io::CodedInputStream* input) {
31014#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
31015 ::google::protobuf::uint32 tag;
31016 // @@protoc_insertion_point(parse_start:Hdfs.Internal.ListCachePoolsResponseProto)
31017 for (;;) {
31018 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
31019 tag = p.first;
31020 if (!p.second) goto handle_unusual;
31021 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
31022 // repeated .Hdfs.Internal.CachePoolEntryProto entries = 1;
31023 case 1: {
31024 if (static_cast< ::google::protobuf::uint8>(tag) ==
31025 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
31026 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
31027 input, add_entries()));
31028 } else {
31029 goto handle_unusual;
31030 }
31031 break;
31032 }
31033
31034 // required bool hasMore = 2;
31035 case 2: {
31036 if (static_cast< ::google::protobuf::uint8>(tag) ==
31037 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
31038 set_has_hasmore();
31039 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
31040 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
31041 input, &hasmore_)));
31042 } else {
31043 goto handle_unusual;
31044 }
31045 break;
31046 }
31047
31048 default: {
31049 handle_unusual:
31050 if (tag == 0) {
31051 goto success;
31052 }
31053 DO_(::google::protobuf::internal::WireFormat::SkipField(
31054 input, tag, _internal_metadata_.mutable_unknown_fields()));
31055 break;
31056 }
31057 }
31058 }
31059success:
31060 // @@protoc_insertion_point(parse_success:Hdfs.Internal.ListCachePoolsResponseProto)
31061 return true;
31062failure:
31063 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.ListCachePoolsResponseProto)
31064 return false;
31065#undef DO_
31066}
31067
31068void ListCachePoolsResponseProto::SerializeWithCachedSizes(
31069 ::google::protobuf::io::CodedOutputStream* output) const {
31070 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.ListCachePoolsResponseProto)
31071 ::google::protobuf::uint32 cached_has_bits = 0;
31072 (void) cached_has_bits;
31073
31074 // repeated .Hdfs.Internal.CachePoolEntryProto entries = 1;
31075 for (unsigned int i = 0,
31076 n = static_cast<unsigned int>(this->entries_size()); i < n; i++) {
31077 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
31078 1,
31079 this->entries(static_cast<int>(i)),
31080 output);
31081 }
31082
31083 cached_has_bits = _has_bits_[0];
31084 // required bool hasMore = 2;
31085 if (cached_has_bits & 0x00000001u) {
31086 ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->hasmore(), output);
31087 }
31088
31089 if (_internal_metadata_.have_unknown_fields()) {
31090 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
31091 _internal_metadata_.unknown_fields(), output);
31092 }
31093 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.ListCachePoolsResponseProto)
31094}
31095
31096::google::protobuf::uint8* ListCachePoolsResponseProto::InternalSerializeWithCachedSizesToArray(
31097 bool deterministic, ::google::protobuf::uint8* target) const {
31098 (void)deterministic; // Unused
31099 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.ListCachePoolsResponseProto)
31100 ::google::protobuf::uint32 cached_has_bits = 0;
31101 (void) cached_has_bits;
31102
31103 // repeated .Hdfs.Internal.CachePoolEntryProto entries = 1;
31104 for (unsigned int i = 0,
31105 n = static_cast<unsigned int>(this->entries_size()); i < n; i++) {
31106 target = ::google::protobuf::internal::WireFormatLite::
31107 InternalWriteMessageToArray(
31108 1, this->entries(static_cast<int>(i)), deterministic, target);
31109 }
31110
31111 cached_has_bits = _has_bits_[0];
31112 // required bool hasMore = 2;
31113 if (cached_has_bits & 0x00000001u) {
31114 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->hasmore(), target);
31115 }
31116
31117 if (_internal_metadata_.have_unknown_fields()) {
31118 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
31119 _internal_metadata_.unknown_fields(), target);
31120 }
31121 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.ListCachePoolsResponseProto)
31122 return target;
31123}
31124
31125size_t ListCachePoolsResponseProto::ByteSizeLong() const {
31126// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.ListCachePoolsResponseProto)
31127 size_t total_size = 0;
31128
31129 if (_internal_metadata_.have_unknown_fields()) {
31130 total_size +=
31131 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
31132 _internal_metadata_.unknown_fields());
31133 }
31134 // required bool hasMore = 2;
31135 if (has_hasmore()) {
31136 total_size += 1 + 1;
31137 }
31138 // repeated .Hdfs.Internal.CachePoolEntryProto entries = 1;
31139 {
31140 unsigned int count = static_cast<unsigned int>(this->entries_size());
31141 total_size += 1UL * count;
31142 for (unsigned int i = 0; i < count; i++) {
31143 total_size +=
31144 ::google::protobuf::internal::WireFormatLite::MessageSize(
31145 this->entries(static_cast<int>(i)));
31146 }
31147 }
31148
31149 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
31150 SetCachedSize(cached_size);
31151 return total_size;
31152}
31153
31154void ListCachePoolsResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
31155// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.ListCachePoolsResponseProto)
31156 GOOGLE_DCHECK_NE(&from, this);
31157 const ListCachePoolsResponseProto* source =
31158 ::google::protobuf::internal::DynamicCastToGenerated<const ListCachePoolsResponseProto>(
31159 &from);
31160 if (source == NULL) {
31161 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.ListCachePoolsResponseProto)
31162 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
31163 } else {
31164 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.ListCachePoolsResponseProto)
31165 MergeFrom(*source);
31166 }
31167}
31168
31169void ListCachePoolsResponseProto::MergeFrom(const ListCachePoolsResponseProto& from) {
31170// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.ListCachePoolsResponseProto)
31171 GOOGLE_DCHECK_NE(&from, this);
31172 _internal_metadata_.MergeFrom(from._internal_metadata_);
31173 ::google::protobuf::uint32 cached_has_bits = 0;
31174 (void) cached_has_bits;
31175
31176 entries_.MergeFrom(from.entries_);
31177 if (from.has_hasmore()) {
31178 set_hasmore(from.hasmore());
31179 }
31180}
31181
31182void ListCachePoolsResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
31183// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.ListCachePoolsResponseProto)
31184 if (&from == this) return;
31185 Clear();
31186 MergeFrom(from);
31187}
31188
31189void ListCachePoolsResponseProto::CopyFrom(const ListCachePoolsResponseProto& from) {
31190// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.ListCachePoolsResponseProto)
31191 if (&from == this) return;
31192 Clear();
31193 MergeFrom(from);
31194}
31195
31196bool ListCachePoolsResponseProto::IsInitialized() const {
31197 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
31198 if (!::google::protobuf::internal::AllAreInitialized(this->entries())) return false;
31199 return true;
31200}
31201
31202void ListCachePoolsResponseProto::Swap(ListCachePoolsResponseProto* other) {
31203 if (other == this) return;
31204 InternalSwap(other);
31205}
31206void ListCachePoolsResponseProto::InternalSwap(ListCachePoolsResponseProto* other) {
31207 using std::swap;
31208 CastToBase(&entries_)->InternalSwap(CastToBase(&other->entries_));
31209 swap(hasmore_, other->hasmore_);
31210 swap(_has_bits_[0], other->_has_bits_[0]);
31211 _internal_metadata_.Swap(&other->_internal_metadata_);
31212}
31213
31214::google::protobuf::Metadata ListCachePoolsResponseProto::GetMetadata() const {
31215 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
31216 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
31217}
31218
31219
31220// ===================================================================
31221
31222void CachePoolEntryProto::InitAsDefaultInstance() {
31223 ::Hdfs::Internal::_CachePoolEntryProto_default_instance_._instance.get_mutable()->info_ = const_cast< ::Hdfs::Internal::CachePoolInfoProto*>(
31224 ::Hdfs::Internal::CachePoolInfoProto::internal_default_instance());
31225 ::Hdfs::Internal::_CachePoolEntryProto_default_instance_._instance.get_mutable()->stats_ = const_cast< ::Hdfs::Internal::CachePoolStatsProto*>(
31226 ::Hdfs::Internal::CachePoolStatsProto::internal_default_instance());
31227}
31228#if !defined(_MSC_VER) || _MSC_VER >= 1900
31229const int CachePoolEntryProto::kInfoFieldNumber;
31230const int CachePoolEntryProto::kStatsFieldNumber;
31231#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
31232
31233CachePoolEntryProto::CachePoolEntryProto()
31234 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
31235 ::google::protobuf::internal::InitSCC(
31236 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CachePoolEntryProto.base);
31237 SharedCtor();
31238 // @@protoc_insertion_point(constructor:Hdfs.Internal.CachePoolEntryProto)
31239}
31240CachePoolEntryProto::CachePoolEntryProto(const CachePoolEntryProto& from)
31241 : ::google::protobuf::Message(),
31242 _internal_metadata_(NULL),
31243 _has_bits_(from._has_bits_) {
31244 _internal_metadata_.MergeFrom(from._internal_metadata_);
31245 if (from.has_info()) {
31246 info_ = new ::Hdfs::Internal::CachePoolInfoProto(*from.info_);
31247 } else {
31248 info_ = NULL;
31249 }
31250 if (from.has_stats()) {
31251 stats_ = new ::Hdfs::Internal::CachePoolStatsProto(*from.stats_);
31252 } else {
31253 stats_ = NULL;
31254 }
31255 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CachePoolEntryProto)
31256}
31257
31258void CachePoolEntryProto::SharedCtor() {
31259 ::memset(&info_, 0, static_cast<size_t>(
31260 reinterpret_cast<char*>(&stats_) -
31261 reinterpret_cast<char*>(&info_)) + sizeof(stats_));
31262}
31263
31264CachePoolEntryProto::~CachePoolEntryProto() {
31265 // @@protoc_insertion_point(destructor:Hdfs.Internal.CachePoolEntryProto)
31266 SharedDtor();
31267}
31268
31269void CachePoolEntryProto::SharedDtor() {
31270 if (this != internal_default_instance()) delete info_;
31271 if (this != internal_default_instance()) delete stats_;
31272}
31273
31274void CachePoolEntryProto::SetCachedSize(int size) const {
31275 _cached_size_.Set(size);
31276}
31277const ::google::protobuf::Descriptor* CachePoolEntryProto::descriptor() {
31278 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
31279 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
31280}
31281
31282const CachePoolEntryProto& CachePoolEntryProto::default_instance() {
31283 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CachePoolEntryProto.base);
31284 return *internal_default_instance();
31285}
31286
31287
31288void CachePoolEntryProto::Clear() {
31289// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CachePoolEntryProto)
31290 ::google::protobuf::uint32 cached_has_bits = 0;
31291 // Prevent compiler warnings about cached_has_bits being unused
31292 (void) cached_has_bits;
31293
31294 cached_has_bits = _has_bits_[0];
31295 if (cached_has_bits & 3u) {
31296 if (cached_has_bits & 0x00000001u) {
31297 GOOGLE_DCHECK(info_ != NULL);
31298 info_->Clear();
31299 }
31300 if (cached_has_bits & 0x00000002u) {
31301 GOOGLE_DCHECK(stats_ != NULL);
31302 stats_->Clear();
31303 }
31304 }
31305 _has_bits_.Clear();
31306 _internal_metadata_.Clear();
31307}
31308
31309bool CachePoolEntryProto::MergePartialFromCodedStream(
31310 ::google::protobuf::io::CodedInputStream* input) {
31311#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
31312 ::google::protobuf::uint32 tag;
31313 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CachePoolEntryProto)
31314 for (;;) {
31315 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
31316 tag = p.first;
31317 if (!p.second) goto handle_unusual;
31318 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
31319 // required .Hdfs.Internal.CachePoolInfoProto info = 1;
31320 case 1: {
31321 if (static_cast< ::google::protobuf::uint8>(tag) ==
31322 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
31323 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
31324 input, mutable_info()));
31325 } else {
31326 goto handle_unusual;
31327 }
31328 break;
31329 }
31330
31331 // required .Hdfs.Internal.CachePoolStatsProto stats = 2;
31332 case 2: {
31333 if (static_cast< ::google::protobuf::uint8>(tag) ==
31334 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
31335 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
31336 input, mutable_stats()));
31337 } else {
31338 goto handle_unusual;
31339 }
31340 break;
31341 }
31342
31343 default: {
31344 handle_unusual:
31345 if (tag == 0) {
31346 goto success;
31347 }
31348 DO_(::google::protobuf::internal::WireFormat::SkipField(
31349 input, tag, _internal_metadata_.mutable_unknown_fields()));
31350 break;
31351 }
31352 }
31353 }
31354success:
31355 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CachePoolEntryProto)
31356 return true;
31357failure:
31358 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CachePoolEntryProto)
31359 return false;
31360#undef DO_
31361}
31362
31363void CachePoolEntryProto::SerializeWithCachedSizes(
31364 ::google::protobuf::io::CodedOutputStream* output) const {
31365 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CachePoolEntryProto)
31366 ::google::protobuf::uint32 cached_has_bits = 0;
31367 (void) cached_has_bits;
31368
31369 cached_has_bits = _has_bits_[0];
31370 // required .Hdfs.Internal.CachePoolInfoProto info = 1;
31371 if (cached_has_bits & 0x00000001u) {
31372 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
31373 1, this->_internal_info(), output);
31374 }
31375
31376 // required .Hdfs.Internal.CachePoolStatsProto stats = 2;
31377 if (cached_has_bits & 0x00000002u) {
31378 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
31379 2, this->_internal_stats(), output);
31380 }
31381
31382 if (_internal_metadata_.have_unknown_fields()) {
31383 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
31384 _internal_metadata_.unknown_fields(), output);
31385 }
31386 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CachePoolEntryProto)
31387}
31388
31389::google::protobuf::uint8* CachePoolEntryProto::InternalSerializeWithCachedSizesToArray(
31390 bool deterministic, ::google::protobuf::uint8* target) const {
31391 (void)deterministic; // Unused
31392 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CachePoolEntryProto)
31393 ::google::protobuf::uint32 cached_has_bits = 0;
31394 (void) cached_has_bits;
31395
31396 cached_has_bits = _has_bits_[0];
31397 // required .Hdfs.Internal.CachePoolInfoProto info = 1;
31398 if (cached_has_bits & 0x00000001u) {
31399 target = ::google::protobuf::internal::WireFormatLite::
31400 InternalWriteMessageToArray(
31401 1, this->_internal_info(), deterministic, target);
31402 }
31403
31404 // required .Hdfs.Internal.CachePoolStatsProto stats = 2;
31405 if (cached_has_bits & 0x00000002u) {
31406 target = ::google::protobuf::internal::WireFormatLite::
31407 InternalWriteMessageToArray(
31408 2, this->_internal_stats(), deterministic, target);
31409 }
31410
31411 if (_internal_metadata_.have_unknown_fields()) {
31412 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
31413 _internal_metadata_.unknown_fields(), target);
31414 }
31415 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CachePoolEntryProto)
31416 return target;
31417}
31418
31419size_t CachePoolEntryProto::RequiredFieldsByteSizeFallback() const {
31420// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.CachePoolEntryProto)
31421 size_t total_size = 0;
31422
31423 if (has_info()) {
31424 // required .Hdfs.Internal.CachePoolInfoProto info = 1;
31425 total_size += 1 +
31426 ::google::protobuf::internal::WireFormatLite::MessageSize(
31427 *info_);
31428 }
31429
31430 if (has_stats()) {
31431 // required .Hdfs.Internal.CachePoolStatsProto stats = 2;
31432 total_size += 1 +
31433 ::google::protobuf::internal::WireFormatLite::MessageSize(
31434 *stats_);
31435 }
31436
31437 return total_size;
31438}
31439size_t CachePoolEntryProto::ByteSizeLong() const {
31440// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CachePoolEntryProto)
31441 size_t total_size = 0;
31442
31443 if (_internal_metadata_.have_unknown_fields()) {
31444 total_size +=
31445 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
31446 _internal_metadata_.unknown_fields());
31447 }
31448 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
31449 // required .Hdfs.Internal.CachePoolInfoProto info = 1;
31450 total_size += 1 +
31451 ::google::protobuf::internal::WireFormatLite::MessageSize(
31452 *info_);
31453
31454 // required .Hdfs.Internal.CachePoolStatsProto stats = 2;
31455 total_size += 1 +
31456 ::google::protobuf::internal::WireFormatLite::MessageSize(
31457 *stats_);
31458
31459 } else {
31460 total_size += RequiredFieldsByteSizeFallback();
31461 }
31462 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
31463 SetCachedSize(cached_size);
31464 return total_size;
31465}
31466
31467void CachePoolEntryProto::MergeFrom(const ::google::protobuf::Message& from) {
31468// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CachePoolEntryProto)
31469 GOOGLE_DCHECK_NE(&from, this);
31470 const CachePoolEntryProto* source =
31471 ::google::protobuf::internal::DynamicCastToGenerated<const CachePoolEntryProto>(
31472 &from);
31473 if (source == NULL) {
31474 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CachePoolEntryProto)
31475 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
31476 } else {
31477 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CachePoolEntryProto)
31478 MergeFrom(*source);
31479 }
31480}
31481
31482void CachePoolEntryProto::MergeFrom(const CachePoolEntryProto& from) {
31483// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CachePoolEntryProto)
31484 GOOGLE_DCHECK_NE(&from, this);
31485 _internal_metadata_.MergeFrom(from._internal_metadata_);
31486 ::google::protobuf::uint32 cached_has_bits = 0;
31487 (void) cached_has_bits;
31488
31489 cached_has_bits = from._has_bits_[0];
31490 if (cached_has_bits & 3u) {
31491 if (cached_has_bits & 0x00000001u) {
31492 mutable_info()->::Hdfs::Internal::CachePoolInfoProto::MergeFrom(from.info());
31493 }
31494 if (cached_has_bits & 0x00000002u) {
31495 mutable_stats()->::Hdfs::Internal::CachePoolStatsProto::MergeFrom(from.stats());
31496 }
31497 }
31498}
31499
31500void CachePoolEntryProto::CopyFrom(const ::google::protobuf::Message& from) {
31501// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CachePoolEntryProto)
31502 if (&from == this) return;
31503 Clear();
31504 MergeFrom(from);
31505}
31506
31507void CachePoolEntryProto::CopyFrom(const CachePoolEntryProto& from) {
31508// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CachePoolEntryProto)
31509 if (&from == this) return;
31510 Clear();
31511 MergeFrom(from);
31512}
31513
31514bool CachePoolEntryProto::IsInitialized() const {
31515 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
31516 if (has_stats()) {
31517 if (!this->stats_->IsInitialized()) return false;
31518 }
31519 return true;
31520}
31521
31522void CachePoolEntryProto::Swap(CachePoolEntryProto* other) {
31523 if (other == this) return;
31524 InternalSwap(other);
31525}
31526void CachePoolEntryProto::InternalSwap(CachePoolEntryProto* other) {
31527 using std::swap;
31528 swap(info_, other->info_);
31529 swap(stats_, other->stats_);
31530 swap(_has_bits_[0], other->_has_bits_[0]);
31531 _internal_metadata_.Swap(&other->_internal_metadata_);
31532}
31533
31534::google::protobuf::Metadata CachePoolEntryProto::GetMetadata() const {
31535 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
31536 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
31537}
31538
31539
31540// ===================================================================
31541
31542void GetFileLinkInfoRequestProto::InitAsDefaultInstance() {
31543}
31544#if !defined(_MSC_VER) || _MSC_VER >= 1900
31545const int GetFileLinkInfoRequestProto::kSrcFieldNumber;
31546#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
31547
31548GetFileLinkInfoRequestProto::GetFileLinkInfoRequestProto()
31549 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
31550 ::google::protobuf::internal::InitSCC(
31551 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetFileLinkInfoRequestProto.base);
31552 SharedCtor();
31553 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetFileLinkInfoRequestProto)
31554}
31555GetFileLinkInfoRequestProto::GetFileLinkInfoRequestProto(const GetFileLinkInfoRequestProto& from)
31556 : ::google::protobuf::Message(),
31557 _internal_metadata_(NULL),
31558 _has_bits_(from._has_bits_) {
31559 _internal_metadata_.MergeFrom(from._internal_metadata_);
31560 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
31561 if (from.has_src()) {
31562 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
31563 }
31564 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetFileLinkInfoRequestProto)
31565}
31566
31567void GetFileLinkInfoRequestProto::SharedCtor() {
31568 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
31569}
31570
31571GetFileLinkInfoRequestProto::~GetFileLinkInfoRequestProto() {
31572 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetFileLinkInfoRequestProto)
31573 SharedDtor();
31574}
31575
31576void GetFileLinkInfoRequestProto::SharedDtor() {
31577 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
31578}
31579
31580void GetFileLinkInfoRequestProto::SetCachedSize(int size) const {
31581 _cached_size_.Set(size);
31582}
31583const ::google::protobuf::Descriptor* GetFileLinkInfoRequestProto::descriptor() {
31584 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
31585 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
31586}
31587
31588const GetFileLinkInfoRequestProto& GetFileLinkInfoRequestProto::default_instance() {
31589 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetFileLinkInfoRequestProto.base);
31590 return *internal_default_instance();
31591}
31592
31593
31594void GetFileLinkInfoRequestProto::Clear() {
31595// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetFileLinkInfoRequestProto)
31596 ::google::protobuf::uint32 cached_has_bits = 0;
31597 // Prevent compiler warnings about cached_has_bits being unused
31598 (void) cached_has_bits;
31599
31600 cached_has_bits = _has_bits_[0];
31601 if (cached_has_bits & 0x00000001u) {
31602 src_.ClearNonDefaultToEmptyNoArena();
31603 }
31604 _has_bits_.Clear();
31605 _internal_metadata_.Clear();
31606}
31607
31608bool GetFileLinkInfoRequestProto::MergePartialFromCodedStream(
31609 ::google::protobuf::io::CodedInputStream* input) {
31610#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
31611 ::google::protobuf::uint32 tag;
31612 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetFileLinkInfoRequestProto)
31613 for (;;) {
31614 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
31615 tag = p.first;
31616 if (!p.second) goto handle_unusual;
31617 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
31618 // required string src = 1;
31619 case 1: {
31620 if (static_cast< ::google::protobuf::uint8>(tag) ==
31621 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
31622 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
31623 input, this->mutable_src()));
31624 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
31625 this->src().data(), static_cast<int>(this->src().length()),
31626 ::google::protobuf::internal::WireFormat::PARSE,
31627 "Hdfs.Internal.GetFileLinkInfoRequestProto.src");
31628 } else {
31629 goto handle_unusual;
31630 }
31631 break;
31632 }
31633
31634 default: {
31635 handle_unusual:
31636 if (tag == 0) {
31637 goto success;
31638 }
31639 DO_(::google::protobuf::internal::WireFormat::SkipField(
31640 input, tag, _internal_metadata_.mutable_unknown_fields()));
31641 break;
31642 }
31643 }
31644 }
31645success:
31646 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetFileLinkInfoRequestProto)
31647 return true;
31648failure:
31649 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetFileLinkInfoRequestProto)
31650 return false;
31651#undef DO_
31652}
31653
31654void GetFileLinkInfoRequestProto::SerializeWithCachedSizes(
31655 ::google::protobuf::io::CodedOutputStream* output) const {
31656 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetFileLinkInfoRequestProto)
31657 ::google::protobuf::uint32 cached_has_bits = 0;
31658 (void) cached_has_bits;
31659
31660 cached_has_bits = _has_bits_[0];
31661 // required string src = 1;
31662 if (cached_has_bits & 0x00000001u) {
31663 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
31664 this->src().data(), static_cast<int>(this->src().length()),
31665 ::google::protobuf::internal::WireFormat::SERIALIZE,
31666 "Hdfs.Internal.GetFileLinkInfoRequestProto.src");
31667 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
31668 1, this->src(), output);
31669 }
31670
31671 if (_internal_metadata_.have_unknown_fields()) {
31672 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
31673 _internal_metadata_.unknown_fields(), output);
31674 }
31675 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetFileLinkInfoRequestProto)
31676}
31677
31678::google::protobuf::uint8* GetFileLinkInfoRequestProto::InternalSerializeWithCachedSizesToArray(
31679 bool deterministic, ::google::protobuf::uint8* target) const {
31680 (void)deterministic; // Unused
31681 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetFileLinkInfoRequestProto)
31682 ::google::protobuf::uint32 cached_has_bits = 0;
31683 (void) cached_has_bits;
31684
31685 cached_has_bits = _has_bits_[0];
31686 // required string src = 1;
31687 if (cached_has_bits & 0x00000001u) {
31688 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
31689 this->src().data(), static_cast<int>(this->src().length()),
31690 ::google::protobuf::internal::WireFormat::SERIALIZE,
31691 "Hdfs.Internal.GetFileLinkInfoRequestProto.src");
31692 target =
31693 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
31694 1, this->src(), target);
31695 }
31696
31697 if (_internal_metadata_.have_unknown_fields()) {
31698 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
31699 _internal_metadata_.unknown_fields(), target);
31700 }
31701 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetFileLinkInfoRequestProto)
31702 return target;
31703}
31704
31705size_t GetFileLinkInfoRequestProto::ByteSizeLong() const {
31706// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetFileLinkInfoRequestProto)
31707 size_t total_size = 0;
31708
31709 if (_internal_metadata_.have_unknown_fields()) {
31710 total_size +=
31711 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
31712 _internal_metadata_.unknown_fields());
31713 }
31714 // required string src = 1;
31715 if (has_src()) {
31716 total_size += 1 +
31717 ::google::protobuf::internal::WireFormatLite::StringSize(
31718 this->src());
31719 }
31720 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
31721 SetCachedSize(cached_size);
31722 return total_size;
31723}
31724
31725void GetFileLinkInfoRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
31726// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetFileLinkInfoRequestProto)
31727 GOOGLE_DCHECK_NE(&from, this);
31728 const GetFileLinkInfoRequestProto* source =
31729 ::google::protobuf::internal::DynamicCastToGenerated<const GetFileLinkInfoRequestProto>(
31730 &from);
31731 if (source == NULL) {
31732 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetFileLinkInfoRequestProto)
31733 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
31734 } else {
31735 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetFileLinkInfoRequestProto)
31736 MergeFrom(*source);
31737 }
31738}
31739
31740void GetFileLinkInfoRequestProto::MergeFrom(const GetFileLinkInfoRequestProto& from) {
31741// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetFileLinkInfoRequestProto)
31742 GOOGLE_DCHECK_NE(&from, this);
31743 _internal_metadata_.MergeFrom(from._internal_metadata_);
31744 ::google::protobuf::uint32 cached_has_bits = 0;
31745 (void) cached_has_bits;
31746
31747 if (from.has_src()) {
31748 set_has_src();
31749 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
31750 }
31751}
31752
31753void GetFileLinkInfoRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
31754// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetFileLinkInfoRequestProto)
31755 if (&from == this) return;
31756 Clear();
31757 MergeFrom(from);
31758}
31759
31760void GetFileLinkInfoRequestProto::CopyFrom(const GetFileLinkInfoRequestProto& from) {
31761// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetFileLinkInfoRequestProto)
31762 if (&from == this) return;
31763 Clear();
31764 MergeFrom(from);
31765}
31766
31767bool GetFileLinkInfoRequestProto::IsInitialized() const {
31768 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
31769 return true;
31770}
31771
31772void GetFileLinkInfoRequestProto::Swap(GetFileLinkInfoRequestProto* other) {
31773 if (other == this) return;
31774 InternalSwap(other);
31775}
31776void GetFileLinkInfoRequestProto::InternalSwap(GetFileLinkInfoRequestProto* other) {
31777 using std::swap;
31778 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
31779 GetArenaNoVirtual());
31780 swap(_has_bits_[0], other->_has_bits_[0]);
31781 _internal_metadata_.Swap(&other->_internal_metadata_);
31782}
31783
31784::google::protobuf::Metadata GetFileLinkInfoRequestProto::GetMetadata() const {
31785 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
31786 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
31787}
31788
31789
31790// ===================================================================
31791
31792void GetFileLinkInfoResponseProto::InitAsDefaultInstance() {
31793 ::Hdfs::Internal::_GetFileLinkInfoResponseProto_default_instance_._instance.get_mutable()->fs_ = const_cast< ::Hdfs::Internal::HdfsFileStatusProto*>(
31794 ::Hdfs::Internal::HdfsFileStatusProto::internal_default_instance());
31795}
31796void GetFileLinkInfoResponseProto::clear_fs() {
31797 if (fs_ != NULL) fs_->Clear();
31798 clear_has_fs();
31799}
31800#if !defined(_MSC_VER) || _MSC_VER >= 1900
31801const int GetFileLinkInfoResponseProto::kFsFieldNumber;
31802#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
31803
31804GetFileLinkInfoResponseProto::GetFileLinkInfoResponseProto()
31805 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
31806 ::google::protobuf::internal::InitSCC(
31807 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetFileLinkInfoResponseProto.base);
31808 SharedCtor();
31809 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetFileLinkInfoResponseProto)
31810}
31811GetFileLinkInfoResponseProto::GetFileLinkInfoResponseProto(const GetFileLinkInfoResponseProto& from)
31812 : ::google::protobuf::Message(),
31813 _internal_metadata_(NULL),
31814 _has_bits_(from._has_bits_) {
31815 _internal_metadata_.MergeFrom(from._internal_metadata_);
31816 if (from.has_fs()) {
31817 fs_ = new ::Hdfs::Internal::HdfsFileStatusProto(*from.fs_);
31818 } else {
31819 fs_ = NULL;
31820 }
31821 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetFileLinkInfoResponseProto)
31822}
31823
31824void GetFileLinkInfoResponseProto::SharedCtor() {
31825 fs_ = NULL;
31826}
31827
31828GetFileLinkInfoResponseProto::~GetFileLinkInfoResponseProto() {
31829 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetFileLinkInfoResponseProto)
31830 SharedDtor();
31831}
31832
31833void GetFileLinkInfoResponseProto::SharedDtor() {
31834 if (this != internal_default_instance()) delete fs_;
31835}
31836
31837void GetFileLinkInfoResponseProto::SetCachedSize(int size) const {
31838 _cached_size_.Set(size);
31839}
31840const ::google::protobuf::Descriptor* GetFileLinkInfoResponseProto::descriptor() {
31841 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
31842 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
31843}
31844
31845const GetFileLinkInfoResponseProto& GetFileLinkInfoResponseProto::default_instance() {
31846 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetFileLinkInfoResponseProto.base);
31847 return *internal_default_instance();
31848}
31849
31850
31851void GetFileLinkInfoResponseProto::Clear() {
31852// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetFileLinkInfoResponseProto)
31853 ::google::protobuf::uint32 cached_has_bits = 0;
31854 // Prevent compiler warnings about cached_has_bits being unused
31855 (void) cached_has_bits;
31856
31857 cached_has_bits = _has_bits_[0];
31858 if (cached_has_bits & 0x00000001u) {
31859 GOOGLE_DCHECK(fs_ != NULL);
31860 fs_->Clear();
31861 }
31862 _has_bits_.Clear();
31863 _internal_metadata_.Clear();
31864}
31865
31866bool GetFileLinkInfoResponseProto::MergePartialFromCodedStream(
31867 ::google::protobuf::io::CodedInputStream* input) {
31868#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
31869 ::google::protobuf::uint32 tag;
31870 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetFileLinkInfoResponseProto)
31871 for (;;) {
31872 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
31873 tag = p.first;
31874 if (!p.second) goto handle_unusual;
31875 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
31876 // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1;
31877 case 1: {
31878 if (static_cast< ::google::protobuf::uint8>(tag) ==
31879 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
31880 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
31881 input, mutable_fs()));
31882 } else {
31883 goto handle_unusual;
31884 }
31885 break;
31886 }
31887
31888 default: {
31889 handle_unusual:
31890 if (tag == 0) {
31891 goto success;
31892 }
31893 DO_(::google::protobuf::internal::WireFormat::SkipField(
31894 input, tag, _internal_metadata_.mutable_unknown_fields()));
31895 break;
31896 }
31897 }
31898 }
31899success:
31900 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetFileLinkInfoResponseProto)
31901 return true;
31902failure:
31903 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetFileLinkInfoResponseProto)
31904 return false;
31905#undef DO_
31906}
31907
31908void GetFileLinkInfoResponseProto::SerializeWithCachedSizes(
31909 ::google::protobuf::io::CodedOutputStream* output) const {
31910 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetFileLinkInfoResponseProto)
31911 ::google::protobuf::uint32 cached_has_bits = 0;
31912 (void) cached_has_bits;
31913
31914 cached_has_bits = _has_bits_[0];
31915 // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1;
31916 if (cached_has_bits & 0x00000001u) {
31917 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
31918 1, this->_internal_fs(), output);
31919 }
31920
31921 if (_internal_metadata_.have_unknown_fields()) {
31922 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
31923 _internal_metadata_.unknown_fields(), output);
31924 }
31925 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetFileLinkInfoResponseProto)
31926}
31927
31928::google::protobuf::uint8* GetFileLinkInfoResponseProto::InternalSerializeWithCachedSizesToArray(
31929 bool deterministic, ::google::protobuf::uint8* target) const {
31930 (void)deterministic; // Unused
31931 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetFileLinkInfoResponseProto)
31932 ::google::protobuf::uint32 cached_has_bits = 0;
31933 (void) cached_has_bits;
31934
31935 cached_has_bits = _has_bits_[0];
31936 // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1;
31937 if (cached_has_bits & 0x00000001u) {
31938 target = ::google::protobuf::internal::WireFormatLite::
31939 InternalWriteMessageToArray(
31940 1, this->_internal_fs(), deterministic, target);
31941 }
31942
31943 if (_internal_metadata_.have_unknown_fields()) {
31944 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
31945 _internal_metadata_.unknown_fields(), target);
31946 }
31947 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetFileLinkInfoResponseProto)
31948 return target;
31949}
31950
31951size_t GetFileLinkInfoResponseProto::ByteSizeLong() const {
31952// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetFileLinkInfoResponseProto)
31953 size_t total_size = 0;
31954
31955 if (_internal_metadata_.have_unknown_fields()) {
31956 total_size +=
31957 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
31958 _internal_metadata_.unknown_fields());
31959 }
31960 // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1;
31961 if (has_fs()) {
31962 total_size += 1 +
31963 ::google::protobuf::internal::WireFormatLite::MessageSize(
31964 *fs_);
31965 }
31966
31967 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
31968 SetCachedSize(cached_size);
31969 return total_size;
31970}
31971
31972void GetFileLinkInfoResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
31973// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetFileLinkInfoResponseProto)
31974 GOOGLE_DCHECK_NE(&from, this);
31975 const GetFileLinkInfoResponseProto* source =
31976 ::google::protobuf::internal::DynamicCastToGenerated<const GetFileLinkInfoResponseProto>(
31977 &from);
31978 if (source == NULL) {
31979 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetFileLinkInfoResponseProto)
31980 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
31981 } else {
31982 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetFileLinkInfoResponseProto)
31983 MergeFrom(*source);
31984 }
31985}
31986
31987void GetFileLinkInfoResponseProto::MergeFrom(const GetFileLinkInfoResponseProto& from) {
31988// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetFileLinkInfoResponseProto)
31989 GOOGLE_DCHECK_NE(&from, this);
31990 _internal_metadata_.MergeFrom(from._internal_metadata_);
31991 ::google::protobuf::uint32 cached_has_bits = 0;
31992 (void) cached_has_bits;
31993
31994 if (from.has_fs()) {
31995 mutable_fs()->::Hdfs::Internal::HdfsFileStatusProto::MergeFrom(from.fs());
31996 }
31997}
31998
31999void GetFileLinkInfoResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
32000// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetFileLinkInfoResponseProto)
32001 if (&from == this) return;
32002 Clear();
32003 MergeFrom(from);
32004}
32005
32006void GetFileLinkInfoResponseProto::CopyFrom(const GetFileLinkInfoResponseProto& from) {
32007// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetFileLinkInfoResponseProto)
32008 if (&from == this) return;
32009 Clear();
32010 MergeFrom(from);
32011}
32012
32013bool GetFileLinkInfoResponseProto::IsInitialized() const {
32014 if (has_fs()) {
32015 if (!this->fs_->IsInitialized()) return false;
32016 }
32017 return true;
32018}
32019
32020void GetFileLinkInfoResponseProto::Swap(GetFileLinkInfoResponseProto* other) {
32021 if (other == this) return;
32022 InternalSwap(other);
32023}
32024void GetFileLinkInfoResponseProto::InternalSwap(GetFileLinkInfoResponseProto* other) {
32025 using std::swap;
32026 swap(fs_, other->fs_);
32027 swap(_has_bits_[0], other->_has_bits_[0]);
32028 _internal_metadata_.Swap(&other->_internal_metadata_);
32029}
32030
32031::google::protobuf::Metadata GetFileLinkInfoResponseProto::GetMetadata() const {
32032 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
32033 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
32034}
32035
32036
32037// ===================================================================
32038
32039void GetContentSummaryRequestProto::InitAsDefaultInstance() {
32040}
32041#if !defined(_MSC_VER) || _MSC_VER >= 1900
32042const int GetContentSummaryRequestProto::kPathFieldNumber;
32043#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
32044
32045GetContentSummaryRequestProto::GetContentSummaryRequestProto()
32046 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
32047 ::google::protobuf::internal::InitSCC(
32048 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetContentSummaryRequestProto.base);
32049 SharedCtor();
32050 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetContentSummaryRequestProto)
32051}
32052GetContentSummaryRequestProto::GetContentSummaryRequestProto(const GetContentSummaryRequestProto& from)
32053 : ::google::protobuf::Message(),
32054 _internal_metadata_(NULL),
32055 _has_bits_(from._has_bits_) {
32056 _internal_metadata_.MergeFrom(from._internal_metadata_);
32057 path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
32058 if (from.has_path()) {
32059 path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
32060 }
32061 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetContentSummaryRequestProto)
32062}
32063
32064void GetContentSummaryRequestProto::SharedCtor() {
32065 path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
32066}
32067
32068GetContentSummaryRequestProto::~GetContentSummaryRequestProto() {
32069 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetContentSummaryRequestProto)
32070 SharedDtor();
32071}
32072
32073void GetContentSummaryRequestProto::SharedDtor() {
32074 path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
32075}
32076
32077void GetContentSummaryRequestProto::SetCachedSize(int size) const {
32078 _cached_size_.Set(size);
32079}
32080const ::google::protobuf::Descriptor* GetContentSummaryRequestProto::descriptor() {
32081 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
32082 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
32083}
32084
32085const GetContentSummaryRequestProto& GetContentSummaryRequestProto::default_instance() {
32086 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetContentSummaryRequestProto.base);
32087 return *internal_default_instance();
32088}
32089
32090
32091void GetContentSummaryRequestProto::Clear() {
32092// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetContentSummaryRequestProto)
32093 ::google::protobuf::uint32 cached_has_bits = 0;
32094 // Prevent compiler warnings about cached_has_bits being unused
32095 (void) cached_has_bits;
32096
32097 cached_has_bits = _has_bits_[0];
32098 if (cached_has_bits & 0x00000001u) {
32099 path_.ClearNonDefaultToEmptyNoArena();
32100 }
32101 _has_bits_.Clear();
32102 _internal_metadata_.Clear();
32103}
32104
32105bool GetContentSummaryRequestProto::MergePartialFromCodedStream(
32106 ::google::protobuf::io::CodedInputStream* input) {
32107#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
32108 ::google::protobuf::uint32 tag;
32109 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetContentSummaryRequestProto)
32110 for (;;) {
32111 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
32112 tag = p.first;
32113 if (!p.second) goto handle_unusual;
32114 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
32115 // required string path = 1;
32116 case 1: {
32117 if (static_cast< ::google::protobuf::uint8>(tag) ==
32118 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
32119 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
32120 input, this->mutable_path()));
32121 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
32122 this->path().data(), static_cast<int>(this->path().length()),
32123 ::google::protobuf::internal::WireFormat::PARSE,
32124 "Hdfs.Internal.GetContentSummaryRequestProto.path");
32125 } else {
32126 goto handle_unusual;
32127 }
32128 break;
32129 }
32130
32131 default: {
32132 handle_unusual:
32133 if (tag == 0) {
32134 goto success;
32135 }
32136 DO_(::google::protobuf::internal::WireFormat::SkipField(
32137 input, tag, _internal_metadata_.mutable_unknown_fields()));
32138 break;
32139 }
32140 }
32141 }
32142success:
32143 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetContentSummaryRequestProto)
32144 return true;
32145failure:
32146 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetContentSummaryRequestProto)
32147 return false;
32148#undef DO_
32149}
32150
32151void GetContentSummaryRequestProto::SerializeWithCachedSizes(
32152 ::google::protobuf::io::CodedOutputStream* output) const {
32153 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetContentSummaryRequestProto)
32154 ::google::protobuf::uint32 cached_has_bits = 0;
32155 (void) cached_has_bits;
32156
32157 cached_has_bits = _has_bits_[0];
32158 // required string path = 1;
32159 if (cached_has_bits & 0x00000001u) {
32160 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
32161 this->path().data(), static_cast<int>(this->path().length()),
32162 ::google::protobuf::internal::WireFormat::SERIALIZE,
32163 "Hdfs.Internal.GetContentSummaryRequestProto.path");
32164 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
32165 1, this->path(), output);
32166 }
32167
32168 if (_internal_metadata_.have_unknown_fields()) {
32169 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
32170 _internal_metadata_.unknown_fields(), output);
32171 }
32172 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetContentSummaryRequestProto)
32173}
32174
32175::google::protobuf::uint8* GetContentSummaryRequestProto::InternalSerializeWithCachedSizesToArray(
32176 bool deterministic, ::google::protobuf::uint8* target) const {
32177 (void)deterministic; // Unused
32178 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetContentSummaryRequestProto)
32179 ::google::protobuf::uint32 cached_has_bits = 0;
32180 (void) cached_has_bits;
32181
32182 cached_has_bits = _has_bits_[0];
32183 // required string path = 1;
32184 if (cached_has_bits & 0x00000001u) {
32185 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
32186 this->path().data(), static_cast<int>(this->path().length()),
32187 ::google::protobuf::internal::WireFormat::SERIALIZE,
32188 "Hdfs.Internal.GetContentSummaryRequestProto.path");
32189 target =
32190 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
32191 1, this->path(), target);
32192 }
32193
32194 if (_internal_metadata_.have_unknown_fields()) {
32195 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
32196 _internal_metadata_.unknown_fields(), target);
32197 }
32198 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetContentSummaryRequestProto)
32199 return target;
32200}
32201
32202size_t GetContentSummaryRequestProto::ByteSizeLong() const {
32203// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetContentSummaryRequestProto)
32204 size_t total_size = 0;
32205
32206 if (_internal_metadata_.have_unknown_fields()) {
32207 total_size +=
32208 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
32209 _internal_metadata_.unknown_fields());
32210 }
32211 // required string path = 1;
32212 if (has_path()) {
32213 total_size += 1 +
32214 ::google::protobuf::internal::WireFormatLite::StringSize(
32215 this->path());
32216 }
32217 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
32218 SetCachedSize(cached_size);
32219 return total_size;
32220}
32221
32222void GetContentSummaryRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
32223// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetContentSummaryRequestProto)
32224 GOOGLE_DCHECK_NE(&from, this);
32225 const GetContentSummaryRequestProto* source =
32226 ::google::protobuf::internal::DynamicCastToGenerated<const GetContentSummaryRequestProto>(
32227 &from);
32228 if (source == NULL) {
32229 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetContentSummaryRequestProto)
32230 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
32231 } else {
32232 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetContentSummaryRequestProto)
32233 MergeFrom(*source);
32234 }
32235}
32236
32237void GetContentSummaryRequestProto::MergeFrom(const GetContentSummaryRequestProto& from) {
32238// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetContentSummaryRequestProto)
32239 GOOGLE_DCHECK_NE(&from, this);
32240 _internal_metadata_.MergeFrom(from._internal_metadata_);
32241 ::google::protobuf::uint32 cached_has_bits = 0;
32242 (void) cached_has_bits;
32243
32244 if (from.has_path()) {
32245 set_has_path();
32246 path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
32247 }
32248}
32249
32250void GetContentSummaryRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
32251// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetContentSummaryRequestProto)
32252 if (&from == this) return;
32253 Clear();
32254 MergeFrom(from);
32255}
32256
32257void GetContentSummaryRequestProto::CopyFrom(const GetContentSummaryRequestProto& from) {
32258// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetContentSummaryRequestProto)
32259 if (&from == this) return;
32260 Clear();
32261 MergeFrom(from);
32262}
32263
32264bool GetContentSummaryRequestProto::IsInitialized() const {
32265 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
32266 return true;
32267}
32268
32269void GetContentSummaryRequestProto::Swap(GetContentSummaryRequestProto* other) {
32270 if (other == this) return;
32271 InternalSwap(other);
32272}
32273void GetContentSummaryRequestProto::InternalSwap(GetContentSummaryRequestProto* other) {
32274 using std::swap;
32275 path_.Swap(&other->path_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
32276 GetArenaNoVirtual());
32277 swap(_has_bits_[0], other->_has_bits_[0]);
32278 _internal_metadata_.Swap(&other->_internal_metadata_);
32279}
32280
32281::google::protobuf::Metadata GetContentSummaryRequestProto::GetMetadata() const {
32282 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
32283 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
32284}
32285
32286
32287// ===================================================================
32288
32289void GetContentSummaryResponseProto::InitAsDefaultInstance() {
32290 ::Hdfs::Internal::_GetContentSummaryResponseProto_default_instance_._instance.get_mutable()->summary_ = const_cast< ::Hdfs::Internal::ContentSummaryProto*>(
32291 ::Hdfs::Internal::ContentSummaryProto::internal_default_instance());
32292}
32293void GetContentSummaryResponseProto::clear_summary() {
32294 if (summary_ != NULL) summary_->Clear();
32295 clear_has_summary();
32296}
32297#if !defined(_MSC_VER) || _MSC_VER >= 1900
32298const int GetContentSummaryResponseProto::kSummaryFieldNumber;
32299#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
32300
32301GetContentSummaryResponseProto::GetContentSummaryResponseProto()
32302 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
32303 ::google::protobuf::internal::InitSCC(
32304 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetContentSummaryResponseProto.base);
32305 SharedCtor();
32306 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetContentSummaryResponseProto)
32307}
32308GetContentSummaryResponseProto::GetContentSummaryResponseProto(const GetContentSummaryResponseProto& from)
32309 : ::google::protobuf::Message(),
32310 _internal_metadata_(NULL),
32311 _has_bits_(from._has_bits_) {
32312 _internal_metadata_.MergeFrom(from._internal_metadata_);
32313 if (from.has_summary()) {
32314 summary_ = new ::Hdfs::Internal::ContentSummaryProto(*from.summary_);
32315 } else {
32316 summary_ = NULL;
32317 }
32318 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetContentSummaryResponseProto)
32319}
32320
32321void GetContentSummaryResponseProto::SharedCtor() {
32322 summary_ = NULL;
32323}
32324
32325GetContentSummaryResponseProto::~GetContentSummaryResponseProto() {
32326 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetContentSummaryResponseProto)
32327 SharedDtor();
32328}
32329
32330void GetContentSummaryResponseProto::SharedDtor() {
32331 if (this != internal_default_instance()) delete summary_;
32332}
32333
32334void GetContentSummaryResponseProto::SetCachedSize(int size) const {
32335 _cached_size_.Set(size);
32336}
32337const ::google::protobuf::Descriptor* GetContentSummaryResponseProto::descriptor() {
32338 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
32339 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
32340}
32341
32342const GetContentSummaryResponseProto& GetContentSummaryResponseProto::default_instance() {
32343 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetContentSummaryResponseProto.base);
32344 return *internal_default_instance();
32345}
32346
32347
32348void GetContentSummaryResponseProto::Clear() {
32349// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetContentSummaryResponseProto)
32350 ::google::protobuf::uint32 cached_has_bits = 0;
32351 // Prevent compiler warnings about cached_has_bits being unused
32352 (void) cached_has_bits;
32353
32354 cached_has_bits = _has_bits_[0];
32355 if (cached_has_bits & 0x00000001u) {
32356 GOOGLE_DCHECK(summary_ != NULL);
32357 summary_->Clear();
32358 }
32359 _has_bits_.Clear();
32360 _internal_metadata_.Clear();
32361}
32362
32363bool GetContentSummaryResponseProto::MergePartialFromCodedStream(
32364 ::google::protobuf::io::CodedInputStream* input) {
32365#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
32366 ::google::protobuf::uint32 tag;
32367 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetContentSummaryResponseProto)
32368 for (;;) {
32369 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
32370 tag = p.first;
32371 if (!p.second) goto handle_unusual;
32372 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
32373 // required .Hdfs.Internal.ContentSummaryProto summary = 1;
32374 case 1: {
32375 if (static_cast< ::google::protobuf::uint8>(tag) ==
32376 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
32377 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
32378 input, mutable_summary()));
32379 } else {
32380 goto handle_unusual;
32381 }
32382 break;
32383 }
32384
32385 default: {
32386 handle_unusual:
32387 if (tag == 0) {
32388 goto success;
32389 }
32390 DO_(::google::protobuf::internal::WireFormat::SkipField(
32391 input, tag, _internal_metadata_.mutable_unknown_fields()));
32392 break;
32393 }
32394 }
32395 }
32396success:
32397 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetContentSummaryResponseProto)
32398 return true;
32399failure:
32400 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetContentSummaryResponseProto)
32401 return false;
32402#undef DO_
32403}
32404
32405void GetContentSummaryResponseProto::SerializeWithCachedSizes(
32406 ::google::protobuf::io::CodedOutputStream* output) const {
32407 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetContentSummaryResponseProto)
32408 ::google::protobuf::uint32 cached_has_bits = 0;
32409 (void) cached_has_bits;
32410
32411 cached_has_bits = _has_bits_[0];
32412 // required .Hdfs.Internal.ContentSummaryProto summary = 1;
32413 if (cached_has_bits & 0x00000001u) {
32414 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
32415 1, this->_internal_summary(), output);
32416 }
32417
32418 if (_internal_metadata_.have_unknown_fields()) {
32419 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
32420 _internal_metadata_.unknown_fields(), output);
32421 }
32422 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetContentSummaryResponseProto)
32423}
32424
32425::google::protobuf::uint8* GetContentSummaryResponseProto::InternalSerializeWithCachedSizesToArray(
32426 bool deterministic, ::google::protobuf::uint8* target) const {
32427 (void)deterministic; // Unused
32428 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetContentSummaryResponseProto)
32429 ::google::protobuf::uint32 cached_has_bits = 0;
32430 (void) cached_has_bits;
32431
32432 cached_has_bits = _has_bits_[0];
32433 // required .Hdfs.Internal.ContentSummaryProto summary = 1;
32434 if (cached_has_bits & 0x00000001u) {
32435 target = ::google::protobuf::internal::WireFormatLite::
32436 InternalWriteMessageToArray(
32437 1, this->_internal_summary(), deterministic, target);
32438 }
32439
32440 if (_internal_metadata_.have_unknown_fields()) {
32441 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
32442 _internal_metadata_.unknown_fields(), target);
32443 }
32444 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetContentSummaryResponseProto)
32445 return target;
32446}
32447
32448size_t GetContentSummaryResponseProto::ByteSizeLong() const {
32449// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetContentSummaryResponseProto)
32450 size_t total_size = 0;
32451
32452 if (_internal_metadata_.have_unknown_fields()) {
32453 total_size +=
32454 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
32455 _internal_metadata_.unknown_fields());
32456 }
32457 // required .Hdfs.Internal.ContentSummaryProto summary = 1;
32458 if (has_summary()) {
32459 total_size += 1 +
32460 ::google::protobuf::internal::WireFormatLite::MessageSize(
32461 *summary_);
32462 }
32463 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
32464 SetCachedSize(cached_size);
32465 return total_size;
32466}
32467
32468void GetContentSummaryResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
32469// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetContentSummaryResponseProto)
32470 GOOGLE_DCHECK_NE(&from, this);
32471 const GetContentSummaryResponseProto* source =
32472 ::google::protobuf::internal::DynamicCastToGenerated<const GetContentSummaryResponseProto>(
32473 &from);
32474 if (source == NULL) {
32475 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetContentSummaryResponseProto)
32476 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
32477 } else {
32478 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetContentSummaryResponseProto)
32479 MergeFrom(*source);
32480 }
32481}
32482
32483void GetContentSummaryResponseProto::MergeFrom(const GetContentSummaryResponseProto& from) {
32484// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetContentSummaryResponseProto)
32485 GOOGLE_DCHECK_NE(&from, this);
32486 _internal_metadata_.MergeFrom(from._internal_metadata_);
32487 ::google::protobuf::uint32 cached_has_bits = 0;
32488 (void) cached_has_bits;
32489
32490 if (from.has_summary()) {
32491 mutable_summary()->::Hdfs::Internal::ContentSummaryProto::MergeFrom(from.summary());
32492 }
32493}
32494
32495void GetContentSummaryResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
32496// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetContentSummaryResponseProto)
32497 if (&from == this) return;
32498 Clear();
32499 MergeFrom(from);
32500}
32501
32502void GetContentSummaryResponseProto::CopyFrom(const GetContentSummaryResponseProto& from) {
32503// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetContentSummaryResponseProto)
32504 if (&from == this) return;
32505 Clear();
32506 MergeFrom(from);
32507}
32508
32509bool GetContentSummaryResponseProto::IsInitialized() const {
32510 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
32511 if (has_summary()) {
32512 if (!this->summary_->IsInitialized()) return false;
32513 }
32514 return true;
32515}
32516
32517void GetContentSummaryResponseProto::Swap(GetContentSummaryResponseProto* other) {
32518 if (other == this) return;
32519 InternalSwap(other);
32520}
32521void GetContentSummaryResponseProto::InternalSwap(GetContentSummaryResponseProto* other) {
32522 using std::swap;
32523 swap(summary_, other->summary_);
32524 swap(_has_bits_[0], other->_has_bits_[0]);
32525 _internal_metadata_.Swap(&other->_internal_metadata_);
32526}
32527
32528::google::protobuf::Metadata GetContentSummaryResponseProto::GetMetadata() const {
32529 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
32530 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
32531}
32532
32533
32534// ===================================================================
32535
32536void SetQuotaRequestProto::InitAsDefaultInstance() {
32537}
32538#if !defined(_MSC_VER) || _MSC_VER >= 1900
32539const int SetQuotaRequestProto::kPathFieldNumber;
32540const int SetQuotaRequestProto::kNamespaceQuotaFieldNumber;
32541const int SetQuotaRequestProto::kDiskspaceQuotaFieldNumber;
32542#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
32543
32544SetQuotaRequestProto::SetQuotaRequestProto()
32545 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
32546 ::google::protobuf::internal::InitSCC(
32547 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetQuotaRequestProto.base);
32548 SharedCtor();
32549 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetQuotaRequestProto)
32550}
32551SetQuotaRequestProto::SetQuotaRequestProto(const SetQuotaRequestProto& from)
32552 : ::google::protobuf::Message(),
32553 _internal_metadata_(NULL),
32554 _has_bits_(from._has_bits_) {
32555 _internal_metadata_.MergeFrom(from._internal_metadata_);
32556 path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
32557 if (from.has_path()) {
32558 path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
32559 }
32560 ::memcpy(&namespacequota_, &from.namespacequota_,
32561 static_cast<size_t>(reinterpret_cast<char*>(&diskspacequota_) -
32562 reinterpret_cast<char*>(&namespacequota_)) + sizeof(diskspacequota_));
32563 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetQuotaRequestProto)
32564}
32565
32566void SetQuotaRequestProto::SharedCtor() {
32567 path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
32568 ::memset(&namespacequota_, 0, static_cast<size_t>(
32569 reinterpret_cast<char*>(&diskspacequota_) -
32570 reinterpret_cast<char*>(&namespacequota_)) + sizeof(diskspacequota_));
32571}
32572
32573SetQuotaRequestProto::~SetQuotaRequestProto() {
32574 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetQuotaRequestProto)
32575 SharedDtor();
32576}
32577
32578void SetQuotaRequestProto::SharedDtor() {
32579 path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
32580}
32581
32582void SetQuotaRequestProto::SetCachedSize(int size) const {
32583 _cached_size_.Set(size);
32584}
32585const ::google::protobuf::Descriptor* SetQuotaRequestProto::descriptor() {
32586 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
32587 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
32588}
32589
32590const SetQuotaRequestProto& SetQuotaRequestProto::default_instance() {
32591 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetQuotaRequestProto.base);
32592 return *internal_default_instance();
32593}
32594
32595
32596void SetQuotaRequestProto::Clear() {
32597// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetQuotaRequestProto)
32598 ::google::protobuf::uint32 cached_has_bits = 0;
32599 // Prevent compiler warnings about cached_has_bits being unused
32600 (void) cached_has_bits;
32601
32602 cached_has_bits = _has_bits_[0];
32603 if (cached_has_bits & 0x00000001u) {
32604 path_.ClearNonDefaultToEmptyNoArena();
32605 }
32606 if (cached_has_bits & 6u) {
32607 ::memset(&namespacequota_, 0, static_cast<size_t>(
32608 reinterpret_cast<char*>(&diskspacequota_) -
32609 reinterpret_cast<char*>(&namespacequota_)) + sizeof(diskspacequota_));
32610 }
32611 _has_bits_.Clear();
32612 _internal_metadata_.Clear();
32613}
32614
32615bool SetQuotaRequestProto::MergePartialFromCodedStream(
32616 ::google::protobuf::io::CodedInputStream* input) {
32617#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
32618 ::google::protobuf::uint32 tag;
32619 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetQuotaRequestProto)
32620 for (;;) {
32621 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
32622 tag = p.first;
32623 if (!p.second) goto handle_unusual;
32624 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
32625 // required string path = 1;
32626 case 1: {
32627 if (static_cast< ::google::protobuf::uint8>(tag) ==
32628 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
32629 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
32630 input, this->mutable_path()));
32631 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
32632 this->path().data(), static_cast<int>(this->path().length()),
32633 ::google::protobuf::internal::WireFormat::PARSE,
32634 "Hdfs.Internal.SetQuotaRequestProto.path");
32635 } else {
32636 goto handle_unusual;
32637 }
32638 break;
32639 }
32640
32641 // required uint64 namespaceQuota = 2;
32642 case 2: {
32643 if (static_cast< ::google::protobuf::uint8>(tag) ==
32644 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
32645 set_has_namespacequota();
32646 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
32647 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
32648 input, &namespacequota_)));
32649 } else {
32650 goto handle_unusual;
32651 }
32652 break;
32653 }
32654
32655 // required uint64 diskspaceQuota = 3;
32656 case 3: {
32657 if (static_cast< ::google::protobuf::uint8>(tag) ==
32658 static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
32659 set_has_diskspacequota();
32660 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
32661 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
32662 input, &diskspacequota_)));
32663 } else {
32664 goto handle_unusual;
32665 }
32666 break;
32667 }
32668
32669 default: {
32670 handle_unusual:
32671 if (tag == 0) {
32672 goto success;
32673 }
32674 DO_(::google::protobuf::internal::WireFormat::SkipField(
32675 input, tag, _internal_metadata_.mutable_unknown_fields()));
32676 break;
32677 }
32678 }
32679 }
32680success:
32681 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetQuotaRequestProto)
32682 return true;
32683failure:
32684 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetQuotaRequestProto)
32685 return false;
32686#undef DO_
32687}
32688
32689void SetQuotaRequestProto::SerializeWithCachedSizes(
32690 ::google::protobuf::io::CodedOutputStream* output) const {
32691 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetQuotaRequestProto)
32692 ::google::protobuf::uint32 cached_has_bits = 0;
32693 (void) cached_has_bits;
32694
32695 cached_has_bits = _has_bits_[0];
32696 // required string path = 1;
32697 if (cached_has_bits & 0x00000001u) {
32698 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
32699 this->path().data(), static_cast<int>(this->path().length()),
32700 ::google::protobuf::internal::WireFormat::SERIALIZE,
32701 "Hdfs.Internal.SetQuotaRequestProto.path");
32702 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
32703 1, this->path(), output);
32704 }
32705
32706 // required uint64 namespaceQuota = 2;
32707 if (cached_has_bits & 0x00000002u) {
32708 ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->namespacequota(), output);
32709 }
32710
32711 // required uint64 diskspaceQuota = 3;
32712 if (cached_has_bits & 0x00000004u) {
32713 ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->diskspacequota(), output);
32714 }
32715
32716 if (_internal_metadata_.have_unknown_fields()) {
32717 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
32718 _internal_metadata_.unknown_fields(), output);
32719 }
32720 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetQuotaRequestProto)
32721}
32722
32723::google::protobuf::uint8* SetQuotaRequestProto::InternalSerializeWithCachedSizesToArray(
32724 bool deterministic, ::google::protobuf::uint8* target) const {
32725 (void)deterministic; // Unused
32726 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetQuotaRequestProto)
32727 ::google::protobuf::uint32 cached_has_bits = 0;
32728 (void) cached_has_bits;
32729
32730 cached_has_bits = _has_bits_[0];
32731 // required string path = 1;
32732 if (cached_has_bits & 0x00000001u) {
32733 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
32734 this->path().data(), static_cast<int>(this->path().length()),
32735 ::google::protobuf::internal::WireFormat::SERIALIZE,
32736 "Hdfs.Internal.SetQuotaRequestProto.path");
32737 target =
32738 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
32739 1, this->path(), target);
32740 }
32741
32742 // required uint64 namespaceQuota = 2;
32743 if (cached_has_bits & 0x00000002u) {
32744 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->namespacequota(), target);
32745 }
32746
32747 // required uint64 diskspaceQuota = 3;
32748 if (cached_has_bits & 0x00000004u) {
32749 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->diskspacequota(), target);
32750 }
32751
32752 if (_internal_metadata_.have_unknown_fields()) {
32753 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
32754 _internal_metadata_.unknown_fields(), target);
32755 }
32756 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetQuotaRequestProto)
32757 return target;
32758}
32759
32760size_t SetQuotaRequestProto::RequiredFieldsByteSizeFallback() const {
32761// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.SetQuotaRequestProto)
32762 size_t total_size = 0;
32763
32764 if (has_path()) {
32765 // required string path = 1;
32766 total_size += 1 +
32767 ::google::protobuf::internal::WireFormatLite::StringSize(
32768 this->path());
32769 }
32770
32771 if (has_namespacequota()) {
32772 // required uint64 namespaceQuota = 2;
32773 total_size += 1 +
32774 ::google::protobuf::internal::WireFormatLite::UInt64Size(
32775 this->namespacequota());
32776 }
32777
32778 if (has_diskspacequota()) {
32779 // required uint64 diskspaceQuota = 3;
32780 total_size += 1 +
32781 ::google::protobuf::internal::WireFormatLite::UInt64Size(
32782 this->diskspacequota());
32783 }
32784
32785 return total_size;
32786}
32787size_t SetQuotaRequestProto::ByteSizeLong() const {
32788// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetQuotaRequestProto)
32789 size_t total_size = 0;
32790
32791 if (_internal_metadata_.have_unknown_fields()) {
32792 total_size +=
32793 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
32794 _internal_metadata_.unknown_fields());
32795 }
32796 if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
32797 // required string path = 1;
32798 total_size += 1 +
32799 ::google::protobuf::internal::WireFormatLite::StringSize(
32800 this->path());
32801
32802 // required uint64 namespaceQuota = 2;
32803 total_size += 1 +
32804 ::google::protobuf::internal::WireFormatLite::UInt64Size(
32805 this->namespacequota());
32806
32807 // required uint64 diskspaceQuota = 3;
32808 total_size += 1 +
32809 ::google::protobuf::internal::WireFormatLite::UInt64Size(
32810 this->diskspacequota());
32811
32812 } else {
32813 total_size += RequiredFieldsByteSizeFallback();
32814 }
32815 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
32816 SetCachedSize(cached_size);
32817 return total_size;
32818}
32819
32820void SetQuotaRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
32821// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetQuotaRequestProto)
32822 GOOGLE_DCHECK_NE(&from, this);
32823 const SetQuotaRequestProto* source =
32824 ::google::protobuf::internal::DynamicCastToGenerated<const SetQuotaRequestProto>(
32825 &from);
32826 if (source == NULL) {
32827 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetQuotaRequestProto)
32828 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
32829 } else {
32830 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetQuotaRequestProto)
32831 MergeFrom(*source);
32832 }
32833}
32834
32835void SetQuotaRequestProto::MergeFrom(const SetQuotaRequestProto& from) {
32836// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetQuotaRequestProto)
32837 GOOGLE_DCHECK_NE(&from, this);
32838 _internal_metadata_.MergeFrom(from._internal_metadata_);
32839 ::google::protobuf::uint32 cached_has_bits = 0;
32840 (void) cached_has_bits;
32841
32842 cached_has_bits = from._has_bits_[0];
32843 if (cached_has_bits & 7u) {
32844 if (cached_has_bits & 0x00000001u) {
32845 set_has_path();
32846 path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
32847 }
32848 if (cached_has_bits & 0x00000002u) {
32849 namespacequota_ = from.namespacequota_;
32850 }
32851 if (cached_has_bits & 0x00000004u) {
32852 diskspacequota_ = from.diskspacequota_;
32853 }
32854 _has_bits_[0] |= cached_has_bits;
32855 }
32856}
32857
32858void SetQuotaRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
32859// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetQuotaRequestProto)
32860 if (&from == this) return;
32861 Clear();
32862 MergeFrom(from);
32863}
32864
32865void SetQuotaRequestProto::CopyFrom(const SetQuotaRequestProto& from) {
32866// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetQuotaRequestProto)
32867 if (&from == this) return;
32868 Clear();
32869 MergeFrom(from);
32870}
32871
32872bool SetQuotaRequestProto::IsInitialized() const {
32873 if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
32874 return true;
32875}
32876
32877void SetQuotaRequestProto::Swap(SetQuotaRequestProto* other) {
32878 if (other == this) return;
32879 InternalSwap(other);
32880}
32881void SetQuotaRequestProto::InternalSwap(SetQuotaRequestProto* other) {
32882 using std::swap;
32883 path_.Swap(&other->path_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
32884 GetArenaNoVirtual());
32885 swap(namespacequota_, other->namespacequota_);
32886 swap(diskspacequota_, other->diskspacequota_);
32887 swap(_has_bits_[0], other->_has_bits_[0]);
32888 _internal_metadata_.Swap(&other->_internal_metadata_);
32889}
32890
32891::google::protobuf::Metadata SetQuotaRequestProto::GetMetadata() const {
32892 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
32893 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
32894}
32895
32896
32897// ===================================================================
32898
32899void SetQuotaResponseProto::InitAsDefaultInstance() {
32900}
32901#if !defined(_MSC_VER) || _MSC_VER >= 1900
32902#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
32903
32904SetQuotaResponseProto::SetQuotaResponseProto()
32905 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
32906 ::google::protobuf::internal::InitSCC(
32907 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetQuotaResponseProto.base);
32908 SharedCtor();
32909 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetQuotaResponseProto)
32910}
32911SetQuotaResponseProto::SetQuotaResponseProto(const SetQuotaResponseProto& from)
32912 : ::google::protobuf::Message(),
32913 _internal_metadata_(NULL),
32914 _has_bits_(from._has_bits_) {
32915 _internal_metadata_.MergeFrom(from._internal_metadata_);
32916 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetQuotaResponseProto)
32917}
32918
32919void SetQuotaResponseProto::SharedCtor() {
32920}
32921
32922SetQuotaResponseProto::~SetQuotaResponseProto() {
32923 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetQuotaResponseProto)
32924 SharedDtor();
32925}
32926
32927void SetQuotaResponseProto::SharedDtor() {
32928}
32929
32930void SetQuotaResponseProto::SetCachedSize(int size) const {
32931 _cached_size_.Set(size);
32932}
32933const ::google::protobuf::Descriptor* SetQuotaResponseProto::descriptor() {
32934 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
32935 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
32936}
32937
32938const SetQuotaResponseProto& SetQuotaResponseProto::default_instance() {
32939 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetQuotaResponseProto.base);
32940 return *internal_default_instance();
32941}
32942
32943
32944void SetQuotaResponseProto::Clear() {
32945// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetQuotaResponseProto)
32946 ::google::protobuf::uint32 cached_has_bits = 0;
32947 // Prevent compiler warnings about cached_has_bits being unused
32948 (void) cached_has_bits;
32949
32950 _has_bits_.Clear();
32951 _internal_metadata_.Clear();
32952}
32953
32954bool SetQuotaResponseProto::MergePartialFromCodedStream(
32955 ::google::protobuf::io::CodedInputStream* input) {
32956#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
32957 ::google::protobuf::uint32 tag;
32958 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetQuotaResponseProto)
32959 for (;;) {
32960 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
32961 tag = p.first;
32962 if (!p.second) goto handle_unusual;
32963 handle_unusual:
32964 if (tag == 0) {
32965 goto success;
32966 }
32967 DO_(::google::protobuf::internal::WireFormat::SkipField(
32968 input, tag, _internal_metadata_.mutable_unknown_fields()));
32969 }
32970success:
32971 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetQuotaResponseProto)
32972 return true;
32973failure:
32974 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetQuotaResponseProto)
32975 return false;
32976#undef DO_
32977}
32978
32979void SetQuotaResponseProto::SerializeWithCachedSizes(
32980 ::google::protobuf::io::CodedOutputStream* output) const {
32981 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetQuotaResponseProto)
32982 ::google::protobuf::uint32 cached_has_bits = 0;
32983 (void) cached_has_bits;
32984
32985 if (_internal_metadata_.have_unknown_fields()) {
32986 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
32987 _internal_metadata_.unknown_fields(), output);
32988 }
32989 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetQuotaResponseProto)
32990}
32991
32992::google::protobuf::uint8* SetQuotaResponseProto::InternalSerializeWithCachedSizesToArray(
32993 bool deterministic, ::google::protobuf::uint8* target) const {
32994 (void)deterministic; // Unused
32995 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetQuotaResponseProto)
32996 ::google::protobuf::uint32 cached_has_bits = 0;
32997 (void) cached_has_bits;
32998
32999 if (_internal_metadata_.have_unknown_fields()) {
33000 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
33001 _internal_metadata_.unknown_fields(), target);
33002 }
33003 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetQuotaResponseProto)
33004 return target;
33005}
33006
33007size_t SetQuotaResponseProto::ByteSizeLong() const {
33008// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetQuotaResponseProto)
33009 size_t total_size = 0;
33010
33011 if (_internal_metadata_.have_unknown_fields()) {
33012 total_size +=
33013 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
33014 _internal_metadata_.unknown_fields());
33015 }
33016 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
33017 SetCachedSize(cached_size);
33018 return total_size;
33019}
33020
33021void SetQuotaResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
33022// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetQuotaResponseProto)
33023 GOOGLE_DCHECK_NE(&from, this);
33024 const SetQuotaResponseProto* source =
33025 ::google::protobuf::internal::DynamicCastToGenerated<const SetQuotaResponseProto>(
33026 &from);
33027 if (source == NULL) {
33028 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetQuotaResponseProto)
33029 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
33030 } else {
33031 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetQuotaResponseProto)
33032 MergeFrom(*source);
33033 }
33034}
33035
33036void SetQuotaResponseProto::MergeFrom(const SetQuotaResponseProto& from) {
33037// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetQuotaResponseProto)
33038 GOOGLE_DCHECK_NE(&from, this);
33039 _internal_metadata_.MergeFrom(from._internal_metadata_);
33040 ::google::protobuf::uint32 cached_has_bits = 0;
33041 (void) cached_has_bits;
33042
33043}
33044
33045void SetQuotaResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
33046// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetQuotaResponseProto)
33047 if (&from == this) return;
33048 Clear();
33049 MergeFrom(from);
33050}
33051
33052void SetQuotaResponseProto::CopyFrom(const SetQuotaResponseProto& from) {
33053// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetQuotaResponseProto)
33054 if (&from == this) return;
33055 Clear();
33056 MergeFrom(from);
33057}
33058
33059bool SetQuotaResponseProto::IsInitialized() const {
33060 return true;
33061}
33062
33063void SetQuotaResponseProto::Swap(SetQuotaResponseProto* other) {
33064 if (other == this) return;
33065 InternalSwap(other);
33066}
33067void SetQuotaResponseProto::InternalSwap(SetQuotaResponseProto* other) {
33068 using std::swap;
33069 swap(_has_bits_[0], other->_has_bits_[0]);
33070 _internal_metadata_.Swap(&other->_internal_metadata_);
33071}
33072
33073::google::protobuf::Metadata SetQuotaResponseProto::GetMetadata() const {
33074 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
33075 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
33076}
33077
33078
33079// ===================================================================
33080
33081void FsyncRequestProto::InitAsDefaultInstance() {
33082}
33083#if !defined(_MSC_VER) || _MSC_VER >= 1900
33084const int FsyncRequestProto::kSrcFieldNumber;
33085const int FsyncRequestProto::kClientFieldNumber;
33086const int FsyncRequestProto::kLastBlockLengthFieldNumber;
33087#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
33088
33089FsyncRequestProto::FsyncRequestProto()
33090 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
33091 ::google::protobuf::internal::InitSCC(
33092 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_FsyncRequestProto.base);
33093 SharedCtor();
33094 // @@protoc_insertion_point(constructor:Hdfs.Internal.FsyncRequestProto)
33095}
33096FsyncRequestProto::FsyncRequestProto(const FsyncRequestProto& from)
33097 : ::google::protobuf::Message(),
33098 _internal_metadata_(NULL),
33099 _has_bits_(from._has_bits_) {
33100 _internal_metadata_.MergeFrom(from._internal_metadata_);
33101 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
33102 if (from.has_src()) {
33103 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
33104 }
33105 client_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
33106 if (from.has_client()) {
33107 client_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.client_);
33108 }
33109 lastblocklength_ = from.lastblocklength_;
33110 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.FsyncRequestProto)
33111}
33112
33113void FsyncRequestProto::SharedCtor() {
33114 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
33115 client_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
33116 lastblocklength_ = GOOGLE_LONGLONG(-1);
33117}
33118
33119FsyncRequestProto::~FsyncRequestProto() {
33120 // @@protoc_insertion_point(destructor:Hdfs.Internal.FsyncRequestProto)
33121 SharedDtor();
33122}
33123
33124void FsyncRequestProto::SharedDtor() {
33125 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
33126 client_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
33127}
33128
33129void FsyncRequestProto::SetCachedSize(int size) const {
33130 _cached_size_.Set(size);
33131}
33132const ::google::protobuf::Descriptor* FsyncRequestProto::descriptor() {
33133 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
33134 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
33135}
33136
33137const FsyncRequestProto& FsyncRequestProto::default_instance() {
33138 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_FsyncRequestProto.base);
33139 return *internal_default_instance();
33140}
33141
33142
33143void FsyncRequestProto::Clear() {
33144// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.FsyncRequestProto)
33145 ::google::protobuf::uint32 cached_has_bits = 0;
33146 // Prevent compiler warnings about cached_has_bits being unused
33147 (void) cached_has_bits;
33148
33149 cached_has_bits = _has_bits_[0];
33150 if (cached_has_bits & 7u) {
33151 if (cached_has_bits & 0x00000001u) {
33152 src_.ClearNonDefaultToEmptyNoArena();
33153 }
33154 if (cached_has_bits & 0x00000002u) {
33155 client_.ClearNonDefaultToEmptyNoArena();
33156 }
33157 lastblocklength_ = GOOGLE_LONGLONG(-1);
33158 }
33159 _has_bits_.Clear();
33160 _internal_metadata_.Clear();
33161}
33162
33163bool FsyncRequestProto::MergePartialFromCodedStream(
33164 ::google::protobuf::io::CodedInputStream* input) {
33165#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
33166 ::google::protobuf::uint32 tag;
33167 // @@protoc_insertion_point(parse_start:Hdfs.Internal.FsyncRequestProto)
33168 for (;;) {
33169 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
33170 tag = p.first;
33171 if (!p.second) goto handle_unusual;
33172 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
33173 // required string src = 1;
33174 case 1: {
33175 if (static_cast< ::google::protobuf::uint8>(tag) ==
33176 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
33177 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
33178 input, this->mutable_src()));
33179 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
33180 this->src().data(), static_cast<int>(this->src().length()),
33181 ::google::protobuf::internal::WireFormat::PARSE,
33182 "Hdfs.Internal.FsyncRequestProto.src");
33183 } else {
33184 goto handle_unusual;
33185 }
33186 break;
33187 }
33188
33189 // required string client = 2;
33190 case 2: {
33191 if (static_cast< ::google::protobuf::uint8>(tag) ==
33192 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
33193 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
33194 input, this->mutable_client()));
33195 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
33196 this->client().data(), static_cast<int>(this->client().length()),
33197 ::google::protobuf::internal::WireFormat::PARSE,
33198 "Hdfs.Internal.FsyncRequestProto.client");
33199 } else {
33200 goto handle_unusual;
33201 }
33202 break;
33203 }
33204
33205 // optional sint64 lastBlockLength = 3 [default = -1];
33206 case 3: {
33207 if (static_cast< ::google::protobuf::uint8>(tag) ==
33208 static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
33209 set_has_lastblocklength();
33210 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
33211 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_SINT64>(
33212 input, &lastblocklength_)));
33213 } else {
33214 goto handle_unusual;
33215 }
33216 break;
33217 }
33218
33219 default: {
33220 handle_unusual:
33221 if (tag == 0) {
33222 goto success;
33223 }
33224 DO_(::google::protobuf::internal::WireFormat::SkipField(
33225 input, tag, _internal_metadata_.mutable_unknown_fields()));
33226 break;
33227 }
33228 }
33229 }
33230success:
33231 // @@protoc_insertion_point(parse_success:Hdfs.Internal.FsyncRequestProto)
33232 return true;
33233failure:
33234 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.FsyncRequestProto)
33235 return false;
33236#undef DO_
33237}
33238
33239void FsyncRequestProto::SerializeWithCachedSizes(
33240 ::google::protobuf::io::CodedOutputStream* output) const {
33241 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.FsyncRequestProto)
33242 ::google::protobuf::uint32 cached_has_bits = 0;
33243 (void) cached_has_bits;
33244
33245 cached_has_bits = _has_bits_[0];
33246 // required string src = 1;
33247 if (cached_has_bits & 0x00000001u) {
33248 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
33249 this->src().data(), static_cast<int>(this->src().length()),
33250 ::google::protobuf::internal::WireFormat::SERIALIZE,
33251 "Hdfs.Internal.FsyncRequestProto.src");
33252 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
33253 1, this->src(), output);
33254 }
33255
33256 // required string client = 2;
33257 if (cached_has_bits & 0x00000002u) {
33258 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
33259 this->client().data(), static_cast<int>(this->client().length()),
33260 ::google::protobuf::internal::WireFormat::SERIALIZE,
33261 "Hdfs.Internal.FsyncRequestProto.client");
33262 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
33263 2, this->client(), output);
33264 }
33265
33266 // optional sint64 lastBlockLength = 3 [default = -1];
33267 if (cached_has_bits & 0x00000004u) {
33268 ::google::protobuf::internal::WireFormatLite::WriteSInt64(3, this->lastblocklength(), output);
33269 }
33270
33271 if (_internal_metadata_.have_unknown_fields()) {
33272 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
33273 _internal_metadata_.unknown_fields(), output);
33274 }
33275 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.FsyncRequestProto)
33276}
33277
33278::google::protobuf::uint8* FsyncRequestProto::InternalSerializeWithCachedSizesToArray(
33279 bool deterministic, ::google::protobuf::uint8* target) const {
33280 (void)deterministic; // Unused
33281 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.FsyncRequestProto)
33282 ::google::protobuf::uint32 cached_has_bits = 0;
33283 (void) cached_has_bits;
33284
33285 cached_has_bits = _has_bits_[0];
33286 // required string src = 1;
33287 if (cached_has_bits & 0x00000001u) {
33288 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
33289 this->src().data(), static_cast<int>(this->src().length()),
33290 ::google::protobuf::internal::WireFormat::SERIALIZE,
33291 "Hdfs.Internal.FsyncRequestProto.src");
33292 target =
33293 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
33294 1, this->src(), target);
33295 }
33296
33297 // required string client = 2;
33298 if (cached_has_bits & 0x00000002u) {
33299 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
33300 this->client().data(), static_cast<int>(this->client().length()),
33301 ::google::protobuf::internal::WireFormat::SERIALIZE,
33302 "Hdfs.Internal.FsyncRequestProto.client");
33303 target =
33304 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
33305 2, this->client(), target);
33306 }
33307
33308 // optional sint64 lastBlockLength = 3 [default = -1];
33309 if (cached_has_bits & 0x00000004u) {
33310 target = ::google::protobuf::internal::WireFormatLite::WriteSInt64ToArray(3, this->lastblocklength(), target);
33311 }
33312
33313 if (_internal_metadata_.have_unknown_fields()) {
33314 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
33315 _internal_metadata_.unknown_fields(), target);
33316 }
33317 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.FsyncRequestProto)
33318 return target;
33319}
33320
33321size_t FsyncRequestProto::RequiredFieldsByteSizeFallback() const {
33322// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.FsyncRequestProto)
33323 size_t total_size = 0;
33324
33325 if (has_src()) {
33326 // required string src = 1;
33327 total_size += 1 +
33328 ::google::protobuf::internal::WireFormatLite::StringSize(
33329 this->src());
33330 }
33331
33332 if (has_client()) {
33333 // required string client = 2;
33334 total_size += 1 +
33335 ::google::protobuf::internal::WireFormatLite::StringSize(
33336 this->client());
33337 }
33338
33339 return total_size;
33340}
33341size_t FsyncRequestProto::ByteSizeLong() const {
33342// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.FsyncRequestProto)
33343 size_t total_size = 0;
33344
33345 if (_internal_metadata_.have_unknown_fields()) {
33346 total_size +=
33347 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
33348 _internal_metadata_.unknown_fields());
33349 }
33350 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
33351 // required string src = 1;
33352 total_size += 1 +
33353 ::google::protobuf::internal::WireFormatLite::StringSize(
33354 this->src());
33355
33356 // required string client = 2;
33357 total_size += 1 +
33358 ::google::protobuf::internal::WireFormatLite::StringSize(
33359 this->client());
33360
33361 } else {
33362 total_size += RequiredFieldsByteSizeFallback();
33363 }
33364 // optional sint64 lastBlockLength = 3 [default = -1];
33365 if (has_lastblocklength()) {
33366 total_size += 1 +
33367 ::google::protobuf::internal::WireFormatLite::SInt64Size(
33368 this->lastblocklength());
33369 }
33370
33371 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
33372 SetCachedSize(cached_size);
33373 return total_size;
33374}
33375
33376void FsyncRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
33377// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.FsyncRequestProto)
33378 GOOGLE_DCHECK_NE(&from, this);
33379 const FsyncRequestProto* source =
33380 ::google::protobuf::internal::DynamicCastToGenerated<const FsyncRequestProto>(
33381 &from);
33382 if (source == NULL) {
33383 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.FsyncRequestProto)
33384 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
33385 } else {
33386 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.FsyncRequestProto)
33387 MergeFrom(*source);
33388 }
33389}
33390
33391void FsyncRequestProto::MergeFrom(const FsyncRequestProto& from) {
33392// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.FsyncRequestProto)
33393 GOOGLE_DCHECK_NE(&from, this);
33394 _internal_metadata_.MergeFrom(from._internal_metadata_);
33395 ::google::protobuf::uint32 cached_has_bits = 0;
33396 (void) cached_has_bits;
33397
33398 cached_has_bits = from._has_bits_[0];
33399 if (cached_has_bits & 7u) {
33400 if (cached_has_bits & 0x00000001u) {
33401 set_has_src();
33402 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
33403 }
33404 if (cached_has_bits & 0x00000002u) {
33405 set_has_client();
33406 client_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.client_);
33407 }
33408 if (cached_has_bits & 0x00000004u) {
33409 lastblocklength_ = from.lastblocklength_;
33410 }
33411 _has_bits_[0] |= cached_has_bits;
33412 }
33413}
33414
33415void FsyncRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
33416// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.FsyncRequestProto)
33417 if (&from == this) return;
33418 Clear();
33419 MergeFrom(from);
33420}
33421
33422void FsyncRequestProto::CopyFrom(const FsyncRequestProto& from) {
33423// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.FsyncRequestProto)
33424 if (&from == this) return;
33425 Clear();
33426 MergeFrom(from);
33427}
33428
33429bool FsyncRequestProto::IsInitialized() const {
33430 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
33431 return true;
33432}
33433
33434void FsyncRequestProto::Swap(FsyncRequestProto* other) {
33435 if (other == this) return;
33436 InternalSwap(other);
33437}
33438void FsyncRequestProto::InternalSwap(FsyncRequestProto* other) {
33439 using std::swap;
33440 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
33441 GetArenaNoVirtual());
33442 client_.Swap(&other->client_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
33443 GetArenaNoVirtual());
33444 swap(lastblocklength_, other->lastblocklength_);
33445 swap(_has_bits_[0], other->_has_bits_[0]);
33446 _internal_metadata_.Swap(&other->_internal_metadata_);
33447}
33448
33449::google::protobuf::Metadata FsyncRequestProto::GetMetadata() const {
33450 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
33451 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
33452}
33453
33454
33455// ===================================================================
33456
33457void FsyncResponseProto::InitAsDefaultInstance() {
33458}
33459#if !defined(_MSC_VER) || _MSC_VER >= 1900
33460#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
33461
33462FsyncResponseProto::FsyncResponseProto()
33463 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
33464 ::google::protobuf::internal::InitSCC(
33465 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_FsyncResponseProto.base);
33466 SharedCtor();
33467 // @@protoc_insertion_point(constructor:Hdfs.Internal.FsyncResponseProto)
33468}
33469FsyncResponseProto::FsyncResponseProto(const FsyncResponseProto& from)
33470 : ::google::protobuf::Message(),
33471 _internal_metadata_(NULL),
33472 _has_bits_(from._has_bits_) {
33473 _internal_metadata_.MergeFrom(from._internal_metadata_);
33474 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.FsyncResponseProto)
33475}
33476
33477void FsyncResponseProto::SharedCtor() {
33478}
33479
33480FsyncResponseProto::~FsyncResponseProto() {
33481 // @@protoc_insertion_point(destructor:Hdfs.Internal.FsyncResponseProto)
33482 SharedDtor();
33483}
33484
33485void FsyncResponseProto::SharedDtor() {
33486}
33487
33488void FsyncResponseProto::SetCachedSize(int size) const {
33489 _cached_size_.Set(size);
33490}
33491const ::google::protobuf::Descriptor* FsyncResponseProto::descriptor() {
33492 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
33493 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
33494}
33495
33496const FsyncResponseProto& FsyncResponseProto::default_instance() {
33497 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_FsyncResponseProto.base);
33498 return *internal_default_instance();
33499}
33500
33501
33502void FsyncResponseProto::Clear() {
33503// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.FsyncResponseProto)
33504 ::google::protobuf::uint32 cached_has_bits = 0;
33505 // Prevent compiler warnings about cached_has_bits being unused
33506 (void) cached_has_bits;
33507
33508 _has_bits_.Clear();
33509 _internal_metadata_.Clear();
33510}
33511
33512bool FsyncResponseProto::MergePartialFromCodedStream(
33513 ::google::protobuf::io::CodedInputStream* input) {
33514#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
33515 ::google::protobuf::uint32 tag;
33516 // @@protoc_insertion_point(parse_start:Hdfs.Internal.FsyncResponseProto)
33517 for (;;) {
33518 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
33519 tag = p.first;
33520 if (!p.second) goto handle_unusual;
33521 handle_unusual:
33522 if (tag == 0) {
33523 goto success;
33524 }
33525 DO_(::google::protobuf::internal::WireFormat::SkipField(
33526 input, tag, _internal_metadata_.mutable_unknown_fields()));
33527 }
33528success:
33529 // @@protoc_insertion_point(parse_success:Hdfs.Internal.FsyncResponseProto)
33530 return true;
33531failure:
33532 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.FsyncResponseProto)
33533 return false;
33534#undef DO_
33535}
33536
33537void FsyncResponseProto::SerializeWithCachedSizes(
33538 ::google::protobuf::io::CodedOutputStream* output) const {
33539 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.FsyncResponseProto)
33540 ::google::protobuf::uint32 cached_has_bits = 0;
33541 (void) cached_has_bits;
33542
33543 if (_internal_metadata_.have_unknown_fields()) {
33544 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
33545 _internal_metadata_.unknown_fields(), output);
33546 }
33547 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.FsyncResponseProto)
33548}
33549
33550::google::protobuf::uint8* FsyncResponseProto::InternalSerializeWithCachedSizesToArray(
33551 bool deterministic, ::google::protobuf::uint8* target) const {
33552 (void)deterministic; // Unused
33553 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.FsyncResponseProto)
33554 ::google::protobuf::uint32 cached_has_bits = 0;
33555 (void) cached_has_bits;
33556
33557 if (_internal_metadata_.have_unknown_fields()) {
33558 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
33559 _internal_metadata_.unknown_fields(), target);
33560 }
33561 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.FsyncResponseProto)
33562 return target;
33563}
33564
33565size_t FsyncResponseProto::ByteSizeLong() const {
33566// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.FsyncResponseProto)
33567 size_t total_size = 0;
33568
33569 if (_internal_metadata_.have_unknown_fields()) {
33570 total_size +=
33571 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
33572 _internal_metadata_.unknown_fields());
33573 }
33574 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
33575 SetCachedSize(cached_size);
33576 return total_size;
33577}
33578
33579void FsyncResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
33580// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.FsyncResponseProto)
33581 GOOGLE_DCHECK_NE(&from, this);
33582 const FsyncResponseProto* source =
33583 ::google::protobuf::internal::DynamicCastToGenerated<const FsyncResponseProto>(
33584 &from);
33585 if (source == NULL) {
33586 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.FsyncResponseProto)
33587 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
33588 } else {
33589 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.FsyncResponseProto)
33590 MergeFrom(*source);
33591 }
33592}
33593
33594void FsyncResponseProto::MergeFrom(const FsyncResponseProto& from) {
33595// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.FsyncResponseProto)
33596 GOOGLE_DCHECK_NE(&from, this);
33597 _internal_metadata_.MergeFrom(from._internal_metadata_);
33598 ::google::protobuf::uint32 cached_has_bits = 0;
33599 (void) cached_has_bits;
33600
33601}
33602
33603void FsyncResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
33604// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.FsyncResponseProto)
33605 if (&from == this) return;
33606 Clear();
33607 MergeFrom(from);
33608}
33609
33610void FsyncResponseProto::CopyFrom(const FsyncResponseProto& from) {
33611// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.FsyncResponseProto)
33612 if (&from == this) return;
33613 Clear();
33614 MergeFrom(from);
33615}
33616
33617bool FsyncResponseProto::IsInitialized() const {
33618 return true;
33619}
33620
33621void FsyncResponseProto::Swap(FsyncResponseProto* other) {
33622 if (other == this) return;
33623 InternalSwap(other);
33624}
33625void FsyncResponseProto::InternalSwap(FsyncResponseProto* other) {
33626 using std::swap;
33627 swap(_has_bits_[0], other->_has_bits_[0]);
33628 _internal_metadata_.Swap(&other->_internal_metadata_);
33629}
33630
33631::google::protobuf::Metadata FsyncResponseProto::GetMetadata() const {
33632 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
33633 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
33634}
33635
33636
33637// ===================================================================
33638
33639void SetTimesRequestProto::InitAsDefaultInstance() {
33640}
33641#if !defined(_MSC_VER) || _MSC_VER >= 1900
33642const int SetTimesRequestProto::kSrcFieldNumber;
33643const int SetTimesRequestProto::kMtimeFieldNumber;
33644const int SetTimesRequestProto::kAtimeFieldNumber;
33645#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
33646
33647SetTimesRequestProto::SetTimesRequestProto()
33648 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
33649 ::google::protobuf::internal::InitSCC(
33650 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetTimesRequestProto.base);
33651 SharedCtor();
33652 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetTimesRequestProto)
33653}
33654SetTimesRequestProto::SetTimesRequestProto(const SetTimesRequestProto& from)
33655 : ::google::protobuf::Message(),
33656 _internal_metadata_(NULL),
33657 _has_bits_(from._has_bits_) {
33658 _internal_metadata_.MergeFrom(from._internal_metadata_);
33659 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
33660 if (from.has_src()) {
33661 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
33662 }
33663 ::memcpy(&mtime_, &from.mtime_,
33664 static_cast<size_t>(reinterpret_cast<char*>(&atime_) -
33665 reinterpret_cast<char*>(&mtime_)) + sizeof(atime_));
33666 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetTimesRequestProto)
33667}
33668
33669void SetTimesRequestProto::SharedCtor() {
33670 src_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
33671 ::memset(&mtime_, 0, static_cast<size_t>(
33672 reinterpret_cast<char*>(&atime_) -
33673 reinterpret_cast<char*>(&mtime_)) + sizeof(atime_));
33674}
33675
33676SetTimesRequestProto::~SetTimesRequestProto() {
33677 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetTimesRequestProto)
33678 SharedDtor();
33679}
33680
33681void SetTimesRequestProto::SharedDtor() {
33682 src_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
33683}
33684
33685void SetTimesRequestProto::SetCachedSize(int size) const {
33686 _cached_size_.Set(size);
33687}
33688const ::google::protobuf::Descriptor* SetTimesRequestProto::descriptor() {
33689 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
33690 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
33691}
33692
33693const SetTimesRequestProto& SetTimesRequestProto::default_instance() {
33694 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetTimesRequestProto.base);
33695 return *internal_default_instance();
33696}
33697
33698
33699void SetTimesRequestProto::Clear() {
33700// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetTimesRequestProto)
33701 ::google::protobuf::uint32 cached_has_bits = 0;
33702 // Prevent compiler warnings about cached_has_bits being unused
33703 (void) cached_has_bits;
33704
33705 cached_has_bits = _has_bits_[0];
33706 if (cached_has_bits & 0x00000001u) {
33707 src_.ClearNonDefaultToEmptyNoArena();
33708 }
33709 if (cached_has_bits & 6u) {
33710 ::memset(&mtime_, 0, static_cast<size_t>(
33711 reinterpret_cast<char*>(&atime_) -
33712 reinterpret_cast<char*>(&mtime_)) + sizeof(atime_));
33713 }
33714 _has_bits_.Clear();
33715 _internal_metadata_.Clear();
33716}
33717
33718bool SetTimesRequestProto::MergePartialFromCodedStream(
33719 ::google::protobuf::io::CodedInputStream* input) {
33720#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
33721 ::google::protobuf::uint32 tag;
33722 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetTimesRequestProto)
33723 for (;;) {
33724 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
33725 tag = p.first;
33726 if (!p.second) goto handle_unusual;
33727 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
33728 // required string src = 1;
33729 case 1: {
33730 if (static_cast< ::google::protobuf::uint8>(tag) ==
33731 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
33732 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
33733 input, this->mutable_src()));
33734 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
33735 this->src().data(), static_cast<int>(this->src().length()),
33736 ::google::protobuf::internal::WireFormat::PARSE,
33737 "Hdfs.Internal.SetTimesRequestProto.src");
33738 } else {
33739 goto handle_unusual;
33740 }
33741 break;
33742 }
33743
33744 // required uint64 mtime = 2;
33745 case 2: {
33746 if (static_cast< ::google::protobuf::uint8>(tag) ==
33747 static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
33748 set_has_mtime();
33749 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
33750 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
33751 input, &mtime_)));
33752 } else {
33753 goto handle_unusual;
33754 }
33755 break;
33756 }
33757
33758 // required uint64 atime = 3;
33759 case 3: {
33760 if (static_cast< ::google::protobuf::uint8>(tag) ==
33761 static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
33762 set_has_atime();
33763 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
33764 ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
33765 input, &atime_)));
33766 } else {
33767 goto handle_unusual;
33768 }
33769 break;
33770 }
33771
33772 default: {
33773 handle_unusual:
33774 if (tag == 0) {
33775 goto success;
33776 }
33777 DO_(::google::protobuf::internal::WireFormat::SkipField(
33778 input, tag, _internal_metadata_.mutable_unknown_fields()));
33779 break;
33780 }
33781 }
33782 }
33783success:
33784 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetTimesRequestProto)
33785 return true;
33786failure:
33787 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetTimesRequestProto)
33788 return false;
33789#undef DO_
33790}
33791
33792void SetTimesRequestProto::SerializeWithCachedSizes(
33793 ::google::protobuf::io::CodedOutputStream* output) const {
33794 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetTimesRequestProto)
33795 ::google::protobuf::uint32 cached_has_bits = 0;
33796 (void) cached_has_bits;
33797
33798 cached_has_bits = _has_bits_[0];
33799 // required string src = 1;
33800 if (cached_has_bits & 0x00000001u) {
33801 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
33802 this->src().data(), static_cast<int>(this->src().length()),
33803 ::google::protobuf::internal::WireFormat::SERIALIZE,
33804 "Hdfs.Internal.SetTimesRequestProto.src");
33805 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
33806 1, this->src(), output);
33807 }
33808
33809 // required uint64 mtime = 2;
33810 if (cached_has_bits & 0x00000002u) {
33811 ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->mtime(), output);
33812 }
33813
33814 // required uint64 atime = 3;
33815 if (cached_has_bits & 0x00000004u) {
33816 ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->atime(), output);
33817 }
33818
33819 if (_internal_metadata_.have_unknown_fields()) {
33820 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
33821 _internal_metadata_.unknown_fields(), output);
33822 }
33823 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetTimesRequestProto)
33824}
33825
33826::google::protobuf::uint8* SetTimesRequestProto::InternalSerializeWithCachedSizesToArray(
33827 bool deterministic, ::google::protobuf::uint8* target) const {
33828 (void)deterministic; // Unused
33829 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetTimesRequestProto)
33830 ::google::protobuf::uint32 cached_has_bits = 0;
33831 (void) cached_has_bits;
33832
33833 cached_has_bits = _has_bits_[0];
33834 // required string src = 1;
33835 if (cached_has_bits & 0x00000001u) {
33836 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
33837 this->src().data(), static_cast<int>(this->src().length()),
33838 ::google::protobuf::internal::WireFormat::SERIALIZE,
33839 "Hdfs.Internal.SetTimesRequestProto.src");
33840 target =
33841 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
33842 1, this->src(), target);
33843 }
33844
33845 // required uint64 mtime = 2;
33846 if (cached_has_bits & 0x00000002u) {
33847 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->mtime(), target);
33848 }
33849
33850 // required uint64 atime = 3;
33851 if (cached_has_bits & 0x00000004u) {
33852 target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->atime(), target);
33853 }
33854
33855 if (_internal_metadata_.have_unknown_fields()) {
33856 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
33857 _internal_metadata_.unknown_fields(), target);
33858 }
33859 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetTimesRequestProto)
33860 return target;
33861}
33862
33863size_t SetTimesRequestProto::RequiredFieldsByteSizeFallback() const {
33864// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.SetTimesRequestProto)
33865 size_t total_size = 0;
33866
33867 if (has_src()) {
33868 // required string src = 1;
33869 total_size += 1 +
33870 ::google::protobuf::internal::WireFormatLite::StringSize(
33871 this->src());
33872 }
33873
33874 if (has_mtime()) {
33875 // required uint64 mtime = 2;
33876 total_size += 1 +
33877 ::google::protobuf::internal::WireFormatLite::UInt64Size(
33878 this->mtime());
33879 }
33880
33881 if (has_atime()) {
33882 // required uint64 atime = 3;
33883 total_size += 1 +
33884 ::google::protobuf::internal::WireFormatLite::UInt64Size(
33885 this->atime());
33886 }
33887
33888 return total_size;
33889}
33890size_t SetTimesRequestProto::ByteSizeLong() const {
33891// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetTimesRequestProto)
33892 size_t total_size = 0;
33893
33894 if (_internal_metadata_.have_unknown_fields()) {
33895 total_size +=
33896 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
33897 _internal_metadata_.unknown_fields());
33898 }
33899 if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
33900 // required string src = 1;
33901 total_size += 1 +
33902 ::google::protobuf::internal::WireFormatLite::StringSize(
33903 this->src());
33904
33905 // required uint64 mtime = 2;
33906 total_size += 1 +
33907 ::google::protobuf::internal::WireFormatLite::UInt64Size(
33908 this->mtime());
33909
33910 // required uint64 atime = 3;
33911 total_size += 1 +
33912 ::google::protobuf::internal::WireFormatLite::UInt64Size(
33913 this->atime());
33914
33915 } else {
33916 total_size += RequiredFieldsByteSizeFallback();
33917 }
33918 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
33919 SetCachedSize(cached_size);
33920 return total_size;
33921}
33922
33923void SetTimesRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
33924// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetTimesRequestProto)
33925 GOOGLE_DCHECK_NE(&from, this);
33926 const SetTimesRequestProto* source =
33927 ::google::protobuf::internal::DynamicCastToGenerated<const SetTimesRequestProto>(
33928 &from);
33929 if (source == NULL) {
33930 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetTimesRequestProto)
33931 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
33932 } else {
33933 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetTimesRequestProto)
33934 MergeFrom(*source);
33935 }
33936}
33937
33938void SetTimesRequestProto::MergeFrom(const SetTimesRequestProto& from) {
33939// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetTimesRequestProto)
33940 GOOGLE_DCHECK_NE(&from, this);
33941 _internal_metadata_.MergeFrom(from._internal_metadata_);
33942 ::google::protobuf::uint32 cached_has_bits = 0;
33943 (void) cached_has_bits;
33944
33945 cached_has_bits = from._has_bits_[0];
33946 if (cached_has_bits & 7u) {
33947 if (cached_has_bits & 0x00000001u) {
33948 set_has_src();
33949 src_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.src_);
33950 }
33951 if (cached_has_bits & 0x00000002u) {
33952 mtime_ = from.mtime_;
33953 }
33954 if (cached_has_bits & 0x00000004u) {
33955 atime_ = from.atime_;
33956 }
33957 _has_bits_[0] |= cached_has_bits;
33958 }
33959}
33960
33961void SetTimesRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
33962// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetTimesRequestProto)
33963 if (&from == this) return;
33964 Clear();
33965 MergeFrom(from);
33966}
33967
33968void SetTimesRequestProto::CopyFrom(const SetTimesRequestProto& from) {
33969// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetTimesRequestProto)
33970 if (&from == this) return;
33971 Clear();
33972 MergeFrom(from);
33973}
33974
33975bool SetTimesRequestProto::IsInitialized() const {
33976 if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
33977 return true;
33978}
33979
33980void SetTimesRequestProto::Swap(SetTimesRequestProto* other) {
33981 if (other == this) return;
33982 InternalSwap(other);
33983}
33984void SetTimesRequestProto::InternalSwap(SetTimesRequestProto* other) {
33985 using std::swap;
33986 src_.Swap(&other->src_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
33987 GetArenaNoVirtual());
33988 swap(mtime_, other->mtime_);
33989 swap(atime_, other->atime_);
33990 swap(_has_bits_[0], other->_has_bits_[0]);
33991 _internal_metadata_.Swap(&other->_internal_metadata_);
33992}
33993
33994::google::protobuf::Metadata SetTimesRequestProto::GetMetadata() const {
33995 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
33996 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
33997}
33998
33999
34000// ===================================================================
34001
34002void SetTimesResponseProto::InitAsDefaultInstance() {
34003}
34004#if !defined(_MSC_VER) || _MSC_VER >= 1900
34005#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
34006
34007SetTimesResponseProto::SetTimesResponseProto()
34008 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
34009 ::google::protobuf::internal::InitSCC(
34010 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetTimesResponseProto.base);
34011 SharedCtor();
34012 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetTimesResponseProto)
34013}
34014SetTimesResponseProto::SetTimesResponseProto(const SetTimesResponseProto& from)
34015 : ::google::protobuf::Message(),
34016 _internal_metadata_(NULL),
34017 _has_bits_(from._has_bits_) {
34018 _internal_metadata_.MergeFrom(from._internal_metadata_);
34019 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetTimesResponseProto)
34020}
34021
34022void SetTimesResponseProto::SharedCtor() {
34023}
34024
34025SetTimesResponseProto::~SetTimesResponseProto() {
34026 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetTimesResponseProto)
34027 SharedDtor();
34028}
34029
34030void SetTimesResponseProto::SharedDtor() {
34031}
34032
34033void SetTimesResponseProto::SetCachedSize(int size) const {
34034 _cached_size_.Set(size);
34035}
34036const ::google::protobuf::Descriptor* SetTimesResponseProto::descriptor() {
34037 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
34038 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
34039}
34040
34041const SetTimesResponseProto& SetTimesResponseProto::default_instance() {
34042 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetTimesResponseProto.base);
34043 return *internal_default_instance();
34044}
34045
34046
34047void SetTimesResponseProto::Clear() {
34048// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetTimesResponseProto)
34049 ::google::protobuf::uint32 cached_has_bits = 0;
34050 // Prevent compiler warnings about cached_has_bits being unused
34051 (void) cached_has_bits;
34052
34053 _has_bits_.Clear();
34054 _internal_metadata_.Clear();
34055}
34056
34057bool SetTimesResponseProto::MergePartialFromCodedStream(
34058 ::google::protobuf::io::CodedInputStream* input) {
34059#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
34060 ::google::protobuf::uint32 tag;
34061 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetTimesResponseProto)
34062 for (;;) {
34063 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
34064 tag = p.first;
34065 if (!p.second) goto handle_unusual;
34066 handle_unusual:
34067 if (tag == 0) {
34068 goto success;
34069 }
34070 DO_(::google::protobuf::internal::WireFormat::SkipField(
34071 input, tag, _internal_metadata_.mutable_unknown_fields()));
34072 }
34073success:
34074 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetTimesResponseProto)
34075 return true;
34076failure:
34077 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetTimesResponseProto)
34078 return false;
34079#undef DO_
34080}
34081
34082void SetTimesResponseProto::SerializeWithCachedSizes(
34083 ::google::protobuf::io::CodedOutputStream* output) const {
34084 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetTimesResponseProto)
34085 ::google::protobuf::uint32 cached_has_bits = 0;
34086 (void) cached_has_bits;
34087
34088 if (_internal_metadata_.have_unknown_fields()) {
34089 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
34090 _internal_metadata_.unknown_fields(), output);
34091 }
34092 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetTimesResponseProto)
34093}
34094
34095::google::protobuf::uint8* SetTimesResponseProto::InternalSerializeWithCachedSizesToArray(
34096 bool deterministic, ::google::protobuf::uint8* target) const {
34097 (void)deterministic; // Unused
34098 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetTimesResponseProto)
34099 ::google::protobuf::uint32 cached_has_bits = 0;
34100 (void) cached_has_bits;
34101
34102 if (_internal_metadata_.have_unknown_fields()) {
34103 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
34104 _internal_metadata_.unknown_fields(), target);
34105 }
34106 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetTimesResponseProto)
34107 return target;
34108}
34109
34110size_t SetTimesResponseProto::ByteSizeLong() const {
34111// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetTimesResponseProto)
34112 size_t total_size = 0;
34113
34114 if (_internal_metadata_.have_unknown_fields()) {
34115 total_size +=
34116 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
34117 _internal_metadata_.unknown_fields());
34118 }
34119 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
34120 SetCachedSize(cached_size);
34121 return total_size;
34122}
34123
34124void SetTimesResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
34125// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetTimesResponseProto)
34126 GOOGLE_DCHECK_NE(&from, this);
34127 const SetTimesResponseProto* source =
34128 ::google::protobuf::internal::DynamicCastToGenerated<const SetTimesResponseProto>(
34129 &from);
34130 if (source == NULL) {
34131 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetTimesResponseProto)
34132 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
34133 } else {
34134 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetTimesResponseProto)
34135 MergeFrom(*source);
34136 }
34137}
34138
34139void SetTimesResponseProto::MergeFrom(const SetTimesResponseProto& from) {
34140// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetTimesResponseProto)
34141 GOOGLE_DCHECK_NE(&from, this);
34142 _internal_metadata_.MergeFrom(from._internal_metadata_);
34143 ::google::protobuf::uint32 cached_has_bits = 0;
34144 (void) cached_has_bits;
34145
34146}
34147
34148void SetTimesResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
34149// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetTimesResponseProto)
34150 if (&from == this) return;
34151 Clear();
34152 MergeFrom(from);
34153}
34154
34155void SetTimesResponseProto::CopyFrom(const SetTimesResponseProto& from) {
34156// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetTimesResponseProto)
34157 if (&from == this) return;
34158 Clear();
34159 MergeFrom(from);
34160}
34161
34162bool SetTimesResponseProto::IsInitialized() const {
34163 return true;
34164}
34165
34166void SetTimesResponseProto::Swap(SetTimesResponseProto* other) {
34167 if (other == this) return;
34168 InternalSwap(other);
34169}
34170void SetTimesResponseProto::InternalSwap(SetTimesResponseProto* other) {
34171 using std::swap;
34172 swap(_has_bits_[0], other->_has_bits_[0]);
34173 _internal_metadata_.Swap(&other->_internal_metadata_);
34174}
34175
34176::google::protobuf::Metadata SetTimesResponseProto::GetMetadata() const {
34177 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
34178 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
34179}
34180
34181
34182// ===================================================================
34183
34184void CreateSymlinkRequestProto::InitAsDefaultInstance() {
34185 ::Hdfs::Internal::_CreateSymlinkRequestProto_default_instance_._instance.get_mutable()->dirperm_ = const_cast< ::Hdfs::Internal::FsPermissionProto*>(
34186 ::Hdfs::Internal::FsPermissionProto::internal_default_instance());
34187}
34188void CreateSymlinkRequestProto::clear_dirperm() {
34189 if (dirperm_ != NULL) dirperm_->Clear();
34190 clear_has_dirperm();
34191}
34192#if !defined(_MSC_VER) || _MSC_VER >= 1900
34193const int CreateSymlinkRequestProto::kTargetFieldNumber;
34194const int CreateSymlinkRequestProto::kLinkFieldNumber;
34195const int CreateSymlinkRequestProto::kDirPermFieldNumber;
34196const int CreateSymlinkRequestProto::kCreateParentFieldNumber;
34197#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
34198
34199CreateSymlinkRequestProto::CreateSymlinkRequestProto()
34200 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
34201 ::google::protobuf::internal::InitSCC(
34202 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CreateSymlinkRequestProto.base);
34203 SharedCtor();
34204 // @@protoc_insertion_point(constructor:Hdfs.Internal.CreateSymlinkRequestProto)
34205}
34206CreateSymlinkRequestProto::CreateSymlinkRequestProto(const CreateSymlinkRequestProto& from)
34207 : ::google::protobuf::Message(),
34208 _internal_metadata_(NULL),
34209 _has_bits_(from._has_bits_) {
34210 _internal_metadata_.MergeFrom(from._internal_metadata_);
34211 target_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
34212 if (from.has_target()) {
34213 target_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_);
34214 }
34215 link_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
34216 if (from.has_link()) {
34217 link_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.link_);
34218 }
34219 if (from.has_dirperm()) {
34220 dirperm_ = new ::Hdfs::Internal::FsPermissionProto(*from.dirperm_);
34221 } else {
34222 dirperm_ = NULL;
34223 }
34224 createparent_ = from.createparent_;
34225 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CreateSymlinkRequestProto)
34226}
34227
34228void CreateSymlinkRequestProto::SharedCtor() {
34229 target_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
34230 link_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
34231 ::memset(&dirperm_, 0, static_cast<size_t>(
34232 reinterpret_cast<char*>(&createparent_) -
34233 reinterpret_cast<char*>(&dirperm_)) + sizeof(createparent_));
34234}
34235
34236CreateSymlinkRequestProto::~CreateSymlinkRequestProto() {
34237 // @@protoc_insertion_point(destructor:Hdfs.Internal.CreateSymlinkRequestProto)
34238 SharedDtor();
34239}
34240
34241void CreateSymlinkRequestProto::SharedDtor() {
34242 target_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
34243 link_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
34244 if (this != internal_default_instance()) delete dirperm_;
34245}
34246
34247void CreateSymlinkRequestProto::SetCachedSize(int size) const {
34248 _cached_size_.Set(size);
34249}
34250const ::google::protobuf::Descriptor* CreateSymlinkRequestProto::descriptor() {
34251 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
34252 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
34253}
34254
34255const CreateSymlinkRequestProto& CreateSymlinkRequestProto::default_instance() {
34256 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CreateSymlinkRequestProto.base);
34257 return *internal_default_instance();
34258}
34259
34260
34261void CreateSymlinkRequestProto::Clear() {
34262// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CreateSymlinkRequestProto)
34263 ::google::protobuf::uint32 cached_has_bits = 0;
34264 // Prevent compiler warnings about cached_has_bits being unused
34265 (void) cached_has_bits;
34266
34267 cached_has_bits = _has_bits_[0];
34268 if (cached_has_bits & 7u) {
34269 if (cached_has_bits & 0x00000001u) {
34270 target_.ClearNonDefaultToEmptyNoArena();
34271 }
34272 if (cached_has_bits & 0x00000002u) {
34273 link_.ClearNonDefaultToEmptyNoArena();
34274 }
34275 if (cached_has_bits & 0x00000004u) {
34276 GOOGLE_DCHECK(dirperm_ != NULL);
34277 dirperm_->Clear();
34278 }
34279 }
34280 createparent_ = false;
34281 _has_bits_.Clear();
34282 _internal_metadata_.Clear();
34283}
34284
34285bool CreateSymlinkRequestProto::MergePartialFromCodedStream(
34286 ::google::protobuf::io::CodedInputStream* input) {
34287#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
34288 ::google::protobuf::uint32 tag;
34289 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CreateSymlinkRequestProto)
34290 for (;;) {
34291 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
34292 tag = p.first;
34293 if (!p.second) goto handle_unusual;
34294 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
34295 // required string target = 1;
34296 case 1: {
34297 if (static_cast< ::google::protobuf::uint8>(tag) ==
34298 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
34299 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
34300 input, this->mutable_target()));
34301 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
34302 this->target().data(), static_cast<int>(this->target().length()),
34303 ::google::protobuf::internal::WireFormat::PARSE,
34304 "Hdfs.Internal.CreateSymlinkRequestProto.target");
34305 } else {
34306 goto handle_unusual;
34307 }
34308 break;
34309 }
34310
34311 // required string link = 2;
34312 case 2: {
34313 if (static_cast< ::google::protobuf::uint8>(tag) ==
34314 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
34315 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
34316 input, this->mutable_link()));
34317 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
34318 this->link().data(), static_cast<int>(this->link().length()),
34319 ::google::protobuf::internal::WireFormat::PARSE,
34320 "Hdfs.Internal.CreateSymlinkRequestProto.link");
34321 } else {
34322 goto handle_unusual;
34323 }
34324 break;
34325 }
34326
34327 // required .Hdfs.Internal.FsPermissionProto dirPerm = 3;
34328 case 3: {
34329 if (static_cast< ::google::protobuf::uint8>(tag) ==
34330 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
34331 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
34332 input, mutable_dirperm()));
34333 } else {
34334 goto handle_unusual;
34335 }
34336 break;
34337 }
34338
34339 // required bool createParent = 4;
34340 case 4: {
34341 if (static_cast< ::google::protobuf::uint8>(tag) ==
34342 static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
34343 set_has_createparent();
34344 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
34345 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
34346 input, &createparent_)));
34347 } else {
34348 goto handle_unusual;
34349 }
34350 break;
34351 }
34352
34353 default: {
34354 handle_unusual:
34355 if (tag == 0) {
34356 goto success;
34357 }
34358 DO_(::google::protobuf::internal::WireFormat::SkipField(
34359 input, tag, _internal_metadata_.mutable_unknown_fields()));
34360 break;
34361 }
34362 }
34363 }
34364success:
34365 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CreateSymlinkRequestProto)
34366 return true;
34367failure:
34368 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CreateSymlinkRequestProto)
34369 return false;
34370#undef DO_
34371}
34372
34373void CreateSymlinkRequestProto::SerializeWithCachedSizes(
34374 ::google::protobuf::io::CodedOutputStream* output) const {
34375 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CreateSymlinkRequestProto)
34376 ::google::protobuf::uint32 cached_has_bits = 0;
34377 (void) cached_has_bits;
34378
34379 cached_has_bits = _has_bits_[0];
34380 // required string target = 1;
34381 if (cached_has_bits & 0x00000001u) {
34382 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
34383 this->target().data(), static_cast<int>(this->target().length()),
34384 ::google::protobuf::internal::WireFormat::SERIALIZE,
34385 "Hdfs.Internal.CreateSymlinkRequestProto.target");
34386 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
34387 1, this->target(), output);
34388 }
34389
34390 // required string link = 2;
34391 if (cached_has_bits & 0x00000002u) {
34392 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
34393 this->link().data(), static_cast<int>(this->link().length()),
34394 ::google::protobuf::internal::WireFormat::SERIALIZE,
34395 "Hdfs.Internal.CreateSymlinkRequestProto.link");
34396 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
34397 2, this->link(), output);
34398 }
34399
34400 // required .Hdfs.Internal.FsPermissionProto dirPerm = 3;
34401 if (cached_has_bits & 0x00000004u) {
34402 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
34403 3, this->_internal_dirperm(), output);
34404 }
34405
34406 // required bool createParent = 4;
34407 if (cached_has_bits & 0x00000008u) {
34408 ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->createparent(), output);
34409 }
34410
34411 if (_internal_metadata_.have_unknown_fields()) {
34412 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
34413 _internal_metadata_.unknown_fields(), output);
34414 }
34415 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CreateSymlinkRequestProto)
34416}
34417
34418::google::protobuf::uint8* CreateSymlinkRequestProto::InternalSerializeWithCachedSizesToArray(
34419 bool deterministic, ::google::protobuf::uint8* target) const {
34420 (void)deterministic; // Unused
34421 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CreateSymlinkRequestProto)
34422 ::google::protobuf::uint32 cached_has_bits = 0;
34423 (void) cached_has_bits;
34424
34425 cached_has_bits = _has_bits_[0];
34426 // required string target = 1;
34427 if (cached_has_bits & 0x00000001u) {
34428 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
34429 this->target().data(), static_cast<int>(this->target().length()),
34430 ::google::protobuf::internal::WireFormat::SERIALIZE,
34431 "Hdfs.Internal.CreateSymlinkRequestProto.target");
34432 target =
34433 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
34434 1, this->target(), target);
34435 }
34436
34437 // required string link = 2;
34438 if (cached_has_bits & 0x00000002u) {
34439 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
34440 this->link().data(), static_cast<int>(this->link().length()),
34441 ::google::protobuf::internal::WireFormat::SERIALIZE,
34442 "Hdfs.Internal.CreateSymlinkRequestProto.link");
34443 target =
34444 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
34445 2, this->link(), target);
34446 }
34447
34448 // required .Hdfs.Internal.FsPermissionProto dirPerm = 3;
34449 if (cached_has_bits & 0x00000004u) {
34450 target = ::google::protobuf::internal::WireFormatLite::
34451 InternalWriteMessageToArray(
34452 3, this->_internal_dirperm(), deterministic, target);
34453 }
34454
34455 // required bool createParent = 4;
34456 if (cached_has_bits & 0x00000008u) {
34457 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->createparent(), target);
34458 }
34459
34460 if (_internal_metadata_.have_unknown_fields()) {
34461 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
34462 _internal_metadata_.unknown_fields(), target);
34463 }
34464 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CreateSymlinkRequestProto)
34465 return target;
34466}
34467
34468size_t CreateSymlinkRequestProto::RequiredFieldsByteSizeFallback() const {
34469// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.CreateSymlinkRequestProto)
34470 size_t total_size = 0;
34471
34472 if (has_target()) {
34473 // required string target = 1;
34474 total_size += 1 +
34475 ::google::protobuf::internal::WireFormatLite::StringSize(
34476 this->target());
34477 }
34478
34479 if (has_link()) {
34480 // required string link = 2;
34481 total_size += 1 +
34482 ::google::protobuf::internal::WireFormatLite::StringSize(
34483 this->link());
34484 }
34485
34486 if (has_dirperm()) {
34487 // required .Hdfs.Internal.FsPermissionProto dirPerm = 3;
34488 total_size += 1 +
34489 ::google::protobuf::internal::WireFormatLite::MessageSize(
34490 *dirperm_);
34491 }
34492
34493 if (has_createparent()) {
34494 // required bool createParent = 4;
34495 total_size += 1 + 1;
34496 }
34497
34498 return total_size;
34499}
34500size_t CreateSymlinkRequestProto::ByteSizeLong() const {
34501// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CreateSymlinkRequestProto)
34502 size_t total_size = 0;
34503
34504 if (_internal_metadata_.have_unknown_fields()) {
34505 total_size +=
34506 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
34507 _internal_metadata_.unknown_fields());
34508 }
34509 if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present.
34510 // required string target = 1;
34511 total_size += 1 +
34512 ::google::protobuf::internal::WireFormatLite::StringSize(
34513 this->target());
34514
34515 // required string link = 2;
34516 total_size += 1 +
34517 ::google::protobuf::internal::WireFormatLite::StringSize(
34518 this->link());
34519
34520 // required .Hdfs.Internal.FsPermissionProto dirPerm = 3;
34521 total_size += 1 +
34522 ::google::protobuf::internal::WireFormatLite::MessageSize(
34523 *dirperm_);
34524
34525 // required bool createParent = 4;
34526 total_size += 1 + 1;
34527
34528 } else {
34529 total_size += RequiredFieldsByteSizeFallback();
34530 }
34531 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
34532 SetCachedSize(cached_size);
34533 return total_size;
34534}
34535
34536void CreateSymlinkRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
34537// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CreateSymlinkRequestProto)
34538 GOOGLE_DCHECK_NE(&from, this);
34539 const CreateSymlinkRequestProto* source =
34540 ::google::protobuf::internal::DynamicCastToGenerated<const CreateSymlinkRequestProto>(
34541 &from);
34542 if (source == NULL) {
34543 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CreateSymlinkRequestProto)
34544 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
34545 } else {
34546 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CreateSymlinkRequestProto)
34547 MergeFrom(*source);
34548 }
34549}
34550
34551void CreateSymlinkRequestProto::MergeFrom(const CreateSymlinkRequestProto& from) {
34552// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CreateSymlinkRequestProto)
34553 GOOGLE_DCHECK_NE(&from, this);
34554 _internal_metadata_.MergeFrom(from._internal_metadata_);
34555 ::google::protobuf::uint32 cached_has_bits = 0;
34556 (void) cached_has_bits;
34557
34558 cached_has_bits = from._has_bits_[0];
34559 if (cached_has_bits & 15u) {
34560 if (cached_has_bits & 0x00000001u) {
34561 set_has_target();
34562 target_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_);
34563 }
34564 if (cached_has_bits & 0x00000002u) {
34565 set_has_link();
34566 link_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.link_);
34567 }
34568 if (cached_has_bits & 0x00000004u) {
34569 mutable_dirperm()->::Hdfs::Internal::FsPermissionProto::MergeFrom(from.dirperm());
34570 }
34571 if (cached_has_bits & 0x00000008u) {
34572 createparent_ = from.createparent_;
34573 }
34574 _has_bits_[0] |= cached_has_bits;
34575 }
34576}
34577
34578void CreateSymlinkRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
34579// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CreateSymlinkRequestProto)
34580 if (&from == this) return;
34581 Clear();
34582 MergeFrom(from);
34583}
34584
34585void CreateSymlinkRequestProto::CopyFrom(const CreateSymlinkRequestProto& from) {
34586// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CreateSymlinkRequestProto)
34587 if (&from == this) return;
34588 Clear();
34589 MergeFrom(from);
34590}
34591
34592bool CreateSymlinkRequestProto::IsInitialized() const {
34593 if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
34594 if (has_dirperm()) {
34595 if (!this->dirperm_->IsInitialized()) return false;
34596 }
34597 return true;
34598}
34599
34600void CreateSymlinkRequestProto::Swap(CreateSymlinkRequestProto* other) {
34601 if (other == this) return;
34602 InternalSwap(other);
34603}
34604void CreateSymlinkRequestProto::InternalSwap(CreateSymlinkRequestProto* other) {
34605 using std::swap;
34606 target_.Swap(&other->target_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
34607 GetArenaNoVirtual());
34608 link_.Swap(&other->link_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
34609 GetArenaNoVirtual());
34610 swap(dirperm_, other->dirperm_);
34611 swap(createparent_, other->createparent_);
34612 swap(_has_bits_[0], other->_has_bits_[0]);
34613 _internal_metadata_.Swap(&other->_internal_metadata_);
34614}
34615
34616::google::protobuf::Metadata CreateSymlinkRequestProto::GetMetadata() const {
34617 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
34618 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
34619}
34620
34621
34622// ===================================================================
34623
34624void CreateSymlinkResponseProto::InitAsDefaultInstance() {
34625}
34626#if !defined(_MSC_VER) || _MSC_VER >= 1900
34627#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
34628
34629CreateSymlinkResponseProto::CreateSymlinkResponseProto()
34630 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
34631 ::google::protobuf::internal::InitSCC(
34632 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CreateSymlinkResponseProto.base);
34633 SharedCtor();
34634 // @@protoc_insertion_point(constructor:Hdfs.Internal.CreateSymlinkResponseProto)
34635}
34636CreateSymlinkResponseProto::CreateSymlinkResponseProto(const CreateSymlinkResponseProto& from)
34637 : ::google::protobuf::Message(),
34638 _internal_metadata_(NULL),
34639 _has_bits_(from._has_bits_) {
34640 _internal_metadata_.MergeFrom(from._internal_metadata_);
34641 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CreateSymlinkResponseProto)
34642}
34643
34644void CreateSymlinkResponseProto::SharedCtor() {
34645}
34646
34647CreateSymlinkResponseProto::~CreateSymlinkResponseProto() {
34648 // @@protoc_insertion_point(destructor:Hdfs.Internal.CreateSymlinkResponseProto)
34649 SharedDtor();
34650}
34651
34652void CreateSymlinkResponseProto::SharedDtor() {
34653}
34654
34655void CreateSymlinkResponseProto::SetCachedSize(int size) const {
34656 _cached_size_.Set(size);
34657}
34658const ::google::protobuf::Descriptor* CreateSymlinkResponseProto::descriptor() {
34659 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
34660 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
34661}
34662
34663const CreateSymlinkResponseProto& CreateSymlinkResponseProto::default_instance() {
34664 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CreateSymlinkResponseProto.base);
34665 return *internal_default_instance();
34666}
34667
34668
34669void CreateSymlinkResponseProto::Clear() {
34670// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CreateSymlinkResponseProto)
34671 ::google::protobuf::uint32 cached_has_bits = 0;
34672 // Prevent compiler warnings about cached_has_bits being unused
34673 (void) cached_has_bits;
34674
34675 _has_bits_.Clear();
34676 _internal_metadata_.Clear();
34677}
34678
34679bool CreateSymlinkResponseProto::MergePartialFromCodedStream(
34680 ::google::protobuf::io::CodedInputStream* input) {
34681#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
34682 ::google::protobuf::uint32 tag;
34683 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CreateSymlinkResponseProto)
34684 for (;;) {
34685 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
34686 tag = p.first;
34687 if (!p.second) goto handle_unusual;
34688 handle_unusual:
34689 if (tag == 0) {
34690 goto success;
34691 }
34692 DO_(::google::protobuf::internal::WireFormat::SkipField(
34693 input, tag, _internal_metadata_.mutable_unknown_fields()));
34694 }
34695success:
34696 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CreateSymlinkResponseProto)
34697 return true;
34698failure:
34699 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CreateSymlinkResponseProto)
34700 return false;
34701#undef DO_
34702}
34703
34704void CreateSymlinkResponseProto::SerializeWithCachedSizes(
34705 ::google::protobuf::io::CodedOutputStream* output) const {
34706 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CreateSymlinkResponseProto)
34707 ::google::protobuf::uint32 cached_has_bits = 0;
34708 (void) cached_has_bits;
34709
34710 if (_internal_metadata_.have_unknown_fields()) {
34711 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
34712 _internal_metadata_.unknown_fields(), output);
34713 }
34714 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CreateSymlinkResponseProto)
34715}
34716
34717::google::protobuf::uint8* CreateSymlinkResponseProto::InternalSerializeWithCachedSizesToArray(
34718 bool deterministic, ::google::protobuf::uint8* target) const {
34719 (void)deterministic; // Unused
34720 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CreateSymlinkResponseProto)
34721 ::google::protobuf::uint32 cached_has_bits = 0;
34722 (void) cached_has_bits;
34723
34724 if (_internal_metadata_.have_unknown_fields()) {
34725 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
34726 _internal_metadata_.unknown_fields(), target);
34727 }
34728 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CreateSymlinkResponseProto)
34729 return target;
34730}
34731
34732size_t CreateSymlinkResponseProto::ByteSizeLong() const {
34733// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CreateSymlinkResponseProto)
34734 size_t total_size = 0;
34735
34736 if (_internal_metadata_.have_unknown_fields()) {
34737 total_size +=
34738 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
34739 _internal_metadata_.unknown_fields());
34740 }
34741 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
34742 SetCachedSize(cached_size);
34743 return total_size;
34744}
34745
34746void CreateSymlinkResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
34747// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CreateSymlinkResponseProto)
34748 GOOGLE_DCHECK_NE(&from, this);
34749 const CreateSymlinkResponseProto* source =
34750 ::google::protobuf::internal::DynamicCastToGenerated<const CreateSymlinkResponseProto>(
34751 &from);
34752 if (source == NULL) {
34753 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CreateSymlinkResponseProto)
34754 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
34755 } else {
34756 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CreateSymlinkResponseProto)
34757 MergeFrom(*source);
34758 }
34759}
34760
34761void CreateSymlinkResponseProto::MergeFrom(const CreateSymlinkResponseProto& from) {
34762// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CreateSymlinkResponseProto)
34763 GOOGLE_DCHECK_NE(&from, this);
34764 _internal_metadata_.MergeFrom(from._internal_metadata_);
34765 ::google::protobuf::uint32 cached_has_bits = 0;
34766 (void) cached_has_bits;
34767
34768}
34769
34770void CreateSymlinkResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
34771// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CreateSymlinkResponseProto)
34772 if (&from == this) return;
34773 Clear();
34774 MergeFrom(from);
34775}
34776
34777void CreateSymlinkResponseProto::CopyFrom(const CreateSymlinkResponseProto& from) {
34778// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CreateSymlinkResponseProto)
34779 if (&from == this) return;
34780 Clear();
34781 MergeFrom(from);
34782}
34783
34784bool CreateSymlinkResponseProto::IsInitialized() const {
34785 return true;
34786}
34787
34788void CreateSymlinkResponseProto::Swap(CreateSymlinkResponseProto* other) {
34789 if (other == this) return;
34790 InternalSwap(other);
34791}
34792void CreateSymlinkResponseProto::InternalSwap(CreateSymlinkResponseProto* other) {
34793 using std::swap;
34794 swap(_has_bits_[0], other->_has_bits_[0]);
34795 _internal_metadata_.Swap(&other->_internal_metadata_);
34796}
34797
34798::google::protobuf::Metadata CreateSymlinkResponseProto::GetMetadata() const {
34799 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
34800 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
34801}
34802
34803
34804// ===================================================================
34805
34806void GetLinkTargetRequestProto::InitAsDefaultInstance() {
34807}
34808#if !defined(_MSC_VER) || _MSC_VER >= 1900
34809const int GetLinkTargetRequestProto::kPathFieldNumber;
34810#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
34811
34812GetLinkTargetRequestProto::GetLinkTargetRequestProto()
34813 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
34814 ::google::protobuf::internal::InitSCC(
34815 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetLinkTargetRequestProto.base);
34816 SharedCtor();
34817 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetLinkTargetRequestProto)
34818}
34819GetLinkTargetRequestProto::GetLinkTargetRequestProto(const GetLinkTargetRequestProto& from)
34820 : ::google::protobuf::Message(),
34821 _internal_metadata_(NULL),
34822 _has_bits_(from._has_bits_) {
34823 _internal_metadata_.MergeFrom(from._internal_metadata_);
34824 path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
34825 if (from.has_path()) {
34826 path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
34827 }
34828 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetLinkTargetRequestProto)
34829}
34830
34831void GetLinkTargetRequestProto::SharedCtor() {
34832 path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
34833}
34834
34835GetLinkTargetRequestProto::~GetLinkTargetRequestProto() {
34836 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetLinkTargetRequestProto)
34837 SharedDtor();
34838}
34839
34840void GetLinkTargetRequestProto::SharedDtor() {
34841 path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
34842}
34843
34844void GetLinkTargetRequestProto::SetCachedSize(int size) const {
34845 _cached_size_.Set(size);
34846}
34847const ::google::protobuf::Descriptor* GetLinkTargetRequestProto::descriptor() {
34848 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
34849 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
34850}
34851
34852const GetLinkTargetRequestProto& GetLinkTargetRequestProto::default_instance() {
34853 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetLinkTargetRequestProto.base);
34854 return *internal_default_instance();
34855}
34856
34857
34858void GetLinkTargetRequestProto::Clear() {
34859// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetLinkTargetRequestProto)
34860 ::google::protobuf::uint32 cached_has_bits = 0;
34861 // Prevent compiler warnings about cached_has_bits being unused
34862 (void) cached_has_bits;
34863
34864 cached_has_bits = _has_bits_[0];
34865 if (cached_has_bits & 0x00000001u) {
34866 path_.ClearNonDefaultToEmptyNoArena();
34867 }
34868 _has_bits_.Clear();
34869 _internal_metadata_.Clear();
34870}
34871
34872bool GetLinkTargetRequestProto::MergePartialFromCodedStream(
34873 ::google::protobuf::io::CodedInputStream* input) {
34874#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
34875 ::google::protobuf::uint32 tag;
34876 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetLinkTargetRequestProto)
34877 for (;;) {
34878 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
34879 tag = p.first;
34880 if (!p.second) goto handle_unusual;
34881 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
34882 // required string path = 1;
34883 case 1: {
34884 if (static_cast< ::google::protobuf::uint8>(tag) ==
34885 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
34886 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
34887 input, this->mutable_path()));
34888 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
34889 this->path().data(), static_cast<int>(this->path().length()),
34890 ::google::protobuf::internal::WireFormat::PARSE,
34891 "Hdfs.Internal.GetLinkTargetRequestProto.path");
34892 } else {
34893 goto handle_unusual;
34894 }
34895 break;
34896 }
34897
34898 default: {
34899 handle_unusual:
34900 if (tag == 0) {
34901 goto success;
34902 }
34903 DO_(::google::protobuf::internal::WireFormat::SkipField(
34904 input, tag, _internal_metadata_.mutable_unknown_fields()));
34905 break;
34906 }
34907 }
34908 }
34909success:
34910 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetLinkTargetRequestProto)
34911 return true;
34912failure:
34913 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetLinkTargetRequestProto)
34914 return false;
34915#undef DO_
34916}
34917
34918void GetLinkTargetRequestProto::SerializeWithCachedSizes(
34919 ::google::protobuf::io::CodedOutputStream* output) const {
34920 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetLinkTargetRequestProto)
34921 ::google::protobuf::uint32 cached_has_bits = 0;
34922 (void) cached_has_bits;
34923
34924 cached_has_bits = _has_bits_[0];
34925 // required string path = 1;
34926 if (cached_has_bits & 0x00000001u) {
34927 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
34928 this->path().data(), static_cast<int>(this->path().length()),
34929 ::google::protobuf::internal::WireFormat::SERIALIZE,
34930 "Hdfs.Internal.GetLinkTargetRequestProto.path");
34931 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
34932 1, this->path(), output);
34933 }
34934
34935 if (_internal_metadata_.have_unknown_fields()) {
34936 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
34937 _internal_metadata_.unknown_fields(), output);
34938 }
34939 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetLinkTargetRequestProto)
34940}
34941
34942::google::protobuf::uint8* GetLinkTargetRequestProto::InternalSerializeWithCachedSizesToArray(
34943 bool deterministic, ::google::protobuf::uint8* target) const {
34944 (void)deterministic; // Unused
34945 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetLinkTargetRequestProto)
34946 ::google::protobuf::uint32 cached_has_bits = 0;
34947 (void) cached_has_bits;
34948
34949 cached_has_bits = _has_bits_[0];
34950 // required string path = 1;
34951 if (cached_has_bits & 0x00000001u) {
34952 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
34953 this->path().data(), static_cast<int>(this->path().length()),
34954 ::google::protobuf::internal::WireFormat::SERIALIZE,
34955 "Hdfs.Internal.GetLinkTargetRequestProto.path");
34956 target =
34957 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
34958 1, this->path(), target);
34959 }
34960
34961 if (_internal_metadata_.have_unknown_fields()) {
34962 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
34963 _internal_metadata_.unknown_fields(), target);
34964 }
34965 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetLinkTargetRequestProto)
34966 return target;
34967}
34968
34969size_t GetLinkTargetRequestProto::ByteSizeLong() const {
34970// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetLinkTargetRequestProto)
34971 size_t total_size = 0;
34972
34973 if (_internal_metadata_.have_unknown_fields()) {
34974 total_size +=
34975 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
34976 _internal_metadata_.unknown_fields());
34977 }
34978 // required string path = 1;
34979 if (has_path()) {
34980 total_size += 1 +
34981 ::google::protobuf::internal::WireFormatLite::StringSize(
34982 this->path());
34983 }
34984 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
34985 SetCachedSize(cached_size);
34986 return total_size;
34987}
34988
34989void GetLinkTargetRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
34990// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetLinkTargetRequestProto)
34991 GOOGLE_DCHECK_NE(&from, this);
34992 const GetLinkTargetRequestProto* source =
34993 ::google::protobuf::internal::DynamicCastToGenerated<const GetLinkTargetRequestProto>(
34994 &from);
34995 if (source == NULL) {
34996 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetLinkTargetRequestProto)
34997 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
34998 } else {
34999 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetLinkTargetRequestProto)
35000 MergeFrom(*source);
35001 }
35002}
35003
35004void GetLinkTargetRequestProto::MergeFrom(const GetLinkTargetRequestProto& from) {
35005// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetLinkTargetRequestProto)
35006 GOOGLE_DCHECK_NE(&from, this);
35007 _internal_metadata_.MergeFrom(from._internal_metadata_);
35008 ::google::protobuf::uint32 cached_has_bits = 0;
35009 (void) cached_has_bits;
35010
35011 if (from.has_path()) {
35012 set_has_path();
35013 path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
35014 }
35015}
35016
35017void GetLinkTargetRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
35018// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetLinkTargetRequestProto)
35019 if (&from == this) return;
35020 Clear();
35021 MergeFrom(from);
35022}
35023
35024void GetLinkTargetRequestProto::CopyFrom(const GetLinkTargetRequestProto& from) {
35025// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetLinkTargetRequestProto)
35026 if (&from == this) return;
35027 Clear();
35028 MergeFrom(from);
35029}
35030
35031bool GetLinkTargetRequestProto::IsInitialized() const {
35032 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
35033 return true;
35034}
35035
35036void GetLinkTargetRequestProto::Swap(GetLinkTargetRequestProto* other) {
35037 if (other == this) return;
35038 InternalSwap(other);
35039}
35040void GetLinkTargetRequestProto::InternalSwap(GetLinkTargetRequestProto* other) {
35041 using std::swap;
35042 path_.Swap(&other->path_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
35043 GetArenaNoVirtual());
35044 swap(_has_bits_[0], other->_has_bits_[0]);
35045 _internal_metadata_.Swap(&other->_internal_metadata_);
35046}
35047
35048::google::protobuf::Metadata GetLinkTargetRequestProto::GetMetadata() const {
35049 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
35050 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
35051}
35052
35053
35054// ===================================================================
35055
35056void GetLinkTargetResponseProto::InitAsDefaultInstance() {
35057}
35058#if !defined(_MSC_VER) || _MSC_VER >= 1900
35059const int GetLinkTargetResponseProto::kTargetPathFieldNumber;
35060#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
35061
35062GetLinkTargetResponseProto::GetLinkTargetResponseProto()
35063 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
35064 ::google::protobuf::internal::InitSCC(
35065 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetLinkTargetResponseProto.base);
35066 SharedCtor();
35067 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetLinkTargetResponseProto)
35068}
35069GetLinkTargetResponseProto::GetLinkTargetResponseProto(const GetLinkTargetResponseProto& from)
35070 : ::google::protobuf::Message(),
35071 _internal_metadata_(NULL),
35072 _has_bits_(from._has_bits_) {
35073 _internal_metadata_.MergeFrom(from._internal_metadata_);
35074 targetpath_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
35075 if (from.has_targetpath()) {
35076 targetpath_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.targetpath_);
35077 }
35078 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetLinkTargetResponseProto)
35079}
35080
35081void GetLinkTargetResponseProto::SharedCtor() {
35082 targetpath_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
35083}
35084
35085GetLinkTargetResponseProto::~GetLinkTargetResponseProto() {
35086 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetLinkTargetResponseProto)
35087 SharedDtor();
35088}
35089
35090void GetLinkTargetResponseProto::SharedDtor() {
35091 targetpath_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
35092}
35093
35094void GetLinkTargetResponseProto::SetCachedSize(int size) const {
35095 _cached_size_.Set(size);
35096}
35097const ::google::protobuf::Descriptor* GetLinkTargetResponseProto::descriptor() {
35098 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
35099 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
35100}
35101
35102const GetLinkTargetResponseProto& GetLinkTargetResponseProto::default_instance() {
35103 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetLinkTargetResponseProto.base);
35104 return *internal_default_instance();
35105}
35106
35107
35108void GetLinkTargetResponseProto::Clear() {
35109// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetLinkTargetResponseProto)
35110 ::google::protobuf::uint32 cached_has_bits = 0;
35111 // Prevent compiler warnings about cached_has_bits being unused
35112 (void) cached_has_bits;
35113
35114 cached_has_bits = _has_bits_[0];
35115 if (cached_has_bits & 0x00000001u) {
35116 targetpath_.ClearNonDefaultToEmptyNoArena();
35117 }
35118 _has_bits_.Clear();
35119 _internal_metadata_.Clear();
35120}
35121
35122bool GetLinkTargetResponseProto::MergePartialFromCodedStream(
35123 ::google::protobuf::io::CodedInputStream* input) {
35124#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
35125 ::google::protobuf::uint32 tag;
35126 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetLinkTargetResponseProto)
35127 for (;;) {
35128 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
35129 tag = p.first;
35130 if (!p.second) goto handle_unusual;
35131 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
35132 // optional string targetPath = 1;
35133 case 1: {
35134 if (static_cast< ::google::protobuf::uint8>(tag) ==
35135 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
35136 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
35137 input, this->mutable_targetpath()));
35138 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
35139 this->targetpath().data(), static_cast<int>(this->targetpath().length()),
35140 ::google::protobuf::internal::WireFormat::PARSE,
35141 "Hdfs.Internal.GetLinkTargetResponseProto.targetPath");
35142 } else {
35143 goto handle_unusual;
35144 }
35145 break;
35146 }
35147
35148 default: {
35149 handle_unusual:
35150 if (tag == 0) {
35151 goto success;
35152 }
35153 DO_(::google::protobuf::internal::WireFormat::SkipField(
35154 input, tag, _internal_metadata_.mutable_unknown_fields()));
35155 break;
35156 }
35157 }
35158 }
35159success:
35160 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetLinkTargetResponseProto)
35161 return true;
35162failure:
35163 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetLinkTargetResponseProto)
35164 return false;
35165#undef DO_
35166}
35167
35168void GetLinkTargetResponseProto::SerializeWithCachedSizes(
35169 ::google::protobuf::io::CodedOutputStream* output) const {
35170 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetLinkTargetResponseProto)
35171 ::google::protobuf::uint32 cached_has_bits = 0;
35172 (void) cached_has_bits;
35173
35174 cached_has_bits = _has_bits_[0];
35175 // optional string targetPath = 1;
35176 if (cached_has_bits & 0x00000001u) {
35177 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
35178 this->targetpath().data(), static_cast<int>(this->targetpath().length()),
35179 ::google::protobuf::internal::WireFormat::SERIALIZE,
35180 "Hdfs.Internal.GetLinkTargetResponseProto.targetPath");
35181 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
35182 1, this->targetpath(), output);
35183 }
35184
35185 if (_internal_metadata_.have_unknown_fields()) {
35186 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
35187 _internal_metadata_.unknown_fields(), output);
35188 }
35189 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetLinkTargetResponseProto)
35190}
35191
35192::google::protobuf::uint8* GetLinkTargetResponseProto::InternalSerializeWithCachedSizesToArray(
35193 bool deterministic, ::google::protobuf::uint8* target) const {
35194 (void)deterministic; // Unused
35195 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetLinkTargetResponseProto)
35196 ::google::protobuf::uint32 cached_has_bits = 0;
35197 (void) cached_has_bits;
35198
35199 cached_has_bits = _has_bits_[0];
35200 // optional string targetPath = 1;
35201 if (cached_has_bits & 0x00000001u) {
35202 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
35203 this->targetpath().data(), static_cast<int>(this->targetpath().length()),
35204 ::google::protobuf::internal::WireFormat::SERIALIZE,
35205 "Hdfs.Internal.GetLinkTargetResponseProto.targetPath");
35206 target =
35207 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
35208 1, this->targetpath(), target);
35209 }
35210
35211 if (_internal_metadata_.have_unknown_fields()) {
35212 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
35213 _internal_metadata_.unknown_fields(), target);
35214 }
35215 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetLinkTargetResponseProto)
35216 return target;
35217}
35218
35219size_t GetLinkTargetResponseProto::ByteSizeLong() const {
35220// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetLinkTargetResponseProto)
35221 size_t total_size = 0;
35222
35223 if (_internal_metadata_.have_unknown_fields()) {
35224 total_size +=
35225 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
35226 _internal_metadata_.unknown_fields());
35227 }
35228 // optional string targetPath = 1;
35229 if (has_targetpath()) {
35230 total_size += 1 +
35231 ::google::protobuf::internal::WireFormatLite::StringSize(
35232 this->targetpath());
35233 }
35234
35235 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
35236 SetCachedSize(cached_size);
35237 return total_size;
35238}
35239
35240void GetLinkTargetResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
35241// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetLinkTargetResponseProto)
35242 GOOGLE_DCHECK_NE(&from, this);
35243 const GetLinkTargetResponseProto* source =
35244 ::google::protobuf::internal::DynamicCastToGenerated<const GetLinkTargetResponseProto>(
35245 &from);
35246 if (source == NULL) {
35247 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetLinkTargetResponseProto)
35248 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
35249 } else {
35250 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetLinkTargetResponseProto)
35251 MergeFrom(*source);
35252 }
35253}
35254
35255void GetLinkTargetResponseProto::MergeFrom(const GetLinkTargetResponseProto& from) {
35256// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetLinkTargetResponseProto)
35257 GOOGLE_DCHECK_NE(&from, this);
35258 _internal_metadata_.MergeFrom(from._internal_metadata_);
35259 ::google::protobuf::uint32 cached_has_bits = 0;
35260 (void) cached_has_bits;
35261
35262 if (from.has_targetpath()) {
35263 set_has_targetpath();
35264 targetpath_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.targetpath_);
35265 }
35266}
35267
35268void GetLinkTargetResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
35269// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetLinkTargetResponseProto)
35270 if (&from == this) return;
35271 Clear();
35272 MergeFrom(from);
35273}
35274
35275void GetLinkTargetResponseProto::CopyFrom(const GetLinkTargetResponseProto& from) {
35276// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetLinkTargetResponseProto)
35277 if (&from == this) return;
35278 Clear();
35279 MergeFrom(from);
35280}
35281
35282bool GetLinkTargetResponseProto::IsInitialized() const {
35283 return true;
35284}
35285
35286void GetLinkTargetResponseProto::Swap(GetLinkTargetResponseProto* other) {
35287 if (other == this) return;
35288 InternalSwap(other);
35289}
35290void GetLinkTargetResponseProto::InternalSwap(GetLinkTargetResponseProto* other) {
35291 using std::swap;
35292 targetpath_.Swap(&other->targetpath_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
35293 GetArenaNoVirtual());
35294 swap(_has_bits_[0], other->_has_bits_[0]);
35295 _internal_metadata_.Swap(&other->_internal_metadata_);
35296}
35297
35298::google::protobuf::Metadata GetLinkTargetResponseProto::GetMetadata() const {
35299 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
35300 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
35301}
35302
35303
35304// ===================================================================
35305
35306void UpdateBlockForPipelineRequestProto::InitAsDefaultInstance() {
35307 ::Hdfs::Internal::_UpdateBlockForPipelineRequestProto_default_instance_._instance.get_mutable()->block_ = const_cast< ::Hdfs::Internal::ExtendedBlockProto*>(
35308 ::Hdfs::Internal::ExtendedBlockProto::internal_default_instance());
35309}
35310void UpdateBlockForPipelineRequestProto::clear_block() {
35311 if (block_ != NULL) block_->Clear();
35312 clear_has_block();
35313}
35314#if !defined(_MSC_VER) || _MSC_VER >= 1900
35315const int UpdateBlockForPipelineRequestProto::kBlockFieldNumber;
35316const int UpdateBlockForPipelineRequestProto::kClientNameFieldNumber;
35317#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
35318
35319UpdateBlockForPipelineRequestProto::UpdateBlockForPipelineRequestProto()
35320 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
35321 ::google::protobuf::internal::InitSCC(
35322 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_UpdateBlockForPipelineRequestProto.base);
35323 SharedCtor();
35324 // @@protoc_insertion_point(constructor:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35325}
35326UpdateBlockForPipelineRequestProto::UpdateBlockForPipelineRequestProto(const UpdateBlockForPipelineRequestProto& from)
35327 : ::google::protobuf::Message(),
35328 _internal_metadata_(NULL),
35329 _has_bits_(from._has_bits_) {
35330 _internal_metadata_.MergeFrom(from._internal_metadata_);
35331 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
35332 if (from.has_clientname()) {
35333 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
35334 }
35335 if (from.has_block()) {
35336 block_ = new ::Hdfs::Internal::ExtendedBlockProto(*from.block_);
35337 } else {
35338 block_ = NULL;
35339 }
35340 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35341}
35342
35343void UpdateBlockForPipelineRequestProto::SharedCtor() {
35344 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
35345 block_ = NULL;
35346}
35347
35348UpdateBlockForPipelineRequestProto::~UpdateBlockForPipelineRequestProto() {
35349 // @@protoc_insertion_point(destructor:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35350 SharedDtor();
35351}
35352
35353void UpdateBlockForPipelineRequestProto::SharedDtor() {
35354 clientname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
35355 if (this != internal_default_instance()) delete block_;
35356}
35357
35358void UpdateBlockForPipelineRequestProto::SetCachedSize(int size) const {
35359 _cached_size_.Set(size);
35360}
35361const ::google::protobuf::Descriptor* UpdateBlockForPipelineRequestProto::descriptor() {
35362 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
35363 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
35364}
35365
35366const UpdateBlockForPipelineRequestProto& UpdateBlockForPipelineRequestProto::default_instance() {
35367 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_UpdateBlockForPipelineRequestProto.base);
35368 return *internal_default_instance();
35369}
35370
35371
35372void UpdateBlockForPipelineRequestProto::Clear() {
35373// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35374 ::google::protobuf::uint32 cached_has_bits = 0;
35375 // Prevent compiler warnings about cached_has_bits being unused
35376 (void) cached_has_bits;
35377
35378 cached_has_bits = _has_bits_[0];
35379 if (cached_has_bits & 3u) {
35380 if (cached_has_bits & 0x00000001u) {
35381 clientname_.ClearNonDefaultToEmptyNoArena();
35382 }
35383 if (cached_has_bits & 0x00000002u) {
35384 GOOGLE_DCHECK(block_ != NULL);
35385 block_->Clear();
35386 }
35387 }
35388 _has_bits_.Clear();
35389 _internal_metadata_.Clear();
35390}
35391
35392bool UpdateBlockForPipelineRequestProto::MergePartialFromCodedStream(
35393 ::google::protobuf::io::CodedInputStream* input) {
35394#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
35395 ::google::protobuf::uint32 tag;
35396 // @@protoc_insertion_point(parse_start:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35397 for (;;) {
35398 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
35399 tag = p.first;
35400 if (!p.second) goto handle_unusual;
35401 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
35402 // required .Hdfs.Internal.ExtendedBlockProto block = 1;
35403 case 1: {
35404 if (static_cast< ::google::protobuf::uint8>(tag) ==
35405 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
35406 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
35407 input, mutable_block()));
35408 } else {
35409 goto handle_unusual;
35410 }
35411 break;
35412 }
35413
35414 // required string clientName = 2;
35415 case 2: {
35416 if (static_cast< ::google::protobuf::uint8>(tag) ==
35417 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
35418 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
35419 input, this->mutable_clientname()));
35420 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
35421 this->clientname().data(), static_cast<int>(this->clientname().length()),
35422 ::google::protobuf::internal::WireFormat::PARSE,
35423 "Hdfs.Internal.UpdateBlockForPipelineRequestProto.clientName");
35424 } else {
35425 goto handle_unusual;
35426 }
35427 break;
35428 }
35429
35430 default: {
35431 handle_unusual:
35432 if (tag == 0) {
35433 goto success;
35434 }
35435 DO_(::google::protobuf::internal::WireFormat::SkipField(
35436 input, tag, _internal_metadata_.mutable_unknown_fields()));
35437 break;
35438 }
35439 }
35440 }
35441success:
35442 // @@protoc_insertion_point(parse_success:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35443 return true;
35444failure:
35445 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35446 return false;
35447#undef DO_
35448}
35449
35450void UpdateBlockForPipelineRequestProto::SerializeWithCachedSizes(
35451 ::google::protobuf::io::CodedOutputStream* output) const {
35452 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35453 ::google::protobuf::uint32 cached_has_bits = 0;
35454 (void) cached_has_bits;
35455
35456 cached_has_bits = _has_bits_[0];
35457 // required .Hdfs.Internal.ExtendedBlockProto block = 1;
35458 if (cached_has_bits & 0x00000002u) {
35459 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
35460 1, this->_internal_block(), output);
35461 }
35462
35463 // required string clientName = 2;
35464 if (cached_has_bits & 0x00000001u) {
35465 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
35466 this->clientname().data(), static_cast<int>(this->clientname().length()),
35467 ::google::protobuf::internal::WireFormat::SERIALIZE,
35468 "Hdfs.Internal.UpdateBlockForPipelineRequestProto.clientName");
35469 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
35470 2, this->clientname(), output);
35471 }
35472
35473 if (_internal_metadata_.have_unknown_fields()) {
35474 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
35475 _internal_metadata_.unknown_fields(), output);
35476 }
35477 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35478}
35479
35480::google::protobuf::uint8* UpdateBlockForPipelineRequestProto::InternalSerializeWithCachedSizesToArray(
35481 bool deterministic, ::google::protobuf::uint8* target) const {
35482 (void)deterministic; // Unused
35483 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35484 ::google::protobuf::uint32 cached_has_bits = 0;
35485 (void) cached_has_bits;
35486
35487 cached_has_bits = _has_bits_[0];
35488 // required .Hdfs.Internal.ExtendedBlockProto block = 1;
35489 if (cached_has_bits & 0x00000002u) {
35490 target = ::google::protobuf::internal::WireFormatLite::
35491 InternalWriteMessageToArray(
35492 1, this->_internal_block(), deterministic, target);
35493 }
35494
35495 // required string clientName = 2;
35496 if (cached_has_bits & 0x00000001u) {
35497 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
35498 this->clientname().data(), static_cast<int>(this->clientname().length()),
35499 ::google::protobuf::internal::WireFormat::SERIALIZE,
35500 "Hdfs.Internal.UpdateBlockForPipelineRequestProto.clientName");
35501 target =
35502 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
35503 2, this->clientname(), target);
35504 }
35505
35506 if (_internal_metadata_.have_unknown_fields()) {
35507 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
35508 _internal_metadata_.unknown_fields(), target);
35509 }
35510 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35511 return target;
35512}
35513
35514size_t UpdateBlockForPipelineRequestProto::RequiredFieldsByteSizeFallback() const {
35515// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35516 size_t total_size = 0;
35517
35518 if (has_clientname()) {
35519 // required string clientName = 2;
35520 total_size += 1 +
35521 ::google::protobuf::internal::WireFormatLite::StringSize(
35522 this->clientname());
35523 }
35524
35525 if (has_block()) {
35526 // required .Hdfs.Internal.ExtendedBlockProto block = 1;
35527 total_size += 1 +
35528 ::google::protobuf::internal::WireFormatLite::MessageSize(
35529 *block_);
35530 }
35531
35532 return total_size;
35533}
35534size_t UpdateBlockForPipelineRequestProto::ByteSizeLong() const {
35535// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35536 size_t total_size = 0;
35537
35538 if (_internal_metadata_.have_unknown_fields()) {
35539 total_size +=
35540 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
35541 _internal_metadata_.unknown_fields());
35542 }
35543 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
35544 // required string clientName = 2;
35545 total_size += 1 +
35546 ::google::protobuf::internal::WireFormatLite::StringSize(
35547 this->clientname());
35548
35549 // required .Hdfs.Internal.ExtendedBlockProto block = 1;
35550 total_size += 1 +
35551 ::google::protobuf::internal::WireFormatLite::MessageSize(
35552 *block_);
35553
35554 } else {
35555 total_size += RequiredFieldsByteSizeFallback();
35556 }
35557 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
35558 SetCachedSize(cached_size);
35559 return total_size;
35560}
35561
35562void UpdateBlockForPipelineRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
35563// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35564 GOOGLE_DCHECK_NE(&from, this);
35565 const UpdateBlockForPipelineRequestProto* source =
35566 ::google::protobuf::internal::DynamicCastToGenerated<const UpdateBlockForPipelineRequestProto>(
35567 &from);
35568 if (source == NULL) {
35569 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35570 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
35571 } else {
35572 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35573 MergeFrom(*source);
35574 }
35575}
35576
35577void UpdateBlockForPipelineRequestProto::MergeFrom(const UpdateBlockForPipelineRequestProto& from) {
35578// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35579 GOOGLE_DCHECK_NE(&from, this);
35580 _internal_metadata_.MergeFrom(from._internal_metadata_);
35581 ::google::protobuf::uint32 cached_has_bits = 0;
35582 (void) cached_has_bits;
35583
35584 cached_has_bits = from._has_bits_[0];
35585 if (cached_has_bits & 3u) {
35586 if (cached_has_bits & 0x00000001u) {
35587 set_has_clientname();
35588 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
35589 }
35590 if (cached_has_bits & 0x00000002u) {
35591 mutable_block()->::Hdfs::Internal::ExtendedBlockProto::MergeFrom(from.block());
35592 }
35593 }
35594}
35595
35596void UpdateBlockForPipelineRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
35597// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35598 if (&from == this) return;
35599 Clear();
35600 MergeFrom(from);
35601}
35602
35603void UpdateBlockForPipelineRequestProto::CopyFrom(const UpdateBlockForPipelineRequestProto& from) {
35604// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.UpdateBlockForPipelineRequestProto)
35605 if (&from == this) return;
35606 Clear();
35607 MergeFrom(from);
35608}
35609
35610bool UpdateBlockForPipelineRequestProto::IsInitialized() const {
35611 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
35612 if (has_block()) {
35613 if (!this->block_->IsInitialized()) return false;
35614 }
35615 return true;
35616}
35617
35618void UpdateBlockForPipelineRequestProto::Swap(UpdateBlockForPipelineRequestProto* other) {
35619 if (other == this) return;
35620 InternalSwap(other);
35621}
35622void UpdateBlockForPipelineRequestProto::InternalSwap(UpdateBlockForPipelineRequestProto* other) {
35623 using std::swap;
35624 clientname_.Swap(&other->clientname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
35625 GetArenaNoVirtual());
35626 swap(block_, other->block_);
35627 swap(_has_bits_[0], other->_has_bits_[0]);
35628 _internal_metadata_.Swap(&other->_internal_metadata_);
35629}
35630
35631::google::protobuf::Metadata UpdateBlockForPipelineRequestProto::GetMetadata() const {
35632 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
35633 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
35634}
35635
35636
35637// ===================================================================
35638
35639void UpdateBlockForPipelineResponseProto::InitAsDefaultInstance() {
35640 ::Hdfs::Internal::_UpdateBlockForPipelineResponseProto_default_instance_._instance.get_mutable()->block_ = const_cast< ::Hdfs::Internal::LocatedBlockProto*>(
35641 ::Hdfs::Internal::LocatedBlockProto::internal_default_instance());
35642}
35643void UpdateBlockForPipelineResponseProto::clear_block() {
35644 if (block_ != NULL) block_->Clear();
35645 clear_has_block();
35646}
35647#if !defined(_MSC_VER) || _MSC_VER >= 1900
35648const int UpdateBlockForPipelineResponseProto::kBlockFieldNumber;
35649#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
35650
35651UpdateBlockForPipelineResponseProto::UpdateBlockForPipelineResponseProto()
35652 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
35653 ::google::protobuf::internal::InitSCC(
35654 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_UpdateBlockForPipelineResponseProto.base);
35655 SharedCtor();
35656 // @@protoc_insertion_point(constructor:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35657}
35658UpdateBlockForPipelineResponseProto::UpdateBlockForPipelineResponseProto(const UpdateBlockForPipelineResponseProto& from)
35659 : ::google::protobuf::Message(),
35660 _internal_metadata_(NULL),
35661 _has_bits_(from._has_bits_) {
35662 _internal_metadata_.MergeFrom(from._internal_metadata_);
35663 if (from.has_block()) {
35664 block_ = new ::Hdfs::Internal::LocatedBlockProto(*from.block_);
35665 } else {
35666 block_ = NULL;
35667 }
35668 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35669}
35670
35671void UpdateBlockForPipelineResponseProto::SharedCtor() {
35672 block_ = NULL;
35673}
35674
35675UpdateBlockForPipelineResponseProto::~UpdateBlockForPipelineResponseProto() {
35676 // @@protoc_insertion_point(destructor:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35677 SharedDtor();
35678}
35679
35680void UpdateBlockForPipelineResponseProto::SharedDtor() {
35681 if (this != internal_default_instance()) delete block_;
35682}
35683
35684void UpdateBlockForPipelineResponseProto::SetCachedSize(int size) const {
35685 _cached_size_.Set(size);
35686}
35687const ::google::protobuf::Descriptor* UpdateBlockForPipelineResponseProto::descriptor() {
35688 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
35689 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
35690}
35691
35692const UpdateBlockForPipelineResponseProto& UpdateBlockForPipelineResponseProto::default_instance() {
35693 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_UpdateBlockForPipelineResponseProto.base);
35694 return *internal_default_instance();
35695}
35696
35697
35698void UpdateBlockForPipelineResponseProto::Clear() {
35699// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35700 ::google::protobuf::uint32 cached_has_bits = 0;
35701 // Prevent compiler warnings about cached_has_bits being unused
35702 (void) cached_has_bits;
35703
35704 cached_has_bits = _has_bits_[0];
35705 if (cached_has_bits & 0x00000001u) {
35706 GOOGLE_DCHECK(block_ != NULL);
35707 block_->Clear();
35708 }
35709 _has_bits_.Clear();
35710 _internal_metadata_.Clear();
35711}
35712
35713bool UpdateBlockForPipelineResponseProto::MergePartialFromCodedStream(
35714 ::google::protobuf::io::CodedInputStream* input) {
35715#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
35716 ::google::protobuf::uint32 tag;
35717 // @@protoc_insertion_point(parse_start:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35718 for (;;) {
35719 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
35720 tag = p.first;
35721 if (!p.second) goto handle_unusual;
35722 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
35723 // required .Hdfs.Internal.LocatedBlockProto block = 1;
35724 case 1: {
35725 if (static_cast< ::google::protobuf::uint8>(tag) ==
35726 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
35727 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
35728 input, mutable_block()));
35729 } else {
35730 goto handle_unusual;
35731 }
35732 break;
35733 }
35734
35735 default: {
35736 handle_unusual:
35737 if (tag == 0) {
35738 goto success;
35739 }
35740 DO_(::google::protobuf::internal::WireFormat::SkipField(
35741 input, tag, _internal_metadata_.mutable_unknown_fields()));
35742 break;
35743 }
35744 }
35745 }
35746success:
35747 // @@protoc_insertion_point(parse_success:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35748 return true;
35749failure:
35750 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35751 return false;
35752#undef DO_
35753}
35754
35755void UpdateBlockForPipelineResponseProto::SerializeWithCachedSizes(
35756 ::google::protobuf::io::CodedOutputStream* output) const {
35757 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35758 ::google::protobuf::uint32 cached_has_bits = 0;
35759 (void) cached_has_bits;
35760
35761 cached_has_bits = _has_bits_[0];
35762 // required .Hdfs.Internal.LocatedBlockProto block = 1;
35763 if (cached_has_bits & 0x00000001u) {
35764 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
35765 1, this->_internal_block(), output);
35766 }
35767
35768 if (_internal_metadata_.have_unknown_fields()) {
35769 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
35770 _internal_metadata_.unknown_fields(), output);
35771 }
35772 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35773}
35774
35775::google::protobuf::uint8* UpdateBlockForPipelineResponseProto::InternalSerializeWithCachedSizesToArray(
35776 bool deterministic, ::google::protobuf::uint8* target) const {
35777 (void)deterministic; // Unused
35778 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35779 ::google::protobuf::uint32 cached_has_bits = 0;
35780 (void) cached_has_bits;
35781
35782 cached_has_bits = _has_bits_[0];
35783 // required .Hdfs.Internal.LocatedBlockProto block = 1;
35784 if (cached_has_bits & 0x00000001u) {
35785 target = ::google::protobuf::internal::WireFormatLite::
35786 InternalWriteMessageToArray(
35787 1, this->_internal_block(), deterministic, target);
35788 }
35789
35790 if (_internal_metadata_.have_unknown_fields()) {
35791 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
35792 _internal_metadata_.unknown_fields(), target);
35793 }
35794 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35795 return target;
35796}
35797
35798size_t UpdateBlockForPipelineResponseProto::ByteSizeLong() const {
35799// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35800 size_t total_size = 0;
35801
35802 if (_internal_metadata_.have_unknown_fields()) {
35803 total_size +=
35804 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
35805 _internal_metadata_.unknown_fields());
35806 }
35807 // required .Hdfs.Internal.LocatedBlockProto block = 1;
35808 if (has_block()) {
35809 total_size += 1 +
35810 ::google::protobuf::internal::WireFormatLite::MessageSize(
35811 *block_);
35812 }
35813 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
35814 SetCachedSize(cached_size);
35815 return total_size;
35816}
35817
35818void UpdateBlockForPipelineResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
35819// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35820 GOOGLE_DCHECK_NE(&from, this);
35821 const UpdateBlockForPipelineResponseProto* source =
35822 ::google::protobuf::internal::DynamicCastToGenerated<const UpdateBlockForPipelineResponseProto>(
35823 &from);
35824 if (source == NULL) {
35825 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35826 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
35827 } else {
35828 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35829 MergeFrom(*source);
35830 }
35831}
35832
35833void UpdateBlockForPipelineResponseProto::MergeFrom(const UpdateBlockForPipelineResponseProto& from) {
35834// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35835 GOOGLE_DCHECK_NE(&from, this);
35836 _internal_metadata_.MergeFrom(from._internal_metadata_);
35837 ::google::protobuf::uint32 cached_has_bits = 0;
35838 (void) cached_has_bits;
35839
35840 if (from.has_block()) {
35841 mutable_block()->::Hdfs::Internal::LocatedBlockProto::MergeFrom(from.block());
35842 }
35843}
35844
35845void UpdateBlockForPipelineResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
35846// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35847 if (&from == this) return;
35848 Clear();
35849 MergeFrom(from);
35850}
35851
35852void UpdateBlockForPipelineResponseProto::CopyFrom(const UpdateBlockForPipelineResponseProto& from) {
35853// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.UpdateBlockForPipelineResponseProto)
35854 if (&from == this) return;
35855 Clear();
35856 MergeFrom(from);
35857}
35858
35859bool UpdateBlockForPipelineResponseProto::IsInitialized() const {
35860 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
35861 if (has_block()) {
35862 if (!this->block_->IsInitialized()) return false;
35863 }
35864 return true;
35865}
35866
35867void UpdateBlockForPipelineResponseProto::Swap(UpdateBlockForPipelineResponseProto* other) {
35868 if (other == this) return;
35869 InternalSwap(other);
35870}
35871void UpdateBlockForPipelineResponseProto::InternalSwap(UpdateBlockForPipelineResponseProto* other) {
35872 using std::swap;
35873 swap(block_, other->block_);
35874 swap(_has_bits_[0], other->_has_bits_[0]);
35875 _internal_metadata_.Swap(&other->_internal_metadata_);
35876}
35877
35878::google::protobuf::Metadata UpdateBlockForPipelineResponseProto::GetMetadata() const {
35879 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
35880 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
35881}
35882
35883
35884// ===================================================================
35885
35886void UpdatePipelineRequestProto::InitAsDefaultInstance() {
35887 ::Hdfs::Internal::_UpdatePipelineRequestProto_default_instance_._instance.get_mutable()->oldblock_ = const_cast< ::Hdfs::Internal::ExtendedBlockProto*>(
35888 ::Hdfs::Internal::ExtendedBlockProto::internal_default_instance());
35889 ::Hdfs::Internal::_UpdatePipelineRequestProto_default_instance_._instance.get_mutable()->newblock_ = const_cast< ::Hdfs::Internal::ExtendedBlockProto*>(
35890 ::Hdfs::Internal::ExtendedBlockProto::internal_default_instance());
35891}
35892void UpdatePipelineRequestProto::clear_oldblock() {
35893 if (oldblock_ != NULL) oldblock_->Clear();
35894 clear_has_oldblock();
35895}
35896void UpdatePipelineRequestProto::clear_newblock() {
35897 if (newblock_ != NULL) newblock_->Clear();
35898 clear_has_newblock();
35899}
35900void UpdatePipelineRequestProto::clear_newnodes() {
35901 newnodes_.Clear();
35902}
35903#if !defined(_MSC_VER) || _MSC_VER >= 1900
35904const int UpdatePipelineRequestProto::kClientNameFieldNumber;
35905const int UpdatePipelineRequestProto::kOldBlockFieldNumber;
35906const int UpdatePipelineRequestProto::kNewBlockFieldNumber;
35907const int UpdatePipelineRequestProto::kNewNodesFieldNumber;
35908const int UpdatePipelineRequestProto::kStorageIDsFieldNumber;
35909#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
35910
35911UpdatePipelineRequestProto::UpdatePipelineRequestProto()
35912 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
35913 ::google::protobuf::internal::InitSCC(
35914 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_UpdatePipelineRequestProto.base);
35915 SharedCtor();
35916 // @@protoc_insertion_point(constructor:Hdfs.Internal.UpdatePipelineRequestProto)
35917}
35918UpdatePipelineRequestProto::UpdatePipelineRequestProto(const UpdatePipelineRequestProto& from)
35919 : ::google::protobuf::Message(),
35920 _internal_metadata_(NULL),
35921 _has_bits_(from._has_bits_),
35922 newnodes_(from.newnodes_),
35923 storageids_(from.storageids_) {
35924 _internal_metadata_.MergeFrom(from._internal_metadata_);
35925 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
35926 if (from.has_clientname()) {
35927 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
35928 }
35929 if (from.has_oldblock()) {
35930 oldblock_ = new ::Hdfs::Internal::ExtendedBlockProto(*from.oldblock_);
35931 } else {
35932 oldblock_ = NULL;
35933 }
35934 if (from.has_newblock()) {
35935 newblock_ = new ::Hdfs::Internal::ExtendedBlockProto(*from.newblock_);
35936 } else {
35937 newblock_ = NULL;
35938 }
35939 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.UpdatePipelineRequestProto)
35940}
35941
35942void UpdatePipelineRequestProto::SharedCtor() {
35943 clientname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
35944 ::memset(&oldblock_, 0, static_cast<size_t>(
35945 reinterpret_cast<char*>(&newblock_) -
35946 reinterpret_cast<char*>(&oldblock_)) + sizeof(newblock_));
35947}
35948
35949UpdatePipelineRequestProto::~UpdatePipelineRequestProto() {
35950 // @@protoc_insertion_point(destructor:Hdfs.Internal.UpdatePipelineRequestProto)
35951 SharedDtor();
35952}
35953
35954void UpdatePipelineRequestProto::SharedDtor() {
35955 clientname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
35956 if (this != internal_default_instance()) delete oldblock_;
35957 if (this != internal_default_instance()) delete newblock_;
35958}
35959
35960void UpdatePipelineRequestProto::SetCachedSize(int size) const {
35961 _cached_size_.Set(size);
35962}
35963const ::google::protobuf::Descriptor* UpdatePipelineRequestProto::descriptor() {
35964 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
35965 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
35966}
35967
35968const UpdatePipelineRequestProto& UpdatePipelineRequestProto::default_instance() {
35969 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_UpdatePipelineRequestProto.base);
35970 return *internal_default_instance();
35971}
35972
35973
35974void UpdatePipelineRequestProto::Clear() {
35975// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.UpdatePipelineRequestProto)
35976 ::google::protobuf::uint32 cached_has_bits = 0;
35977 // Prevent compiler warnings about cached_has_bits being unused
35978 (void) cached_has_bits;
35979
35980 newnodes_.Clear();
35981 storageids_.Clear();
35982 cached_has_bits = _has_bits_[0];
35983 if (cached_has_bits & 7u) {
35984 if (cached_has_bits & 0x00000001u) {
35985 clientname_.ClearNonDefaultToEmptyNoArena();
35986 }
35987 if (cached_has_bits & 0x00000002u) {
35988 GOOGLE_DCHECK(oldblock_ != NULL);
35989 oldblock_->Clear();
35990 }
35991 if (cached_has_bits & 0x00000004u) {
35992 GOOGLE_DCHECK(newblock_ != NULL);
35993 newblock_->Clear();
35994 }
35995 }
35996 _has_bits_.Clear();
35997 _internal_metadata_.Clear();
35998}
35999
36000bool UpdatePipelineRequestProto::MergePartialFromCodedStream(
36001 ::google::protobuf::io::CodedInputStream* input) {
36002#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
36003 ::google::protobuf::uint32 tag;
36004 // @@protoc_insertion_point(parse_start:Hdfs.Internal.UpdatePipelineRequestProto)
36005 for (;;) {
36006 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
36007 tag = p.first;
36008 if (!p.second) goto handle_unusual;
36009 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
36010 // required string clientName = 1;
36011 case 1: {
36012 if (static_cast< ::google::protobuf::uint8>(tag) ==
36013 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
36014 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
36015 input, this->mutable_clientname()));
36016 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
36017 this->clientname().data(), static_cast<int>(this->clientname().length()),
36018 ::google::protobuf::internal::WireFormat::PARSE,
36019 "Hdfs.Internal.UpdatePipelineRequestProto.clientName");
36020 } else {
36021 goto handle_unusual;
36022 }
36023 break;
36024 }
36025
36026 // required .Hdfs.Internal.ExtendedBlockProto oldBlock = 2;
36027 case 2: {
36028 if (static_cast< ::google::protobuf::uint8>(tag) ==
36029 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
36030 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
36031 input, mutable_oldblock()));
36032 } else {
36033 goto handle_unusual;
36034 }
36035 break;
36036 }
36037
36038 // required .Hdfs.Internal.ExtendedBlockProto newBlock = 3;
36039 case 3: {
36040 if (static_cast< ::google::protobuf::uint8>(tag) ==
36041 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
36042 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
36043 input, mutable_newblock()));
36044 } else {
36045 goto handle_unusual;
36046 }
36047 break;
36048 }
36049
36050 // repeated .Hdfs.Internal.DatanodeIDProto newNodes = 4;
36051 case 4: {
36052 if (static_cast< ::google::protobuf::uint8>(tag) ==
36053 static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
36054 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
36055 input, add_newnodes()));
36056 } else {
36057 goto handle_unusual;
36058 }
36059 break;
36060 }
36061
36062 // repeated string storageIDs = 5;
36063 case 5: {
36064 if (static_cast< ::google::protobuf::uint8>(tag) ==
36065 static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
36066 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
36067 input, this->add_storageids()));
36068 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
36069 this->storageids(this->storageids_size() - 1).data(),
36070 static_cast<int>(this->storageids(this->storageids_size() - 1).length()),
36071 ::google::protobuf::internal::WireFormat::PARSE,
36072 "Hdfs.Internal.UpdatePipelineRequestProto.storageIDs");
36073 } else {
36074 goto handle_unusual;
36075 }
36076 break;
36077 }
36078
36079 default: {
36080 handle_unusual:
36081 if (tag == 0) {
36082 goto success;
36083 }
36084 DO_(::google::protobuf::internal::WireFormat::SkipField(
36085 input, tag, _internal_metadata_.mutable_unknown_fields()));
36086 break;
36087 }
36088 }
36089 }
36090success:
36091 // @@protoc_insertion_point(parse_success:Hdfs.Internal.UpdatePipelineRequestProto)
36092 return true;
36093failure:
36094 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.UpdatePipelineRequestProto)
36095 return false;
36096#undef DO_
36097}
36098
36099void UpdatePipelineRequestProto::SerializeWithCachedSizes(
36100 ::google::protobuf::io::CodedOutputStream* output) const {
36101 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.UpdatePipelineRequestProto)
36102 ::google::protobuf::uint32 cached_has_bits = 0;
36103 (void) cached_has_bits;
36104
36105 cached_has_bits = _has_bits_[0];
36106 // required string clientName = 1;
36107 if (cached_has_bits & 0x00000001u) {
36108 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
36109 this->clientname().data(), static_cast<int>(this->clientname().length()),
36110 ::google::protobuf::internal::WireFormat::SERIALIZE,
36111 "Hdfs.Internal.UpdatePipelineRequestProto.clientName");
36112 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
36113 1, this->clientname(), output);
36114 }
36115
36116 // required .Hdfs.Internal.ExtendedBlockProto oldBlock = 2;
36117 if (cached_has_bits & 0x00000002u) {
36118 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
36119 2, this->_internal_oldblock(), output);
36120 }
36121
36122 // required .Hdfs.Internal.ExtendedBlockProto newBlock = 3;
36123 if (cached_has_bits & 0x00000004u) {
36124 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
36125 3, this->_internal_newblock(), output);
36126 }
36127
36128 // repeated .Hdfs.Internal.DatanodeIDProto newNodes = 4;
36129 for (unsigned int i = 0,
36130 n = static_cast<unsigned int>(this->newnodes_size()); i < n; i++) {
36131 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
36132 4,
36133 this->newnodes(static_cast<int>(i)),
36134 output);
36135 }
36136
36137 // repeated string storageIDs = 5;
36138 for (int i = 0, n = this->storageids_size(); i < n; i++) {
36139 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
36140 this->storageids(i).data(), static_cast<int>(this->storageids(i).length()),
36141 ::google::protobuf::internal::WireFormat::SERIALIZE,
36142 "Hdfs.Internal.UpdatePipelineRequestProto.storageIDs");
36143 ::google::protobuf::internal::WireFormatLite::WriteString(
36144 5, this->storageids(i), output);
36145 }
36146
36147 if (_internal_metadata_.have_unknown_fields()) {
36148 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
36149 _internal_metadata_.unknown_fields(), output);
36150 }
36151 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.UpdatePipelineRequestProto)
36152}
36153
36154::google::protobuf::uint8* UpdatePipelineRequestProto::InternalSerializeWithCachedSizesToArray(
36155 bool deterministic, ::google::protobuf::uint8* target) const {
36156 (void)deterministic; // Unused
36157 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.UpdatePipelineRequestProto)
36158 ::google::protobuf::uint32 cached_has_bits = 0;
36159 (void) cached_has_bits;
36160
36161 cached_has_bits = _has_bits_[0];
36162 // required string clientName = 1;
36163 if (cached_has_bits & 0x00000001u) {
36164 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
36165 this->clientname().data(), static_cast<int>(this->clientname().length()),
36166 ::google::protobuf::internal::WireFormat::SERIALIZE,
36167 "Hdfs.Internal.UpdatePipelineRequestProto.clientName");
36168 target =
36169 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
36170 1, this->clientname(), target);
36171 }
36172
36173 // required .Hdfs.Internal.ExtendedBlockProto oldBlock = 2;
36174 if (cached_has_bits & 0x00000002u) {
36175 target = ::google::protobuf::internal::WireFormatLite::
36176 InternalWriteMessageToArray(
36177 2, this->_internal_oldblock(), deterministic, target);
36178 }
36179
36180 // required .Hdfs.Internal.ExtendedBlockProto newBlock = 3;
36181 if (cached_has_bits & 0x00000004u) {
36182 target = ::google::protobuf::internal::WireFormatLite::
36183 InternalWriteMessageToArray(
36184 3, this->_internal_newblock(), deterministic, target);
36185 }
36186
36187 // repeated .Hdfs.Internal.DatanodeIDProto newNodes = 4;
36188 for (unsigned int i = 0,
36189 n = static_cast<unsigned int>(this->newnodes_size()); i < n; i++) {
36190 target = ::google::protobuf::internal::WireFormatLite::
36191 InternalWriteMessageToArray(
36192 4, this->newnodes(static_cast<int>(i)), deterministic, target);
36193 }
36194
36195 // repeated string storageIDs = 5;
36196 for (int i = 0, n = this->storageids_size(); i < n; i++) {
36197 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
36198 this->storageids(i).data(), static_cast<int>(this->storageids(i).length()),
36199 ::google::protobuf::internal::WireFormat::SERIALIZE,
36200 "Hdfs.Internal.UpdatePipelineRequestProto.storageIDs");
36201 target = ::google::protobuf::internal::WireFormatLite::
36202 WriteStringToArray(5, this->storageids(i), target);
36203 }
36204
36205 if (_internal_metadata_.have_unknown_fields()) {
36206 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
36207 _internal_metadata_.unknown_fields(), target);
36208 }
36209 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.UpdatePipelineRequestProto)
36210 return target;
36211}
36212
36213size_t UpdatePipelineRequestProto::RequiredFieldsByteSizeFallback() const {
36214// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.UpdatePipelineRequestProto)
36215 size_t total_size = 0;
36216
36217 if (has_clientname()) {
36218 // required string clientName = 1;
36219 total_size += 1 +
36220 ::google::protobuf::internal::WireFormatLite::StringSize(
36221 this->clientname());
36222 }
36223
36224 if (has_oldblock()) {
36225 // required .Hdfs.Internal.ExtendedBlockProto oldBlock = 2;
36226 total_size += 1 +
36227 ::google::protobuf::internal::WireFormatLite::MessageSize(
36228 *oldblock_);
36229 }
36230
36231 if (has_newblock()) {
36232 // required .Hdfs.Internal.ExtendedBlockProto newBlock = 3;
36233 total_size += 1 +
36234 ::google::protobuf::internal::WireFormatLite::MessageSize(
36235 *newblock_);
36236 }
36237
36238 return total_size;
36239}
36240size_t UpdatePipelineRequestProto::ByteSizeLong() const {
36241// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.UpdatePipelineRequestProto)
36242 size_t total_size = 0;
36243
36244 if (_internal_metadata_.have_unknown_fields()) {
36245 total_size +=
36246 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
36247 _internal_metadata_.unknown_fields());
36248 }
36249 if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
36250 // required string clientName = 1;
36251 total_size += 1 +
36252 ::google::protobuf::internal::WireFormatLite::StringSize(
36253 this->clientname());
36254
36255 // required .Hdfs.Internal.ExtendedBlockProto oldBlock = 2;
36256 total_size += 1 +
36257 ::google::protobuf::internal::WireFormatLite::MessageSize(
36258 *oldblock_);
36259
36260 // required .Hdfs.Internal.ExtendedBlockProto newBlock = 3;
36261 total_size += 1 +
36262 ::google::protobuf::internal::WireFormatLite::MessageSize(
36263 *newblock_);
36264
36265 } else {
36266 total_size += RequiredFieldsByteSizeFallback();
36267 }
36268 // repeated .Hdfs.Internal.DatanodeIDProto newNodes = 4;
36269 {
36270 unsigned int count = static_cast<unsigned int>(this->newnodes_size());
36271 total_size += 1UL * count;
36272 for (unsigned int i = 0; i < count; i++) {
36273 total_size +=
36274 ::google::protobuf::internal::WireFormatLite::MessageSize(
36275 this->newnodes(static_cast<int>(i)));
36276 }
36277 }
36278
36279 // repeated string storageIDs = 5;
36280 total_size += 1 *
36281 ::google::protobuf::internal::FromIntSize(this->storageids_size());
36282 for (int i = 0, n = this->storageids_size(); i < n; i++) {
36283 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
36284 this->storageids(i));
36285 }
36286
36287 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
36288 SetCachedSize(cached_size);
36289 return total_size;
36290}
36291
36292void UpdatePipelineRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
36293// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.UpdatePipelineRequestProto)
36294 GOOGLE_DCHECK_NE(&from, this);
36295 const UpdatePipelineRequestProto* source =
36296 ::google::protobuf::internal::DynamicCastToGenerated<const UpdatePipelineRequestProto>(
36297 &from);
36298 if (source == NULL) {
36299 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.UpdatePipelineRequestProto)
36300 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
36301 } else {
36302 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.UpdatePipelineRequestProto)
36303 MergeFrom(*source);
36304 }
36305}
36306
36307void UpdatePipelineRequestProto::MergeFrom(const UpdatePipelineRequestProto& from) {
36308// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.UpdatePipelineRequestProto)
36309 GOOGLE_DCHECK_NE(&from, this);
36310 _internal_metadata_.MergeFrom(from._internal_metadata_);
36311 ::google::protobuf::uint32 cached_has_bits = 0;
36312 (void) cached_has_bits;
36313
36314 newnodes_.MergeFrom(from.newnodes_);
36315 storageids_.MergeFrom(from.storageids_);
36316 cached_has_bits = from._has_bits_[0];
36317 if (cached_has_bits & 7u) {
36318 if (cached_has_bits & 0x00000001u) {
36319 set_has_clientname();
36320 clientname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.clientname_);
36321 }
36322 if (cached_has_bits & 0x00000002u) {
36323 mutable_oldblock()->::Hdfs::Internal::ExtendedBlockProto::MergeFrom(from.oldblock());
36324 }
36325 if (cached_has_bits & 0x00000004u) {
36326 mutable_newblock()->::Hdfs::Internal::ExtendedBlockProto::MergeFrom(from.newblock());
36327 }
36328 }
36329}
36330
36331void UpdatePipelineRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
36332// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.UpdatePipelineRequestProto)
36333 if (&from == this) return;
36334 Clear();
36335 MergeFrom(from);
36336}
36337
36338void UpdatePipelineRequestProto::CopyFrom(const UpdatePipelineRequestProto& from) {
36339// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.UpdatePipelineRequestProto)
36340 if (&from == this) return;
36341 Clear();
36342 MergeFrom(from);
36343}
36344
36345bool UpdatePipelineRequestProto::IsInitialized() const {
36346 if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
36347 if (!::google::protobuf::internal::AllAreInitialized(this->newnodes())) return false;
36348 if (has_oldblock()) {
36349 if (!this->oldblock_->IsInitialized()) return false;
36350 }
36351 if (has_newblock()) {
36352 if (!this->newblock_->IsInitialized()) return false;
36353 }
36354 return true;
36355}
36356
36357void UpdatePipelineRequestProto::Swap(UpdatePipelineRequestProto* other) {
36358 if (other == this) return;
36359 InternalSwap(other);
36360}
36361void UpdatePipelineRequestProto::InternalSwap(UpdatePipelineRequestProto* other) {
36362 using std::swap;
36363 CastToBase(&newnodes_)->InternalSwap(CastToBase(&other->newnodes_));
36364 storageids_.InternalSwap(CastToBase(&other->storageids_));
36365 clientname_.Swap(&other->clientname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
36366 GetArenaNoVirtual());
36367 swap(oldblock_, other->oldblock_);
36368 swap(newblock_, other->newblock_);
36369 swap(_has_bits_[0], other->_has_bits_[0]);
36370 _internal_metadata_.Swap(&other->_internal_metadata_);
36371}
36372
36373::google::protobuf::Metadata UpdatePipelineRequestProto::GetMetadata() const {
36374 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
36375 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
36376}
36377
36378
36379// ===================================================================
36380
36381void UpdatePipelineResponseProto::InitAsDefaultInstance() {
36382}
36383#if !defined(_MSC_VER) || _MSC_VER >= 1900
36384#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
36385
36386UpdatePipelineResponseProto::UpdatePipelineResponseProto()
36387 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
36388 ::google::protobuf::internal::InitSCC(
36389 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_UpdatePipelineResponseProto.base);
36390 SharedCtor();
36391 // @@protoc_insertion_point(constructor:Hdfs.Internal.UpdatePipelineResponseProto)
36392}
36393UpdatePipelineResponseProto::UpdatePipelineResponseProto(const UpdatePipelineResponseProto& from)
36394 : ::google::protobuf::Message(),
36395 _internal_metadata_(NULL),
36396 _has_bits_(from._has_bits_) {
36397 _internal_metadata_.MergeFrom(from._internal_metadata_);
36398 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.UpdatePipelineResponseProto)
36399}
36400
36401void UpdatePipelineResponseProto::SharedCtor() {
36402}
36403
36404UpdatePipelineResponseProto::~UpdatePipelineResponseProto() {
36405 // @@protoc_insertion_point(destructor:Hdfs.Internal.UpdatePipelineResponseProto)
36406 SharedDtor();
36407}
36408
36409void UpdatePipelineResponseProto::SharedDtor() {
36410}
36411
36412void UpdatePipelineResponseProto::SetCachedSize(int size) const {
36413 _cached_size_.Set(size);
36414}
36415const ::google::protobuf::Descriptor* UpdatePipelineResponseProto::descriptor() {
36416 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
36417 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
36418}
36419
36420const UpdatePipelineResponseProto& UpdatePipelineResponseProto::default_instance() {
36421 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_UpdatePipelineResponseProto.base);
36422 return *internal_default_instance();
36423}
36424
36425
36426void UpdatePipelineResponseProto::Clear() {
36427// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.UpdatePipelineResponseProto)
36428 ::google::protobuf::uint32 cached_has_bits = 0;
36429 // Prevent compiler warnings about cached_has_bits being unused
36430 (void) cached_has_bits;
36431
36432 _has_bits_.Clear();
36433 _internal_metadata_.Clear();
36434}
36435
36436bool UpdatePipelineResponseProto::MergePartialFromCodedStream(
36437 ::google::protobuf::io::CodedInputStream* input) {
36438#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
36439 ::google::protobuf::uint32 tag;
36440 // @@protoc_insertion_point(parse_start:Hdfs.Internal.UpdatePipelineResponseProto)
36441 for (;;) {
36442 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
36443 tag = p.first;
36444 if (!p.second) goto handle_unusual;
36445 handle_unusual:
36446 if (tag == 0) {
36447 goto success;
36448 }
36449 DO_(::google::protobuf::internal::WireFormat::SkipField(
36450 input, tag, _internal_metadata_.mutable_unknown_fields()));
36451 }
36452success:
36453 // @@protoc_insertion_point(parse_success:Hdfs.Internal.UpdatePipelineResponseProto)
36454 return true;
36455failure:
36456 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.UpdatePipelineResponseProto)
36457 return false;
36458#undef DO_
36459}
36460
36461void UpdatePipelineResponseProto::SerializeWithCachedSizes(
36462 ::google::protobuf::io::CodedOutputStream* output) const {
36463 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.UpdatePipelineResponseProto)
36464 ::google::protobuf::uint32 cached_has_bits = 0;
36465 (void) cached_has_bits;
36466
36467 if (_internal_metadata_.have_unknown_fields()) {
36468 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
36469 _internal_metadata_.unknown_fields(), output);
36470 }
36471 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.UpdatePipelineResponseProto)
36472}
36473
36474::google::protobuf::uint8* UpdatePipelineResponseProto::InternalSerializeWithCachedSizesToArray(
36475 bool deterministic, ::google::protobuf::uint8* target) const {
36476 (void)deterministic; // Unused
36477 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.UpdatePipelineResponseProto)
36478 ::google::protobuf::uint32 cached_has_bits = 0;
36479 (void) cached_has_bits;
36480
36481 if (_internal_metadata_.have_unknown_fields()) {
36482 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
36483 _internal_metadata_.unknown_fields(), target);
36484 }
36485 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.UpdatePipelineResponseProto)
36486 return target;
36487}
36488
36489size_t UpdatePipelineResponseProto::ByteSizeLong() const {
36490// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.UpdatePipelineResponseProto)
36491 size_t total_size = 0;
36492
36493 if (_internal_metadata_.have_unknown_fields()) {
36494 total_size +=
36495 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
36496 _internal_metadata_.unknown_fields());
36497 }
36498 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
36499 SetCachedSize(cached_size);
36500 return total_size;
36501}
36502
36503void UpdatePipelineResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
36504// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.UpdatePipelineResponseProto)
36505 GOOGLE_DCHECK_NE(&from, this);
36506 const UpdatePipelineResponseProto* source =
36507 ::google::protobuf::internal::DynamicCastToGenerated<const UpdatePipelineResponseProto>(
36508 &from);
36509 if (source == NULL) {
36510 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.UpdatePipelineResponseProto)
36511 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
36512 } else {
36513 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.UpdatePipelineResponseProto)
36514 MergeFrom(*source);
36515 }
36516}
36517
36518void UpdatePipelineResponseProto::MergeFrom(const UpdatePipelineResponseProto& from) {
36519// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.UpdatePipelineResponseProto)
36520 GOOGLE_DCHECK_NE(&from, this);
36521 _internal_metadata_.MergeFrom(from._internal_metadata_);
36522 ::google::protobuf::uint32 cached_has_bits = 0;
36523 (void) cached_has_bits;
36524
36525}
36526
36527void UpdatePipelineResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
36528// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.UpdatePipelineResponseProto)
36529 if (&from == this) return;
36530 Clear();
36531 MergeFrom(from);
36532}
36533
36534void UpdatePipelineResponseProto::CopyFrom(const UpdatePipelineResponseProto& from) {
36535// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.UpdatePipelineResponseProto)
36536 if (&from == this) return;
36537 Clear();
36538 MergeFrom(from);
36539}
36540
36541bool UpdatePipelineResponseProto::IsInitialized() const {
36542 return true;
36543}
36544
36545void UpdatePipelineResponseProto::Swap(UpdatePipelineResponseProto* other) {
36546 if (other == this) return;
36547 InternalSwap(other);
36548}
36549void UpdatePipelineResponseProto::InternalSwap(UpdatePipelineResponseProto* other) {
36550 using std::swap;
36551 swap(_has_bits_[0], other->_has_bits_[0]);
36552 _internal_metadata_.Swap(&other->_internal_metadata_);
36553}
36554
36555::google::protobuf::Metadata UpdatePipelineResponseProto::GetMetadata() const {
36556 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
36557 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
36558}
36559
36560
36561// ===================================================================
36562
36563void SetBalancerBandwidthRequestProto::InitAsDefaultInstance() {
36564}
36565#if !defined(_MSC_VER) || _MSC_VER >= 1900
36566const int SetBalancerBandwidthRequestProto::kBandwidthFieldNumber;
36567#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
36568
36569SetBalancerBandwidthRequestProto::SetBalancerBandwidthRequestProto()
36570 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
36571 ::google::protobuf::internal::InitSCC(
36572 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetBalancerBandwidthRequestProto.base);
36573 SharedCtor();
36574 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36575}
36576SetBalancerBandwidthRequestProto::SetBalancerBandwidthRequestProto(const SetBalancerBandwidthRequestProto& from)
36577 : ::google::protobuf::Message(),
36578 _internal_metadata_(NULL),
36579 _has_bits_(from._has_bits_) {
36580 _internal_metadata_.MergeFrom(from._internal_metadata_);
36581 bandwidth_ = from.bandwidth_;
36582 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36583}
36584
36585void SetBalancerBandwidthRequestProto::SharedCtor() {
36586 bandwidth_ = GOOGLE_LONGLONG(0);
36587}
36588
36589SetBalancerBandwidthRequestProto::~SetBalancerBandwidthRequestProto() {
36590 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36591 SharedDtor();
36592}
36593
36594void SetBalancerBandwidthRequestProto::SharedDtor() {
36595}
36596
36597void SetBalancerBandwidthRequestProto::SetCachedSize(int size) const {
36598 _cached_size_.Set(size);
36599}
36600const ::google::protobuf::Descriptor* SetBalancerBandwidthRequestProto::descriptor() {
36601 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
36602 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
36603}
36604
36605const SetBalancerBandwidthRequestProto& SetBalancerBandwidthRequestProto::default_instance() {
36606 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetBalancerBandwidthRequestProto.base);
36607 return *internal_default_instance();
36608}
36609
36610
36611void SetBalancerBandwidthRequestProto::Clear() {
36612// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36613 ::google::protobuf::uint32 cached_has_bits = 0;
36614 // Prevent compiler warnings about cached_has_bits being unused
36615 (void) cached_has_bits;
36616
36617 bandwidth_ = GOOGLE_LONGLONG(0);
36618 _has_bits_.Clear();
36619 _internal_metadata_.Clear();
36620}
36621
36622bool SetBalancerBandwidthRequestProto::MergePartialFromCodedStream(
36623 ::google::protobuf::io::CodedInputStream* input) {
36624#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
36625 ::google::protobuf::uint32 tag;
36626 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36627 for (;;) {
36628 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
36629 tag = p.first;
36630 if (!p.second) goto handle_unusual;
36631 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
36632 // required int64 bandwidth = 1;
36633 case 1: {
36634 if (static_cast< ::google::protobuf::uint8>(tag) ==
36635 static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
36636 set_has_bandwidth();
36637 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
36638 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
36639 input, &bandwidth_)));
36640 } else {
36641 goto handle_unusual;
36642 }
36643 break;
36644 }
36645
36646 default: {
36647 handle_unusual:
36648 if (tag == 0) {
36649 goto success;
36650 }
36651 DO_(::google::protobuf::internal::WireFormat::SkipField(
36652 input, tag, _internal_metadata_.mutable_unknown_fields()));
36653 break;
36654 }
36655 }
36656 }
36657success:
36658 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36659 return true;
36660failure:
36661 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36662 return false;
36663#undef DO_
36664}
36665
36666void SetBalancerBandwidthRequestProto::SerializeWithCachedSizes(
36667 ::google::protobuf::io::CodedOutputStream* output) const {
36668 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36669 ::google::protobuf::uint32 cached_has_bits = 0;
36670 (void) cached_has_bits;
36671
36672 cached_has_bits = _has_bits_[0];
36673 // required int64 bandwidth = 1;
36674 if (cached_has_bits & 0x00000001u) {
36675 ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->bandwidth(), output);
36676 }
36677
36678 if (_internal_metadata_.have_unknown_fields()) {
36679 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
36680 _internal_metadata_.unknown_fields(), output);
36681 }
36682 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36683}
36684
36685::google::protobuf::uint8* SetBalancerBandwidthRequestProto::InternalSerializeWithCachedSizesToArray(
36686 bool deterministic, ::google::protobuf::uint8* target) const {
36687 (void)deterministic; // Unused
36688 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36689 ::google::protobuf::uint32 cached_has_bits = 0;
36690 (void) cached_has_bits;
36691
36692 cached_has_bits = _has_bits_[0];
36693 // required int64 bandwidth = 1;
36694 if (cached_has_bits & 0x00000001u) {
36695 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->bandwidth(), target);
36696 }
36697
36698 if (_internal_metadata_.have_unknown_fields()) {
36699 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
36700 _internal_metadata_.unknown_fields(), target);
36701 }
36702 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36703 return target;
36704}
36705
36706size_t SetBalancerBandwidthRequestProto::ByteSizeLong() const {
36707// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36708 size_t total_size = 0;
36709
36710 if (_internal_metadata_.have_unknown_fields()) {
36711 total_size +=
36712 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
36713 _internal_metadata_.unknown_fields());
36714 }
36715 // required int64 bandwidth = 1;
36716 if (has_bandwidth()) {
36717 total_size += 1 +
36718 ::google::protobuf::internal::WireFormatLite::Int64Size(
36719 this->bandwidth());
36720 }
36721 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
36722 SetCachedSize(cached_size);
36723 return total_size;
36724}
36725
36726void SetBalancerBandwidthRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
36727// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36728 GOOGLE_DCHECK_NE(&from, this);
36729 const SetBalancerBandwidthRequestProto* source =
36730 ::google::protobuf::internal::DynamicCastToGenerated<const SetBalancerBandwidthRequestProto>(
36731 &from);
36732 if (source == NULL) {
36733 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36734 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
36735 } else {
36736 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36737 MergeFrom(*source);
36738 }
36739}
36740
36741void SetBalancerBandwidthRequestProto::MergeFrom(const SetBalancerBandwidthRequestProto& from) {
36742// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36743 GOOGLE_DCHECK_NE(&from, this);
36744 _internal_metadata_.MergeFrom(from._internal_metadata_);
36745 ::google::protobuf::uint32 cached_has_bits = 0;
36746 (void) cached_has_bits;
36747
36748 if (from.has_bandwidth()) {
36749 set_bandwidth(from.bandwidth());
36750 }
36751}
36752
36753void SetBalancerBandwidthRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
36754// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36755 if (&from == this) return;
36756 Clear();
36757 MergeFrom(from);
36758}
36759
36760void SetBalancerBandwidthRequestProto::CopyFrom(const SetBalancerBandwidthRequestProto& from) {
36761// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetBalancerBandwidthRequestProto)
36762 if (&from == this) return;
36763 Clear();
36764 MergeFrom(from);
36765}
36766
36767bool SetBalancerBandwidthRequestProto::IsInitialized() const {
36768 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
36769 return true;
36770}
36771
36772void SetBalancerBandwidthRequestProto::Swap(SetBalancerBandwidthRequestProto* other) {
36773 if (other == this) return;
36774 InternalSwap(other);
36775}
36776void SetBalancerBandwidthRequestProto::InternalSwap(SetBalancerBandwidthRequestProto* other) {
36777 using std::swap;
36778 swap(bandwidth_, other->bandwidth_);
36779 swap(_has_bits_[0], other->_has_bits_[0]);
36780 _internal_metadata_.Swap(&other->_internal_metadata_);
36781}
36782
36783::google::protobuf::Metadata SetBalancerBandwidthRequestProto::GetMetadata() const {
36784 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
36785 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
36786}
36787
36788
36789// ===================================================================
36790
36791void SetBalancerBandwidthResponseProto::InitAsDefaultInstance() {
36792}
36793#if !defined(_MSC_VER) || _MSC_VER >= 1900
36794#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
36795
36796SetBalancerBandwidthResponseProto::SetBalancerBandwidthResponseProto()
36797 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
36798 ::google::protobuf::internal::InitSCC(
36799 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetBalancerBandwidthResponseProto.base);
36800 SharedCtor();
36801 // @@protoc_insertion_point(constructor:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36802}
36803SetBalancerBandwidthResponseProto::SetBalancerBandwidthResponseProto(const SetBalancerBandwidthResponseProto& from)
36804 : ::google::protobuf::Message(),
36805 _internal_metadata_(NULL),
36806 _has_bits_(from._has_bits_) {
36807 _internal_metadata_.MergeFrom(from._internal_metadata_);
36808 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36809}
36810
36811void SetBalancerBandwidthResponseProto::SharedCtor() {
36812}
36813
36814SetBalancerBandwidthResponseProto::~SetBalancerBandwidthResponseProto() {
36815 // @@protoc_insertion_point(destructor:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36816 SharedDtor();
36817}
36818
36819void SetBalancerBandwidthResponseProto::SharedDtor() {
36820}
36821
36822void SetBalancerBandwidthResponseProto::SetCachedSize(int size) const {
36823 _cached_size_.Set(size);
36824}
36825const ::google::protobuf::Descriptor* SetBalancerBandwidthResponseProto::descriptor() {
36826 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
36827 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
36828}
36829
36830const SetBalancerBandwidthResponseProto& SetBalancerBandwidthResponseProto::default_instance() {
36831 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_SetBalancerBandwidthResponseProto.base);
36832 return *internal_default_instance();
36833}
36834
36835
36836void SetBalancerBandwidthResponseProto::Clear() {
36837// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36838 ::google::protobuf::uint32 cached_has_bits = 0;
36839 // Prevent compiler warnings about cached_has_bits being unused
36840 (void) cached_has_bits;
36841
36842 _has_bits_.Clear();
36843 _internal_metadata_.Clear();
36844}
36845
36846bool SetBalancerBandwidthResponseProto::MergePartialFromCodedStream(
36847 ::google::protobuf::io::CodedInputStream* input) {
36848#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
36849 ::google::protobuf::uint32 tag;
36850 // @@protoc_insertion_point(parse_start:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36851 for (;;) {
36852 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
36853 tag = p.first;
36854 if (!p.second) goto handle_unusual;
36855 handle_unusual:
36856 if (tag == 0) {
36857 goto success;
36858 }
36859 DO_(::google::protobuf::internal::WireFormat::SkipField(
36860 input, tag, _internal_metadata_.mutable_unknown_fields()));
36861 }
36862success:
36863 // @@protoc_insertion_point(parse_success:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36864 return true;
36865failure:
36866 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36867 return false;
36868#undef DO_
36869}
36870
36871void SetBalancerBandwidthResponseProto::SerializeWithCachedSizes(
36872 ::google::protobuf::io::CodedOutputStream* output) const {
36873 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36874 ::google::protobuf::uint32 cached_has_bits = 0;
36875 (void) cached_has_bits;
36876
36877 if (_internal_metadata_.have_unknown_fields()) {
36878 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
36879 _internal_metadata_.unknown_fields(), output);
36880 }
36881 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36882}
36883
36884::google::protobuf::uint8* SetBalancerBandwidthResponseProto::InternalSerializeWithCachedSizesToArray(
36885 bool deterministic, ::google::protobuf::uint8* target) const {
36886 (void)deterministic; // Unused
36887 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36888 ::google::protobuf::uint32 cached_has_bits = 0;
36889 (void) cached_has_bits;
36890
36891 if (_internal_metadata_.have_unknown_fields()) {
36892 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
36893 _internal_metadata_.unknown_fields(), target);
36894 }
36895 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36896 return target;
36897}
36898
36899size_t SetBalancerBandwidthResponseProto::ByteSizeLong() const {
36900// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36901 size_t total_size = 0;
36902
36903 if (_internal_metadata_.have_unknown_fields()) {
36904 total_size +=
36905 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
36906 _internal_metadata_.unknown_fields());
36907 }
36908 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
36909 SetCachedSize(cached_size);
36910 return total_size;
36911}
36912
36913void SetBalancerBandwidthResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
36914// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36915 GOOGLE_DCHECK_NE(&from, this);
36916 const SetBalancerBandwidthResponseProto* source =
36917 ::google::protobuf::internal::DynamicCastToGenerated<const SetBalancerBandwidthResponseProto>(
36918 &from);
36919 if (source == NULL) {
36920 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36921 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
36922 } else {
36923 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36924 MergeFrom(*source);
36925 }
36926}
36927
36928void SetBalancerBandwidthResponseProto::MergeFrom(const SetBalancerBandwidthResponseProto& from) {
36929// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36930 GOOGLE_DCHECK_NE(&from, this);
36931 _internal_metadata_.MergeFrom(from._internal_metadata_);
36932 ::google::protobuf::uint32 cached_has_bits = 0;
36933 (void) cached_has_bits;
36934
36935}
36936
36937void SetBalancerBandwidthResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
36938// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36939 if (&from == this) return;
36940 Clear();
36941 MergeFrom(from);
36942}
36943
36944void SetBalancerBandwidthResponseProto::CopyFrom(const SetBalancerBandwidthResponseProto& from) {
36945// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.SetBalancerBandwidthResponseProto)
36946 if (&from == this) return;
36947 Clear();
36948 MergeFrom(from);
36949}
36950
36951bool SetBalancerBandwidthResponseProto::IsInitialized() const {
36952 return true;
36953}
36954
36955void SetBalancerBandwidthResponseProto::Swap(SetBalancerBandwidthResponseProto* other) {
36956 if (other == this) return;
36957 InternalSwap(other);
36958}
36959void SetBalancerBandwidthResponseProto::InternalSwap(SetBalancerBandwidthResponseProto* other) {
36960 using std::swap;
36961 swap(_has_bits_[0], other->_has_bits_[0]);
36962 _internal_metadata_.Swap(&other->_internal_metadata_);
36963}
36964
36965::google::protobuf::Metadata SetBalancerBandwidthResponseProto::GetMetadata() const {
36966 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
36967 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
36968}
36969
36970
36971// ===================================================================
36972
36973void GetDataEncryptionKeyRequestProto::InitAsDefaultInstance() {
36974}
36975#if !defined(_MSC_VER) || _MSC_VER >= 1900
36976#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
36977
36978GetDataEncryptionKeyRequestProto::GetDataEncryptionKeyRequestProto()
36979 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
36980 ::google::protobuf::internal::InitSCC(
36981 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetDataEncryptionKeyRequestProto.base);
36982 SharedCtor();
36983 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
36984}
36985GetDataEncryptionKeyRequestProto::GetDataEncryptionKeyRequestProto(const GetDataEncryptionKeyRequestProto& from)
36986 : ::google::protobuf::Message(),
36987 _internal_metadata_(NULL),
36988 _has_bits_(from._has_bits_) {
36989 _internal_metadata_.MergeFrom(from._internal_metadata_);
36990 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
36991}
36992
36993void GetDataEncryptionKeyRequestProto::SharedCtor() {
36994}
36995
36996GetDataEncryptionKeyRequestProto::~GetDataEncryptionKeyRequestProto() {
36997 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
36998 SharedDtor();
36999}
37000
37001void GetDataEncryptionKeyRequestProto::SharedDtor() {
37002}
37003
37004void GetDataEncryptionKeyRequestProto::SetCachedSize(int size) const {
37005 _cached_size_.Set(size);
37006}
37007const ::google::protobuf::Descriptor* GetDataEncryptionKeyRequestProto::descriptor() {
37008 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
37009 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
37010}
37011
37012const GetDataEncryptionKeyRequestProto& GetDataEncryptionKeyRequestProto::default_instance() {
37013 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetDataEncryptionKeyRequestProto.base);
37014 return *internal_default_instance();
37015}
37016
37017
37018void GetDataEncryptionKeyRequestProto::Clear() {
37019// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37020 ::google::protobuf::uint32 cached_has_bits = 0;
37021 // Prevent compiler warnings about cached_has_bits being unused
37022 (void) cached_has_bits;
37023
37024 _has_bits_.Clear();
37025 _internal_metadata_.Clear();
37026}
37027
37028bool GetDataEncryptionKeyRequestProto::MergePartialFromCodedStream(
37029 ::google::protobuf::io::CodedInputStream* input) {
37030#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
37031 ::google::protobuf::uint32 tag;
37032 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37033 for (;;) {
37034 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
37035 tag = p.first;
37036 if (!p.second) goto handle_unusual;
37037 handle_unusual:
37038 if (tag == 0) {
37039 goto success;
37040 }
37041 DO_(::google::protobuf::internal::WireFormat::SkipField(
37042 input, tag, _internal_metadata_.mutable_unknown_fields()));
37043 }
37044success:
37045 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37046 return true;
37047failure:
37048 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37049 return false;
37050#undef DO_
37051}
37052
37053void GetDataEncryptionKeyRequestProto::SerializeWithCachedSizes(
37054 ::google::protobuf::io::CodedOutputStream* output) const {
37055 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37056 ::google::protobuf::uint32 cached_has_bits = 0;
37057 (void) cached_has_bits;
37058
37059 if (_internal_metadata_.have_unknown_fields()) {
37060 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
37061 _internal_metadata_.unknown_fields(), output);
37062 }
37063 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37064}
37065
37066::google::protobuf::uint8* GetDataEncryptionKeyRequestProto::InternalSerializeWithCachedSizesToArray(
37067 bool deterministic, ::google::protobuf::uint8* target) const {
37068 (void)deterministic; // Unused
37069 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37070 ::google::protobuf::uint32 cached_has_bits = 0;
37071 (void) cached_has_bits;
37072
37073 if (_internal_metadata_.have_unknown_fields()) {
37074 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
37075 _internal_metadata_.unknown_fields(), target);
37076 }
37077 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37078 return target;
37079}
37080
37081size_t GetDataEncryptionKeyRequestProto::ByteSizeLong() const {
37082// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37083 size_t total_size = 0;
37084
37085 if (_internal_metadata_.have_unknown_fields()) {
37086 total_size +=
37087 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
37088 _internal_metadata_.unknown_fields());
37089 }
37090 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
37091 SetCachedSize(cached_size);
37092 return total_size;
37093}
37094
37095void GetDataEncryptionKeyRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
37096// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37097 GOOGLE_DCHECK_NE(&from, this);
37098 const GetDataEncryptionKeyRequestProto* source =
37099 ::google::protobuf::internal::DynamicCastToGenerated<const GetDataEncryptionKeyRequestProto>(
37100 &from);
37101 if (source == NULL) {
37102 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37103 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
37104 } else {
37105 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37106 MergeFrom(*source);
37107 }
37108}
37109
37110void GetDataEncryptionKeyRequestProto::MergeFrom(const GetDataEncryptionKeyRequestProto& from) {
37111// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37112 GOOGLE_DCHECK_NE(&from, this);
37113 _internal_metadata_.MergeFrom(from._internal_metadata_);
37114 ::google::protobuf::uint32 cached_has_bits = 0;
37115 (void) cached_has_bits;
37116
37117}
37118
37119void GetDataEncryptionKeyRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
37120// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37121 if (&from == this) return;
37122 Clear();
37123 MergeFrom(from);
37124}
37125
37126void GetDataEncryptionKeyRequestProto::CopyFrom(const GetDataEncryptionKeyRequestProto& from) {
37127// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetDataEncryptionKeyRequestProto)
37128 if (&from == this) return;
37129 Clear();
37130 MergeFrom(from);
37131}
37132
37133bool GetDataEncryptionKeyRequestProto::IsInitialized() const {
37134 return true;
37135}
37136
37137void GetDataEncryptionKeyRequestProto::Swap(GetDataEncryptionKeyRequestProto* other) {
37138 if (other == this) return;
37139 InternalSwap(other);
37140}
37141void GetDataEncryptionKeyRequestProto::InternalSwap(GetDataEncryptionKeyRequestProto* other) {
37142 using std::swap;
37143 swap(_has_bits_[0], other->_has_bits_[0]);
37144 _internal_metadata_.Swap(&other->_internal_metadata_);
37145}
37146
37147::google::protobuf::Metadata GetDataEncryptionKeyRequestProto::GetMetadata() const {
37148 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
37149 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
37150}
37151
37152
37153// ===================================================================
37154
37155void GetDataEncryptionKeyResponseProto::InitAsDefaultInstance() {
37156 ::Hdfs::Internal::_GetDataEncryptionKeyResponseProto_default_instance_._instance.get_mutable()->dataencryptionkey_ = const_cast< ::Hdfs::Internal::DataEncryptionKeyProto*>(
37157 ::Hdfs::Internal::DataEncryptionKeyProto::internal_default_instance());
37158}
37159void GetDataEncryptionKeyResponseProto::clear_dataencryptionkey() {
37160 if (dataencryptionkey_ != NULL) dataencryptionkey_->Clear();
37161 clear_has_dataencryptionkey();
37162}
37163#if !defined(_MSC_VER) || _MSC_VER >= 1900
37164const int GetDataEncryptionKeyResponseProto::kDataEncryptionKeyFieldNumber;
37165#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
37166
37167GetDataEncryptionKeyResponseProto::GetDataEncryptionKeyResponseProto()
37168 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
37169 ::google::protobuf::internal::InitSCC(
37170 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetDataEncryptionKeyResponseProto.base);
37171 SharedCtor();
37172 // @@protoc_insertion_point(constructor:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37173}
37174GetDataEncryptionKeyResponseProto::GetDataEncryptionKeyResponseProto(const GetDataEncryptionKeyResponseProto& from)
37175 : ::google::protobuf::Message(),
37176 _internal_metadata_(NULL),
37177 _has_bits_(from._has_bits_) {
37178 _internal_metadata_.MergeFrom(from._internal_metadata_);
37179 if (from.has_dataencryptionkey()) {
37180 dataencryptionkey_ = new ::Hdfs::Internal::DataEncryptionKeyProto(*from.dataencryptionkey_);
37181 } else {
37182 dataencryptionkey_ = NULL;
37183 }
37184 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37185}
37186
37187void GetDataEncryptionKeyResponseProto::SharedCtor() {
37188 dataencryptionkey_ = NULL;
37189}
37190
37191GetDataEncryptionKeyResponseProto::~GetDataEncryptionKeyResponseProto() {
37192 // @@protoc_insertion_point(destructor:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37193 SharedDtor();
37194}
37195
37196void GetDataEncryptionKeyResponseProto::SharedDtor() {
37197 if (this != internal_default_instance()) delete dataencryptionkey_;
37198}
37199
37200void GetDataEncryptionKeyResponseProto::SetCachedSize(int size) const {
37201 _cached_size_.Set(size);
37202}
37203const ::google::protobuf::Descriptor* GetDataEncryptionKeyResponseProto::descriptor() {
37204 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
37205 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
37206}
37207
37208const GetDataEncryptionKeyResponseProto& GetDataEncryptionKeyResponseProto::default_instance() {
37209 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_GetDataEncryptionKeyResponseProto.base);
37210 return *internal_default_instance();
37211}
37212
37213
37214void GetDataEncryptionKeyResponseProto::Clear() {
37215// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37216 ::google::protobuf::uint32 cached_has_bits = 0;
37217 // Prevent compiler warnings about cached_has_bits being unused
37218 (void) cached_has_bits;
37219
37220 cached_has_bits = _has_bits_[0];
37221 if (cached_has_bits & 0x00000001u) {
37222 GOOGLE_DCHECK(dataencryptionkey_ != NULL);
37223 dataencryptionkey_->Clear();
37224 }
37225 _has_bits_.Clear();
37226 _internal_metadata_.Clear();
37227}
37228
37229bool GetDataEncryptionKeyResponseProto::MergePartialFromCodedStream(
37230 ::google::protobuf::io::CodedInputStream* input) {
37231#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
37232 ::google::protobuf::uint32 tag;
37233 // @@protoc_insertion_point(parse_start:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37234 for (;;) {
37235 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
37236 tag = p.first;
37237 if (!p.second) goto handle_unusual;
37238 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
37239 // optional .Hdfs.Internal.DataEncryptionKeyProto dataEncryptionKey = 1;
37240 case 1: {
37241 if (static_cast< ::google::protobuf::uint8>(tag) ==
37242 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
37243 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
37244 input, mutable_dataencryptionkey()));
37245 } else {
37246 goto handle_unusual;
37247 }
37248 break;
37249 }
37250
37251 default: {
37252 handle_unusual:
37253 if (tag == 0) {
37254 goto success;
37255 }
37256 DO_(::google::protobuf::internal::WireFormat::SkipField(
37257 input, tag, _internal_metadata_.mutable_unknown_fields()));
37258 break;
37259 }
37260 }
37261 }
37262success:
37263 // @@protoc_insertion_point(parse_success:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37264 return true;
37265failure:
37266 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37267 return false;
37268#undef DO_
37269}
37270
37271void GetDataEncryptionKeyResponseProto::SerializeWithCachedSizes(
37272 ::google::protobuf::io::CodedOutputStream* output) const {
37273 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37274 ::google::protobuf::uint32 cached_has_bits = 0;
37275 (void) cached_has_bits;
37276
37277 cached_has_bits = _has_bits_[0];
37278 // optional .Hdfs.Internal.DataEncryptionKeyProto dataEncryptionKey = 1;
37279 if (cached_has_bits & 0x00000001u) {
37280 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
37281 1, this->_internal_dataencryptionkey(), output);
37282 }
37283
37284 if (_internal_metadata_.have_unknown_fields()) {
37285 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
37286 _internal_metadata_.unknown_fields(), output);
37287 }
37288 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37289}
37290
37291::google::protobuf::uint8* GetDataEncryptionKeyResponseProto::InternalSerializeWithCachedSizesToArray(
37292 bool deterministic, ::google::protobuf::uint8* target) const {
37293 (void)deterministic; // Unused
37294 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37295 ::google::protobuf::uint32 cached_has_bits = 0;
37296 (void) cached_has_bits;
37297
37298 cached_has_bits = _has_bits_[0];
37299 // optional .Hdfs.Internal.DataEncryptionKeyProto dataEncryptionKey = 1;
37300 if (cached_has_bits & 0x00000001u) {
37301 target = ::google::protobuf::internal::WireFormatLite::
37302 InternalWriteMessageToArray(
37303 1, this->_internal_dataencryptionkey(), deterministic, target);
37304 }
37305
37306 if (_internal_metadata_.have_unknown_fields()) {
37307 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
37308 _internal_metadata_.unknown_fields(), target);
37309 }
37310 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37311 return target;
37312}
37313
37314size_t GetDataEncryptionKeyResponseProto::ByteSizeLong() const {
37315// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37316 size_t total_size = 0;
37317
37318 if (_internal_metadata_.have_unknown_fields()) {
37319 total_size +=
37320 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
37321 _internal_metadata_.unknown_fields());
37322 }
37323 // optional .Hdfs.Internal.DataEncryptionKeyProto dataEncryptionKey = 1;
37324 if (has_dataencryptionkey()) {
37325 total_size += 1 +
37326 ::google::protobuf::internal::WireFormatLite::MessageSize(
37327 *dataencryptionkey_);
37328 }
37329
37330 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
37331 SetCachedSize(cached_size);
37332 return total_size;
37333}
37334
37335void GetDataEncryptionKeyResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
37336// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37337 GOOGLE_DCHECK_NE(&from, this);
37338 const GetDataEncryptionKeyResponseProto* source =
37339 ::google::protobuf::internal::DynamicCastToGenerated<const GetDataEncryptionKeyResponseProto>(
37340 &from);
37341 if (source == NULL) {
37342 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37343 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
37344 } else {
37345 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37346 MergeFrom(*source);
37347 }
37348}
37349
37350void GetDataEncryptionKeyResponseProto::MergeFrom(const GetDataEncryptionKeyResponseProto& from) {
37351// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37352 GOOGLE_DCHECK_NE(&from, this);
37353 _internal_metadata_.MergeFrom(from._internal_metadata_);
37354 ::google::protobuf::uint32 cached_has_bits = 0;
37355 (void) cached_has_bits;
37356
37357 if (from.has_dataencryptionkey()) {
37358 mutable_dataencryptionkey()->::Hdfs::Internal::DataEncryptionKeyProto::MergeFrom(from.dataencryptionkey());
37359 }
37360}
37361
37362void GetDataEncryptionKeyResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
37363// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37364 if (&from == this) return;
37365 Clear();
37366 MergeFrom(from);
37367}
37368
37369void GetDataEncryptionKeyResponseProto::CopyFrom(const GetDataEncryptionKeyResponseProto& from) {
37370// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.GetDataEncryptionKeyResponseProto)
37371 if (&from == this) return;
37372 Clear();
37373 MergeFrom(from);
37374}
37375
37376bool GetDataEncryptionKeyResponseProto::IsInitialized() const {
37377 if (has_dataencryptionkey()) {
37378 if (!this->dataencryptionkey_->IsInitialized()) return false;
37379 }
37380 return true;
37381}
37382
37383void GetDataEncryptionKeyResponseProto::Swap(GetDataEncryptionKeyResponseProto* other) {
37384 if (other == this) return;
37385 InternalSwap(other);
37386}
37387void GetDataEncryptionKeyResponseProto::InternalSwap(GetDataEncryptionKeyResponseProto* other) {
37388 using std::swap;
37389 swap(dataencryptionkey_, other->dataencryptionkey_);
37390 swap(_has_bits_[0], other->_has_bits_[0]);
37391 _internal_metadata_.Swap(&other->_internal_metadata_);
37392}
37393
37394::google::protobuf::Metadata GetDataEncryptionKeyResponseProto::GetMetadata() const {
37395 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
37396 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
37397}
37398
37399
37400// ===================================================================
37401
37402void CreateSnapshotRequestProto::InitAsDefaultInstance() {
37403}
37404#if !defined(_MSC_VER) || _MSC_VER >= 1900
37405const int CreateSnapshotRequestProto::kSnapshotRootFieldNumber;
37406const int CreateSnapshotRequestProto::kSnapshotNameFieldNumber;
37407#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
37408
37409CreateSnapshotRequestProto::CreateSnapshotRequestProto()
37410 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
37411 ::google::protobuf::internal::InitSCC(
37412 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CreateSnapshotRequestProto.base);
37413 SharedCtor();
37414 // @@protoc_insertion_point(constructor:Hdfs.Internal.CreateSnapshotRequestProto)
37415}
37416CreateSnapshotRequestProto::CreateSnapshotRequestProto(const CreateSnapshotRequestProto& from)
37417 : ::google::protobuf::Message(),
37418 _internal_metadata_(NULL),
37419 _has_bits_(from._has_bits_) {
37420 _internal_metadata_.MergeFrom(from._internal_metadata_);
37421 snapshotroot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
37422 if (from.has_snapshotroot()) {
37423 snapshotroot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotroot_);
37424 }
37425 snapshotname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
37426 if (from.has_snapshotname()) {
37427 snapshotname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotname_);
37428 }
37429 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CreateSnapshotRequestProto)
37430}
37431
37432void CreateSnapshotRequestProto::SharedCtor() {
37433 snapshotroot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
37434 snapshotname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
37435}
37436
37437CreateSnapshotRequestProto::~CreateSnapshotRequestProto() {
37438 // @@protoc_insertion_point(destructor:Hdfs.Internal.CreateSnapshotRequestProto)
37439 SharedDtor();
37440}
37441
37442void CreateSnapshotRequestProto::SharedDtor() {
37443 snapshotroot_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
37444 snapshotname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
37445}
37446
37447void CreateSnapshotRequestProto::SetCachedSize(int size) const {
37448 _cached_size_.Set(size);
37449}
37450const ::google::protobuf::Descriptor* CreateSnapshotRequestProto::descriptor() {
37451 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
37452 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
37453}
37454
37455const CreateSnapshotRequestProto& CreateSnapshotRequestProto::default_instance() {
37456 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CreateSnapshotRequestProto.base);
37457 return *internal_default_instance();
37458}
37459
37460
37461void CreateSnapshotRequestProto::Clear() {
37462// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CreateSnapshotRequestProto)
37463 ::google::protobuf::uint32 cached_has_bits = 0;
37464 // Prevent compiler warnings about cached_has_bits being unused
37465 (void) cached_has_bits;
37466
37467 cached_has_bits = _has_bits_[0];
37468 if (cached_has_bits & 3u) {
37469 if (cached_has_bits & 0x00000001u) {
37470 snapshotroot_.ClearNonDefaultToEmptyNoArena();
37471 }
37472 if (cached_has_bits & 0x00000002u) {
37473 snapshotname_.ClearNonDefaultToEmptyNoArena();
37474 }
37475 }
37476 _has_bits_.Clear();
37477 _internal_metadata_.Clear();
37478}
37479
37480bool CreateSnapshotRequestProto::MergePartialFromCodedStream(
37481 ::google::protobuf::io::CodedInputStream* input) {
37482#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
37483 ::google::protobuf::uint32 tag;
37484 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CreateSnapshotRequestProto)
37485 for (;;) {
37486 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
37487 tag = p.first;
37488 if (!p.second) goto handle_unusual;
37489 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
37490 // required string snapshotRoot = 1;
37491 case 1: {
37492 if (static_cast< ::google::protobuf::uint8>(tag) ==
37493 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
37494 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
37495 input, this->mutable_snapshotroot()));
37496 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
37497 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
37498 ::google::protobuf::internal::WireFormat::PARSE,
37499 "Hdfs.Internal.CreateSnapshotRequestProto.snapshotRoot");
37500 } else {
37501 goto handle_unusual;
37502 }
37503 break;
37504 }
37505
37506 // optional string snapshotName = 2;
37507 case 2: {
37508 if (static_cast< ::google::protobuf::uint8>(tag) ==
37509 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
37510 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
37511 input, this->mutable_snapshotname()));
37512 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
37513 this->snapshotname().data(), static_cast<int>(this->snapshotname().length()),
37514 ::google::protobuf::internal::WireFormat::PARSE,
37515 "Hdfs.Internal.CreateSnapshotRequestProto.snapshotName");
37516 } else {
37517 goto handle_unusual;
37518 }
37519 break;
37520 }
37521
37522 default: {
37523 handle_unusual:
37524 if (tag == 0) {
37525 goto success;
37526 }
37527 DO_(::google::protobuf::internal::WireFormat::SkipField(
37528 input, tag, _internal_metadata_.mutable_unknown_fields()));
37529 break;
37530 }
37531 }
37532 }
37533success:
37534 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CreateSnapshotRequestProto)
37535 return true;
37536failure:
37537 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CreateSnapshotRequestProto)
37538 return false;
37539#undef DO_
37540}
37541
37542void CreateSnapshotRequestProto::SerializeWithCachedSizes(
37543 ::google::protobuf::io::CodedOutputStream* output) const {
37544 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CreateSnapshotRequestProto)
37545 ::google::protobuf::uint32 cached_has_bits = 0;
37546 (void) cached_has_bits;
37547
37548 cached_has_bits = _has_bits_[0];
37549 // required string snapshotRoot = 1;
37550 if (cached_has_bits & 0x00000001u) {
37551 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
37552 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
37553 ::google::protobuf::internal::WireFormat::SERIALIZE,
37554 "Hdfs.Internal.CreateSnapshotRequestProto.snapshotRoot");
37555 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
37556 1, this->snapshotroot(), output);
37557 }
37558
37559 // optional string snapshotName = 2;
37560 if (cached_has_bits & 0x00000002u) {
37561 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
37562 this->snapshotname().data(), static_cast<int>(this->snapshotname().length()),
37563 ::google::protobuf::internal::WireFormat::SERIALIZE,
37564 "Hdfs.Internal.CreateSnapshotRequestProto.snapshotName");
37565 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
37566 2, this->snapshotname(), output);
37567 }
37568
37569 if (_internal_metadata_.have_unknown_fields()) {
37570 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
37571 _internal_metadata_.unknown_fields(), output);
37572 }
37573 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CreateSnapshotRequestProto)
37574}
37575
37576::google::protobuf::uint8* CreateSnapshotRequestProto::InternalSerializeWithCachedSizesToArray(
37577 bool deterministic, ::google::protobuf::uint8* target) const {
37578 (void)deterministic; // Unused
37579 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CreateSnapshotRequestProto)
37580 ::google::protobuf::uint32 cached_has_bits = 0;
37581 (void) cached_has_bits;
37582
37583 cached_has_bits = _has_bits_[0];
37584 // required string snapshotRoot = 1;
37585 if (cached_has_bits & 0x00000001u) {
37586 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
37587 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
37588 ::google::protobuf::internal::WireFormat::SERIALIZE,
37589 "Hdfs.Internal.CreateSnapshotRequestProto.snapshotRoot");
37590 target =
37591 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
37592 1, this->snapshotroot(), target);
37593 }
37594
37595 // optional string snapshotName = 2;
37596 if (cached_has_bits & 0x00000002u) {
37597 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
37598 this->snapshotname().data(), static_cast<int>(this->snapshotname().length()),
37599 ::google::protobuf::internal::WireFormat::SERIALIZE,
37600 "Hdfs.Internal.CreateSnapshotRequestProto.snapshotName");
37601 target =
37602 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
37603 2, this->snapshotname(), target);
37604 }
37605
37606 if (_internal_metadata_.have_unknown_fields()) {
37607 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
37608 _internal_metadata_.unknown_fields(), target);
37609 }
37610 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CreateSnapshotRequestProto)
37611 return target;
37612}
37613
37614size_t CreateSnapshotRequestProto::ByteSizeLong() const {
37615// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CreateSnapshotRequestProto)
37616 size_t total_size = 0;
37617
37618 if (_internal_metadata_.have_unknown_fields()) {
37619 total_size +=
37620 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
37621 _internal_metadata_.unknown_fields());
37622 }
37623 // required string snapshotRoot = 1;
37624 if (has_snapshotroot()) {
37625 total_size += 1 +
37626 ::google::protobuf::internal::WireFormatLite::StringSize(
37627 this->snapshotroot());
37628 }
37629 // optional string snapshotName = 2;
37630 if (has_snapshotname()) {
37631 total_size += 1 +
37632 ::google::protobuf::internal::WireFormatLite::StringSize(
37633 this->snapshotname());
37634 }
37635
37636 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
37637 SetCachedSize(cached_size);
37638 return total_size;
37639}
37640
37641void CreateSnapshotRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
37642// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CreateSnapshotRequestProto)
37643 GOOGLE_DCHECK_NE(&from, this);
37644 const CreateSnapshotRequestProto* source =
37645 ::google::protobuf::internal::DynamicCastToGenerated<const CreateSnapshotRequestProto>(
37646 &from);
37647 if (source == NULL) {
37648 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CreateSnapshotRequestProto)
37649 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
37650 } else {
37651 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CreateSnapshotRequestProto)
37652 MergeFrom(*source);
37653 }
37654}
37655
37656void CreateSnapshotRequestProto::MergeFrom(const CreateSnapshotRequestProto& from) {
37657// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CreateSnapshotRequestProto)
37658 GOOGLE_DCHECK_NE(&from, this);
37659 _internal_metadata_.MergeFrom(from._internal_metadata_);
37660 ::google::protobuf::uint32 cached_has_bits = 0;
37661 (void) cached_has_bits;
37662
37663 cached_has_bits = from._has_bits_[0];
37664 if (cached_has_bits & 3u) {
37665 if (cached_has_bits & 0x00000001u) {
37666 set_has_snapshotroot();
37667 snapshotroot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotroot_);
37668 }
37669 if (cached_has_bits & 0x00000002u) {
37670 set_has_snapshotname();
37671 snapshotname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotname_);
37672 }
37673 }
37674}
37675
37676void CreateSnapshotRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
37677// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CreateSnapshotRequestProto)
37678 if (&from == this) return;
37679 Clear();
37680 MergeFrom(from);
37681}
37682
37683void CreateSnapshotRequestProto::CopyFrom(const CreateSnapshotRequestProto& from) {
37684// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CreateSnapshotRequestProto)
37685 if (&from == this) return;
37686 Clear();
37687 MergeFrom(from);
37688}
37689
37690bool CreateSnapshotRequestProto::IsInitialized() const {
37691 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
37692 return true;
37693}
37694
37695void CreateSnapshotRequestProto::Swap(CreateSnapshotRequestProto* other) {
37696 if (other == this) return;
37697 InternalSwap(other);
37698}
37699void CreateSnapshotRequestProto::InternalSwap(CreateSnapshotRequestProto* other) {
37700 using std::swap;
37701 snapshotroot_.Swap(&other->snapshotroot_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
37702 GetArenaNoVirtual());
37703 snapshotname_.Swap(&other->snapshotname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
37704 GetArenaNoVirtual());
37705 swap(_has_bits_[0], other->_has_bits_[0]);
37706 _internal_metadata_.Swap(&other->_internal_metadata_);
37707}
37708
37709::google::protobuf::Metadata CreateSnapshotRequestProto::GetMetadata() const {
37710 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
37711 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
37712}
37713
37714
37715// ===================================================================
37716
37717void CreateSnapshotResponseProto::InitAsDefaultInstance() {
37718}
37719#if !defined(_MSC_VER) || _MSC_VER >= 1900
37720const int CreateSnapshotResponseProto::kSnapshotPathFieldNumber;
37721#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
37722
37723CreateSnapshotResponseProto::CreateSnapshotResponseProto()
37724 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
37725 ::google::protobuf::internal::InitSCC(
37726 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_CreateSnapshotResponseProto.base);
37727 SharedCtor();
37728 // @@protoc_insertion_point(constructor:Hdfs.Internal.CreateSnapshotResponseProto)
37729}
37730CreateSnapshotResponseProto::CreateSnapshotResponseProto(const CreateSnapshotResponseProto& from)
37731 : ::google::protobuf::Message(),
37732 _internal_metadata_(NULL),
37733 _has_bits_(from._has_bits_) {
37734 _internal_metadata_.MergeFrom(from._internal_metadata_);
37735 snapshotpath_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
37736 if (from.has_snapshotpath()) {
37737 snapshotpath_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotpath_);
37738 }
37739 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.CreateSnapshotResponseProto)
37740}
37741
37742void CreateSnapshotResponseProto::SharedCtor() {
37743 snapshotpath_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
37744}
37745
37746CreateSnapshotResponseProto::~CreateSnapshotResponseProto() {
37747 // @@protoc_insertion_point(destructor:Hdfs.Internal.CreateSnapshotResponseProto)
37748 SharedDtor();
37749}
37750
37751void CreateSnapshotResponseProto::SharedDtor() {
37752 snapshotpath_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
37753}
37754
37755void CreateSnapshotResponseProto::SetCachedSize(int size) const {
37756 _cached_size_.Set(size);
37757}
37758const ::google::protobuf::Descriptor* CreateSnapshotResponseProto::descriptor() {
37759 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
37760 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
37761}
37762
37763const CreateSnapshotResponseProto& CreateSnapshotResponseProto::default_instance() {
37764 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_CreateSnapshotResponseProto.base);
37765 return *internal_default_instance();
37766}
37767
37768
37769void CreateSnapshotResponseProto::Clear() {
37770// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.CreateSnapshotResponseProto)
37771 ::google::protobuf::uint32 cached_has_bits = 0;
37772 // Prevent compiler warnings about cached_has_bits being unused
37773 (void) cached_has_bits;
37774
37775 cached_has_bits = _has_bits_[0];
37776 if (cached_has_bits & 0x00000001u) {
37777 snapshotpath_.ClearNonDefaultToEmptyNoArena();
37778 }
37779 _has_bits_.Clear();
37780 _internal_metadata_.Clear();
37781}
37782
37783bool CreateSnapshotResponseProto::MergePartialFromCodedStream(
37784 ::google::protobuf::io::CodedInputStream* input) {
37785#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
37786 ::google::protobuf::uint32 tag;
37787 // @@protoc_insertion_point(parse_start:Hdfs.Internal.CreateSnapshotResponseProto)
37788 for (;;) {
37789 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
37790 tag = p.first;
37791 if (!p.second) goto handle_unusual;
37792 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
37793 // required string snapshotPath = 1;
37794 case 1: {
37795 if (static_cast< ::google::protobuf::uint8>(tag) ==
37796 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
37797 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
37798 input, this->mutable_snapshotpath()));
37799 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
37800 this->snapshotpath().data(), static_cast<int>(this->snapshotpath().length()),
37801 ::google::protobuf::internal::WireFormat::PARSE,
37802 "Hdfs.Internal.CreateSnapshotResponseProto.snapshotPath");
37803 } else {
37804 goto handle_unusual;
37805 }
37806 break;
37807 }
37808
37809 default: {
37810 handle_unusual:
37811 if (tag == 0) {
37812 goto success;
37813 }
37814 DO_(::google::protobuf::internal::WireFormat::SkipField(
37815 input, tag, _internal_metadata_.mutable_unknown_fields()));
37816 break;
37817 }
37818 }
37819 }
37820success:
37821 // @@protoc_insertion_point(parse_success:Hdfs.Internal.CreateSnapshotResponseProto)
37822 return true;
37823failure:
37824 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.CreateSnapshotResponseProto)
37825 return false;
37826#undef DO_
37827}
37828
37829void CreateSnapshotResponseProto::SerializeWithCachedSizes(
37830 ::google::protobuf::io::CodedOutputStream* output) const {
37831 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.CreateSnapshotResponseProto)
37832 ::google::protobuf::uint32 cached_has_bits = 0;
37833 (void) cached_has_bits;
37834
37835 cached_has_bits = _has_bits_[0];
37836 // required string snapshotPath = 1;
37837 if (cached_has_bits & 0x00000001u) {
37838 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
37839 this->snapshotpath().data(), static_cast<int>(this->snapshotpath().length()),
37840 ::google::protobuf::internal::WireFormat::SERIALIZE,
37841 "Hdfs.Internal.CreateSnapshotResponseProto.snapshotPath");
37842 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
37843 1, this->snapshotpath(), output);
37844 }
37845
37846 if (_internal_metadata_.have_unknown_fields()) {
37847 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
37848 _internal_metadata_.unknown_fields(), output);
37849 }
37850 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.CreateSnapshotResponseProto)
37851}
37852
37853::google::protobuf::uint8* CreateSnapshotResponseProto::InternalSerializeWithCachedSizesToArray(
37854 bool deterministic, ::google::protobuf::uint8* target) const {
37855 (void)deterministic; // Unused
37856 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.CreateSnapshotResponseProto)
37857 ::google::protobuf::uint32 cached_has_bits = 0;
37858 (void) cached_has_bits;
37859
37860 cached_has_bits = _has_bits_[0];
37861 // required string snapshotPath = 1;
37862 if (cached_has_bits & 0x00000001u) {
37863 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
37864 this->snapshotpath().data(), static_cast<int>(this->snapshotpath().length()),
37865 ::google::protobuf::internal::WireFormat::SERIALIZE,
37866 "Hdfs.Internal.CreateSnapshotResponseProto.snapshotPath");
37867 target =
37868 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
37869 1, this->snapshotpath(), target);
37870 }
37871
37872 if (_internal_metadata_.have_unknown_fields()) {
37873 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
37874 _internal_metadata_.unknown_fields(), target);
37875 }
37876 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.CreateSnapshotResponseProto)
37877 return target;
37878}
37879
37880size_t CreateSnapshotResponseProto::ByteSizeLong() const {
37881// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.CreateSnapshotResponseProto)
37882 size_t total_size = 0;
37883
37884 if (_internal_metadata_.have_unknown_fields()) {
37885 total_size +=
37886 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
37887 _internal_metadata_.unknown_fields());
37888 }
37889 // required string snapshotPath = 1;
37890 if (has_snapshotpath()) {
37891 total_size += 1 +
37892 ::google::protobuf::internal::WireFormatLite::StringSize(
37893 this->snapshotpath());
37894 }
37895 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
37896 SetCachedSize(cached_size);
37897 return total_size;
37898}
37899
37900void CreateSnapshotResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
37901// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.CreateSnapshotResponseProto)
37902 GOOGLE_DCHECK_NE(&from, this);
37903 const CreateSnapshotResponseProto* source =
37904 ::google::protobuf::internal::DynamicCastToGenerated<const CreateSnapshotResponseProto>(
37905 &from);
37906 if (source == NULL) {
37907 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.CreateSnapshotResponseProto)
37908 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
37909 } else {
37910 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.CreateSnapshotResponseProto)
37911 MergeFrom(*source);
37912 }
37913}
37914
37915void CreateSnapshotResponseProto::MergeFrom(const CreateSnapshotResponseProto& from) {
37916// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.CreateSnapshotResponseProto)
37917 GOOGLE_DCHECK_NE(&from, this);
37918 _internal_metadata_.MergeFrom(from._internal_metadata_);
37919 ::google::protobuf::uint32 cached_has_bits = 0;
37920 (void) cached_has_bits;
37921
37922 if (from.has_snapshotpath()) {
37923 set_has_snapshotpath();
37924 snapshotpath_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotpath_);
37925 }
37926}
37927
37928void CreateSnapshotResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
37929// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.CreateSnapshotResponseProto)
37930 if (&from == this) return;
37931 Clear();
37932 MergeFrom(from);
37933}
37934
37935void CreateSnapshotResponseProto::CopyFrom(const CreateSnapshotResponseProto& from) {
37936// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.CreateSnapshotResponseProto)
37937 if (&from == this) return;
37938 Clear();
37939 MergeFrom(from);
37940}
37941
37942bool CreateSnapshotResponseProto::IsInitialized() const {
37943 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
37944 return true;
37945}
37946
37947void CreateSnapshotResponseProto::Swap(CreateSnapshotResponseProto* other) {
37948 if (other == this) return;
37949 InternalSwap(other);
37950}
37951void CreateSnapshotResponseProto::InternalSwap(CreateSnapshotResponseProto* other) {
37952 using std::swap;
37953 snapshotpath_.Swap(&other->snapshotpath_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
37954 GetArenaNoVirtual());
37955 swap(_has_bits_[0], other->_has_bits_[0]);
37956 _internal_metadata_.Swap(&other->_internal_metadata_);
37957}
37958
37959::google::protobuf::Metadata CreateSnapshotResponseProto::GetMetadata() const {
37960 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
37961 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
37962}
37963
37964
37965// ===================================================================
37966
37967void RenameSnapshotRequestProto::InitAsDefaultInstance() {
37968}
37969#if !defined(_MSC_VER) || _MSC_VER >= 1900
37970const int RenameSnapshotRequestProto::kSnapshotRootFieldNumber;
37971const int RenameSnapshotRequestProto::kSnapshotOldNameFieldNumber;
37972const int RenameSnapshotRequestProto::kSnapshotNewNameFieldNumber;
37973#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
37974
37975RenameSnapshotRequestProto::RenameSnapshotRequestProto()
37976 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
37977 ::google::protobuf::internal::InitSCC(
37978 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RenameSnapshotRequestProto.base);
37979 SharedCtor();
37980 // @@protoc_insertion_point(constructor:Hdfs.Internal.RenameSnapshotRequestProto)
37981}
37982RenameSnapshotRequestProto::RenameSnapshotRequestProto(const RenameSnapshotRequestProto& from)
37983 : ::google::protobuf::Message(),
37984 _internal_metadata_(NULL),
37985 _has_bits_(from._has_bits_) {
37986 _internal_metadata_.MergeFrom(from._internal_metadata_);
37987 snapshotroot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
37988 if (from.has_snapshotroot()) {
37989 snapshotroot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotroot_);
37990 }
37991 snapshotoldname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
37992 if (from.has_snapshotoldname()) {
37993 snapshotoldname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotoldname_);
37994 }
37995 snapshotnewname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
37996 if (from.has_snapshotnewname()) {
37997 snapshotnewname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotnewname_);
37998 }
37999 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RenameSnapshotRequestProto)
38000}
38001
38002void RenameSnapshotRequestProto::SharedCtor() {
38003 snapshotroot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
38004 snapshotoldname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
38005 snapshotnewname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
38006}
38007
38008RenameSnapshotRequestProto::~RenameSnapshotRequestProto() {
38009 // @@protoc_insertion_point(destructor:Hdfs.Internal.RenameSnapshotRequestProto)
38010 SharedDtor();
38011}
38012
38013void RenameSnapshotRequestProto::SharedDtor() {
38014 snapshotroot_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
38015 snapshotoldname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
38016 snapshotnewname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
38017}
38018
38019void RenameSnapshotRequestProto::SetCachedSize(int size) const {
38020 _cached_size_.Set(size);
38021}
38022const ::google::protobuf::Descriptor* RenameSnapshotRequestProto::descriptor() {
38023 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
38024 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
38025}
38026
38027const RenameSnapshotRequestProto& RenameSnapshotRequestProto::default_instance() {
38028 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RenameSnapshotRequestProto.base);
38029 return *internal_default_instance();
38030}
38031
38032
38033void RenameSnapshotRequestProto::Clear() {
38034// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RenameSnapshotRequestProto)
38035 ::google::protobuf::uint32 cached_has_bits = 0;
38036 // Prevent compiler warnings about cached_has_bits being unused
38037 (void) cached_has_bits;
38038
38039 cached_has_bits = _has_bits_[0];
38040 if (cached_has_bits & 7u) {
38041 if (cached_has_bits & 0x00000001u) {
38042 snapshotroot_.ClearNonDefaultToEmptyNoArena();
38043 }
38044 if (cached_has_bits & 0x00000002u) {
38045 snapshotoldname_.ClearNonDefaultToEmptyNoArena();
38046 }
38047 if (cached_has_bits & 0x00000004u) {
38048 snapshotnewname_.ClearNonDefaultToEmptyNoArena();
38049 }
38050 }
38051 _has_bits_.Clear();
38052 _internal_metadata_.Clear();
38053}
38054
38055bool RenameSnapshotRequestProto::MergePartialFromCodedStream(
38056 ::google::protobuf::io::CodedInputStream* input) {
38057#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
38058 ::google::protobuf::uint32 tag;
38059 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RenameSnapshotRequestProto)
38060 for (;;) {
38061 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
38062 tag = p.first;
38063 if (!p.second) goto handle_unusual;
38064 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
38065 // required string snapshotRoot = 1;
38066 case 1: {
38067 if (static_cast< ::google::protobuf::uint8>(tag) ==
38068 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
38069 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
38070 input, this->mutable_snapshotroot()));
38071 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
38072 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
38073 ::google::protobuf::internal::WireFormat::PARSE,
38074 "Hdfs.Internal.RenameSnapshotRequestProto.snapshotRoot");
38075 } else {
38076 goto handle_unusual;
38077 }
38078 break;
38079 }
38080
38081 // required string snapshotOldName = 2;
38082 case 2: {
38083 if (static_cast< ::google::protobuf::uint8>(tag) ==
38084 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
38085 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
38086 input, this->mutable_snapshotoldname()));
38087 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
38088 this->snapshotoldname().data(), static_cast<int>(this->snapshotoldname().length()),
38089 ::google::protobuf::internal::WireFormat::PARSE,
38090 "Hdfs.Internal.RenameSnapshotRequestProto.snapshotOldName");
38091 } else {
38092 goto handle_unusual;
38093 }
38094 break;
38095 }
38096
38097 // required string snapshotNewName = 3;
38098 case 3: {
38099 if (static_cast< ::google::protobuf::uint8>(tag) ==
38100 static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
38101 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
38102 input, this->mutable_snapshotnewname()));
38103 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
38104 this->snapshotnewname().data(), static_cast<int>(this->snapshotnewname().length()),
38105 ::google::protobuf::internal::WireFormat::PARSE,
38106 "Hdfs.Internal.RenameSnapshotRequestProto.snapshotNewName");
38107 } else {
38108 goto handle_unusual;
38109 }
38110 break;
38111 }
38112
38113 default: {
38114 handle_unusual:
38115 if (tag == 0) {
38116 goto success;
38117 }
38118 DO_(::google::protobuf::internal::WireFormat::SkipField(
38119 input, tag, _internal_metadata_.mutable_unknown_fields()));
38120 break;
38121 }
38122 }
38123 }
38124success:
38125 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RenameSnapshotRequestProto)
38126 return true;
38127failure:
38128 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RenameSnapshotRequestProto)
38129 return false;
38130#undef DO_
38131}
38132
38133void RenameSnapshotRequestProto::SerializeWithCachedSizes(
38134 ::google::protobuf::io::CodedOutputStream* output) const {
38135 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RenameSnapshotRequestProto)
38136 ::google::protobuf::uint32 cached_has_bits = 0;
38137 (void) cached_has_bits;
38138
38139 cached_has_bits = _has_bits_[0];
38140 // required string snapshotRoot = 1;
38141 if (cached_has_bits & 0x00000001u) {
38142 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
38143 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
38144 ::google::protobuf::internal::WireFormat::SERIALIZE,
38145 "Hdfs.Internal.RenameSnapshotRequestProto.snapshotRoot");
38146 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
38147 1, this->snapshotroot(), output);
38148 }
38149
38150 // required string snapshotOldName = 2;
38151 if (cached_has_bits & 0x00000002u) {
38152 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
38153 this->snapshotoldname().data(), static_cast<int>(this->snapshotoldname().length()),
38154 ::google::protobuf::internal::WireFormat::SERIALIZE,
38155 "Hdfs.Internal.RenameSnapshotRequestProto.snapshotOldName");
38156 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
38157 2, this->snapshotoldname(), output);
38158 }
38159
38160 // required string snapshotNewName = 3;
38161 if (cached_has_bits & 0x00000004u) {
38162 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
38163 this->snapshotnewname().data(), static_cast<int>(this->snapshotnewname().length()),
38164 ::google::protobuf::internal::WireFormat::SERIALIZE,
38165 "Hdfs.Internal.RenameSnapshotRequestProto.snapshotNewName");
38166 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
38167 3, this->snapshotnewname(), output);
38168 }
38169
38170 if (_internal_metadata_.have_unknown_fields()) {
38171 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
38172 _internal_metadata_.unknown_fields(), output);
38173 }
38174 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RenameSnapshotRequestProto)
38175}
38176
38177::google::protobuf::uint8* RenameSnapshotRequestProto::InternalSerializeWithCachedSizesToArray(
38178 bool deterministic, ::google::protobuf::uint8* target) const {
38179 (void)deterministic; // Unused
38180 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RenameSnapshotRequestProto)
38181 ::google::protobuf::uint32 cached_has_bits = 0;
38182 (void) cached_has_bits;
38183
38184 cached_has_bits = _has_bits_[0];
38185 // required string snapshotRoot = 1;
38186 if (cached_has_bits & 0x00000001u) {
38187 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
38188 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
38189 ::google::protobuf::internal::WireFormat::SERIALIZE,
38190 "Hdfs.Internal.RenameSnapshotRequestProto.snapshotRoot");
38191 target =
38192 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
38193 1, this->snapshotroot(), target);
38194 }
38195
38196 // required string snapshotOldName = 2;
38197 if (cached_has_bits & 0x00000002u) {
38198 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
38199 this->snapshotoldname().data(), static_cast<int>(this->snapshotoldname().length()),
38200 ::google::protobuf::internal::WireFormat::SERIALIZE,
38201 "Hdfs.Internal.RenameSnapshotRequestProto.snapshotOldName");
38202 target =
38203 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
38204 2, this->snapshotoldname(), target);
38205 }
38206
38207 // required string snapshotNewName = 3;
38208 if (cached_has_bits & 0x00000004u) {
38209 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
38210 this->snapshotnewname().data(), static_cast<int>(this->snapshotnewname().length()),
38211 ::google::protobuf::internal::WireFormat::SERIALIZE,
38212 "Hdfs.Internal.RenameSnapshotRequestProto.snapshotNewName");
38213 target =
38214 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
38215 3, this->snapshotnewname(), target);
38216 }
38217
38218 if (_internal_metadata_.have_unknown_fields()) {
38219 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
38220 _internal_metadata_.unknown_fields(), target);
38221 }
38222 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RenameSnapshotRequestProto)
38223 return target;
38224}
38225
38226size_t RenameSnapshotRequestProto::RequiredFieldsByteSizeFallback() const {
38227// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.RenameSnapshotRequestProto)
38228 size_t total_size = 0;
38229
38230 if (has_snapshotroot()) {
38231 // required string snapshotRoot = 1;
38232 total_size += 1 +
38233 ::google::protobuf::internal::WireFormatLite::StringSize(
38234 this->snapshotroot());
38235 }
38236
38237 if (has_snapshotoldname()) {
38238 // required string snapshotOldName = 2;
38239 total_size += 1 +
38240 ::google::protobuf::internal::WireFormatLite::StringSize(
38241 this->snapshotoldname());
38242 }
38243
38244 if (has_snapshotnewname()) {
38245 // required string snapshotNewName = 3;
38246 total_size += 1 +
38247 ::google::protobuf::internal::WireFormatLite::StringSize(
38248 this->snapshotnewname());
38249 }
38250
38251 return total_size;
38252}
38253size_t RenameSnapshotRequestProto::ByteSizeLong() const {
38254// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RenameSnapshotRequestProto)
38255 size_t total_size = 0;
38256
38257 if (_internal_metadata_.have_unknown_fields()) {
38258 total_size +=
38259 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
38260 _internal_metadata_.unknown_fields());
38261 }
38262 if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
38263 // required string snapshotRoot = 1;
38264 total_size += 1 +
38265 ::google::protobuf::internal::WireFormatLite::StringSize(
38266 this->snapshotroot());
38267
38268 // required string snapshotOldName = 2;
38269 total_size += 1 +
38270 ::google::protobuf::internal::WireFormatLite::StringSize(
38271 this->snapshotoldname());
38272
38273 // required string snapshotNewName = 3;
38274 total_size += 1 +
38275 ::google::protobuf::internal::WireFormatLite::StringSize(
38276 this->snapshotnewname());
38277
38278 } else {
38279 total_size += RequiredFieldsByteSizeFallback();
38280 }
38281 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
38282 SetCachedSize(cached_size);
38283 return total_size;
38284}
38285
38286void RenameSnapshotRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
38287// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RenameSnapshotRequestProto)
38288 GOOGLE_DCHECK_NE(&from, this);
38289 const RenameSnapshotRequestProto* source =
38290 ::google::protobuf::internal::DynamicCastToGenerated<const RenameSnapshotRequestProto>(
38291 &from);
38292 if (source == NULL) {
38293 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RenameSnapshotRequestProto)
38294 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
38295 } else {
38296 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RenameSnapshotRequestProto)
38297 MergeFrom(*source);
38298 }
38299}
38300
38301void RenameSnapshotRequestProto::MergeFrom(const RenameSnapshotRequestProto& from) {
38302// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RenameSnapshotRequestProto)
38303 GOOGLE_DCHECK_NE(&from, this);
38304 _internal_metadata_.MergeFrom(from._internal_metadata_);
38305 ::google::protobuf::uint32 cached_has_bits = 0;
38306 (void) cached_has_bits;
38307
38308 cached_has_bits = from._has_bits_[0];
38309 if (cached_has_bits & 7u) {
38310 if (cached_has_bits & 0x00000001u) {
38311 set_has_snapshotroot();
38312 snapshotroot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotroot_);
38313 }
38314 if (cached_has_bits & 0x00000002u) {
38315 set_has_snapshotoldname();
38316 snapshotoldname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotoldname_);
38317 }
38318 if (cached_has_bits & 0x00000004u) {
38319 set_has_snapshotnewname();
38320 snapshotnewname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotnewname_);
38321 }
38322 }
38323}
38324
38325void RenameSnapshotRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
38326// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RenameSnapshotRequestProto)
38327 if (&from == this) return;
38328 Clear();
38329 MergeFrom(from);
38330}
38331
38332void RenameSnapshotRequestProto::CopyFrom(const RenameSnapshotRequestProto& from) {
38333// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RenameSnapshotRequestProto)
38334 if (&from == this) return;
38335 Clear();
38336 MergeFrom(from);
38337}
38338
38339bool RenameSnapshotRequestProto::IsInitialized() const {
38340 if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
38341 return true;
38342}
38343
38344void RenameSnapshotRequestProto::Swap(RenameSnapshotRequestProto* other) {
38345 if (other == this) return;
38346 InternalSwap(other);
38347}
38348void RenameSnapshotRequestProto::InternalSwap(RenameSnapshotRequestProto* other) {
38349 using std::swap;
38350 snapshotroot_.Swap(&other->snapshotroot_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
38351 GetArenaNoVirtual());
38352 snapshotoldname_.Swap(&other->snapshotoldname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
38353 GetArenaNoVirtual());
38354 snapshotnewname_.Swap(&other->snapshotnewname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
38355 GetArenaNoVirtual());
38356 swap(_has_bits_[0], other->_has_bits_[0]);
38357 _internal_metadata_.Swap(&other->_internal_metadata_);
38358}
38359
38360::google::protobuf::Metadata RenameSnapshotRequestProto::GetMetadata() const {
38361 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
38362 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
38363}
38364
38365
38366// ===================================================================
38367
38368void RenameSnapshotResponseProto::InitAsDefaultInstance() {
38369}
38370#if !defined(_MSC_VER) || _MSC_VER >= 1900
38371#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
38372
38373RenameSnapshotResponseProto::RenameSnapshotResponseProto()
38374 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
38375 ::google::protobuf::internal::InitSCC(
38376 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_RenameSnapshotResponseProto.base);
38377 SharedCtor();
38378 // @@protoc_insertion_point(constructor:Hdfs.Internal.RenameSnapshotResponseProto)
38379}
38380RenameSnapshotResponseProto::RenameSnapshotResponseProto(const RenameSnapshotResponseProto& from)
38381 : ::google::protobuf::Message(),
38382 _internal_metadata_(NULL),
38383 _has_bits_(from._has_bits_) {
38384 _internal_metadata_.MergeFrom(from._internal_metadata_);
38385 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.RenameSnapshotResponseProto)
38386}
38387
38388void RenameSnapshotResponseProto::SharedCtor() {
38389}
38390
38391RenameSnapshotResponseProto::~RenameSnapshotResponseProto() {
38392 // @@protoc_insertion_point(destructor:Hdfs.Internal.RenameSnapshotResponseProto)
38393 SharedDtor();
38394}
38395
38396void RenameSnapshotResponseProto::SharedDtor() {
38397}
38398
38399void RenameSnapshotResponseProto::SetCachedSize(int size) const {
38400 _cached_size_.Set(size);
38401}
38402const ::google::protobuf::Descriptor* RenameSnapshotResponseProto::descriptor() {
38403 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
38404 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
38405}
38406
38407const RenameSnapshotResponseProto& RenameSnapshotResponseProto::default_instance() {
38408 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_RenameSnapshotResponseProto.base);
38409 return *internal_default_instance();
38410}
38411
38412
38413void RenameSnapshotResponseProto::Clear() {
38414// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.RenameSnapshotResponseProto)
38415 ::google::protobuf::uint32 cached_has_bits = 0;
38416 // Prevent compiler warnings about cached_has_bits being unused
38417 (void) cached_has_bits;
38418
38419 _has_bits_.Clear();
38420 _internal_metadata_.Clear();
38421}
38422
38423bool RenameSnapshotResponseProto::MergePartialFromCodedStream(
38424 ::google::protobuf::io::CodedInputStream* input) {
38425#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
38426 ::google::protobuf::uint32 tag;
38427 // @@protoc_insertion_point(parse_start:Hdfs.Internal.RenameSnapshotResponseProto)
38428 for (;;) {
38429 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
38430 tag = p.first;
38431 if (!p.second) goto handle_unusual;
38432 handle_unusual:
38433 if (tag == 0) {
38434 goto success;
38435 }
38436 DO_(::google::protobuf::internal::WireFormat::SkipField(
38437 input, tag, _internal_metadata_.mutable_unknown_fields()));
38438 }
38439success:
38440 // @@protoc_insertion_point(parse_success:Hdfs.Internal.RenameSnapshotResponseProto)
38441 return true;
38442failure:
38443 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.RenameSnapshotResponseProto)
38444 return false;
38445#undef DO_
38446}
38447
38448void RenameSnapshotResponseProto::SerializeWithCachedSizes(
38449 ::google::protobuf::io::CodedOutputStream* output) const {
38450 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.RenameSnapshotResponseProto)
38451 ::google::protobuf::uint32 cached_has_bits = 0;
38452 (void) cached_has_bits;
38453
38454 if (_internal_metadata_.have_unknown_fields()) {
38455 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
38456 _internal_metadata_.unknown_fields(), output);
38457 }
38458 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.RenameSnapshotResponseProto)
38459}
38460
38461::google::protobuf::uint8* RenameSnapshotResponseProto::InternalSerializeWithCachedSizesToArray(
38462 bool deterministic, ::google::protobuf::uint8* target) const {
38463 (void)deterministic; // Unused
38464 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.RenameSnapshotResponseProto)
38465 ::google::protobuf::uint32 cached_has_bits = 0;
38466 (void) cached_has_bits;
38467
38468 if (_internal_metadata_.have_unknown_fields()) {
38469 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
38470 _internal_metadata_.unknown_fields(), target);
38471 }
38472 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.RenameSnapshotResponseProto)
38473 return target;
38474}
38475
38476size_t RenameSnapshotResponseProto::ByteSizeLong() const {
38477// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.RenameSnapshotResponseProto)
38478 size_t total_size = 0;
38479
38480 if (_internal_metadata_.have_unknown_fields()) {
38481 total_size +=
38482 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
38483 _internal_metadata_.unknown_fields());
38484 }
38485 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
38486 SetCachedSize(cached_size);
38487 return total_size;
38488}
38489
38490void RenameSnapshotResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
38491// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.RenameSnapshotResponseProto)
38492 GOOGLE_DCHECK_NE(&from, this);
38493 const RenameSnapshotResponseProto* source =
38494 ::google::protobuf::internal::DynamicCastToGenerated<const RenameSnapshotResponseProto>(
38495 &from);
38496 if (source == NULL) {
38497 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.RenameSnapshotResponseProto)
38498 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
38499 } else {
38500 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.RenameSnapshotResponseProto)
38501 MergeFrom(*source);
38502 }
38503}
38504
38505void RenameSnapshotResponseProto::MergeFrom(const RenameSnapshotResponseProto& from) {
38506// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.RenameSnapshotResponseProto)
38507 GOOGLE_DCHECK_NE(&from, this);
38508 _internal_metadata_.MergeFrom(from._internal_metadata_);
38509 ::google::protobuf::uint32 cached_has_bits = 0;
38510 (void) cached_has_bits;
38511
38512}
38513
38514void RenameSnapshotResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
38515// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.RenameSnapshotResponseProto)
38516 if (&from == this) return;
38517 Clear();
38518 MergeFrom(from);
38519}
38520
38521void RenameSnapshotResponseProto::CopyFrom(const RenameSnapshotResponseProto& from) {
38522// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.RenameSnapshotResponseProto)
38523 if (&from == this) return;
38524 Clear();
38525 MergeFrom(from);
38526}
38527
38528bool RenameSnapshotResponseProto::IsInitialized() const {
38529 return true;
38530}
38531
38532void RenameSnapshotResponseProto::Swap(RenameSnapshotResponseProto* other) {
38533 if (other == this) return;
38534 InternalSwap(other);
38535}
38536void RenameSnapshotResponseProto::InternalSwap(RenameSnapshotResponseProto* other) {
38537 using std::swap;
38538 swap(_has_bits_[0], other->_has_bits_[0]);
38539 _internal_metadata_.Swap(&other->_internal_metadata_);
38540}
38541
38542::google::protobuf::Metadata RenameSnapshotResponseProto::GetMetadata() const {
38543 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
38544 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
38545}
38546
38547
38548// ===================================================================
38549
38550void AllowSnapshotRequestProto::InitAsDefaultInstance() {
38551}
38552#if !defined(_MSC_VER) || _MSC_VER >= 1900
38553const int AllowSnapshotRequestProto::kSnapshotRootFieldNumber;
38554#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
38555
38556AllowSnapshotRequestProto::AllowSnapshotRequestProto()
38557 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
38558 ::google::protobuf::internal::InitSCC(
38559 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_AllowSnapshotRequestProto.base);
38560 SharedCtor();
38561 // @@protoc_insertion_point(constructor:Hdfs.Internal.AllowSnapshotRequestProto)
38562}
38563AllowSnapshotRequestProto::AllowSnapshotRequestProto(const AllowSnapshotRequestProto& from)
38564 : ::google::protobuf::Message(),
38565 _internal_metadata_(NULL),
38566 _has_bits_(from._has_bits_) {
38567 _internal_metadata_.MergeFrom(from._internal_metadata_);
38568 snapshotroot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
38569 if (from.has_snapshotroot()) {
38570 snapshotroot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotroot_);
38571 }
38572 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.AllowSnapshotRequestProto)
38573}
38574
38575void AllowSnapshotRequestProto::SharedCtor() {
38576 snapshotroot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
38577}
38578
38579AllowSnapshotRequestProto::~AllowSnapshotRequestProto() {
38580 // @@protoc_insertion_point(destructor:Hdfs.Internal.AllowSnapshotRequestProto)
38581 SharedDtor();
38582}
38583
38584void AllowSnapshotRequestProto::SharedDtor() {
38585 snapshotroot_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
38586}
38587
38588void AllowSnapshotRequestProto::SetCachedSize(int size) const {
38589 _cached_size_.Set(size);
38590}
38591const ::google::protobuf::Descriptor* AllowSnapshotRequestProto::descriptor() {
38592 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
38593 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
38594}
38595
38596const AllowSnapshotRequestProto& AllowSnapshotRequestProto::default_instance() {
38597 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_AllowSnapshotRequestProto.base);
38598 return *internal_default_instance();
38599}
38600
38601
38602void AllowSnapshotRequestProto::Clear() {
38603// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.AllowSnapshotRequestProto)
38604 ::google::protobuf::uint32 cached_has_bits = 0;
38605 // Prevent compiler warnings about cached_has_bits being unused
38606 (void) cached_has_bits;
38607
38608 cached_has_bits = _has_bits_[0];
38609 if (cached_has_bits & 0x00000001u) {
38610 snapshotroot_.ClearNonDefaultToEmptyNoArena();
38611 }
38612 _has_bits_.Clear();
38613 _internal_metadata_.Clear();
38614}
38615
38616bool AllowSnapshotRequestProto::MergePartialFromCodedStream(
38617 ::google::protobuf::io::CodedInputStream* input) {
38618#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
38619 ::google::protobuf::uint32 tag;
38620 // @@protoc_insertion_point(parse_start:Hdfs.Internal.AllowSnapshotRequestProto)
38621 for (;;) {
38622 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
38623 tag = p.first;
38624 if (!p.second) goto handle_unusual;
38625 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
38626 // required string snapshotRoot = 1;
38627 case 1: {
38628 if (static_cast< ::google::protobuf::uint8>(tag) ==
38629 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
38630 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
38631 input, this->mutable_snapshotroot()));
38632 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
38633 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
38634 ::google::protobuf::internal::WireFormat::PARSE,
38635 "Hdfs.Internal.AllowSnapshotRequestProto.snapshotRoot");
38636 } else {
38637 goto handle_unusual;
38638 }
38639 break;
38640 }
38641
38642 default: {
38643 handle_unusual:
38644 if (tag == 0) {
38645 goto success;
38646 }
38647 DO_(::google::protobuf::internal::WireFormat::SkipField(
38648 input, tag, _internal_metadata_.mutable_unknown_fields()));
38649 break;
38650 }
38651 }
38652 }
38653success:
38654 // @@protoc_insertion_point(parse_success:Hdfs.Internal.AllowSnapshotRequestProto)
38655 return true;
38656failure:
38657 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.AllowSnapshotRequestProto)
38658 return false;
38659#undef DO_
38660}
38661
38662void AllowSnapshotRequestProto::SerializeWithCachedSizes(
38663 ::google::protobuf::io::CodedOutputStream* output) const {
38664 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.AllowSnapshotRequestProto)
38665 ::google::protobuf::uint32 cached_has_bits = 0;
38666 (void) cached_has_bits;
38667
38668 cached_has_bits = _has_bits_[0];
38669 // required string snapshotRoot = 1;
38670 if (cached_has_bits & 0x00000001u) {
38671 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
38672 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
38673 ::google::protobuf::internal::WireFormat::SERIALIZE,
38674 "Hdfs.Internal.AllowSnapshotRequestProto.snapshotRoot");
38675 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
38676 1, this->snapshotroot(), output);
38677 }
38678
38679 if (_internal_metadata_.have_unknown_fields()) {
38680 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
38681 _internal_metadata_.unknown_fields(), output);
38682 }
38683 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.AllowSnapshotRequestProto)
38684}
38685
38686::google::protobuf::uint8* AllowSnapshotRequestProto::InternalSerializeWithCachedSizesToArray(
38687 bool deterministic, ::google::protobuf::uint8* target) const {
38688 (void)deterministic; // Unused
38689 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.AllowSnapshotRequestProto)
38690 ::google::protobuf::uint32 cached_has_bits = 0;
38691 (void) cached_has_bits;
38692
38693 cached_has_bits = _has_bits_[0];
38694 // required string snapshotRoot = 1;
38695 if (cached_has_bits & 0x00000001u) {
38696 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
38697 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
38698 ::google::protobuf::internal::WireFormat::SERIALIZE,
38699 "Hdfs.Internal.AllowSnapshotRequestProto.snapshotRoot");
38700 target =
38701 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
38702 1, this->snapshotroot(), target);
38703 }
38704
38705 if (_internal_metadata_.have_unknown_fields()) {
38706 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
38707 _internal_metadata_.unknown_fields(), target);
38708 }
38709 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.AllowSnapshotRequestProto)
38710 return target;
38711}
38712
38713size_t AllowSnapshotRequestProto::ByteSizeLong() const {
38714// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.AllowSnapshotRequestProto)
38715 size_t total_size = 0;
38716
38717 if (_internal_metadata_.have_unknown_fields()) {
38718 total_size +=
38719 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
38720 _internal_metadata_.unknown_fields());
38721 }
38722 // required string snapshotRoot = 1;
38723 if (has_snapshotroot()) {
38724 total_size += 1 +
38725 ::google::protobuf::internal::WireFormatLite::StringSize(
38726 this->snapshotroot());
38727 }
38728 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
38729 SetCachedSize(cached_size);
38730 return total_size;
38731}
38732
38733void AllowSnapshotRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
38734// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.AllowSnapshotRequestProto)
38735 GOOGLE_DCHECK_NE(&from, this);
38736 const AllowSnapshotRequestProto* source =
38737 ::google::protobuf::internal::DynamicCastToGenerated<const AllowSnapshotRequestProto>(
38738 &from);
38739 if (source == NULL) {
38740 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.AllowSnapshotRequestProto)
38741 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
38742 } else {
38743 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.AllowSnapshotRequestProto)
38744 MergeFrom(*source);
38745 }
38746}
38747
38748void AllowSnapshotRequestProto::MergeFrom(const AllowSnapshotRequestProto& from) {
38749// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.AllowSnapshotRequestProto)
38750 GOOGLE_DCHECK_NE(&from, this);
38751 _internal_metadata_.MergeFrom(from._internal_metadata_);
38752 ::google::protobuf::uint32 cached_has_bits = 0;
38753 (void) cached_has_bits;
38754
38755 if (from.has_snapshotroot()) {
38756 set_has_snapshotroot();
38757 snapshotroot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotroot_);
38758 }
38759}
38760
38761void AllowSnapshotRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
38762// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.AllowSnapshotRequestProto)
38763 if (&from == this) return;
38764 Clear();
38765 MergeFrom(from);
38766}
38767
38768void AllowSnapshotRequestProto::CopyFrom(const AllowSnapshotRequestProto& from) {
38769// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.AllowSnapshotRequestProto)
38770 if (&from == this) return;
38771 Clear();
38772 MergeFrom(from);
38773}
38774
38775bool AllowSnapshotRequestProto::IsInitialized() const {
38776 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
38777 return true;
38778}
38779
38780void AllowSnapshotRequestProto::Swap(AllowSnapshotRequestProto* other) {
38781 if (other == this) return;
38782 InternalSwap(other);
38783}
38784void AllowSnapshotRequestProto::InternalSwap(AllowSnapshotRequestProto* other) {
38785 using std::swap;
38786 snapshotroot_.Swap(&other->snapshotroot_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
38787 GetArenaNoVirtual());
38788 swap(_has_bits_[0], other->_has_bits_[0]);
38789 _internal_metadata_.Swap(&other->_internal_metadata_);
38790}
38791
38792::google::protobuf::Metadata AllowSnapshotRequestProto::GetMetadata() const {
38793 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
38794 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
38795}
38796
38797
38798// ===================================================================
38799
38800void AllowSnapshotResponseProto::InitAsDefaultInstance() {
38801}
38802#if !defined(_MSC_VER) || _MSC_VER >= 1900
38803#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
38804
38805AllowSnapshotResponseProto::AllowSnapshotResponseProto()
38806 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
38807 ::google::protobuf::internal::InitSCC(
38808 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_AllowSnapshotResponseProto.base);
38809 SharedCtor();
38810 // @@protoc_insertion_point(constructor:Hdfs.Internal.AllowSnapshotResponseProto)
38811}
38812AllowSnapshotResponseProto::AllowSnapshotResponseProto(const AllowSnapshotResponseProto& from)
38813 : ::google::protobuf::Message(),
38814 _internal_metadata_(NULL),
38815 _has_bits_(from._has_bits_) {
38816 _internal_metadata_.MergeFrom(from._internal_metadata_);
38817 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.AllowSnapshotResponseProto)
38818}
38819
38820void AllowSnapshotResponseProto::SharedCtor() {
38821}
38822
38823AllowSnapshotResponseProto::~AllowSnapshotResponseProto() {
38824 // @@protoc_insertion_point(destructor:Hdfs.Internal.AllowSnapshotResponseProto)
38825 SharedDtor();
38826}
38827
38828void AllowSnapshotResponseProto::SharedDtor() {
38829}
38830
38831void AllowSnapshotResponseProto::SetCachedSize(int size) const {
38832 _cached_size_.Set(size);
38833}
38834const ::google::protobuf::Descriptor* AllowSnapshotResponseProto::descriptor() {
38835 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
38836 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
38837}
38838
38839const AllowSnapshotResponseProto& AllowSnapshotResponseProto::default_instance() {
38840 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_AllowSnapshotResponseProto.base);
38841 return *internal_default_instance();
38842}
38843
38844
38845void AllowSnapshotResponseProto::Clear() {
38846// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.AllowSnapshotResponseProto)
38847 ::google::protobuf::uint32 cached_has_bits = 0;
38848 // Prevent compiler warnings about cached_has_bits being unused
38849 (void) cached_has_bits;
38850
38851 _has_bits_.Clear();
38852 _internal_metadata_.Clear();
38853}
38854
38855bool AllowSnapshotResponseProto::MergePartialFromCodedStream(
38856 ::google::protobuf::io::CodedInputStream* input) {
38857#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
38858 ::google::protobuf::uint32 tag;
38859 // @@protoc_insertion_point(parse_start:Hdfs.Internal.AllowSnapshotResponseProto)
38860 for (;;) {
38861 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
38862 tag = p.first;
38863 if (!p.second) goto handle_unusual;
38864 handle_unusual:
38865 if (tag == 0) {
38866 goto success;
38867 }
38868 DO_(::google::protobuf::internal::WireFormat::SkipField(
38869 input, tag, _internal_metadata_.mutable_unknown_fields()));
38870 }
38871success:
38872 // @@protoc_insertion_point(parse_success:Hdfs.Internal.AllowSnapshotResponseProto)
38873 return true;
38874failure:
38875 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.AllowSnapshotResponseProto)
38876 return false;
38877#undef DO_
38878}
38879
38880void AllowSnapshotResponseProto::SerializeWithCachedSizes(
38881 ::google::protobuf::io::CodedOutputStream* output) const {
38882 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.AllowSnapshotResponseProto)
38883 ::google::protobuf::uint32 cached_has_bits = 0;
38884 (void) cached_has_bits;
38885
38886 if (_internal_metadata_.have_unknown_fields()) {
38887 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
38888 _internal_metadata_.unknown_fields(), output);
38889 }
38890 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.AllowSnapshotResponseProto)
38891}
38892
38893::google::protobuf::uint8* AllowSnapshotResponseProto::InternalSerializeWithCachedSizesToArray(
38894 bool deterministic, ::google::protobuf::uint8* target) const {
38895 (void)deterministic; // Unused
38896 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.AllowSnapshotResponseProto)
38897 ::google::protobuf::uint32 cached_has_bits = 0;
38898 (void) cached_has_bits;
38899
38900 if (_internal_metadata_.have_unknown_fields()) {
38901 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
38902 _internal_metadata_.unknown_fields(), target);
38903 }
38904 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.AllowSnapshotResponseProto)
38905 return target;
38906}
38907
38908size_t AllowSnapshotResponseProto::ByteSizeLong() const {
38909// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.AllowSnapshotResponseProto)
38910 size_t total_size = 0;
38911
38912 if (_internal_metadata_.have_unknown_fields()) {
38913 total_size +=
38914 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
38915 _internal_metadata_.unknown_fields());
38916 }
38917 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
38918 SetCachedSize(cached_size);
38919 return total_size;
38920}
38921
38922void AllowSnapshotResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
38923// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.AllowSnapshotResponseProto)
38924 GOOGLE_DCHECK_NE(&from, this);
38925 const AllowSnapshotResponseProto* source =
38926 ::google::protobuf::internal::DynamicCastToGenerated<const AllowSnapshotResponseProto>(
38927 &from);
38928 if (source == NULL) {
38929 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.AllowSnapshotResponseProto)
38930 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
38931 } else {
38932 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.AllowSnapshotResponseProto)
38933 MergeFrom(*source);
38934 }
38935}
38936
38937void AllowSnapshotResponseProto::MergeFrom(const AllowSnapshotResponseProto& from) {
38938// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.AllowSnapshotResponseProto)
38939 GOOGLE_DCHECK_NE(&from, this);
38940 _internal_metadata_.MergeFrom(from._internal_metadata_);
38941 ::google::protobuf::uint32 cached_has_bits = 0;
38942 (void) cached_has_bits;
38943
38944}
38945
38946void AllowSnapshotResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
38947// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.AllowSnapshotResponseProto)
38948 if (&from == this) return;
38949 Clear();
38950 MergeFrom(from);
38951}
38952
38953void AllowSnapshotResponseProto::CopyFrom(const AllowSnapshotResponseProto& from) {
38954// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.AllowSnapshotResponseProto)
38955 if (&from == this) return;
38956 Clear();
38957 MergeFrom(from);
38958}
38959
38960bool AllowSnapshotResponseProto::IsInitialized() const {
38961 return true;
38962}
38963
38964void AllowSnapshotResponseProto::Swap(AllowSnapshotResponseProto* other) {
38965 if (other == this) return;
38966 InternalSwap(other);
38967}
38968void AllowSnapshotResponseProto::InternalSwap(AllowSnapshotResponseProto* other) {
38969 using std::swap;
38970 swap(_has_bits_[0], other->_has_bits_[0]);
38971 _internal_metadata_.Swap(&other->_internal_metadata_);
38972}
38973
38974::google::protobuf::Metadata AllowSnapshotResponseProto::GetMetadata() const {
38975 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
38976 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
38977}
38978
38979
38980// ===================================================================
38981
38982void DisallowSnapshotRequestProto::InitAsDefaultInstance() {
38983}
38984#if !defined(_MSC_VER) || _MSC_VER >= 1900
38985const int DisallowSnapshotRequestProto::kSnapshotRootFieldNumber;
38986#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
38987
38988DisallowSnapshotRequestProto::DisallowSnapshotRequestProto()
38989 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
38990 ::google::protobuf::internal::InitSCC(
38991 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_DisallowSnapshotRequestProto.base);
38992 SharedCtor();
38993 // @@protoc_insertion_point(constructor:Hdfs.Internal.DisallowSnapshotRequestProto)
38994}
38995DisallowSnapshotRequestProto::DisallowSnapshotRequestProto(const DisallowSnapshotRequestProto& from)
38996 : ::google::protobuf::Message(),
38997 _internal_metadata_(NULL),
38998 _has_bits_(from._has_bits_) {
38999 _internal_metadata_.MergeFrom(from._internal_metadata_);
39000 snapshotroot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
39001 if (from.has_snapshotroot()) {
39002 snapshotroot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotroot_);
39003 }
39004 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.DisallowSnapshotRequestProto)
39005}
39006
39007void DisallowSnapshotRequestProto::SharedCtor() {
39008 snapshotroot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
39009}
39010
39011DisallowSnapshotRequestProto::~DisallowSnapshotRequestProto() {
39012 // @@protoc_insertion_point(destructor:Hdfs.Internal.DisallowSnapshotRequestProto)
39013 SharedDtor();
39014}
39015
39016void DisallowSnapshotRequestProto::SharedDtor() {
39017 snapshotroot_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
39018}
39019
39020void DisallowSnapshotRequestProto::SetCachedSize(int size) const {
39021 _cached_size_.Set(size);
39022}
39023const ::google::protobuf::Descriptor* DisallowSnapshotRequestProto::descriptor() {
39024 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
39025 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
39026}
39027
39028const DisallowSnapshotRequestProto& DisallowSnapshotRequestProto::default_instance() {
39029 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_DisallowSnapshotRequestProto.base);
39030 return *internal_default_instance();
39031}
39032
39033
39034void DisallowSnapshotRequestProto::Clear() {
39035// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.DisallowSnapshotRequestProto)
39036 ::google::protobuf::uint32 cached_has_bits = 0;
39037 // Prevent compiler warnings about cached_has_bits being unused
39038 (void) cached_has_bits;
39039
39040 cached_has_bits = _has_bits_[0];
39041 if (cached_has_bits & 0x00000001u) {
39042 snapshotroot_.ClearNonDefaultToEmptyNoArena();
39043 }
39044 _has_bits_.Clear();
39045 _internal_metadata_.Clear();
39046}
39047
39048bool DisallowSnapshotRequestProto::MergePartialFromCodedStream(
39049 ::google::protobuf::io::CodedInputStream* input) {
39050#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
39051 ::google::protobuf::uint32 tag;
39052 // @@protoc_insertion_point(parse_start:Hdfs.Internal.DisallowSnapshotRequestProto)
39053 for (;;) {
39054 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
39055 tag = p.first;
39056 if (!p.second) goto handle_unusual;
39057 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
39058 // required string snapshotRoot = 1;
39059 case 1: {
39060 if (static_cast< ::google::protobuf::uint8>(tag) ==
39061 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
39062 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
39063 input, this->mutable_snapshotroot()));
39064 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
39065 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
39066 ::google::protobuf::internal::WireFormat::PARSE,
39067 "Hdfs.Internal.DisallowSnapshotRequestProto.snapshotRoot");
39068 } else {
39069 goto handle_unusual;
39070 }
39071 break;
39072 }
39073
39074 default: {
39075 handle_unusual:
39076 if (tag == 0) {
39077 goto success;
39078 }
39079 DO_(::google::protobuf::internal::WireFormat::SkipField(
39080 input, tag, _internal_metadata_.mutable_unknown_fields()));
39081 break;
39082 }
39083 }
39084 }
39085success:
39086 // @@protoc_insertion_point(parse_success:Hdfs.Internal.DisallowSnapshotRequestProto)
39087 return true;
39088failure:
39089 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.DisallowSnapshotRequestProto)
39090 return false;
39091#undef DO_
39092}
39093
39094void DisallowSnapshotRequestProto::SerializeWithCachedSizes(
39095 ::google::protobuf::io::CodedOutputStream* output) const {
39096 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.DisallowSnapshotRequestProto)
39097 ::google::protobuf::uint32 cached_has_bits = 0;
39098 (void) cached_has_bits;
39099
39100 cached_has_bits = _has_bits_[0];
39101 // required string snapshotRoot = 1;
39102 if (cached_has_bits & 0x00000001u) {
39103 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
39104 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
39105 ::google::protobuf::internal::WireFormat::SERIALIZE,
39106 "Hdfs.Internal.DisallowSnapshotRequestProto.snapshotRoot");
39107 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
39108 1, this->snapshotroot(), output);
39109 }
39110
39111 if (_internal_metadata_.have_unknown_fields()) {
39112 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
39113 _internal_metadata_.unknown_fields(), output);
39114 }
39115 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.DisallowSnapshotRequestProto)
39116}
39117
39118::google::protobuf::uint8* DisallowSnapshotRequestProto::InternalSerializeWithCachedSizesToArray(
39119 bool deterministic, ::google::protobuf::uint8* target) const {
39120 (void)deterministic; // Unused
39121 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.DisallowSnapshotRequestProto)
39122 ::google::protobuf::uint32 cached_has_bits = 0;
39123 (void) cached_has_bits;
39124
39125 cached_has_bits = _has_bits_[0];
39126 // required string snapshotRoot = 1;
39127 if (cached_has_bits & 0x00000001u) {
39128 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
39129 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
39130 ::google::protobuf::internal::WireFormat::SERIALIZE,
39131 "Hdfs.Internal.DisallowSnapshotRequestProto.snapshotRoot");
39132 target =
39133 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
39134 1, this->snapshotroot(), target);
39135 }
39136
39137 if (_internal_metadata_.have_unknown_fields()) {
39138 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
39139 _internal_metadata_.unknown_fields(), target);
39140 }
39141 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.DisallowSnapshotRequestProto)
39142 return target;
39143}
39144
39145size_t DisallowSnapshotRequestProto::ByteSizeLong() const {
39146// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.DisallowSnapshotRequestProto)
39147 size_t total_size = 0;
39148
39149 if (_internal_metadata_.have_unknown_fields()) {
39150 total_size +=
39151 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
39152 _internal_metadata_.unknown_fields());
39153 }
39154 // required string snapshotRoot = 1;
39155 if (has_snapshotroot()) {
39156 total_size += 1 +
39157 ::google::protobuf::internal::WireFormatLite::StringSize(
39158 this->snapshotroot());
39159 }
39160 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
39161 SetCachedSize(cached_size);
39162 return total_size;
39163}
39164
39165void DisallowSnapshotRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
39166// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.DisallowSnapshotRequestProto)
39167 GOOGLE_DCHECK_NE(&from, this);
39168 const DisallowSnapshotRequestProto* source =
39169 ::google::protobuf::internal::DynamicCastToGenerated<const DisallowSnapshotRequestProto>(
39170 &from);
39171 if (source == NULL) {
39172 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.DisallowSnapshotRequestProto)
39173 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
39174 } else {
39175 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.DisallowSnapshotRequestProto)
39176 MergeFrom(*source);
39177 }
39178}
39179
39180void DisallowSnapshotRequestProto::MergeFrom(const DisallowSnapshotRequestProto& from) {
39181// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.DisallowSnapshotRequestProto)
39182 GOOGLE_DCHECK_NE(&from, this);
39183 _internal_metadata_.MergeFrom(from._internal_metadata_);
39184 ::google::protobuf::uint32 cached_has_bits = 0;
39185 (void) cached_has_bits;
39186
39187 if (from.has_snapshotroot()) {
39188 set_has_snapshotroot();
39189 snapshotroot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotroot_);
39190 }
39191}
39192
39193void DisallowSnapshotRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
39194// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.DisallowSnapshotRequestProto)
39195 if (&from == this) return;
39196 Clear();
39197 MergeFrom(from);
39198}
39199
39200void DisallowSnapshotRequestProto::CopyFrom(const DisallowSnapshotRequestProto& from) {
39201// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.DisallowSnapshotRequestProto)
39202 if (&from == this) return;
39203 Clear();
39204 MergeFrom(from);
39205}
39206
39207bool DisallowSnapshotRequestProto::IsInitialized() const {
39208 if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
39209 return true;
39210}
39211
39212void DisallowSnapshotRequestProto::Swap(DisallowSnapshotRequestProto* other) {
39213 if (other == this) return;
39214 InternalSwap(other);
39215}
39216void DisallowSnapshotRequestProto::InternalSwap(DisallowSnapshotRequestProto* other) {
39217 using std::swap;
39218 snapshotroot_.Swap(&other->snapshotroot_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
39219 GetArenaNoVirtual());
39220 swap(_has_bits_[0], other->_has_bits_[0]);
39221 _internal_metadata_.Swap(&other->_internal_metadata_);
39222}
39223
39224::google::protobuf::Metadata DisallowSnapshotRequestProto::GetMetadata() const {
39225 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
39226 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
39227}
39228
39229
39230// ===================================================================
39231
39232void DisallowSnapshotResponseProto::InitAsDefaultInstance() {
39233}
39234#if !defined(_MSC_VER) || _MSC_VER >= 1900
39235#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
39236
39237DisallowSnapshotResponseProto::DisallowSnapshotResponseProto()
39238 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
39239 ::google::protobuf::internal::InitSCC(
39240 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_DisallowSnapshotResponseProto.base);
39241 SharedCtor();
39242 // @@protoc_insertion_point(constructor:Hdfs.Internal.DisallowSnapshotResponseProto)
39243}
39244DisallowSnapshotResponseProto::DisallowSnapshotResponseProto(const DisallowSnapshotResponseProto& from)
39245 : ::google::protobuf::Message(),
39246 _internal_metadata_(NULL),
39247 _has_bits_(from._has_bits_) {
39248 _internal_metadata_.MergeFrom(from._internal_metadata_);
39249 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.DisallowSnapshotResponseProto)
39250}
39251
39252void DisallowSnapshotResponseProto::SharedCtor() {
39253}
39254
39255DisallowSnapshotResponseProto::~DisallowSnapshotResponseProto() {
39256 // @@protoc_insertion_point(destructor:Hdfs.Internal.DisallowSnapshotResponseProto)
39257 SharedDtor();
39258}
39259
39260void DisallowSnapshotResponseProto::SharedDtor() {
39261}
39262
39263void DisallowSnapshotResponseProto::SetCachedSize(int size) const {
39264 _cached_size_.Set(size);
39265}
39266const ::google::protobuf::Descriptor* DisallowSnapshotResponseProto::descriptor() {
39267 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
39268 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
39269}
39270
39271const DisallowSnapshotResponseProto& DisallowSnapshotResponseProto::default_instance() {
39272 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_DisallowSnapshotResponseProto.base);
39273 return *internal_default_instance();
39274}
39275
39276
39277void DisallowSnapshotResponseProto::Clear() {
39278// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.DisallowSnapshotResponseProto)
39279 ::google::protobuf::uint32 cached_has_bits = 0;
39280 // Prevent compiler warnings about cached_has_bits being unused
39281 (void) cached_has_bits;
39282
39283 _has_bits_.Clear();
39284 _internal_metadata_.Clear();
39285}
39286
39287bool DisallowSnapshotResponseProto::MergePartialFromCodedStream(
39288 ::google::protobuf::io::CodedInputStream* input) {
39289#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
39290 ::google::protobuf::uint32 tag;
39291 // @@protoc_insertion_point(parse_start:Hdfs.Internal.DisallowSnapshotResponseProto)
39292 for (;;) {
39293 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
39294 tag = p.first;
39295 if (!p.second) goto handle_unusual;
39296 handle_unusual:
39297 if (tag == 0) {
39298 goto success;
39299 }
39300 DO_(::google::protobuf::internal::WireFormat::SkipField(
39301 input, tag, _internal_metadata_.mutable_unknown_fields()));
39302 }
39303success:
39304 // @@protoc_insertion_point(parse_success:Hdfs.Internal.DisallowSnapshotResponseProto)
39305 return true;
39306failure:
39307 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.DisallowSnapshotResponseProto)
39308 return false;
39309#undef DO_
39310}
39311
39312void DisallowSnapshotResponseProto::SerializeWithCachedSizes(
39313 ::google::protobuf::io::CodedOutputStream* output) const {
39314 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.DisallowSnapshotResponseProto)
39315 ::google::protobuf::uint32 cached_has_bits = 0;
39316 (void) cached_has_bits;
39317
39318 if (_internal_metadata_.have_unknown_fields()) {
39319 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
39320 _internal_metadata_.unknown_fields(), output);
39321 }
39322 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.DisallowSnapshotResponseProto)
39323}
39324
39325::google::protobuf::uint8* DisallowSnapshotResponseProto::InternalSerializeWithCachedSizesToArray(
39326 bool deterministic, ::google::protobuf::uint8* target) const {
39327 (void)deterministic; // Unused
39328 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.DisallowSnapshotResponseProto)
39329 ::google::protobuf::uint32 cached_has_bits = 0;
39330 (void) cached_has_bits;
39331
39332 if (_internal_metadata_.have_unknown_fields()) {
39333 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
39334 _internal_metadata_.unknown_fields(), target);
39335 }
39336 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.DisallowSnapshotResponseProto)
39337 return target;
39338}
39339
39340size_t DisallowSnapshotResponseProto::ByteSizeLong() const {
39341// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.DisallowSnapshotResponseProto)
39342 size_t total_size = 0;
39343
39344 if (_internal_metadata_.have_unknown_fields()) {
39345 total_size +=
39346 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
39347 _internal_metadata_.unknown_fields());
39348 }
39349 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
39350 SetCachedSize(cached_size);
39351 return total_size;
39352}
39353
39354void DisallowSnapshotResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
39355// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.DisallowSnapshotResponseProto)
39356 GOOGLE_DCHECK_NE(&from, this);
39357 const DisallowSnapshotResponseProto* source =
39358 ::google::protobuf::internal::DynamicCastToGenerated<const DisallowSnapshotResponseProto>(
39359 &from);
39360 if (source == NULL) {
39361 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.DisallowSnapshotResponseProto)
39362 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
39363 } else {
39364 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.DisallowSnapshotResponseProto)
39365 MergeFrom(*source);
39366 }
39367}
39368
39369void DisallowSnapshotResponseProto::MergeFrom(const DisallowSnapshotResponseProto& from) {
39370// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.DisallowSnapshotResponseProto)
39371 GOOGLE_DCHECK_NE(&from, this);
39372 _internal_metadata_.MergeFrom(from._internal_metadata_);
39373 ::google::protobuf::uint32 cached_has_bits = 0;
39374 (void) cached_has_bits;
39375
39376}
39377
39378void DisallowSnapshotResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
39379// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.DisallowSnapshotResponseProto)
39380 if (&from == this) return;
39381 Clear();
39382 MergeFrom(from);
39383}
39384
39385void DisallowSnapshotResponseProto::CopyFrom(const DisallowSnapshotResponseProto& from) {
39386// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.DisallowSnapshotResponseProto)
39387 if (&from == this) return;
39388 Clear();
39389 MergeFrom(from);
39390}
39391
39392bool DisallowSnapshotResponseProto::IsInitialized() const {
39393 return true;
39394}
39395
39396void DisallowSnapshotResponseProto::Swap(DisallowSnapshotResponseProto* other) {
39397 if (other == this) return;
39398 InternalSwap(other);
39399}
39400void DisallowSnapshotResponseProto::InternalSwap(DisallowSnapshotResponseProto* other) {
39401 using std::swap;
39402 swap(_has_bits_[0], other->_has_bits_[0]);
39403 _internal_metadata_.Swap(&other->_internal_metadata_);
39404}
39405
39406::google::protobuf::Metadata DisallowSnapshotResponseProto::GetMetadata() const {
39407 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
39408 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
39409}
39410
39411
39412// ===================================================================
39413
39414void DeleteSnapshotRequestProto::InitAsDefaultInstance() {
39415}
39416#if !defined(_MSC_VER) || _MSC_VER >= 1900
39417const int DeleteSnapshotRequestProto::kSnapshotRootFieldNumber;
39418const int DeleteSnapshotRequestProto::kSnapshotNameFieldNumber;
39419#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
39420
39421DeleteSnapshotRequestProto::DeleteSnapshotRequestProto()
39422 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
39423 ::google::protobuf::internal::InitSCC(
39424 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_DeleteSnapshotRequestProto.base);
39425 SharedCtor();
39426 // @@protoc_insertion_point(constructor:Hdfs.Internal.DeleteSnapshotRequestProto)
39427}
39428DeleteSnapshotRequestProto::DeleteSnapshotRequestProto(const DeleteSnapshotRequestProto& from)
39429 : ::google::protobuf::Message(),
39430 _internal_metadata_(NULL),
39431 _has_bits_(from._has_bits_) {
39432 _internal_metadata_.MergeFrom(from._internal_metadata_);
39433 snapshotroot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
39434 if (from.has_snapshotroot()) {
39435 snapshotroot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotroot_);
39436 }
39437 snapshotname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
39438 if (from.has_snapshotname()) {
39439 snapshotname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotname_);
39440 }
39441 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.DeleteSnapshotRequestProto)
39442}
39443
39444void DeleteSnapshotRequestProto::SharedCtor() {
39445 snapshotroot_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
39446 snapshotname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
39447}
39448
39449DeleteSnapshotRequestProto::~DeleteSnapshotRequestProto() {
39450 // @@protoc_insertion_point(destructor:Hdfs.Internal.DeleteSnapshotRequestProto)
39451 SharedDtor();
39452}
39453
39454void DeleteSnapshotRequestProto::SharedDtor() {
39455 snapshotroot_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
39456 snapshotname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
39457}
39458
39459void DeleteSnapshotRequestProto::SetCachedSize(int size) const {
39460 _cached_size_.Set(size);
39461}
39462const ::google::protobuf::Descriptor* DeleteSnapshotRequestProto::descriptor() {
39463 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
39464 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
39465}
39466
39467const DeleteSnapshotRequestProto& DeleteSnapshotRequestProto::default_instance() {
39468 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_DeleteSnapshotRequestProto.base);
39469 return *internal_default_instance();
39470}
39471
39472
39473void DeleteSnapshotRequestProto::Clear() {
39474// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.DeleteSnapshotRequestProto)
39475 ::google::protobuf::uint32 cached_has_bits = 0;
39476 // Prevent compiler warnings about cached_has_bits being unused
39477 (void) cached_has_bits;
39478
39479 cached_has_bits = _has_bits_[0];
39480 if (cached_has_bits & 3u) {
39481 if (cached_has_bits & 0x00000001u) {
39482 snapshotroot_.ClearNonDefaultToEmptyNoArena();
39483 }
39484 if (cached_has_bits & 0x00000002u) {
39485 snapshotname_.ClearNonDefaultToEmptyNoArena();
39486 }
39487 }
39488 _has_bits_.Clear();
39489 _internal_metadata_.Clear();
39490}
39491
39492bool DeleteSnapshotRequestProto::MergePartialFromCodedStream(
39493 ::google::protobuf::io::CodedInputStream* input) {
39494#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
39495 ::google::protobuf::uint32 tag;
39496 // @@protoc_insertion_point(parse_start:Hdfs.Internal.DeleteSnapshotRequestProto)
39497 for (;;) {
39498 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
39499 tag = p.first;
39500 if (!p.second) goto handle_unusual;
39501 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
39502 // required string snapshotRoot = 1;
39503 case 1: {
39504 if (static_cast< ::google::protobuf::uint8>(tag) ==
39505 static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
39506 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
39507 input, this->mutable_snapshotroot()));
39508 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
39509 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
39510 ::google::protobuf::internal::WireFormat::PARSE,
39511 "Hdfs.Internal.DeleteSnapshotRequestProto.snapshotRoot");
39512 } else {
39513 goto handle_unusual;
39514 }
39515 break;
39516 }
39517
39518 // required string snapshotName = 2;
39519 case 2: {
39520 if (static_cast< ::google::protobuf::uint8>(tag) ==
39521 static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
39522 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
39523 input, this->mutable_snapshotname()));
39524 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
39525 this->snapshotname().data(), static_cast<int>(this->snapshotname().length()),
39526 ::google::protobuf::internal::WireFormat::PARSE,
39527 "Hdfs.Internal.DeleteSnapshotRequestProto.snapshotName");
39528 } else {
39529 goto handle_unusual;
39530 }
39531 break;
39532 }
39533
39534 default: {
39535 handle_unusual:
39536 if (tag == 0) {
39537 goto success;
39538 }
39539 DO_(::google::protobuf::internal::WireFormat::SkipField(
39540 input, tag, _internal_metadata_.mutable_unknown_fields()));
39541 break;
39542 }
39543 }
39544 }
39545success:
39546 // @@protoc_insertion_point(parse_success:Hdfs.Internal.DeleteSnapshotRequestProto)
39547 return true;
39548failure:
39549 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.DeleteSnapshotRequestProto)
39550 return false;
39551#undef DO_
39552}
39553
39554void DeleteSnapshotRequestProto::SerializeWithCachedSizes(
39555 ::google::protobuf::io::CodedOutputStream* output) const {
39556 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.DeleteSnapshotRequestProto)
39557 ::google::protobuf::uint32 cached_has_bits = 0;
39558 (void) cached_has_bits;
39559
39560 cached_has_bits = _has_bits_[0];
39561 // required string snapshotRoot = 1;
39562 if (cached_has_bits & 0x00000001u) {
39563 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
39564 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
39565 ::google::protobuf::internal::WireFormat::SERIALIZE,
39566 "Hdfs.Internal.DeleteSnapshotRequestProto.snapshotRoot");
39567 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
39568 1, this->snapshotroot(), output);
39569 }
39570
39571 // required string snapshotName = 2;
39572 if (cached_has_bits & 0x00000002u) {
39573 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
39574 this->snapshotname().data(), static_cast<int>(this->snapshotname().length()),
39575 ::google::protobuf::internal::WireFormat::SERIALIZE,
39576 "Hdfs.Internal.DeleteSnapshotRequestProto.snapshotName");
39577 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
39578 2, this->snapshotname(), output);
39579 }
39580
39581 if (_internal_metadata_.have_unknown_fields()) {
39582 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
39583 _internal_metadata_.unknown_fields(), output);
39584 }
39585 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.DeleteSnapshotRequestProto)
39586}
39587
39588::google::protobuf::uint8* DeleteSnapshotRequestProto::InternalSerializeWithCachedSizesToArray(
39589 bool deterministic, ::google::protobuf::uint8* target) const {
39590 (void)deterministic; // Unused
39591 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.DeleteSnapshotRequestProto)
39592 ::google::protobuf::uint32 cached_has_bits = 0;
39593 (void) cached_has_bits;
39594
39595 cached_has_bits = _has_bits_[0];
39596 // required string snapshotRoot = 1;
39597 if (cached_has_bits & 0x00000001u) {
39598 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
39599 this->snapshotroot().data(), static_cast<int>(this->snapshotroot().length()),
39600 ::google::protobuf::internal::WireFormat::SERIALIZE,
39601 "Hdfs.Internal.DeleteSnapshotRequestProto.snapshotRoot");
39602 target =
39603 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
39604 1, this->snapshotroot(), target);
39605 }
39606
39607 // required string snapshotName = 2;
39608 if (cached_has_bits & 0x00000002u) {
39609 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
39610 this->snapshotname().data(), static_cast<int>(this->snapshotname().length()),
39611 ::google::protobuf::internal::WireFormat::SERIALIZE,
39612 "Hdfs.Internal.DeleteSnapshotRequestProto.snapshotName");
39613 target =
39614 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
39615 2, this->snapshotname(), target);
39616 }
39617
39618 if (_internal_metadata_.have_unknown_fields()) {
39619 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
39620 _internal_metadata_.unknown_fields(), target);
39621 }
39622 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.DeleteSnapshotRequestProto)
39623 return target;
39624}
39625
39626size_t DeleteSnapshotRequestProto::RequiredFieldsByteSizeFallback() const {
39627// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Hdfs.Internal.DeleteSnapshotRequestProto)
39628 size_t total_size = 0;
39629
39630 if (has_snapshotroot()) {
39631 // required string snapshotRoot = 1;
39632 total_size += 1 +
39633 ::google::protobuf::internal::WireFormatLite::StringSize(
39634 this->snapshotroot());
39635 }
39636
39637 if (has_snapshotname()) {
39638 // required string snapshotName = 2;
39639 total_size += 1 +
39640 ::google::protobuf::internal::WireFormatLite::StringSize(
39641 this->snapshotname());
39642 }
39643
39644 return total_size;
39645}
39646size_t DeleteSnapshotRequestProto::ByteSizeLong() const {
39647// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.DeleteSnapshotRequestProto)
39648 size_t total_size = 0;
39649
39650 if (_internal_metadata_.have_unknown_fields()) {
39651 total_size +=
39652 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
39653 _internal_metadata_.unknown_fields());
39654 }
39655 if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
39656 // required string snapshotRoot = 1;
39657 total_size += 1 +
39658 ::google::protobuf::internal::WireFormatLite::StringSize(
39659 this->snapshotroot());
39660
39661 // required string snapshotName = 2;
39662 total_size += 1 +
39663 ::google::protobuf::internal::WireFormatLite::StringSize(
39664 this->snapshotname());
39665
39666 } else {
39667 total_size += RequiredFieldsByteSizeFallback();
39668 }
39669 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
39670 SetCachedSize(cached_size);
39671 return total_size;
39672}
39673
39674void DeleteSnapshotRequestProto::MergeFrom(const ::google::protobuf::Message& from) {
39675// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.DeleteSnapshotRequestProto)
39676 GOOGLE_DCHECK_NE(&from, this);
39677 const DeleteSnapshotRequestProto* source =
39678 ::google::protobuf::internal::DynamicCastToGenerated<const DeleteSnapshotRequestProto>(
39679 &from);
39680 if (source == NULL) {
39681 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.DeleteSnapshotRequestProto)
39682 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
39683 } else {
39684 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.DeleteSnapshotRequestProto)
39685 MergeFrom(*source);
39686 }
39687}
39688
39689void DeleteSnapshotRequestProto::MergeFrom(const DeleteSnapshotRequestProto& from) {
39690// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.DeleteSnapshotRequestProto)
39691 GOOGLE_DCHECK_NE(&from, this);
39692 _internal_metadata_.MergeFrom(from._internal_metadata_);
39693 ::google::protobuf::uint32 cached_has_bits = 0;
39694 (void) cached_has_bits;
39695
39696 cached_has_bits = from._has_bits_[0];
39697 if (cached_has_bits & 3u) {
39698 if (cached_has_bits & 0x00000001u) {
39699 set_has_snapshotroot();
39700 snapshotroot_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotroot_);
39701 }
39702 if (cached_has_bits & 0x00000002u) {
39703 set_has_snapshotname();
39704 snapshotname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshotname_);
39705 }
39706 }
39707}
39708
39709void DeleteSnapshotRequestProto::CopyFrom(const ::google::protobuf::Message& from) {
39710// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.DeleteSnapshotRequestProto)
39711 if (&from == this) return;
39712 Clear();
39713 MergeFrom(from);
39714}
39715
39716void DeleteSnapshotRequestProto::CopyFrom(const DeleteSnapshotRequestProto& from) {
39717// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.DeleteSnapshotRequestProto)
39718 if (&from == this) return;
39719 Clear();
39720 MergeFrom(from);
39721}
39722
39723bool DeleteSnapshotRequestProto::IsInitialized() const {
39724 if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
39725 return true;
39726}
39727
39728void DeleteSnapshotRequestProto::Swap(DeleteSnapshotRequestProto* other) {
39729 if (other == this) return;
39730 InternalSwap(other);
39731}
39732void DeleteSnapshotRequestProto::InternalSwap(DeleteSnapshotRequestProto* other) {
39733 using std::swap;
39734 snapshotroot_.Swap(&other->snapshotroot_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
39735 GetArenaNoVirtual());
39736 snapshotname_.Swap(&other->snapshotname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
39737 GetArenaNoVirtual());
39738 swap(_has_bits_[0], other->_has_bits_[0]);
39739 _internal_metadata_.Swap(&other->_internal_metadata_);
39740}
39741
39742::google::protobuf::Metadata DeleteSnapshotRequestProto::GetMetadata() const {
39743 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
39744 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
39745}
39746
39747
39748// ===================================================================
39749
39750void DeleteSnapshotResponseProto::InitAsDefaultInstance() {
39751}
39752#if !defined(_MSC_VER) || _MSC_VER >= 1900
39753#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
39754
39755DeleteSnapshotResponseProto::DeleteSnapshotResponseProto()
39756 : ::google::protobuf::Message(), _internal_metadata_(NULL) {
39757 ::google::protobuf::internal::InitSCC(
39758 &protobuf_ClientNamenodeProtocol_2eproto::scc_info_DeleteSnapshotResponseProto.base);
39759 SharedCtor();
39760 // @@protoc_insertion_point(constructor:Hdfs.Internal.DeleteSnapshotResponseProto)
39761}
39762DeleteSnapshotResponseProto::DeleteSnapshotResponseProto(const DeleteSnapshotResponseProto& from)
39763 : ::google::protobuf::Message(),
39764 _internal_metadata_(NULL),
39765 _has_bits_(from._has_bits_) {
39766 _internal_metadata_.MergeFrom(from._internal_metadata_);
39767 // @@protoc_insertion_point(copy_constructor:Hdfs.Internal.DeleteSnapshotResponseProto)
39768}
39769
39770void DeleteSnapshotResponseProto::SharedCtor() {
39771}
39772
39773DeleteSnapshotResponseProto::~DeleteSnapshotResponseProto() {
39774 // @@protoc_insertion_point(destructor:Hdfs.Internal.DeleteSnapshotResponseProto)
39775 SharedDtor();
39776}
39777
39778void DeleteSnapshotResponseProto::SharedDtor() {
39779}
39780
39781void DeleteSnapshotResponseProto::SetCachedSize(int size) const {
39782 _cached_size_.Set(size);
39783}
39784const ::google::protobuf::Descriptor* DeleteSnapshotResponseProto::descriptor() {
39785 ::protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
39786 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
39787}
39788
39789const DeleteSnapshotResponseProto& DeleteSnapshotResponseProto::default_instance() {
39790 ::google::protobuf::internal::InitSCC(&protobuf_ClientNamenodeProtocol_2eproto::scc_info_DeleteSnapshotResponseProto.base);
39791 return *internal_default_instance();
39792}
39793
39794
39795void DeleteSnapshotResponseProto::Clear() {
39796// @@protoc_insertion_point(message_clear_start:Hdfs.Internal.DeleteSnapshotResponseProto)
39797 ::google::protobuf::uint32 cached_has_bits = 0;
39798 // Prevent compiler warnings about cached_has_bits being unused
39799 (void) cached_has_bits;
39800
39801 _has_bits_.Clear();
39802 _internal_metadata_.Clear();
39803}
39804
39805bool DeleteSnapshotResponseProto::MergePartialFromCodedStream(
39806 ::google::protobuf::io::CodedInputStream* input) {
39807#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
39808 ::google::protobuf::uint32 tag;
39809 // @@protoc_insertion_point(parse_start:Hdfs.Internal.DeleteSnapshotResponseProto)
39810 for (;;) {
39811 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
39812 tag = p.first;
39813 if (!p.second) goto handle_unusual;
39814 handle_unusual:
39815 if (tag == 0) {
39816 goto success;
39817 }
39818 DO_(::google::protobuf::internal::WireFormat::SkipField(
39819 input, tag, _internal_metadata_.mutable_unknown_fields()));
39820 }
39821success:
39822 // @@protoc_insertion_point(parse_success:Hdfs.Internal.DeleteSnapshotResponseProto)
39823 return true;
39824failure:
39825 // @@protoc_insertion_point(parse_failure:Hdfs.Internal.DeleteSnapshotResponseProto)
39826 return false;
39827#undef DO_
39828}
39829
39830void DeleteSnapshotResponseProto::SerializeWithCachedSizes(
39831 ::google::protobuf::io::CodedOutputStream* output) const {
39832 // @@protoc_insertion_point(serialize_start:Hdfs.Internal.DeleteSnapshotResponseProto)
39833 ::google::protobuf::uint32 cached_has_bits = 0;
39834 (void) cached_has_bits;
39835
39836 if (_internal_metadata_.have_unknown_fields()) {
39837 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
39838 _internal_metadata_.unknown_fields(), output);
39839 }
39840 // @@protoc_insertion_point(serialize_end:Hdfs.Internal.DeleteSnapshotResponseProto)
39841}
39842
39843::google::protobuf::uint8* DeleteSnapshotResponseProto::InternalSerializeWithCachedSizesToArray(
39844 bool deterministic, ::google::protobuf::uint8* target) const {
39845 (void)deterministic; // Unused
39846 // @@protoc_insertion_point(serialize_to_array_start:Hdfs.Internal.DeleteSnapshotResponseProto)
39847 ::google::protobuf::uint32 cached_has_bits = 0;
39848 (void) cached_has_bits;
39849
39850 if (_internal_metadata_.have_unknown_fields()) {
39851 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
39852 _internal_metadata_.unknown_fields(), target);
39853 }
39854 // @@protoc_insertion_point(serialize_to_array_end:Hdfs.Internal.DeleteSnapshotResponseProto)
39855 return target;
39856}
39857
39858size_t DeleteSnapshotResponseProto::ByteSizeLong() const {
39859// @@protoc_insertion_point(message_byte_size_start:Hdfs.Internal.DeleteSnapshotResponseProto)
39860 size_t total_size = 0;
39861
39862 if (_internal_metadata_.have_unknown_fields()) {
39863 total_size +=
39864 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
39865 _internal_metadata_.unknown_fields());
39866 }
39867 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
39868 SetCachedSize(cached_size);
39869 return total_size;
39870}
39871
39872void DeleteSnapshotResponseProto::MergeFrom(const ::google::protobuf::Message& from) {
39873// @@protoc_insertion_point(generalized_merge_from_start:Hdfs.Internal.DeleteSnapshotResponseProto)
39874 GOOGLE_DCHECK_NE(&from, this);
39875 const DeleteSnapshotResponseProto* source =
39876 ::google::protobuf::internal::DynamicCastToGenerated<const DeleteSnapshotResponseProto>(
39877 &from);
39878 if (source == NULL) {
39879 // @@protoc_insertion_point(generalized_merge_from_cast_fail:Hdfs.Internal.DeleteSnapshotResponseProto)
39880 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
39881 } else {
39882 // @@protoc_insertion_point(generalized_merge_from_cast_success:Hdfs.Internal.DeleteSnapshotResponseProto)
39883 MergeFrom(*source);
39884 }
39885}
39886
39887void DeleteSnapshotResponseProto::MergeFrom(const DeleteSnapshotResponseProto& from) {
39888// @@protoc_insertion_point(class_specific_merge_from_start:Hdfs.Internal.DeleteSnapshotResponseProto)
39889 GOOGLE_DCHECK_NE(&from, this);
39890 _internal_metadata_.MergeFrom(from._internal_metadata_);
39891 ::google::protobuf::uint32 cached_has_bits = 0;
39892 (void) cached_has_bits;
39893
39894}
39895
39896void DeleteSnapshotResponseProto::CopyFrom(const ::google::protobuf::Message& from) {
39897// @@protoc_insertion_point(generalized_copy_from_start:Hdfs.Internal.DeleteSnapshotResponseProto)
39898 if (&from == this) return;
39899 Clear();
39900 MergeFrom(from);
39901}
39902
39903void DeleteSnapshotResponseProto::CopyFrom(const DeleteSnapshotResponseProto& from) {
39904// @@protoc_insertion_point(class_specific_copy_from_start:Hdfs.Internal.DeleteSnapshotResponseProto)
39905 if (&from == this) return;
39906 Clear();
39907 MergeFrom(from);
39908}
39909
39910bool DeleteSnapshotResponseProto::IsInitialized() const {
39911 return true;
39912}
39913
39914void DeleteSnapshotResponseProto::Swap(DeleteSnapshotResponseProto* other) {
39915 if (other == this) return;
39916 InternalSwap(other);
39917}
39918void DeleteSnapshotResponseProto::InternalSwap(DeleteSnapshotResponseProto* other) {
39919 using std::swap;
39920 swap(_has_bits_[0], other->_has_bits_[0]);
39921 _internal_metadata_.Swap(&other->_internal_metadata_);
39922}
39923
39924::google::protobuf::Metadata DeleteSnapshotResponseProto::GetMetadata() const {
39925 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
39926 return ::protobuf_ClientNamenodeProtocol_2eproto::file_level_metadata[kIndexInFileMessages];
39927}
39928
39929
39930// ===================================================================
39931
39932ClientNamenodeProtocol::~ClientNamenodeProtocol() {}
39933
39934const ::google::protobuf::ServiceDescriptor* ClientNamenodeProtocol::descriptor() {
39935 protobuf_ClientNamenodeProtocol_2eproto::protobuf_AssignDescriptorsOnce();
39936 return protobuf_ClientNamenodeProtocol_2eproto::file_level_service_descriptors[0];
39937}
39938
39939const ::google::protobuf::ServiceDescriptor* ClientNamenodeProtocol::GetDescriptor() {
39940 return descriptor();
39941}
39942
39943void ClientNamenodeProtocol::getBlockLocations(::google::protobuf::RpcController* controller,
39944 const ::Hdfs::Internal::GetBlockLocationsRequestProto*,
39945 ::Hdfs::Internal::GetBlockLocationsResponseProto*,
39946 ::google::protobuf::Closure* done) {
39947 controller->SetFailed("Method getBlockLocations() not implemented.");
39948 done->Run();
39949}
39950
39951void ClientNamenodeProtocol::getServerDefaults(::google::protobuf::RpcController* controller,
39952 const ::Hdfs::Internal::GetServerDefaultsRequestProto*,
39953 ::Hdfs::Internal::GetServerDefaultsResponseProto*,
39954 ::google::protobuf::Closure* done) {
39955 controller->SetFailed("Method getServerDefaults() not implemented.");
39956 done->Run();
39957}
39958
39959void ClientNamenodeProtocol::create(::google::protobuf::RpcController* controller,
39960 const ::Hdfs::Internal::CreateRequestProto*,
39961 ::Hdfs::Internal::CreateResponseProto*,
39962 ::google::protobuf::Closure* done) {
39963 controller->SetFailed("Method create() not implemented.");
39964 done->Run();
39965}
39966
39967void ClientNamenodeProtocol::append(::google::protobuf::RpcController* controller,
39968 const ::Hdfs::Internal::AppendRequestProto*,
39969 ::Hdfs::Internal::AppendResponseProto*,
39970 ::google::protobuf::Closure* done) {
39971 controller->SetFailed("Method append() not implemented.");
39972 done->Run();
39973}
39974
39975void ClientNamenodeProtocol::setReplication(::google::protobuf::RpcController* controller,
39976 const ::Hdfs::Internal::SetReplicationRequestProto*,
39977 ::Hdfs::Internal::SetReplicationResponseProto*,
39978 ::google::protobuf::Closure* done) {
39979 controller->SetFailed("Method setReplication() not implemented.");
39980 done->Run();
39981}
39982
39983void ClientNamenodeProtocol::setPermission(::google::protobuf::RpcController* controller,
39984 const ::Hdfs::Internal::SetPermissionRequestProto*,
39985 ::Hdfs::Internal::SetPermissionResponseProto*,
39986 ::google::protobuf::Closure* done) {
39987 controller->SetFailed("Method setPermission() not implemented.");
39988 done->Run();
39989}
39990
39991void ClientNamenodeProtocol::setOwner(::google::protobuf::RpcController* controller,
39992 const ::Hdfs::Internal::SetOwnerRequestProto*,
39993 ::Hdfs::Internal::SetOwnerResponseProto*,
39994 ::google::protobuf::Closure* done) {
39995 controller->SetFailed("Method setOwner() not implemented.");
39996 done->Run();
39997}
39998
39999void ClientNamenodeProtocol::abandonBlock(::google::protobuf::RpcController* controller,
40000 const ::Hdfs::Internal::AbandonBlockRequestProto*,
40001 ::Hdfs::Internal::AbandonBlockResponseProto*,
40002 ::google::protobuf::Closure* done) {
40003 controller->SetFailed("Method abandonBlock() not implemented.");
40004 done->Run();
40005}
40006
40007void ClientNamenodeProtocol::addBlock(::google::protobuf::RpcController* controller,
40008 const ::Hdfs::Internal::AddBlockRequestProto*,
40009 ::Hdfs::Internal::AddBlockResponseProto*,
40010 ::google::protobuf::Closure* done) {
40011 controller->SetFailed("Method addBlock() not implemented.");
40012 done->Run();
40013}
40014
40015void ClientNamenodeProtocol::getAdditionalDatanode(::google::protobuf::RpcController* controller,
40016 const ::Hdfs::Internal::GetAdditionalDatanodeRequestProto*,
40017 ::Hdfs::Internal::GetAdditionalDatanodeResponseProto*,
40018 ::google::protobuf::Closure* done) {
40019 controller->SetFailed("Method getAdditionalDatanode() not implemented.");
40020 done->Run();
40021}
40022
40023void ClientNamenodeProtocol::complete(::google::protobuf::RpcController* controller,
40024 const ::Hdfs::Internal::CompleteRequestProto*,
40025 ::Hdfs::Internal::CompleteResponseProto*,
40026 ::google::protobuf::Closure* done) {
40027 controller->SetFailed("Method complete() not implemented.");
40028 done->Run();
40029}
40030
40031void ClientNamenodeProtocol::reportBadBlocks(::google::protobuf::RpcController* controller,
40032 const ::Hdfs::Internal::ReportBadBlocksRequestProto*,
40033 ::Hdfs::Internal::ReportBadBlocksResponseProto*,
40034 ::google::protobuf::Closure* done) {
40035 controller->SetFailed("Method reportBadBlocks() not implemented.");
40036 done->Run();
40037}
40038
40039void ClientNamenodeProtocol::concat(::google::protobuf::RpcController* controller,
40040 const ::Hdfs::Internal::ConcatRequestProto*,
40041 ::Hdfs::Internal::ConcatResponseProto*,
40042 ::google::protobuf::Closure* done) {
40043 controller->SetFailed("Method concat() not implemented.");
40044 done->Run();
40045}
40046
40047void ClientNamenodeProtocol::truncate(::google::protobuf::RpcController* controller,
40048 const ::Hdfs::Internal::TruncateRequestProto*,
40049 ::Hdfs::Internal::TruncateResponseProto*,
40050 ::google::protobuf::Closure* done) {
40051 controller->SetFailed("Method truncate() not implemented.");
40052 done->Run();
40053}
40054
40055void ClientNamenodeProtocol::getLease(::google::protobuf::RpcController* controller,
40056 const ::Hdfs::Internal::GetLeaseRequestProto*,
40057 ::Hdfs::Internal::GetLeaseResponseProto*,
40058 ::google::protobuf::Closure* done) {
40059 controller->SetFailed("Method getLease() not implemented.");
40060 done->Run();
40061}
40062
40063void ClientNamenodeProtocol::releaseLease(::google::protobuf::RpcController* controller,
40064 const ::Hdfs::Internal::ReleaseLeaseRequestProto*,
40065 ::Hdfs::Internal::ReleaseLeaseResponseProto*,
40066 ::google::protobuf::Closure* done) {
40067 controller->SetFailed("Method releaseLease() not implemented.");
40068 done->Run();
40069}
40070
40071void ClientNamenodeProtocol::rename(::google::protobuf::RpcController* controller,
40072 const ::Hdfs::Internal::RenameRequestProto*,
40073 ::Hdfs::Internal::RenameResponseProto*,
40074 ::google::protobuf::Closure* done) {
40075 controller->SetFailed("Method rename() not implemented.");
40076 done->Run();
40077}
40078
40079void ClientNamenodeProtocol::rename2(::google::protobuf::RpcController* controller,
40080 const ::Hdfs::Internal::Rename2RequestProto*,
40081 ::Hdfs::Internal::Rename2ResponseProto*,
40082 ::google::protobuf::Closure* done) {
40083 controller->SetFailed("Method rename2() not implemented.");
40084 done->Run();
40085}
40086
40087void ClientNamenodeProtocol::deleteFile(::google::protobuf::RpcController* controller,
40088 const ::Hdfs::Internal::DeleteRequestProto*,
40089 ::Hdfs::Internal::DeleteResponseProto*,
40090 ::google::protobuf::Closure* done) {
40091 controller->SetFailed("Method deleteFile() not implemented.");
40092 done->Run();
40093}
40094
40095void ClientNamenodeProtocol::mkdirs(::google::protobuf::RpcController* controller,
40096 const ::Hdfs::Internal::MkdirsRequestProto*,
40097 ::Hdfs::Internal::MkdirsResponseProto*,
40098 ::google::protobuf::Closure* done) {
40099 controller->SetFailed("Method mkdirs() not implemented.");
40100 done->Run();
40101}
40102
40103void ClientNamenodeProtocol::getListing(::google::protobuf::RpcController* controller,
40104 const ::Hdfs::Internal::GetListingRequestProto*,
40105 ::Hdfs::Internal::GetListingResponseProto*,
40106 ::google::protobuf::Closure* done) {
40107 controller->SetFailed("Method getListing() not implemented.");
40108 done->Run();
40109}
40110
40111void ClientNamenodeProtocol::renewLease(::google::protobuf::RpcController* controller,
40112 const ::Hdfs::Internal::RenewLeaseRequestProto*,
40113 ::Hdfs::Internal::RenewLeaseResponseProto*,
40114 ::google::protobuf::Closure* done) {
40115 controller->SetFailed("Method renewLease() not implemented.");
40116 done->Run();
40117}
40118
40119void ClientNamenodeProtocol::recoverLease(::google::protobuf::RpcController* controller,
40120 const ::Hdfs::Internal::RecoverLeaseRequestProto*,
40121 ::Hdfs::Internal::RecoverLeaseResponseProto*,
40122 ::google::protobuf::Closure* done) {
40123 controller->SetFailed("Method recoverLease() not implemented.");
40124 done->Run();
40125}
40126
40127void ClientNamenodeProtocol::getFsStats(::google::protobuf::RpcController* controller,
40128 const ::Hdfs::Internal::GetFsStatusRequestProto*,
40129 ::Hdfs::Internal::GetFsStatsResponseProto*,
40130 ::google::protobuf::Closure* done) {
40131 controller->SetFailed("Method getFsStats() not implemented.");
40132 done->Run();
40133}
40134
40135void ClientNamenodeProtocol::getDatanodeReport(::google::protobuf::RpcController* controller,
40136 const ::Hdfs::Internal::GetDatanodeReportRequestProto*,
40137 ::Hdfs::Internal::GetDatanodeReportResponseProto*,
40138 ::google::protobuf::Closure* done) {
40139 controller->SetFailed("Method getDatanodeReport() not implemented.");
40140 done->Run();
40141}
40142
40143void ClientNamenodeProtocol::getPreferredBlockSize(::google::protobuf::RpcController* controller,
40144 const ::Hdfs::Internal::GetPreferredBlockSizeRequestProto*,
40145 ::Hdfs::Internal::GetPreferredBlockSizeResponseProto*,
40146 ::google::protobuf::Closure* done) {
40147 controller->SetFailed("Method getPreferredBlockSize() not implemented.");
40148 done->Run();
40149}
40150
40151void ClientNamenodeProtocol::setSafeMode(::google::protobuf::RpcController* controller,
40152 const ::Hdfs::Internal::SetSafeModeRequestProto*,
40153 ::Hdfs::Internal::SetSafeModeResponseProto*,
40154 ::google::protobuf::Closure* done) {
40155 controller->SetFailed("Method setSafeMode() not implemented.");
40156 done->Run();
40157}
40158
40159void ClientNamenodeProtocol::saveNamespace(::google::protobuf::RpcController* controller,
40160 const ::Hdfs::Internal::SaveNamespaceRequestProto*,
40161 ::Hdfs::Internal::SaveNamespaceResponseProto*,
40162 ::google::protobuf::Closure* done) {
40163 controller->SetFailed("Method saveNamespace() not implemented.");
40164 done->Run();
40165}
40166
40167void ClientNamenodeProtocol::rollEdits(::google::protobuf::RpcController* controller,
40168 const ::Hdfs::Internal::RollEditsRequestProto*,
40169 ::Hdfs::Internal::RollEditsResponseProto*,
40170 ::google::protobuf::Closure* done) {
40171 controller->SetFailed("Method rollEdits() not implemented.");
40172 done->Run();
40173}
40174
40175void ClientNamenodeProtocol::restoreFailedStorage(::google::protobuf::RpcController* controller,
40176 const ::Hdfs::Internal::RestoreFailedStorageRequestProto*,
40177 ::Hdfs::Internal::RestoreFailedStorageResponseProto*,
40178 ::google::protobuf::Closure* done) {
40179 controller->SetFailed("Method restoreFailedStorage() not implemented.");
40180 done->Run();
40181}
40182
40183void ClientNamenodeProtocol::refreshNodes(::google::protobuf::RpcController* controller,
40184 const ::Hdfs::Internal::RefreshNodesRequestProto*,
40185 ::Hdfs::Internal::RefreshNodesResponseProto*,
40186 ::google::protobuf::Closure* done) {
40187 controller->SetFailed("Method refreshNodes() not implemented.");
40188 done->Run();
40189}
40190
40191void ClientNamenodeProtocol::finalizeUpgrade(::google::protobuf::RpcController* controller,
40192 const ::Hdfs::Internal::FinalizeUpgradeRequestProto*,
40193 ::Hdfs::Internal::FinalizeUpgradeResponseProto*,
40194 ::google::protobuf::Closure* done) {
40195 controller->SetFailed("Method finalizeUpgrade() not implemented.");
40196 done->Run();
40197}
40198
40199void ClientNamenodeProtocol::listCorruptFileBlocks(::google::protobuf::RpcController* controller,
40200 const ::Hdfs::Internal::ListCorruptFileBlocksRequestProto*,
40201 ::Hdfs::Internal::ListCorruptFileBlocksResponseProto*,
40202 ::google::protobuf::Closure* done) {
40203 controller->SetFailed("Method listCorruptFileBlocks() not implemented.");
40204 done->Run();
40205}
40206
40207void ClientNamenodeProtocol::metaSave(::google::protobuf::RpcController* controller,
40208 const ::Hdfs::Internal::MetaSaveRequestProto*,
40209 ::Hdfs::Internal::MetaSaveResponseProto*,
40210 ::google::protobuf::Closure* done) {
40211 controller->SetFailed("Method metaSave() not implemented.");
40212 done->Run();
40213}
40214
40215void ClientNamenodeProtocol::getFileInfo(::google::protobuf::RpcController* controller,
40216 const ::Hdfs::Internal::GetFileInfoRequestProto*,
40217 ::Hdfs::Internal::GetFileInfoResponseProto*,
40218 ::google::protobuf::Closure* done) {
40219 controller->SetFailed("Method getFileInfo() not implemented.");
40220 done->Run();
40221}
40222
40223void ClientNamenodeProtocol::addCacheDirective(::google::protobuf::RpcController* controller,
40224 const ::Hdfs::Internal::AddCacheDirectiveRequestProto*,
40225 ::Hdfs::Internal::AddCacheDirectiveResponseProto*,
40226 ::google::protobuf::Closure* done) {
40227 controller->SetFailed("Method addCacheDirective() not implemented.");
40228 done->Run();
40229}
40230
40231void ClientNamenodeProtocol::modifyCacheDirective(::google::protobuf::RpcController* controller,
40232 const ::Hdfs::Internal::ModifyCacheDirectiveRequestProto*,
40233 ::Hdfs::Internal::ModifyCacheDirectiveResponseProto*,
40234 ::google::protobuf::Closure* done) {
40235 controller->SetFailed("Method modifyCacheDirective() not implemented.");
40236 done->Run();
40237}
40238
40239void ClientNamenodeProtocol::removeCacheDirective(::google::protobuf::RpcController* controller,
40240 const ::Hdfs::Internal::RemoveCacheDirectiveRequestProto*,
40241 ::Hdfs::Internal::RemoveCacheDirectiveResponseProto*,
40242 ::google::protobuf::Closure* done) {
40243 controller->SetFailed("Method removeCacheDirective() not implemented.");
40244 done->Run();
40245}
40246
40247void ClientNamenodeProtocol::listCacheDirectives(::google::protobuf::RpcController* controller,
40248 const ::Hdfs::Internal::ListCacheDirectivesRequestProto*,
40249 ::Hdfs::Internal::ListCacheDirectivesResponseProto*,
40250 ::google::protobuf::Closure* done) {
40251 controller->SetFailed("Method listCacheDirectives() not implemented.");
40252 done->Run();
40253}
40254
40255void ClientNamenodeProtocol::addCachePool(::google::protobuf::RpcController* controller,
40256 const ::Hdfs::Internal::AddCachePoolRequestProto*,
40257 ::Hdfs::Internal::AddCachePoolResponseProto*,
40258 ::google::protobuf::Closure* done) {
40259 controller->SetFailed("Method addCachePool() not implemented.");
40260 done->Run();
40261}
40262
40263void ClientNamenodeProtocol::modifyCachePool(::google::protobuf::RpcController* controller,
40264 const ::Hdfs::Internal::ModifyCachePoolRequestProto*,
40265 ::Hdfs::Internal::ModifyCachePoolResponseProto*,
40266 ::google::protobuf::Closure* done) {
40267 controller->SetFailed("Method modifyCachePool() not implemented.");
40268 done->Run();
40269}
40270
40271void ClientNamenodeProtocol::removeCachePool(::google::protobuf::RpcController* controller,
40272 const ::Hdfs::Internal::RemoveCachePoolRequestProto*,
40273 ::Hdfs::Internal::RemoveCachePoolResponseProto*,
40274 ::google::protobuf::Closure* done) {
40275 controller->SetFailed("Method removeCachePool() not implemented.");
40276 done->Run();
40277}
40278
40279void ClientNamenodeProtocol::listCachePools(::google::protobuf::RpcController* controller,
40280 const ::Hdfs::Internal::ListCachePoolsRequestProto*,
40281 ::Hdfs::Internal::ListCachePoolsResponseProto*,
40282 ::google::protobuf::Closure* done) {
40283 controller->SetFailed("Method listCachePools() not implemented.");
40284 done->Run();
40285}
40286
40287void ClientNamenodeProtocol::getFileLinkInfo(::google::protobuf::RpcController* controller,
40288 const ::Hdfs::Internal::GetFileLinkInfoRequestProto*,
40289 ::Hdfs::Internal::GetFileLinkInfoResponseProto*,
40290 ::google::protobuf::Closure* done) {
40291 controller->SetFailed("Method getFileLinkInfo() not implemented.");
40292 done->Run();
40293}
40294
40295void ClientNamenodeProtocol::getContentSummary(::google::protobuf::RpcController* controller,
40296 const ::Hdfs::Internal::GetContentSummaryRequestProto*,
40297 ::Hdfs::Internal::GetContentSummaryResponseProto*,
40298 ::google::protobuf::Closure* done) {
40299 controller->SetFailed("Method getContentSummary() not implemented.");
40300 done->Run();
40301}
40302
40303void ClientNamenodeProtocol::setQuota(::google::protobuf::RpcController* controller,
40304 const ::Hdfs::Internal::SetQuotaRequestProto*,
40305 ::Hdfs::Internal::SetQuotaResponseProto*,
40306 ::google::protobuf::Closure* done) {
40307 controller->SetFailed("Method setQuota() not implemented.");
40308 done->Run();
40309}
40310
40311void ClientNamenodeProtocol::fsync(::google::protobuf::RpcController* controller,
40312 const ::Hdfs::Internal::FsyncRequestProto*,
40313 ::Hdfs::Internal::FsyncResponseProto*,
40314 ::google::protobuf::Closure* done) {
40315 controller->SetFailed("Method fsync() not implemented.");
40316 done->Run();
40317}
40318
40319void ClientNamenodeProtocol::setTimes(::google::protobuf::RpcController* controller,
40320 const ::Hdfs::Internal::SetTimesRequestProto*,
40321 ::Hdfs::Internal::SetTimesResponseProto*,
40322 ::google::protobuf::Closure* done) {
40323 controller->SetFailed("Method setTimes() not implemented.");
40324 done->Run();
40325}
40326
40327void ClientNamenodeProtocol::createSymlink(::google::protobuf::RpcController* controller,
40328 const ::Hdfs::Internal::CreateSymlinkRequestProto*,
40329 ::Hdfs::Internal::CreateSymlinkResponseProto*,
40330 ::google::protobuf::Closure* done) {
40331 controller->SetFailed("Method createSymlink() not implemented.");
40332 done->Run();
40333}
40334
40335void ClientNamenodeProtocol::getLinkTarget(::google::protobuf::RpcController* controller,
40336 const ::Hdfs::Internal::GetLinkTargetRequestProto*,
40337 ::Hdfs::Internal::GetLinkTargetResponseProto*,
40338 ::google::protobuf::Closure* done) {
40339 controller->SetFailed("Method getLinkTarget() not implemented.");
40340 done->Run();
40341}
40342
40343void ClientNamenodeProtocol::updateBlockForPipeline(::google::protobuf::RpcController* controller,
40344 const ::Hdfs::Internal::UpdateBlockForPipelineRequestProto*,
40345 ::Hdfs::Internal::UpdateBlockForPipelineResponseProto*,
40346 ::google::protobuf::Closure* done) {
40347 controller->SetFailed("Method updateBlockForPipeline() not implemented.");
40348 done->Run();
40349}
40350
40351void ClientNamenodeProtocol::updatePipeline(::google::protobuf::RpcController* controller,
40352 const ::Hdfs::Internal::UpdatePipelineRequestProto*,
40353 ::Hdfs::Internal::UpdatePipelineResponseProto*,
40354 ::google::protobuf::Closure* done) {
40355 controller->SetFailed("Method updatePipeline() not implemented.");
40356 done->Run();
40357}
40358
40359void ClientNamenodeProtocol::getDelegationToken(::google::protobuf::RpcController* controller,
40360 const ::Hdfs::Internal::GetDelegationTokenRequestProto*,
40361 ::Hdfs::Internal::GetDelegationTokenResponseProto*,
40362 ::google::protobuf::Closure* done) {
40363 controller->SetFailed("Method getDelegationToken() not implemented.");
40364 done->Run();
40365}
40366
40367void ClientNamenodeProtocol::renewDelegationToken(::google::protobuf::RpcController* controller,
40368 const ::Hdfs::Internal::RenewDelegationTokenRequestProto*,
40369 ::Hdfs::Internal::RenewDelegationTokenResponseProto*,
40370 ::google::protobuf::Closure* done) {
40371 controller->SetFailed("Method renewDelegationToken() not implemented.");
40372 done->Run();
40373}
40374
40375void ClientNamenodeProtocol::cancelDelegationToken(::google::protobuf::RpcController* controller,
40376 const ::Hdfs::Internal::CancelDelegationTokenRequestProto*,
40377 ::Hdfs::Internal::CancelDelegationTokenResponseProto*,
40378 ::google::protobuf::Closure* done) {
40379 controller->SetFailed("Method cancelDelegationToken() not implemented.");
40380 done->Run();
40381}
40382
40383void ClientNamenodeProtocol::setBalancerBandwidth(::google::protobuf::RpcController* controller,
40384 const ::Hdfs::Internal::SetBalancerBandwidthRequestProto*,
40385 ::Hdfs::Internal::SetBalancerBandwidthResponseProto*,
40386 ::google::protobuf::Closure* done) {
40387 controller->SetFailed("Method setBalancerBandwidth() not implemented.");
40388 done->Run();
40389}
40390
40391void ClientNamenodeProtocol::getDataEncryptionKey(::google::protobuf::RpcController* controller,
40392 const ::Hdfs::Internal::GetDataEncryptionKeyRequestProto*,
40393 ::Hdfs::Internal::GetDataEncryptionKeyResponseProto*,
40394 ::google::protobuf::Closure* done) {
40395 controller->SetFailed("Method getDataEncryptionKey() not implemented.");
40396 done->Run();
40397}
40398
40399void ClientNamenodeProtocol::createSnapshot(::google::protobuf::RpcController* controller,
40400 const ::Hdfs::Internal::CreateSnapshotRequestProto*,
40401 ::Hdfs::Internal::CreateSnapshotResponseProto*,
40402 ::google::protobuf::Closure* done) {
40403 controller->SetFailed("Method createSnapshot() not implemented.");
40404 done->Run();
40405}
40406
40407void ClientNamenodeProtocol::renameSnapshot(::google::protobuf::RpcController* controller,
40408 const ::Hdfs::Internal::RenameSnapshotRequestProto*,
40409 ::Hdfs::Internal::RenameSnapshotResponseProto*,
40410 ::google::protobuf::Closure* done) {
40411 controller->SetFailed("Method renameSnapshot() not implemented.");
40412 done->Run();
40413}
40414
40415void ClientNamenodeProtocol::allowSnapshot(::google::protobuf::RpcController* controller,
40416 const ::Hdfs::Internal::AllowSnapshotRequestProto*,
40417 ::Hdfs::Internal::AllowSnapshotResponseProto*,
40418 ::google::protobuf::Closure* done) {
40419 controller->SetFailed("Method allowSnapshot() not implemented.");
40420 done->Run();
40421}
40422
40423void ClientNamenodeProtocol::disallowSnapshot(::google::protobuf::RpcController* controller,
40424 const ::Hdfs::Internal::DisallowSnapshotRequestProto*,
40425 ::Hdfs::Internal::DisallowSnapshotResponseProto*,
40426 ::google::protobuf::Closure* done) {
40427 controller->SetFailed("Method disallowSnapshot() not implemented.");
40428 done->Run();
40429}
40430
40431void ClientNamenodeProtocol::getSnapshottableDirListing(::google::protobuf::RpcController* controller,
40432 const ::Hdfs::Internal::GetSnapshottableDirListingRequestProto*,
40433 ::Hdfs::Internal::GetSnapshottableDirListingResponseProto*,
40434 ::google::protobuf::Closure* done) {
40435 controller->SetFailed("Method getSnapshottableDirListing() not implemented.");
40436 done->Run();
40437}
40438
40439void ClientNamenodeProtocol::deleteSnapshot(::google::protobuf::RpcController* controller,
40440 const ::Hdfs::Internal::DeleteSnapshotRequestProto*,
40441 ::Hdfs::Internal::DeleteSnapshotResponseProto*,
40442 ::google::protobuf::Closure* done) {
40443 controller->SetFailed("Method deleteSnapshot() not implemented.");
40444 done->Run();
40445}
40446
40447void ClientNamenodeProtocol::getSnapshotDiffReport(::google::protobuf::RpcController* controller,
40448 const ::Hdfs::Internal::GetSnapshotDiffReportRequestProto*,
40449 ::Hdfs::Internal::GetSnapshotDiffReportResponseProto*,
40450 ::google::protobuf::Closure* done) {
40451 controller->SetFailed("Method getSnapshotDiffReport() not implemented.");
40452 done->Run();
40453}
40454
40455void ClientNamenodeProtocol::isFileClosed(::google::protobuf::RpcController* controller,
40456 const ::Hdfs::Internal::IsFileClosedRequestProto*,
40457 ::Hdfs::Internal::IsFileClosedResponseProto*,
40458 ::google::protobuf::Closure* done) {
40459 controller->SetFailed("Method isFileClosed() not implemented.");
40460 done->Run();
40461}
40462
40463void ClientNamenodeProtocol::CallMethod(const ::google::protobuf::MethodDescriptor* method,
40464 ::google::protobuf::RpcController* controller,
40465 const ::google::protobuf::Message* request,
40466 ::google::protobuf::Message* response,
40467 ::google::protobuf::Closure* done) {
40468 GOOGLE_DCHECK_EQ(method->service(), protobuf_ClientNamenodeProtocol_2eproto::file_level_service_descriptors[0]);
40469 switch(method->index()) {
40470 case 0:
40471 getBlockLocations(controller,
40472 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetBlockLocationsRequestProto*>(request),
40473 ::google::protobuf::down_cast< ::Hdfs::Internal::GetBlockLocationsResponseProto*>(response),
40474 done);
40475 break;
40476 case 1:
40477 getServerDefaults(controller,
40478 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetServerDefaultsRequestProto*>(request),
40479 ::google::protobuf::down_cast< ::Hdfs::Internal::GetServerDefaultsResponseProto*>(response),
40480 done);
40481 break;
40482 case 2:
40483 create(controller,
40484 ::google::protobuf::down_cast<const ::Hdfs::Internal::CreateRequestProto*>(request),
40485 ::google::protobuf::down_cast< ::Hdfs::Internal::CreateResponseProto*>(response),
40486 done);
40487 break;
40488 case 3:
40489 append(controller,
40490 ::google::protobuf::down_cast<const ::Hdfs::Internal::AppendRequestProto*>(request),
40491 ::google::protobuf::down_cast< ::Hdfs::Internal::AppendResponseProto*>(response),
40492 done);
40493 break;
40494 case 4:
40495 setReplication(controller,
40496 ::google::protobuf::down_cast<const ::Hdfs::Internal::SetReplicationRequestProto*>(request),
40497 ::google::protobuf::down_cast< ::Hdfs::Internal::SetReplicationResponseProto*>(response),
40498 done);
40499 break;
40500 case 5:
40501 setPermission(controller,
40502 ::google::protobuf::down_cast<const ::Hdfs::Internal::SetPermissionRequestProto*>(request),
40503 ::google::protobuf::down_cast< ::Hdfs::Internal::SetPermissionResponseProto*>(response),
40504 done);
40505 break;
40506 case 6:
40507 setOwner(controller,
40508 ::google::protobuf::down_cast<const ::Hdfs::Internal::SetOwnerRequestProto*>(request),
40509 ::google::protobuf::down_cast< ::Hdfs::Internal::SetOwnerResponseProto*>(response),
40510 done);
40511 break;
40512 case 7:
40513 abandonBlock(controller,
40514 ::google::protobuf::down_cast<const ::Hdfs::Internal::AbandonBlockRequestProto*>(request),
40515 ::google::protobuf::down_cast< ::Hdfs::Internal::AbandonBlockResponseProto*>(response),
40516 done);
40517 break;
40518 case 8:
40519 addBlock(controller,
40520 ::google::protobuf::down_cast<const ::Hdfs::Internal::AddBlockRequestProto*>(request),
40521 ::google::protobuf::down_cast< ::Hdfs::Internal::AddBlockResponseProto*>(response),
40522 done);
40523 break;
40524 case 9:
40525 getAdditionalDatanode(controller,
40526 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetAdditionalDatanodeRequestProto*>(request),
40527 ::google::protobuf::down_cast< ::Hdfs::Internal::GetAdditionalDatanodeResponseProto*>(response),
40528 done);
40529 break;
40530 case 10:
40531 complete(controller,
40532 ::google::protobuf::down_cast<const ::Hdfs::Internal::CompleteRequestProto*>(request),
40533 ::google::protobuf::down_cast< ::Hdfs::Internal::CompleteResponseProto*>(response),
40534 done);
40535 break;
40536 case 11:
40537 reportBadBlocks(controller,
40538 ::google::protobuf::down_cast<const ::Hdfs::Internal::ReportBadBlocksRequestProto*>(request),
40539 ::google::protobuf::down_cast< ::Hdfs::Internal::ReportBadBlocksResponseProto*>(response),
40540 done);
40541 break;
40542 case 12:
40543 concat(controller,
40544 ::google::protobuf::down_cast<const ::Hdfs::Internal::ConcatRequestProto*>(request),
40545 ::google::protobuf::down_cast< ::Hdfs::Internal::ConcatResponseProto*>(response),
40546 done);
40547 break;
40548 case 13:
40549 truncate(controller,
40550 ::google::protobuf::down_cast<const ::Hdfs::Internal::TruncateRequestProto*>(request),
40551 ::google::protobuf::down_cast< ::Hdfs::Internal::TruncateResponseProto*>(response),
40552 done);
40553 break;
40554 case 14:
40555 getLease(controller,
40556 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetLeaseRequestProto*>(request),
40557 ::google::protobuf::down_cast< ::Hdfs::Internal::GetLeaseResponseProto*>(response),
40558 done);
40559 break;
40560 case 15:
40561 releaseLease(controller,
40562 ::google::protobuf::down_cast<const ::Hdfs::Internal::ReleaseLeaseRequestProto*>(request),
40563 ::google::protobuf::down_cast< ::Hdfs::Internal::ReleaseLeaseResponseProto*>(response),
40564 done);
40565 break;
40566 case 16:
40567 rename(controller,
40568 ::google::protobuf::down_cast<const ::Hdfs::Internal::RenameRequestProto*>(request),
40569 ::google::protobuf::down_cast< ::Hdfs::Internal::RenameResponseProto*>(response),
40570 done);
40571 break;
40572 case 17:
40573 rename2(controller,
40574 ::google::protobuf::down_cast<const ::Hdfs::Internal::Rename2RequestProto*>(request),
40575 ::google::protobuf::down_cast< ::Hdfs::Internal::Rename2ResponseProto*>(response),
40576 done);
40577 break;
40578 case 18:
40579 deleteFile(controller,
40580 ::google::protobuf::down_cast<const ::Hdfs::Internal::DeleteRequestProto*>(request),
40581 ::google::protobuf::down_cast< ::Hdfs::Internal::DeleteResponseProto*>(response),
40582 done);
40583 break;
40584 case 19:
40585 mkdirs(controller,
40586 ::google::protobuf::down_cast<const ::Hdfs::Internal::MkdirsRequestProto*>(request),
40587 ::google::protobuf::down_cast< ::Hdfs::Internal::MkdirsResponseProto*>(response),
40588 done);
40589 break;
40590 case 20:
40591 getListing(controller,
40592 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetListingRequestProto*>(request),
40593 ::google::protobuf::down_cast< ::Hdfs::Internal::GetListingResponseProto*>(response),
40594 done);
40595 break;
40596 case 21:
40597 renewLease(controller,
40598 ::google::protobuf::down_cast<const ::Hdfs::Internal::RenewLeaseRequestProto*>(request),
40599 ::google::protobuf::down_cast< ::Hdfs::Internal::RenewLeaseResponseProto*>(response),
40600 done);
40601 break;
40602 case 22:
40603 recoverLease(controller,
40604 ::google::protobuf::down_cast<const ::Hdfs::Internal::RecoverLeaseRequestProto*>(request),
40605 ::google::protobuf::down_cast< ::Hdfs::Internal::RecoverLeaseResponseProto*>(response),
40606 done);
40607 break;
40608 case 23:
40609 getFsStats(controller,
40610 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetFsStatusRequestProto*>(request),
40611 ::google::protobuf::down_cast< ::Hdfs::Internal::GetFsStatsResponseProto*>(response),
40612 done);
40613 break;
40614 case 24:
40615 getDatanodeReport(controller,
40616 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetDatanodeReportRequestProto*>(request),
40617 ::google::protobuf::down_cast< ::Hdfs::Internal::GetDatanodeReportResponseProto*>(response),
40618 done);
40619 break;
40620 case 25:
40621 getPreferredBlockSize(controller,
40622 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetPreferredBlockSizeRequestProto*>(request),
40623 ::google::protobuf::down_cast< ::Hdfs::Internal::GetPreferredBlockSizeResponseProto*>(response),
40624 done);
40625 break;
40626 case 26:
40627 setSafeMode(controller,
40628 ::google::protobuf::down_cast<const ::Hdfs::Internal::SetSafeModeRequestProto*>(request),
40629 ::google::protobuf::down_cast< ::Hdfs::Internal::SetSafeModeResponseProto*>(response),
40630 done);
40631 break;
40632 case 27:
40633 saveNamespace(controller,
40634 ::google::protobuf::down_cast<const ::Hdfs::Internal::SaveNamespaceRequestProto*>(request),
40635 ::google::protobuf::down_cast< ::Hdfs::Internal::SaveNamespaceResponseProto*>(response),
40636 done);
40637 break;
40638 case 28:
40639 rollEdits(controller,
40640 ::google::protobuf::down_cast<const ::Hdfs::Internal::RollEditsRequestProto*>(request),
40641 ::google::protobuf::down_cast< ::Hdfs::Internal::RollEditsResponseProto*>(response),
40642 done);
40643 break;
40644 case 29:
40645 restoreFailedStorage(controller,
40646 ::google::protobuf::down_cast<const ::Hdfs::Internal::RestoreFailedStorageRequestProto*>(request),
40647 ::google::protobuf::down_cast< ::Hdfs::Internal::RestoreFailedStorageResponseProto*>(response),
40648 done);
40649 break;
40650 case 30:
40651 refreshNodes(controller,
40652 ::google::protobuf::down_cast<const ::Hdfs::Internal::RefreshNodesRequestProto*>(request),
40653 ::google::protobuf::down_cast< ::Hdfs::Internal::RefreshNodesResponseProto*>(response),
40654 done);
40655 break;
40656 case 31:
40657 finalizeUpgrade(controller,
40658 ::google::protobuf::down_cast<const ::Hdfs::Internal::FinalizeUpgradeRequestProto*>(request),
40659 ::google::protobuf::down_cast< ::Hdfs::Internal::FinalizeUpgradeResponseProto*>(response),
40660 done);
40661 break;
40662 case 32:
40663 listCorruptFileBlocks(controller,
40664 ::google::protobuf::down_cast<const ::Hdfs::Internal::ListCorruptFileBlocksRequestProto*>(request),
40665 ::google::protobuf::down_cast< ::Hdfs::Internal::ListCorruptFileBlocksResponseProto*>(response),
40666 done);
40667 break;
40668 case 33:
40669 metaSave(controller,
40670 ::google::protobuf::down_cast<const ::Hdfs::Internal::MetaSaveRequestProto*>(request),
40671 ::google::protobuf::down_cast< ::Hdfs::Internal::MetaSaveResponseProto*>(response),
40672 done);
40673 break;
40674 case 34:
40675 getFileInfo(controller,
40676 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetFileInfoRequestProto*>(request),
40677 ::google::protobuf::down_cast< ::Hdfs::Internal::GetFileInfoResponseProto*>(response),
40678 done);
40679 break;
40680 case 35:
40681 addCacheDirective(controller,
40682 ::google::protobuf::down_cast<const ::Hdfs::Internal::AddCacheDirectiveRequestProto*>(request),
40683 ::google::protobuf::down_cast< ::Hdfs::Internal::AddCacheDirectiveResponseProto*>(response),
40684 done);
40685 break;
40686 case 36:
40687 modifyCacheDirective(controller,
40688 ::google::protobuf::down_cast<const ::Hdfs::Internal::ModifyCacheDirectiveRequestProto*>(request),
40689 ::google::protobuf::down_cast< ::Hdfs::Internal::ModifyCacheDirectiveResponseProto*>(response),
40690 done);
40691 break;
40692 case 37:
40693 removeCacheDirective(controller,
40694 ::google::protobuf::down_cast<const ::Hdfs::Internal::RemoveCacheDirectiveRequestProto*>(request),
40695 ::google::protobuf::down_cast< ::Hdfs::Internal::RemoveCacheDirectiveResponseProto*>(response),
40696 done);
40697 break;
40698 case 38:
40699 listCacheDirectives(controller,
40700 ::google::protobuf::down_cast<const ::Hdfs::Internal::ListCacheDirectivesRequestProto*>(request),
40701 ::google::protobuf::down_cast< ::Hdfs::Internal::ListCacheDirectivesResponseProto*>(response),
40702 done);
40703 break;
40704 case 39:
40705 addCachePool(controller,
40706 ::google::protobuf::down_cast<const ::Hdfs::Internal::AddCachePoolRequestProto*>(request),
40707 ::google::protobuf::down_cast< ::Hdfs::Internal::AddCachePoolResponseProto*>(response),
40708 done);
40709 break;
40710 case 40:
40711 modifyCachePool(controller,
40712 ::google::protobuf::down_cast<const ::Hdfs::Internal::ModifyCachePoolRequestProto*>(request),
40713 ::google::protobuf::down_cast< ::Hdfs::Internal::ModifyCachePoolResponseProto*>(response),
40714 done);
40715 break;
40716 case 41:
40717 removeCachePool(controller,
40718 ::google::protobuf::down_cast<const ::Hdfs::Internal::RemoveCachePoolRequestProto*>(request),
40719 ::google::protobuf::down_cast< ::Hdfs::Internal::RemoveCachePoolResponseProto*>(response),
40720 done);
40721 break;
40722 case 42:
40723 listCachePools(controller,
40724 ::google::protobuf::down_cast<const ::Hdfs::Internal::ListCachePoolsRequestProto*>(request),
40725 ::google::protobuf::down_cast< ::Hdfs::Internal::ListCachePoolsResponseProto*>(response),
40726 done);
40727 break;
40728 case 43:
40729 getFileLinkInfo(controller,
40730 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetFileLinkInfoRequestProto*>(request),
40731 ::google::protobuf::down_cast< ::Hdfs::Internal::GetFileLinkInfoResponseProto*>(response),
40732 done);
40733 break;
40734 case 44:
40735 getContentSummary(controller,
40736 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetContentSummaryRequestProto*>(request),
40737 ::google::protobuf::down_cast< ::Hdfs::Internal::GetContentSummaryResponseProto*>(response),
40738 done);
40739 break;
40740 case 45:
40741 setQuota(controller,
40742 ::google::protobuf::down_cast<const ::Hdfs::Internal::SetQuotaRequestProto*>(request),
40743 ::google::protobuf::down_cast< ::Hdfs::Internal::SetQuotaResponseProto*>(response),
40744 done);
40745 break;
40746 case 46:
40747 fsync(controller,
40748 ::google::protobuf::down_cast<const ::Hdfs::Internal::FsyncRequestProto*>(request),
40749 ::google::protobuf::down_cast< ::Hdfs::Internal::FsyncResponseProto*>(response),
40750 done);
40751 break;
40752 case 47:
40753 setTimes(controller,
40754 ::google::protobuf::down_cast<const ::Hdfs::Internal::SetTimesRequestProto*>(request),
40755 ::google::protobuf::down_cast< ::Hdfs::Internal::SetTimesResponseProto*>(response),
40756 done);
40757 break;
40758 case 48:
40759 createSymlink(controller,
40760 ::google::protobuf::down_cast<const ::Hdfs::Internal::CreateSymlinkRequestProto*>(request),
40761 ::google::protobuf::down_cast< ::Hdfs::Internal::CreateSymlinkResponseProto*>(response),
40762 done);
40763 break;
40764 case 49:
40765 getLinkTarget(controller,
40766 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetLinkTargetRequestProto*>(request),
40767 ::google::protobuf::down_cast< ::Hdfs::Internal::GetLinkTargetResponseProto*>(response),
40768 done);
40769 break;
40770 case 50:
40771 updateBlockForPipeline(controller,
40772 ::google::protobuf::down_cast<const ::Hdfs::Internal::UpdateBlockForPipelineRequestProto*>(request),
40773 ::google::protobuf::down_cast< ::Hdfs::Internal::UpdateBlockForPipelineResponseProto*>(response),
40774 done);
40775 break;
40776 case 51:
40777 updatePipeline(controller,
40778 ::google::protobuf::down_cast<const ::Hdfs::Internal::UpdatePipelineRequestProto*>(request),
40779 ::google::protobuf::down_cast< ::Hdfs::Internal::UpdatePipelineResponseProto*>(response),
40780 done);
40781 break;
40782 case 52:
40783 getDelegationToken(controller,
40784 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetDelegationTokenRequestProto*>(request),
40785 ::google::protobuf::down_cast< ::Hdfs::Internal::GetDelegationTokenResponseProto*>(response),
40786 done);
40787 break;
40788 case 53:
40789 renewDelegationToken(controller,
40790 ::google::protobuf::down_cast<const ::Hdfs::Internal::RenewDelegationTokenRequestProto*>(request),
40791 ::google::protobuf::down_cast< ::Hdfs::Internal::RenewDelegationTokenResponseProto*>(response),
40792 done);
40793 break;
40794 case 54:
40795 cancelDelegationToken(controller,
40796 ::google::protobuf::down_cast<const ::Hdfs::Internal::CancelDelegationTokenRequestProto*>(request),
40797 ::google::protobuf::down_cast< ::Hdfs::Internal::CancelDelegationTokenResponseProto*>(response),
40798 done);
40799 break;
40800 case 55:
40801 setBalancerBandwidth(controller,
40802 ::google::protobuf::down_cast<const ::Hdfs::Internal::SetBalancerBandwidthRequestProto*>(request),
40803 ::google::protobuf::down_cast< ::Hdfs::Internal::SetBalancerBandwidthResponseProto*>(response),
40804 done);
40805 break;
40806 case 56:
40807 getDataEncryptionKey(controller,
40808 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetDataEncryptionKeyRequestProto*>(request),
40809 ::google::protobuf::down_cast< ::Hdfs::Internal::GetDataEncryptionKeyResponseProto*>(response),
40810 done);
40811 break;
40812 case 57:
40813 createSnapshot(controller,
40814 ::google::protobuf::down_cast<const ::Hdfs::Internal::CreateSnapshotRequestProto*>(request),
40815 ::google::protobuf::down_cast< ::Hdfs::Internal::CreateSnapshotResponseProto*>(response),
40816 done);
40817 break;
40818 case 58:
40819 renameSnapshot(controller,
40820 ::google::protobuf::down_cast<const ::Hdfs::Internal::RenameSnapshotRequestProto*>(request),
40821 ::google::protobuf::down_cast< ::Hdfs::Internal::RenameSnapshotResponseProto*>(response),
40822 done);
40823 break;
40824 case 59:
40825 allowSnapshot(controller,
40826 ::google::protobuf::down_cast<const ::Hdfs::Internal::AllowSnapshotRequestProto*>(request),
40827 ::google::protobuf::down_cast< ::Hdfs::Internal::AllowSnapshotResponseProto*>(response),
40828 done);
40829 break;
40830 case 60:
40831 disallowSnapshot(controller,
40832 ::google::protobuf::down_cast<const ::Hdfs::Internal::DisallowSnapshotRequestProto*>(request),
40833 ::google::protobuf::down_cast< ::Hdfs::Internal::DisallowSnapshotResponseProto*>(response),
40834 done);
40835 break;
40836 case 61:
40837 getSnapshottableDirListing(controller,
40838 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetSnapshottableDirListingRequestProto*>(request),
40839 ::google::protobuf::down_cast< ::Hdfs::Internal::GetSnapshottableDirListingResponseProto*>(response),
40840 done);
40841 break;
40842 case 62:
40843 deleteSnapshot(controller,
40844 ::google::protobuf::down_cast<const ::Hdfs::Internal::DeleteSnapshotRequestProto*>(request),
40845 ::google::protobuf::down_cast< ::Hdfs::Internal::DeleteSnapshotResponseProto*>(response),
40846 done);
40847 break;
40848 case 63:
40849 getSnapshotDiffReport(controller,
40850 ::google::protobuf::down_cast<const ::Hdfs::Internal::GetSnapshotDiffReportRequestProto*>(request),
40851 ::google::protobuf::down_cast< ::Hdfs::Internal::GetSnapshotDiffReportResponseProto*>(response),
40852 done);
40853 break;
40854 case 64:
40855 isFileClosed(controller,
40856 ::google::protobuf::down_cast<const ::Hdfs::Internal::IsFileClosedRequestProto*>(request),
40857 ::google::protobuf::down_cast< ::Hdfs::Internal::IsFileClosedResponseProto*>(response),
40858 done);
40859 break;
40860 default:
40861 GOOGLE_LOG(FATAL) << "Bad method index; this should never happen.";
40862 break;
40863 }
40864}
40865
40866const ::google::protobuf::Message& ClientNamenodeProtocol::GetRequestPrototype(
40867 const ::google::protobuf::MethodDescriptor* method) const {
40868 GOOGLE_DCHECK_EQ(method->service(), descriptor());
40869 switch(method->index()) {
40870 case 0:
40871 return ::Hdfs::Internal::GetBlockLocationsRequestProto::default_instance();
40872 case 1:
40873 return ::Hdfs::Internal::GetServerDefaultsRequestProto::default_instance();
40874 case 2:
40875 return ::Hdfs::Internal::CreateRequestProto::default_instance();
40876 case 3:
40877 return ::Hdfs::Internal::AppendRequestProto::default_instance();
40878 case 4:
40879 return ::Hdfs::Internal::SetReplicationRequestProto::default_instance();
40880 case 5:
40881 return ::Hdfs::Internal::SetPermissionRequestProto::default_instance();
40882 case 6:
40883 return ::Hdfs::Internal::SetOwnerRequestProto::default_instance();
40884 case 7:
40885 return ::Hdfs::Internal::AbandonBlockRequestProto::default_instance();
40886 case 8:
40887 return ::Hdfs::Internal::AddBlockRequestProto::default_instance();
40888 case 9:
40889 return ::Hdfs::Internal::GetAdditionalDatanodeRequestProto::default_instance();
40890 case 10:
40891 return ::Hdfs::Internal::CompleteRequestProto::default_instance();
40892 case 11:
40893 return ::Hdfs::Internal::ReportBadBlocksRequestProto::default_instance();
40894 case 12:
40895 return ::Hdfs::Internal::ConcatRequestProto::default_instance();
40896 case 13:
40897 return ::Hdfs::Internal::TruncateRequestProto::default_instance();
40898 case 14:
40899 return ::Hdfs::Internal::GetLeaseRequestProto::default_instance();
40900 case 15:
40901 return ::Hdfs::Internal::ReleaseLeaseRequestProto::default_instance();
40902 case 16:
40903 return ::Hdfs::Internal::RenameRequestProto::default_instance();
40904 case 17:
40905 return ::Hdfs::Internal::Rename2RequestProto::default_instance();
40906 case 18:
40907 return ::Hdfs::Internal::DeleteRequestProto::default_instance();
40908 case 19:
40909 return ::Hdfs::Internal::MkdirsRequestProto::default_instance();
40910 case 20:
40911 return ::Hdfs::Internal::GetListingRequestProto::default_instance();
40912 case 21:
40913 return ::Hdfs::Internal::RenewLeaseRequestProto::default_instance();
40914 case 22:
40915 return ::Hdfs::Internal::RecoverLeaseRequestProto::default_instance();
40916 case 23:
40917 return ::Hdfs::Internal::GetFsStatusRequestProto::default_instance();
40918 case 24:
40919 return ::Hdfs::Internal::GetDatanodeReportRequestProto::default_instance();
40920 case 25:
40921 return ::Hdfs::Internal::GetPreferredBlockSizeRequestProto::default_instance();
40922 case 26:
40923 return ::Hdfs::Internal::SetSafeModeRequestProto::default_instance();
40924 case 27:
40925 return ::Hdfs::Internal::SaveNamespaceRequestProto::default_instance();
40926 case 28:
40927 return ::Hdfs::Internal::RollEditsRequestProto::default_instance();
40928 case 29:
40929 return ::Hdfs::Internal::RestoreFailedStorageRequestProto::default_instance();
40930 case 30:
40931 return ::Hdfs::Internal::RefreshNodesRequestProto::default_instance();
40932 case 31:
40933 return ::Hdfs::Internal::FinalizeUpgradeRequestProto::default_instance();
40934 case 32:
40935 return ::Hdfs::Internal::ListCorruptFileBlocksRequestProto::default_instance();
40936 case 33:
40937 return ::Hdfs::Internal::MetaSaveRequestProto::default_instance();
40938 case 34:
40939 return ::Hdfs::Internal::GetFileInfoRequestProto::default_instance();
40940 case 35:
40941 return ::Hdfs::Internal::AddCacheDirectiveRequestProto::default_instance();
40942 case 36:
40943 return ::Hdfs::Internal::ModifyCacheDirectiveRequestProto::default_instance();
40944 case 37:
40945 return ::Hdfs::Internal::RemoveCacheDirectiveRequestProto::default_instance();
40946 case 38:
40947 return ::Hdfs::Internal::ListCacheDirectivesRequestProto::default_instance();
40948 case 39:
40949 return ::Hdfs::Internal::AddCachePoolRequestProto::default_instance();
40950 case 40:
40951 return ::Hdfs::Internal::ModifyCachePoolRequestProto::default_instance();
40952 case 41:
40953 return ::Hdfs::Internal::RemoveCachePoolRequestProto::default_instance();
40954 case 42:
40955 return ::Hdfs::Internal::ListCachePoolsRequestProto::default_instance();
40956 case 43:
40957 return ::Hdfs::Internal::GetFileLinkInfoRequestProto::default_instance();
40958 case 44:
40959 return ::Hdfs::Internal::GetContentSummaryRequestProto::default_instance();
40960 case 45:
40961 return ::Hdfs::Internal::SetQuotaRequestProto::default_instance();
40962 case 46:
40963 return ::Hdfs::Internal::FsyncRequestProto::default_instance();
40964 case 47:
40965 return ::Hdfs::Internal::SetTimesRequestProto::default_instance();
40966 case 48:
40967 return ::Hdfs::Internal::CreateSymlinkRequestProto::default_instance();
40968 case 49:
40969 return ::Hdfs::Internal::GetLinkTargetRequestProto::default_instance();
40970 case 50:
40971 return ::Hdfs::Internal::UpdateBlockForPipelineRequestProto::default_instance();
40972 case 51:
40973 return ::Hdfs::Internal::UpdatePipelineRequestProto::default_instance();
40974 case 52:
40975 return ::Hdfs::Internal::GetDelegationTokenRequestProto::default_instance();
40976 case 53:
40977 return ::Hdfs::Internal::RenewDelegationTokenRequestProto::default_instance();
40978 case 54:
40979 return ::Hdfs::Internal::CancelDelegationTokenRequestProto::default_instance();
40980 case 55:
40981 return ::Hdfs::Internal::SetBalancerBandwidthRequestProto::default_instance();
40982 case 56:
40983 return ::Hdfs::Internal::GetDataEncryptionKeyRequestProto::default_instance();
40984 case 57:
40985 return ::Hdfs::Internal::CreateSnapshotRequestProto::default_instance();
40986 case 58:
40987 return ::Hdfs::Internal::RenameSnapshotRequestProto::default_instance();
40988 case 59:
40989 return ::Hdfs::Internal::AllowSnapshotRequestProto::default_instance();
40990 case 60:
40991 return ::Hdfs::Internal::DisallowSnapshotRequestProto::default_instance();
40992 case 61:
40993 return ::Hdfs::Internal::GetSnapshottableDirListingRequestProto::default_instance();
40994 case 62:
40995 return ::Hdfs::Internal::DeleteSnapshotRequestProto::default_instance();
40996 case 63:
40997 return ::Hdfs::Internal::GetSnapshotDiffReportRequestProto::default_instance();
40998 case 64:
40999 return ::Hdfs::Internal::IsFileClosedRequestProto::default_instance();
41000 default:
41001 GOOGLE_LOG(FATAL) << "Bad method index; this should never happen.";
41002 return *::google::protobuf::MessageFactory::generated_factory()
41003 ->GetPrototype(method->input_type());
41004 }
41005}
41006
41007const ::google::protobuf::Message& ClientNamenodeProtocol::GetResponsePrototype(
41008 const ::google::protobuf::MethodDescriptor* method) const {
41009 GOOGLE_DCHECK_EQ(method->service(), descriptor());
41010 switch(method->index()) {
41011 case 0:
41012 return ::Hdfs::Internal::GetBlockLocationsResponseProto::default_instance();
41013 case 1:
41014 return ::Hdfs::Internal::GetServerDefaultsResponseProto::default_instance();
41015 case 2:
41016 return ::Hdfs::Internal::CreateResponseProto::default_instance();
41017 case 3:
41018 return ::Hdfs::Internal::AppendResponseProto::default_instance();
41019 case 4:
41020 return ::Hdfs::Internal::SetReplicationResponseProto::default_instance();
41021 case 5:
41022 return ::Hdfs::Internal::SetPermissionResponseProto::default_instance();
41023 case 6:
41024 return ::Hdfs::Internal::SetOwnerResponseProto::default_instance();
41025 case 7:
41026 return ::Hdfs::Internal::AbandonBlockResponseProto::default_instance();
41027 case 8:
41028 return ::Hdfs::Internal::AddBlockResponseProto::default_instance();
41029 case 9:
41030 return ::Hdfs::Internal::GetAdditionalDatanodeResponseProto::default_instance();
41031 case 10:
41032 return ::Hdfs::Internal::CompleteResponseProto::default_instance();
41033 case 11:
41034 return ::Hdfs::Internal::ReportBadBlocksResponseProto::default_instance();
41035 case 12:
41036 return ::Hdfs::Internal::ConcatResponseProto::default_instance();
41037 case 13:
41038 return ::Hdfs::Internal::TruncateResponseProto::default_instance();
41039 case 14:
41040 return ::Hdfs::Internal::GetLeaseResponseProto::default_instance();
41041 case 15:
41042 return ::Hdfs::Internal::ReleaseLeaseResponseProto::default_instance();
41043 case 16:
41044 return ::Hdfs::Internal::RenameResponseProto::default_instance();
41045 case 17:
41046 return ::Hdfs::Internal::Rename2ResponseProto::default_instance();
41047 case 18:
41048 return ::Hdfs::Internal::DeleteResponseProto::default_instance();
41049 case 19:
41050 return ::Hdfs::Internal::MkdirsResponseProto::default_instance();
41051 case 20:
41052 return ::Hdfs::Internal::GetListingResponseProto::default_instance();
41053 case 21:
41054 return ::Hdfs::Internal::RenewLeaseResponseProto::default_instance();
41055 case 22:
41056 return ::Hdfs::Internal::RecoverLeaseResponseProto::default_instance();
41057 case 23:
41058 return ::Hdfs::Internal::GetFsStatsResponseProto::default_instance();
41059 case 24:
41060 return ::Hdfs::Internal::GetDatanodeReportResponseProto::default_instance();
41061 case 25:
41062 return ::Hdfs::Internal::GetPreferredBlockSizeResponseProto::default_instance();
41063 case 26:
41064 return ::Hdfs::Internal::SetSafeModeResponseProto::default_instance();
41065 case 27:
41066 return ::Hdfs::Internal::SaveNamespaceResponseProto::default_instance();
41067 case 28:
41068 return ::Hdfs::Internal::RollEditsResponseProto::default_instance();
41069 case 29:
41070 return ::Hdfs::Internal::RestoreFailedStorageResponseProto::default_instance();
41071 case 30:
41072 return ::Hdfs::Internal::RefreshNodesResponseProto::default_instance();
41073 case 31:
41074 return ::Hdfs::Internal::FinalizeUpgradeResponseProto::default_instance();
41075 case 32:
41076 return ::Hdfs::Internal::ListCorruptFileBlocksResponseProto::default_instance();
41077 case 33:
41078 return ::Hdfs::Internal::MetaSaveResponseProto::default_instance();
41079 case 34:
41080 return ::Hdfs::Internal::GetFileInfoResponseProto::default_instance();
41081 case 35:
41082 return ::Hdfs::Internal::AddCacheDirectiveResponseProto::default_instance();
41083 case 36:
41084 return ::Hdfs::Internal::ModifyCacheDirectiveResponseProto::default_instance();
41085 case 37:
41086 return ::Hdfs::Internal::RemoveCacheDirectiveResponseProto::default_instance();
41087 case 38:
41088 return ::Hdfs::Internal::ListCacheDirectivesResponseProto::default_instance();
41089 case 39:
41090 return ::Hdfs::Internal::AddCachePoolResponseProto::default_instance();
41091 case 40:
41092 return ::Hdfs::Internal::ModifyCachePoolResponseProto::default_instance();
41093 case 41:
41094 return ::Hdfs::Internal::RemoveCachePoolResponseProto::default_instance();
41095 case 42:
41096 return ::Hdfs::Internal::ListCachePoolsResponseProto::default_instance();
41097 case 43:
41098 return ::Hdfs::Internal::GetFileLinkInfoResponseProto::default_instance();
41099 case 44:
41100 return ::Hdfs::Internal::GetContentSummaryResponseProto::default_instance();
41101 case 45:
41102 return ::Hdfs::Internal::SetQuotaResponseProto::default_instance();
41103 case 46:
41104 return ::Hdfs::Internal::FsyncResponseProto::default_instance();
41105 case 47:
41106 return ::Hdfs::Internal::SetTimesResponseProto::default_instance();
41107 case 48:
41108 return ::Hdfs::Internal::CreateSymlinkResponseProto::default_instance();
41109 case 49:
41110 return ::Hdfs::Internal::GetLinkTargetResponseProto::default_instance();
41111 case 50:
41112 return ::Hdfs::Internal::UpdateBlockForPipelineResponseProto::default_instance();
41113 case 51:
41114 return ::Hdfs::Internal::UpdatePipelineResponseProto::default_instance();
41115 case 52:
41116 return ::Hdfs::Internal::GetDelegationTokenResponseProto::default_instance();
41117 case 53:
41118 return ::Hdfs::Internal::RenewDelegationTokenResponseProto::default_instance();
41119 case 54:
41120 return ::Hdfs::Internal::CancelDelegationTokenResponseProto::default_instance();
41121 case 55:
41122 return ::Hdfs::Internal::SetBalancerBandwidthResponseProto::default_instance();
41123 case 56:
41124 return ::Hdfs::Internal::GetDataEncryptionKeyResponseProto::default_instance();
41125 case 57:
41126 return ::Hdfs::Internal::CreateSnapshotResponseProto::default_instance();
41127 case 58:
41128 return ::Hdfs::Internal::RenameSnapshotResponseProto::default_instance();
41129 case 59:
41130 return ::Hdfs::Internal::AllowSnapshotResponseProto::default_instance();
41131 case 60:
41132 return ::Hdfs::Internal::DisallowSnapshotResponseProto::default_instance();
41133 case 61:
41134 return ::Hdfs::Internal::GetSnapshottableDirListingResponseProto::default_instance();
41135 case 62:
41136 return ::Hdfs::Internal::DeleteSnapshotResponseProto::default_instance();
41137 case 63:
41138 return ::Hdfs::Internal::GetSnapshotDiffReportResponseProto::default_instance();
41139 case 64:
41140 return ::Hdfs::Internal::IsFileClosedResponseProto::default_instance();
41141 default:
41142 GOOGLE_LOG(FATAL) << "Bad method index; this should never happen.";
41143 return *::google::protobuf::MessageFactory::generated_factory()
41144 ->GetPrototype(method->output_type());
41145 }
41146}
41147
41148ClientNamenodeProtocol_Stub::ClientNamenodeProtocol_Stub(::google::protobuf::RpcChannel* channel)
41149 : channel_(channel), owns_channel_(false) {}
41150ClientNamenodeProtocol_Stub::ClientNamenodeProtocol_Stub(
41151 ::google::protobuf::RpcChannel* channel,
41152 ::google::protobuf::Service::ChannelOwnership ownership)
41153 : channel_(channel),
41154 owns_channel_(ownership == ::google::protobuf::Service::STUB_OWNS_CHANNEL) {}
41155ClientNamenodeProtocol_Stub::~ClientNamenodeProtocol_Stub() {
41156 if (owns_channel_) delete channel_;
41157}
41158
41159void ClientNamenodeProtocol_Stub::getBlockLocations(::google::protobuf::RpcController* controller,
41160 const ::Hdfs::Internal::GetBlockLocationsRequestProto* request,
41161 ::Hdfs::Internal::GetBlockLocationsResponseProto* response,
41162 ::google::protobuf::Closure* done) {
41163 channel_->CallMethod(descriptor()->method(0),
41164 controller, request, response, done);
41165}
41166void ClientNamenodeProtocol_Stub::getServerDefaults(::google::protobuf::RpcController* controller,
41167 const ::Hdfs::Internal::GetServerDefaultsRequestProto* request,
41168 ::Hdfs::Internal::GetServerDefaultsResponseProto* response,
41169 ::google::protobuf::Closure* done) {
41170 channel_->CallMethod(descriptor()->method(1),
41171 controller, request, response, done);
41172}
41173void ClientNamenodeProtocol_Stub::create(::google::protobuf::RpcController* controller,
41174 const ::Hdfs::Internal::CreateRequestProto* request,
41175 ::Hdfs::Internal::CreateResponseProto* response,
41176 ::google::protobuf::Closure* done) {
41177 channel_->CallMethod(descriptor()->method(2),
41178 controller, request, response, done);
41179}
41180void ClientNamenodeProtocol_Stub::append(::google::protobuf::RpcController* controller,
41181 const ::Hdfs::Internal::AppendRequestProto* request,
41182 ::Hdfs::Internal::AppendResponseProto* response,
41183 ::google::protobuf::Closure* done) {
41184 channel_->CallMethod(descriptor()->method(3),
41185 controller, request, response, done);
41186}
41187void ClientNamenodeProtocol_Stub::setReplication(::google::protobuf::RpcController* controller,
41188 const ::Hdfs::Internal::SetReplicationRequestProto* request,
41189 ::Hdfs::Internal::SetReplicationResponseProto* response,
41190 ::google::protobuf::Closure* done) {
41191 channel_->CallMethod(descriptor()->method(4),
41192 controller, request, response, done);
41193}
41194void ClientNamenodeProtocol_Stub::setPermission(::google::protobuf::RpcController* controller,
41195 const ::Hdfs::Internal::SetPermissionRequestProto* request,
41196 ::Hdfs::Internal::SetPermissionResponseProto* response,
41197 ::google::protobuf::Closure* done) {
41198 channel_->CallMethod(descriptor()->method(5),
41199 controller, request, response, done);
41200}
41201void ClientNamenodeProtocol_Stub::setOwner(::google::protobuf::RpcController* controller,
41202 const ::Hdfs::Internal::SetOwnerRequestProto* request,
41203 ::Hdfs::Internal::SetOwnerResponseProto* response,
41204 ::google::protobuf::Closure* done) {
41205 channel_->CallMethod(descriptor()->method(6),
41206 controller, request, response, done);
41207}
41208void ClientNamenodeProtocol_Stub::abandonBlock(::google::protobuf::RpcController* controller,
41209 const ::Hdfs::Internal::AbandonBlockRequestProto* request,
41210 ::Hdfs::Internal::AbandonBlockResponseProto* response,
41211 ::google::protobuf::Closure* done) {
41212 channel_->CallMethod(descriptor()->method(7),
41213 controller, request, response, done);
41214}
41215void ClientNamenodeProtocol_Stub::addBlock(::google::protobuf::RpcController* controller,
41216 const ::Hdfs::Internal::AddBlockRequestProto* request,
41217 ::Hdfs::Internal::AddBlockResponseProto* response,
41218 ::google::protobuf::Closure* done) {
41219 channel_->CallMethod(descriptor()->method(8),
41220 controller, request, response, done);
41221}
41222void ClientNamenodeProtocol_Stub::getAdditionalDatanode(::google::protobuf::RpcController* controller,
41223 const ::Hdfs::Internal::GetAdditionalDatanodeRequestProto* request,
41224 ::Hdfs::Internal::GetAdditionalDatanodeResponseProto* response,
41225 ::google::protobuf::Closure* done) {
41226 channel_->CallMethod(descriptor()->method(9),
41227 controller, request, response, done);
41228}
41229void ClientNamenodeProtocol_Stub::complete(::google::protobuf::RpcController* controller,
41230 const ::Hdfs::Internal::CompleteRequestProto* request,
41231 ::Hdfs::Internal::CompleteResponseProto* response,
41232 ::google::protobuf::Closure* done) {
41233 channel_->CallMethod(descriptor()->method(10),
41234 controller, request, response, done);
41235}
41236void ClientNamenodeProtocol_Stub::reportBadBlocks(::google::protobuf::RpcController* controller,
41237 const ::Hdfs::Internal::ReportBadBlocksRequestProto* request,
41238 ::Hdfs::Internal::ReportBadBlocksResponseProto* response,
41239 ::google::protobuf::Closure* done) {
41240 channel_->CallMethod(descriptor()->method(11),
41241 controller, request, response, done);
41242}
41243void ClientNamenodeProtocol_Stub::concat(::google::protobuf::RpcController* controller,
41244 const ::Hdfs::Internal::ConcatRequestProto* request,
41245 ::Hdfs::Internal::ConcatResponseProto* response,
41246 ::google::protobuf::Closure* done) {
41247 channel_->CallMethod(descriptor()->method(12),
41248 controller, request, response, done);
41249}
41250void ClientNamenodeProtocol_Stub::truncate(::google::protobuf::RpcController* controller,
41251 const ::Hdfs::Internal::TruncateRequestProto* request,
41252 ::Hdfs::Internal::TruncateResponseProto* response,
41253 ::google::protobuf::Closure* done) {
41254 channel_->CallMethod(descriptor()->method(13),
41255 controller, request, response, done);
41256}
41257void ClientNamenodeProtocol_Stub::getLease(::google::protobuf::RpcController* controller,
41258 const ::Hdfs::Internal::GetLeaseRequestProto* request,
41259 ::Hdfs::Internal::GetLeaseResponseProto* response,
41260 ::google::protobuf::Closure* done) {
41261 channel_->CallMethod(descriptor()->method(14),
41262 controller, request, response, done);
41263}
41264void ClientNamenodeProtocol_Stub::releaseLease(::google::protobuf::RpcController* controller,
41265 const ::Hdfs::Internal::ReleaseLeaseRequestProto* request,
41266 ::Hdfs::Internal::ReleaseLeaseResponseProto* response,
41267 ::google::protobuf::Closure* done) {
41268 channel_->CallMethod(descriptor()->method(15),
41269 controller, request, response, done);
41270}
41271void ClientNamenodeProtocol_Stub::rename(::google::protobuf::RpcController* controller,
41272 const ::Hdfs::Internal::RenameRequestProto* request,
41273 ::Hdfs::Internal::RenameResponseProto* response,
41274 ::google::protobuf::Closure* done) {
41275 channel_->CallMethod(descriptor()->method(16),
41276 controller, request, response, done);
41277}
41278void ClientNamenodeProtocol_Stub::rename2(::google::protobuf::RpcController* controller,
41279 const ::Hdfs::Internal::Rename2RequestProto* request,
41280 ::Hdfs::Internal::Rename2ResponseProto* response,
41281 ::google::protobuf::Closure* done) {
41282 channel_->CallMethod(descriptor()->method(17),
41283 controller, request, response, done);
41284}
41285void ClientNamenodeProtocol_Stub::deleteFile(::google::protobuf::RpcController* controller,
41286 const ::Hdfs::Internal::DeleteRequestProto* request,
41287 ::Hdfs::Internal::DeleteResponseProto* response,
41288 ::google::protobuf::Closure* done) {
41289 channel_->CallMethod(descriptor()->method(18),
41290 controller, request, response, done);
41291}
41292void ClientNamenodeProtocol_Stub::mkdirs(::google::protobuf::RpcController* controller,
41293 const ::Hdfs::Internal::MkdirsRequestProto* request,
41294 ::Hdfs::Internal::MkdirsResponseProto* response,
41295 ::google::protobuf::Closure* done) {
41296 channel_->CallMethod(descriptor()->method(19),
41297 controller, request, response, done);
41298}
41299void ClientNamenodeProtocol_Stub::getListing(::google::protobuf::RpcController* controller,
41300 const ::Hdfs::Internal::GetListingRequestProto* request,
41301 ::Hdfs::Internal::GetListingResponseProto* response,
41302 ::google::protobuf::Closure* done) {
41303 channel_->CallMethod(descriptor()->method(20),
41304 controller, request, response, done);
41305}
41306void ClientNamenodeProtocol_Stub::renewLease(::google::protobuf::RpcController* controller,
41307 const ::Hdfs::Internal::RenewLeaseRequestProto* request,
41308 ::Hdfs::Internal::RenewLeaseResponseProto* response,
41309 ::google::protobuf::Closure* done) {
41310 channel_->CallMethod(descriptor()->method(21),
41311 controller, request, response, done);
41312}
41313void ClientNamenodeProtocol_Stub::recoverLease(::google::protobuf::RpcController* controller,
41314 const ::Hdfs::Internal::RecoverLeaseRequestProto* request,
41315 ::Hdfs::Internal::RecoverLeaseResponseProto* response,
41316 ::google::protobuf::Closure* done) {
41317 channel_->CallMethod(descriptor()->method(22),
41318 controller, request, response, done);
41319}
41320void ClientNamenodeProtocol_Stub::getFsStats(::google::protobuf::RpcController* controller,
41321 const ::Hdfs::Internal::GetFsStatusRequestProto* request,
41322 ::Hdfs::Internal::GetFsStatsResponseProto* response,
41323 ::google::protobuf::Closure* done) {
41324 channel_->CallMethod(descriptor()->method(23),
41325 controller, request, response, done);
41326}
41327void ClientNamenodeProtocol_Stub::getDatanodeReport(::google::protobuf::RpcController* controller,
41328 const ::Hdfs::Internal::GetDatanodeReportRequestProto* request,
41329 ::Hdfs::Internal::GetDatanodeReportResponseProto* response,
41330 ::google::protobuf::Closure* done) {
41331 channel_->CallMethod(descriptor()->method(24),
41332 controller, request, response, done);
41333}
41334void ClientNamenodeProtocol_Stub::getPreferredBlockSize(::google::protobuf::RpcController* controller,
41335 const ::Hdfs::Internal::GetPreferredBlockSizeRequestProto* request,
41336 ::Hdfs::Internal::GetPreferredBlockSizeResponseProto* response,
41337 ::google::protobuf::Closure* done) {
41338 channel_->CallMethod(descriptor()->method(25),
41339 controller, request, response, done);
41340}
41341void ClientNamenodeProtocol_Stub::setSafeMode(::google::protobuf::RpcController* controller,
41342 const ::Hdfs::Internal::SetSafeModeRequestProto* request,
41343 ::Hdfs::Internal::SetSafeModeResponseProto* response,
41344 ::google::protobuf::Closure* done) {
41345 channel_->CallMethod(descriptor()->method(26),
41346 controller, request, response, done);
41347}
41348void ClientNamenodeProtocol_Stub::saveNamespace(::google::protobuf::RpcController* controller,
41349 const ::Hdfs::Internal::SaveNamespaceRequestProto* request,
41350 ::Hdfs::Internal::SaveNamespaceResponseProto* response,
41351 ::google::protobuf::Closure* done) {
41352 channel_->CallMethod(descriptor()->method(27),
41353 controller, request, response, done);
41354}
41355void ClientNamenodeProtocol_Stub::rollEdits(::google::protobuf::RpcController* controller,
41356 const ::Hdfs::Internal::RollEditsRequestProto* request,
41357 ::Hdfs::Internal::RollEditsResponseProto* response,
41358 ::google::protobuf::Closure* done) {
41359 channel_->CallMethod(descriptor()->method(28),
41360 controller, request, response, done);
41361}
41362void ClientNamenodeProtocol_Stub::restoreFailedStorage(::google::protobuf::RpcController* controller,
41363 const ::Hdfs::Internal::RestoreFailedStorageRequestProto* request,
41364 ::Hdfs::Internal::RestoreFailedStorageResponseProto* response,
41365 ::google::protobuf::Closure* done) {
41366 channel_->CallMethod(descriptor()->method(29),
41367 controller, request, response, done);
41368}
41369void ClientNamenodeProtocol_Stub::refreshNodes(::google::protobuf::RpcController* controller,
41370 const ::Hdfs::Internal::RefreshNodesRequestProto* request,
41371 ::Hdfs::Internal::RefreshNodesResponseProto* response,
41372 ::google::protobuf::Closure* done) {
41373 channel_->CallMethod(descriptor()->method(30),
41374 controller, request, response, done);
41375}
41376void ClientNamenodeProtocol_Stub::finalizeUpgrade(::google::protobuf::RpcController* controller,
41377 const ::Hdfs::Internal::FinalizeUpgradeRequestProto* request,
41378 ::Hdfs::Internal::FinalizeUpgradeResponseProto* response,
41379 ::google::protobuf::Closure* done) {
41380 channel_->CallMethod(descriptor()->method(31),
41381 controller, request, response, done);
41382}
41383void ClientNamenodeProtocol_Stub::listCorruptFileBlocks(::google::protobuf::RpcController* controller,
41384 const ::Hdfs::Internal::ListCorruptFileBlocksRequestProto* request,
41385 ::Hdfs::Internal::ListCorruptFileBlocksResponseProto* response,
41386 ::google::protobuf::Closure* done) {
41387 channel_->CallMethod(descriptor()->method(32),
41388 controller, request, response, done);
41389}
41390void ClientNamenodeProtocol_Stub::metaSave(::google::protobuf::RpcController* controller,
41391 const ::Hdfs::Internal::MetaSaveRequestProto* request,
41392 ::Hdfs::Internal::MetaSaveResponseProto* response,
41393 ::google::protobuf::Closure* done) {
41394 channel_->CallMethod(descriptor()->method(33),
41395 controller, request, response, done);
41396}
41397void ClientNamenodeProtocol_Stub::getFileInfo(::google::protobuf::RpcController* controller,
41398 const ::Hdfs::Internal::GetFileInfoRequestProto* request,
41399 ::Hdfs::Internal::GetFileInfoResponseProto* response,
41400 ::google::protobuf::Closure* done) {
41401 channel_->CallMethod(descriptor()->method(34),
41402 controller, request, response, done);
41403}
41404void ClientNamenodeProtocol_Stub::addCacheDirective(::google::protobuf::RpcController* controller,
41405 const ::Hdfs::Internal::AddCacheDirectiveRequestProto* request,
41406 ::Hdfs::Internal::AddCacheDirectiveResponseProto* response,
41407 ::google::protobuf::Closure* done) {
41408 channel_->CallMethod(descriptor()->method(35),
41409 controller, request, response, done);
41410}
41411void ClientNamenodeProtocol_Stub::modifyCacheDirective(::google::protobuf::RpcController* controller,
41412 const ::Hdfs::Internal::ModifyCacheDirectiveRequestProto* request,
41413 ::Hdfs::Internal::ModifyCacheDirectiveResponseProto* response,
41414 ::google::protobuf::Closure* done) {
41415 channel_->CallMethod(descriptor()->method(36),
41416 controller, request, response, done);
41417}
41418void ClientNamenodeProtocol_Stub::removeCacheDirective(::google::protobuf::RpcController* controller,
41419 const ::Hdfs::Internal::RemoveCacheDirectiveRequestProto* request,
41420 ::Hdfs::Internal::RemoveCacheDirectiveResponseProto* response,
41421 ::google::protobuf::Closure* done) {
41422 channel_->CallMethod(descriptor()->method(37),
41423 controller, request, response, done);
41424}
41425void ClientNamenodeProtocol_Stub::listCacheDirectives(::google::protobuf::RpcController* controller,
41426 const ::Hdfs::Internal::ListCacheDirectivesRequestProto* request,
41427 ::Hdfs::Internal::ListCacheDirectivesResponseProto* response,
41428 ::google::protobuf::Closure* done) {
41429 channel_->CallMethod(descriptor()->method(38),
41430 controller, request, response, done);
41431}
41432void ClientNamenodeProtocol_Stub::addCachePool(::google::protobuf::RpcController* controller,
41433 const ::Hdfs::Internal::AddCachePoolRequestProto* request,
41434 ::Hdfs::Internal::AddCachePoolResponseProto* response,
41435 ::google::protobuf::Closure* done) {
41436 channel_->CallMethod(descriptor()->method(39),
41437 controller, request, response, done);
41438}
41439void ClientNamenodeProtocol_Stub::modifyCachePool(::google::protobuf::RpcController* controller,
41440 const ::Hdfs::Internal::ModifyCachePoolRequestProto* request,
41441 ::Hdfs::Internal::ModifyCachePoolResponseProto* response,
41442 ::google::protobuf::Closure* done) {
41443 channel_->CallMethod(descriptor()->method(40),
41444 controller, request, response, done);
41445}
41446void ClientNamenodeProtocol_Stub::removeCachePool(::google::protobuf::RpcController* controller,
41447 const ::Hdfs::Internal::RemoveCachePoolRequestProto* request,
41448 ::Hdfs::Internal::RemoveCachePoolResponseProto* response,
41449 ::google::protobuf::Closure* done) {
41450 channel_->CallMethod(descriptor()->method(41),
41451 controller, request, response, done);
41452}
41453void ClientNamenodeProtocol_Stub::listCachePools(::google::protobuf::RpcController* controller,
41454 const ::Hdfs::Internal::ListCachePoolsRequestProto* request,
41455 ::Hdfs::Internal::ListCachePoolsResponseProto* response,
41456 ::google::protobuf::Closure* done) {
41457 channel_->CallMethod(descriptor()->method(42),
41458 controller, request, response, done);
41459}
41460void ClientNamenodeProtocol_Stub::getFileLinkInfo(::google::protobuf::RpcController* controller,
41461 const ::Hdfs::Internal::GetFileLinkInfoRequestProto* request,
41462 ::Hdfs::Internal::GetFileLinkInfoResponseProto* response,
41463 ::google::protobuf::Closure* done) {
41464 channel_->CallMethod(descriptor()->method(43),
41465 controller, request, response, done);
41466}
41467void ClientNamenodeProtocol_Stub::getContentSummary(::google::protobuf::RpcController* controller,
41468 const ::Hdfs::Internal::GetContentSummaryRequestProto* request,
41469 ::Hdfs::Internal::GetContentSummaryResponseProto* response,
41470 ::google::protobuf::Closure* done) {
41471 channel_->CallMethod(descriptor()->method(44),
41472 controller, request, response, done);
41473}
41474void ClientNamenodeProtocol_Stub::setQuota(::google::protobuf::RpcController* controller,
41475 const ::Hdfs::Internal::SetQuotaRequestProto* request,
41476 ::Hdfs::Internal::SetQuotaResponseProto* response,
41477 ::google::protobuf::Closure* done) {
41478 channel_->CallMethod(descriptor()->method(45),
41479 controller, request, response, done);
41480}
41481void ClientNamenodeProtocol_Stub::fsync(::google::protobuf::RpcController* controller,
41482 const ::Hdfs::Internal::FsyncRequestProto* request,
41483 ::Hdfs::Internal::FsyncResponseProto* response,
41484 ::google::protobuf::Closure* done) {
41485 channel_->CallMethod(descriptor()->method(46),
41486 controller, request, response, done);
41487}
41488void ClientNamenodeProtocol_Stub::setTimes(::google::protobuf::RpcController* controller,
41489 const ::Hdfs::Internal::SetTimesRequestProto* request,
41490 ::Hdfs::Internal::SetTimesResponseProto* response,
41491 ::google::protobuf::Closure* done) {
41492 channel_->CallMethod(descriptor()->method(47),
41493 controller, request, response, done);
41494}
41495void ClientNamenodeProtocol_Stub::createSymlink(::google::protobuf::RpcController* controller,
41496 const ::Hdfs::Internal::CreateSymlinkRequestProto* request,
41497 ::Hdfs::Internal::CreateSymlinkResponseProto* response,
41498 ::google::protobuf::Closure* done) {
41499 channel_->CallMethod(descriptor()->method(48),
41500 controller, request, response, done);
41501}
41502void ClientNamenodeProtocol_Stub::getLinkTarget(::google::protobuf::RpcController* controller,
41503 const ::Hdfs::Internal::GetLinkTargetRequestProto* request,
41504 ::Hdfs::Internal::GetLinkTargetResponseProto* response,
41505 ::google::protobuf::Closure* done) {
41506 channel_->CallMethod(descriptor()->method(49),
41507 controller, request, response, done);
41508}
41509void ClientNamenodeProtocol_Stub::updateBlockForPipeline(::google::protobuf::RpcController* controller,
41510 const ::Hdfs::Internal::UpdateBlockForPipelineRequestProto* request,
41511 ::Hdfs::Internal::UpdateBlockForPipelineResponseProto* response,
41512 ::google::protobuf::Closure* done) {
41513 channel_->CallMethod(descriptor()->method(50),
41514 controller, request, response, done);
41515}
41516void ClientNamenodeProtocol_Stub::updatePipeline(::google::protobuf::RpcController* controller,
41517 const ::Hdfs::Internal::UpdatePipelineRequestProto* request,
41518 ::Hdfs::Internal::UpdatePipelineResponseProto* response,
41519 ::google::protobuf::Closure* done) {
41520 channel_->CallMethod(descriptor()->method(51),
41521 controller, request, response, done);
41522}
41523void ClientNamenodeProtocol_Stub::getDelegationToken(::google::protobuf::RpcController* controller,
41524 const ::Hdfs::Internal::GetDelegationTokenRequestProto* request,
41525 ::Hdfs::Internal::GetDelegationTokenResponseProto* response,
41526 ::google::protobuf::Closure* done) {
41527 channel_->CallMethod(descriptor()->method(52),
41528 controller, request, response, done);
41529}
41530void ClientNamenodeProtocol_Stub::renewDelegationToken(::google::protobuf::RpcController* controller,
41531 const ::Hdfs::Internal::RenewDelegationTokenRequestProto* request,
41532 ::Hdfs::Internal::RenewDelegationTokenResponseProto* response,
41533 ::google::protobuf::Closure* done) {
41534 channel_->CallMethod(descriptor()->method(53),
41535 controller, request, response, done);
41536}
41537void ClientNamenodeProtocol_Stub::cancelDelegationToken(::google::protobuf::RpcController* controller,
41538 const ::Hdfs::Internal::CancelDelegationTokenRequestProto* request,
41539 ::Hdfs::Internal::CancelDelegationTokenResponseProto* response,
41540 ::google::protobuf::Closure* done) {
41541 channel_->CallMethod(descriptor()->method(54),
41542 controller, request, response, done);
41543}
41544void ClientNamenodeProtocol_Stub::setBalancerBandwidth(::google::protobuf::RpcController* controller,
41545 const ::Hdfs::Internal::SetBalancerBandwidthRequestProto* request,
41546 ::Hdfs::Internal::SetBalancerBandwidthResponseProto* response,
41547 ::google::protobuf::Closure* done) {
41548 channel_->CallMethod(descriptor()->method(55),
41549 controller, request, response, done);
41550}
41551void ClientNamenodeProtocol_Stub::getDataEncryptionKey(::google::protobuf::RpcController* controller,
41552 const ::Hdfs::Internal::GetDataEncryptionKeyRequestProto* request,
41553 ::Hdfs::Internal::GetDataEncryptionKeyResponseProto* response,
41554 ::google::protobuf::Closure* done) {
41555 channel_->CallMethod(descriptor()->method(56),
41556 controller, request, response, done);
41557}
41558void ClientNamenodeProtocol_Stub::createSnapshot(::google::protobuf::RpcController* controller,
41559 const ::Hdfs::Internal::CreateSnapshotRequestProto* request,
41560 ::Hdfs::Internal::CreateSnapshotResponseProto* response,
41561 ::google::protobuf::Closure* done) {
41562 channel_->CallMethod(descriptor()->method(57),
41563 controller, request, response, done);
41564}
41565void ClientNamenodeProtocol_Stub::renameSnapshot(::google::protobuf::RpcController* controller,
41566 const ::Hdfs::Internal::RenameSnapshotRequestProto* request,
41567 ::Hdfs::Internal::RenameSnapshotResponseProto* response,
41568 ::google::protobuf::Closure* done) {
41569 channel_->CallMethod(descriptor()->method(58),
41570 controller, request, response, done);
41571}
41572void ClientNamenodeProtocol_Stub::allowSnapshot(::google::protobuf::RpcController* controller,
41573 const ::Hdfs::Internal::AllowSnapshotRequestProto* request,
41574 ::Hdfs::Internal::AllowSnapshotResponseProto* response,
41575 ::google::protobuf::Closure* done) {
41576 channel_->CallMethod(descriptor()->method(59),
41577 controller, request, response, done);
41578}
41579void ClientNamenodeProtocol_Stub::disallowSnapshot(::google::protobuf::RpcController* controller,
41580 const ::Hdfs::Internal::DisallowSnapshotRequestProto* request,
41581 ::Hdfs::Internal::DisallowSnapshotResponseProto* response,
41582 ::google::protobuf::Closure* done) {
41583 channel_->CallMethod(descriptor()->method(60),
41584 controller, request, response, done);
41585}
41586void ClientNamenodeProtocol_Stub::getSnapshottableDirListing(::google::protobuf::RpcController* controller,
41587 const ::Hdfs::Internal::GetSnapshottableDirListingRequestProto* request,
41588 ::Hdfs::Internal::GetSnapshottableDirListingResponseProto* response,
41589 ::google::protobuf::Closure* done) {
41590 channel_->CallMethod(descriptor()->method(61),
41591 controller, request, response, done);
41592}
41593void ClientNamenodeProtocol_Stub::deleteSnapshot(::google::protobuf::RpcController* controller,
41594 const ::Hdfs::Internal::DeleteSnapshotRequestProto* request,
41595 ::Hdfs::Internal::DeleteSnapshotResponseProto* response,
41596 ::google::protobuf::Closure* done) {
41597 channel_->CallMethod(descriptor()->method(62),
41598 controller, request, response, done);
41599}
41600void ClientNamenodeProtocol_Stub::getSnapshotDiffReport(::google::protobuf::RpcController* controller,
41601 const ::Hdfs::Internal::GetSnapshotDiffReportRequestProto* request,
41602 ::Hdfs::Internal::GetSnapshotDiffReportResponseProto* response,
41603 ::google::protobuf::Closure* done) {
41604 channel_->CallMethod(descriptor()->method(63),
41605 controller, request, response, done);
41606}
41607void ClientNamenodeProtocol_Stub::isFileClosed(::google::protobuf::RpcController* controller,
41608 const ::Hdfs::Internal::IsFileClosedRequestProto* request,
41609 ::Hdfs::Internal::IsFileClosedResponseProto* response,
41610 ::google::protobuf::Closure* done) {
41611 channel_->CallMethod(descriptor()->method(64),
41612 controller, request, response, done);
41613}
41614
41615// @@protoc_insertion_point(namespace_scope)
41616} // namespace Internal
41617} // namespace Hdfs
41618namespace google {
41619namespace protobuf {
41620template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetBlockLocationsRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetBlockLocationsRequestProto >(Arena* arena) {
41621 return Arena::CreateInternal< ::Hdfs::Internal::GetBlockLocationsRequestProto >(arena);
41622}
41623template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetBlockLocationsResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetBlockLocationsResponseProto >(Arena* arena) {
41624 return Arena::CreateInternal< ::Hdfs::Internal::GetBlockLocationsResponseProto >(arena);
41625}
41626template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetServerDefaultsRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetServerDefaultsRequestProto >(Arena* arena) {
41627 return Arena::CreateInternal< ::Hdfs::Internal::GetServerDefaultsRequestProto >(arena);
41628}
41629template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetServerDefaultsResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetServerDefaultsResponseProto >(Arena* arena) {
41630 return Arena::CreateInternal< ::Hdfs::Internal::GetServerDefaultsResponseProto >(arena);
41631}
41632template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CreateRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CreateRequestProto >(Arena* arena) {
41633 return Arena::CreateInternal< ::Hdfs::Internal::CreateRequestProto >(arena);
41634}
41635template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CreateResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CreateResponseProto >(Arena* arena) {
41636 return Arena::CreateInternal< ::Hdfs::Internal::CreateResponseProto >(arena);
41637}
41638template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::AppendRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::AppendRequestProto >(Arena* arena) {
41639 return Arena::CreateInternal< ::Hdfs::Internal::AppendRequestProto >(arena);
41640}
41641template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::AppendResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::AppendResponseProto >(Arena* arena) {
41642 return Arena::CreateInternal< ::Hdfs::Internal::AppendResponseProto >(arena);
41643}
41644template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetReplicationRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetReplicationRequestProto >(Arena* arena) {
41645 return Arena::CreateInternal< ::Hdfs::Internal::SetReplicationRequestProto >(arena);
41646}
41647template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetReplicationResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetReplicationResponseProto >(Arena* arena) {
41648 return Arena::CreateInternal< ::Hdfs::Internal::SetReplicationResponseProto >(arena);
41649}
41650template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetPermissionRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetPermissionRequestProto >(Arena* arena) {
41651 return Arena::CreateInternal< ::Hdfs::Internal::SetPermissionRequestProto >(arena);
41652}
41653template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetPermissionResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetPermissionResponseProto >(Arena* arena) {
41654 return Arena::CreateInternal< ::Hdfs::Internal::SetPermissionResponseProto >(arena);
41655}
41656template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetOwnerRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetOwnerRequestProto >(Arena* arena) {
41657 return Arena::CreateInternal< ::Hdfs::Internal::SetOwnerRequestProto >(arena);
41658}
41659template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetOwnerResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetOwnerResponseProto >(Arena* arena) {
41660 return Arena::CreateInternal< ::Hdfs::Internal::SetOwnerResponseProto >(arena);
41661}
41662template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::AbandonBlockRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::AbandonBlockRequestProto >(Arena* arena) {
41663 return Arena::CreateInternal< ::Hdfs::Internal::AbandonBlockRequestProto >(arena);
41664}
41665template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::AbandonBlockResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::AbandonBlockResponseProto >(Arena* arena) {
41666 return Arena::CreateInternal< ::Hdfs::Internal::AbandonBlockResponseProto >(arena);
41667}
41668template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::AddBlockRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::AddBlockRequestProto >(Arena* arena) {
41669 return Arena::CreateInternal< ::Hdfs::Internal::AddBlockRequestProto >(arena);
41670}
41671template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::AddBlockResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::AddBlockResponseProto >(Arena* arena) {
41672 return Arena::CreateInternal< ::Hdfs::Internal::AddBlockResponseProto >(arena);
41673}
41674template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetAdditionalDatanodeRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetAdditionalDatanodeRequestProto >(Arena* arena) {
41675 return Arena::CreateInternal< ::Hdfs::Internal::GetAdditionalDatanodeRequestProto >(arena);
41676}
41677template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetAdditionalDatanodeResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetAdditionalDatanodeResponseProto >(Arena* arena) {
41678 return Arena::CreateInternal< ::Hdfs::Internal::GetAdditionalDatanodeResponseProto >(arena);
41679}
41680template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CompleteRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CompleteRequestProto >(Arena* arena) {
41681 return Arena::CreateInternal< ::Hdfs::Internal::CompleteRequestProto >(arena);
41682}
41683template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CompleteResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CompleteResponseProto >(Arena* arena) {
41684 return Arena::CreateInternal< ::Hdfs::Internal::CompleteResponseProto >(arena);
41685}
41686template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ReportBadBlocksRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ReportBadBlocksRequestProto >(Arena* arena) {
41687 return Arena::CreateInternal< ::Hdfs::Internal::ReportBadBlocksRequestProto >(arena);
41688}
41689template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ReportBadBlocksResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ReportBadBlocksResponseProto >(Arena* arena) {
41690 return Arena::CreateInternal< ::Hdfs::Internal::ReportBadBlocksResponseProto >(arena);
41691}
41692template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ConcatRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ConcatRequestProto >(Arena* arena) {
41693 return Arena::CreateInternal< ::Hdfs::Internal::ConcatRequestProto >(arena);
41694}
41695template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ConcatResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ConcatResponseProto >(Arena* arena) {
41696 return Arena::CreateInternal< ::Hdfs::Internal::ConcatResponseProto >(arena);
41697}
41698template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::TruncateRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::TruncateRequestProto >(Arena* arena) {
41699 return Arena::CreateInternal< ::Hdfs::Internal::TruncateRequestProto >(arena);
41700}
41701template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::TruncateResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::TruncateResponseProto >(Arena* arena) {
41702 return Arena::CreateInternal< ::Hdfs::Internal::TruncateResponseProto >(arena);
41703}
41704template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetLeaseRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetLeaseRequestProto >(Arena* arena) {
41705 return Arena::CreateInternal< ::Hdfs::Internal::GetLeaseRequestProto >(arena);
41706}
41707template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetLeaseResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetLeaseResponseProto >(Arena* arena) {
41708 return Arena::CreateInternal< ::Hdfs::Internal::GetLeaseResponseProto >(arena);
41709}
41710template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ReleaseLeaseRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ReleaseLeaseRequestProto >(Arena* arena) {
41711 return Arena::CreateInternal< ::Hdfs::Internal::ReleaseLeaseRequestProto >(arena);
41712}
41713template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ReleaseLeaseResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ReleaseLeaseResponseProto >(Arena* arena) {
41714 return Arena::CreateInternal< ::Hdfs::Internal::ReleaseLeaseResponseProto >(arena);
41715}
41716template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RenameRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RenameRequestProto >(Arena* arena) {
41717 return Arena::CreateInternal< ::Hdfs::Internal::RenameRequestProto >(arena);
41718}
41719template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RenameResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RenameResponseProto >(Arena* arena) {
41720 return Arena::CreateInternal< ::Hdfs::Internal::RenameResponseProto >(arena);
41721}
41722template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::Rename2RequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::Rename2RequestProto >(Arena* arena) {
41723 return Arena::CreateInternal< ::Hdfs::Internal::Rename2RequestProto >(arena);
41724}
41725template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::Rename2ResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::Rename2ResponseProto >(Arena* arena) {
41726 return Arena::CreateInternal< ::Hdfs::Internal::Rename2ResponseProto >(arena);
41727}
41728template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::DeleteRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::DeleteRequestProto >(Arena* arena) {
41729 return Arena::CreateInternal< ::Hdfs::Internal::DeleteRequestProto >(arena);
41730}
41731template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::DeleteResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::DeleteResponseProto >(Arena* arena) {
41732 return Arena::CreateInternal< ::Hdfs::Internal::DeleteResponseProto >(arena);
41733}
41734template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::MkdirsRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::MkdirsRequestProto >(Arena* arena) {
41735 return Arena::CreateInternal< ::Hdfs::Internal::MkdirsRequestProto >(arena);
41736}
41737template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::MkdirsResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::MkdirsResponseProto >(Arena* arena) {
41738 return Arena::CreateInternal< ::Hdfs::Internal::MkdirsResponseProto >(arena);
41739}
41740template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetListingRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetListingRequestProto >(Arena* arena) {
41741 return Arena::CreateInternal< ::Hdfs::Internal::GetListingRequestProto >(arena);
41742}
41743template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetListingResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetListingResponseProto >(Arena* arena) {
41744 return Arena::CreateInternal< ::Hdfs::Internal::GetListingResponseProto >(arena);
41745}
41746template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetSnapshottableDirListingRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetSnapshottableDirListingRequestProto >(Arena* arena) {
41747 return Arena::CreateInternal< ::Hdfs::Internal::GetSnapshottableDirListingRequestProto >(arena);
41748}
41749template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetSnapshottableDirListingResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetSnapshottableDirListingResponseProto >(Arena* arena) {
41750 return Arena::CreateInternal< ::Hdfs::Internal::GetSnapshottableDirListingResponseProto >(arena);
41751}
41752template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetSnapshotDiffReportRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetSnapshotDiffReportRequestProto >(Arena* arena) {
41753 return Arena::CreateInternal< ::Hdfs::Internal::GetSnapshotDiffReportRequestProto >(arena);
41754}
41755template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetSnapshotDiffReportResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetSnapshotDiffReportResponseProto >(Arena* arena) {
41756 return Arena::CreateInternal< ::Hdfs::Internal::GetSnapshotDiffReportResponseProto >(arena);
41757}
41758template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RenewLeaseRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RenewLeaseRequestProto >(Arena* arena) {
41759 return Arena::CreateInternal< ::Hdfs::Internal::RenewLeaseRequestProto >(arena);
41760}
41761template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RenewLeaseResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RenewLeaseResponseProto >(Arena* arena) {
41762 return Arena::CreateInternal< ::Hdfs::Internal::RenewLeaseResponseProto >(arena);
41763}
41764template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RecoverLeaseRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RecoverLeaseRequestProto >(Arena* arena) {
41765 return Arena::CreateInternal< ::Hdfs::Internal::RecoverLeaseRequestProto >(arena);
41766}
41767template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RecoverLeaseResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RecoverLeaseResponseProto >(Arena* arena) {
41768 return Arena::CreateInternal< ::Hdfs::Internal::RecoverLeaseResponseProto >(arena);
41769}
41770template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetFsStatusRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetFsStatusRequestProto >(Arena* arena) {
41771 return Arena::CreateInternal< ::Hdfs::Internal::GetFsStatusRequestProto >(arena);
41772}
41773template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetFsStatsResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetFsStatsResponseProto >(Arena* arena) {
41774 return Arena::CreateInternal< ::Hdfs::Internal::GetFsStatsResponseProto >(arena);
41775}
41776template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetDatanodeReportRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetDatanodeReportRequestProto >(Arena* arena) {
41777 return Arena::CreateInternal< ::Hdfs::Internal::GetDatanodeReportRequestProto >(arena);
41778}
41779template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetDatanodeReportResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetDatanodeReportResponseProto >(Arena* arena) {
41780 return Arena::CreateInternal< ::Hdfs::Internal::GetDatanodeReportResponseProto >(arena);
41781}
41782template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetPreferredBlockSizeRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetPreferredBlockSizeRequestProto >(Arena* arena) {
41783 return Arena::CreateInternal< ::Hdfs::Internal::GetPreferredBlockSizeRequestProto >(arena);
41784}
41785template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetPreferredBlockSizeResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetPreferredBlockSizeResponseProto >(Arena* arena) {
41786 return Arena::CreateInternal< ::Hdfs::Internal::GetPreferredBlockSizeResponseProto >(arena);
41787}
41788template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetSafeModeRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetSafeModeRequestProto >(Arena* arena) {
41789 return Arena::CreateInternal< ::Hdfs::Internal::SetSafeModeRequestProto >(arena);
41790}
41791template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetSafeModeResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetSafeModeResponseProto >(Arena* arena) {
41792 return Arena::CreateInternal< ::Hdfs::Internal::SetSafeModeResponseProto >(arena);
41793}
41794template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SaveNamespaceRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SaveNamespaceRequestProto >(Arena* arena) {
41795 return Arena::CreateInternal< ::Hdfs::Internal::SaveNamespaceRequestProto >(arena);
41796}
41797template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SaveNamespaceResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SaveNamespaceResponseProto >(Arena* arena) {
41798 return Arena::CreateInternal< ::Hdfs::Internal::SaveNamespaceResponseProto >(arena);
41799}
41800template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RollEditsRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RollEditsRequestProto >(Arena* arena) {
41801 return Arena::CreateInternal< ::Hdfs::Internal::RollEditsRequestProto >(arena);
41802}
41803template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RollEditsResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RollEditsResponseProto >(Arena* arena) {
41804 return Arena::CreateInternal< ::Hdfs::Internal::RollEditsResponseProto >(arena);
41805}
41806template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RestoreFailedStorageRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RestoreFailedStorageRequestProto >(Arena* arena) {
41807 return Arena::CreateInternal< ::Hdfs::Internal::RestoreFailedStorageRequestProto >(arena);
41808}
41809template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RestoreFailedStorageResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RestoreFailedStorageResponseProto >(Arena* arena) {
41810 return Arena::CreateInternal< ::Hdfs::Internal::RestoreFailedStorageResponseProto >(arena);
41811}
41812template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RefreshNodesRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RefreshNodesRequestProto >(Arena* arena) {
41813 return Arena::CreateInternal< ::Hdfs::Internal::RefreshNodesRequestProto >(arena);
41814}
41815template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RefreshNodesResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RefreshNodesResponseProto >(Arena* arena) {
41816 return Arena::CreateInternal< ::Hdfs::Internal::RefreshNodesResponseProto >(arena);
41817}
41818template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::FinalizeUpgradeRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::FinalizeUpgradeRequestProto >(Arena* arena) {
41819 return Arena::CreateInternal< ::Hdfs::Internal::FinalizeUpgradeRequestProto >(arena);
41820}
41821template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::FinalizeUpgradeResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::FinalizeUpgradeResponseProto >(Arena* arena) {
41822 return Arena::CreateInternal< ::Hdfs::Internal::FinalizeUpgradeResponseProto >(arena);
41823}
41824template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ListCorruptFileBlocksRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ListCorruptFileBlocksRequestProto >(Arena* arena) {
41825 return Arena::CreateInternal< ::Hdfs::Internal::ListCorruptFileBlocksRequestProto >(arena);
41826}
41827template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ListCorruptFileBlocksResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ListCorruptFileBlocksResponseProto >(Arena* arena) {
41828 return Arena::CreateInternal< ::Hdfs::Internal::ListCorruptFileBlocksResponseProto >(arena);
41829}
41830template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::MetaSaveRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::MetaSaveRequestProto >(Arena* arena) {
41831 return Arena::CreateInternal< ::Hdfs::Internal::MetaSaveRequestProto >(arena);
41832}
41833template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::MetaSaveResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::MetaSaveResponseProto >(Arena* arena) {
41834 return Arena::CreateInternal< ::Hdfs::Internal::MetaSaveResponseProto >(arena);
41835}
41836template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetFileInfoRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetFileInfoRequestProto >(Arena* arena) {
41837 return Arena::CreateInternal< ::Hdfs::Internal::GetFileInfoRequestProto >(arena);
41838}
41839template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetFileInfoResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetFileInfoResponseProto >(Arena* arena) {
41840 return Arena::CreateInternal< ::Hdfs::Internal::GetFileInfoResponseProto >(arena);
41841}
41842template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::IsFileClosedRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::IsFileClosedRequestProto >(Arena* arena) {
41843 return Arena::CreateInternal< ::Hdfs::Internal::IsFileClosedRequestProto >(arena);
41844}
41845template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::IsFileClosedResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::IsFileClosedResponseProto >(Arena* arena) {
41846 return Arena::CreateInternal< ::Hdfs::Internal::IsFileClosedResponseProto >(arena);
41847}
41848template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CacheDirectiveInfoProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CacheDirectiveInfoProto >(Arena* arena) {
41849 return Arena::CreateInternal< ::Hdfs::Internal::CacheDirectiveInfoProto >(arena);
41850}
41851template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CacheDirectiveInfoExpirationProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CacheDirectiveInfoExpirationProto >(Arena* arena) {
41852 return Arena::CreateInternal< ::Hdfs::Internal::CacheDirectiveInfoExpirationProto >(arena);
41853}
41854template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CacheDirectiveStatsProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CacheDirectiveStatsProto >(Arena* arena) {
41855 return Arena::CreateInternal< ::Hdfs::Internal::CacheDirectiveStatsProto >(arena);
41856}
41857template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::AddCacheDirectiveRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::AddCacheDirectiveRequestProto >(Arena* arena) {
41858 return Arena::CreateInternal< ::Hdfs::Internal::AddCacheDirectiveRequestProto >(arena);
41859}
41860template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::AddCacheDirectiveResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::AddCacheDirectiveResponseProto >(Arena* arena) {
41861 return Arena::CreateInternal< ::Hdfs::Internal::AddCacheDirectiveResponseProto >(arena);
41862}
41863template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ModifyCacheDirectiveRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ModifyCacheDirectiveRequestProto >(Arena* arena) {
41864 return Arena::CreateInternal< ::Hdfs::Internal::ModifyCacheDirectiveRequestProto >(arena);
41865}
41866template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ModifyCacheDirectiveResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ModifyCacheDirectiveResponseProto >(Arena* arena) {
41867 return Arena::CreateInternal< ::Hdfs::Internal::ModifyCacheDirectiveResponseProto >(arena);
41868}
41869template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RemoveCacheDirectiveRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RemoveCacheDirectiveRequestProto >(Arena* arena) {
41870 return Arena::CreateInternal< ::Hdfs::Internal::RemoveCacheDirectiveRequestProto >(arena);
41871}
41872template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RemoveCacheDirectiveResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RemoveCacheDirectiveResponseProto >(Arena* arena) {
41873 return Arena::CreateInternal< ::Hdfs::Internal::RemoveCacheDirectiveResponseProto >(arena);
41874}
41875template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ListCacheDirectivesRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ListCacheDirectivesRequestProto >(Arena* arena) {
41876 return Arena::CreateInternal< ::Hdfs::Internal::ListCacheDirectivesRequestProto >(arena);
41877}
41878template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CacheDirectiveEntryProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CacheDirectiveEntryProto >(Arena* arena) {
41879 return Arena::CreateInternal< ::Hdfs::Internal::CacheDirectiveEntryProto >(arena);
41880}
41881template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ListCacheDirectivesResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ListCacheDirectivesResponseProto >(Arena* arena) {
41882 return Arena::CreateInternal< ::Hdfs::Internal::ListCacheDirectivesResponseProto >(arena);
41883}
41884template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CachePoolInfoProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CachePoolInfoProto >(Arena* arena) {
41885 return Arena::CreateInternal< ::Hdfs::Internal::CachePoolInfoProto >(arena);
41886}
41887template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CachePoolStatsProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CachePoolStatsProto >(Arena* arena) {
41888 return Arena::CreateInternal< ::Hdfs::Internal::CachePoolStatsProto >(arena);
41889}
41890template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::AddCachePoolRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::AddCachePoolRequestProto >(Arena* arena) {
41891 return Arena::CreateInternal< ::Hdfs::Internal::AddCachePoolRequestProto >(arena);
41892}
41893template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::AddCachePoolResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::AddCachePoolResponseProto >(Arena* arena) {
41894 return Arena::CreateInternal< ::Hdfs::Internal::AddCachePoolResponseProto >(arena);
41895}
41896template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ModifyCachePoolRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ModifyCachePoolRequestProto >(Arena* arena) {
41897 return Arena::CreateInternal< ::Hdfs::Internal::ModifyCachePoolRequestProto >(arena);
41898}
41899template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ModifyCachePoolResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ModifyCachePoolResponseProto >(Arena* arena) {
41900 return Arena::CreateInternal< ::Hdfs::Internal::ModifyCachePoolResponseProto >(arena);
41901}
41902template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RemoveCachePoolRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RemoveCachePoolRequestProto >(Arena* arena) {
41903 return Arena::CreateInternal< ::Hdfs::Internal::RemoveCachePoolRequestProto >(arena);
41904}
41905template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RemoveCachePoolResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RemoveCachePoolResponseProto >(Arena* arena) {
41906 return Arena::CreateInternal< ::Hdfs::Internal::RemoveCachePoolResponseProto >(arena);
41907}
41908template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ListCachePoolsRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ListCachePoolsRequestProto >(Arena* arena) {
41909 return Arena::CreateInternal< ::Hdfs::Internal::ListCachePoolsRequestProto >(arena);
41910}
41911template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::ListCachePoolsResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::ListCachePoolsResponseProto >(Arena* arena) {
41912 return Arena::CreateInternal< ::Hdfs::Internal::ListCachePoolsResponseProto >(arena);
41913}
41914template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CachePoolEntryProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CachePoolEntryProto >(Arena* arena) {
41915 return Arena::CreateInternal< ::Hdfs::Internal::CachePoolEntryProto >(arena);
41916}
41917template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetFileLinkInfoRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetFileLinkInfoRequestProto >(Arena* arena) {
41918 return Arena::CreateInternal< ::Hdfs::Internal::GetFileLinkInfoRequestProto >(arena);
41919}
41920template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetFileLinkInfoResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetFileLinkInfoResponseProto >(Arena* arena) {
41921 return Arena::CreateInternal< ::Hdfs::Internal::GetFileLinkInfoResponseProto >(arena);
41922}
41923template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetContentSummaryRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetContentSummaryRequestProto >(Arena* arena) {
41924 return Arena::CreateInternal< ::Hdfs::Internal::GetContentSummaryRequestProto >(arena);
41925}
41926template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetContentSummaryResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetContentSummaryResponseProto >(Arena* arena) {
41927 return Arena::CreateInternal< ::Hdfs::Internal::GetContentSummaryResponseProto >(arena);
41928}
41929template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetQuotaRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetQuotaRequestProto >(Arena* arena) {
41930 return Arena::CreateInternal< ::Hdfs::Internal::SetQuotaRequestProto >(arena);
41931}
41932template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetQuotaResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetQuotaResponseProto >(Arena* arena) {
41933 return Arena::CreateInternal< ::Hdfs::Internal::SetQuotaResponseProto >(arena);
41934}
41935template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::FsyncRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::FsyncRequestProto >(Arena* arena) {
41936 return Arena::CreateInternal< ::Hdfs::Internal::FsyncRequestProto >(arena);
41937}
41938template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::FsyncResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::FsyncResponseProto >(Arena* arena) {
41939 return Arena::CreateInternal< ::Hdfs::Internal::FsyncResponseProto >(arena);
41940}
41941template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetTimesRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetTimesRequestProto >(Arena* arena) {
41942 return Arena::CreateInternal< ::Hdfs::Internal::SetTimesRequestProto >(arena);
41943}
41944template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetTimesResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetTimesResponseProto >(Arena* arena) {
41945 return Arena::CreateInternal< ::Hdfs::Internal::SetTimesResponseProto >(arena);
41946}
41947template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CreateSymlinkRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CreateSymlinkRequestProto >(Arena* arena) {
41948 return Arena::CreateInternal< ::Hdfs::Internal::CreateSymlinkRequestProto >(arena);
41949}
41950template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CreateSymlinkResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CreateSymlinkResponseProto >(Arena* arena) {
41951 return Arena::CreateInternal< ::Hdfs::Internal::CreateSymlinkResponseProto >(arena);
41952}
41953template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetLinkTargetRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetLinkTargetRequestProto >(Arena* arena) {
41954 return Arena::CreateInternal< ::Hdfs::Internal::GetLinkTargetRequestProto >(arena);
41955}
41956template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetLinkTargetResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetLinkTargetResponseProto >(Arena* arena) {
41957 return Arena::CreateInternal< ::Hdfs::Internal::GetLinkTargetResponseProto >(arena);
41958}
41959template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::UpdateBlockForPipelineRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::UpdateBlockForPipelineRequestProto >(Arena* arena) {
41960 return Arena::CreateInternal< ::Hdfs::Internal::UpdateBlockForPipelineRequestProto >(arena);
41961}
41962template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::UpdateBlockForPipelineResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::UpdateBlockForPipelineResponseProto >(Arena* arena) {
41963 return Arena::CreateInternal< ::Hdfs::Internal::UpdateBlockForPipelineResponseProto >(arena);
41964}
41965template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::UpdatePipelineRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::UpdatePipelineRequestProto >(Arena* arena) {
41966 return Arena::CreateInternal< ::Hdfs::Internal::UpdatePipelineRequestProto >(arena);
41967}
41968template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::UpdatePipelineResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::UpdatePipelineResponseProto >(Arena* arena) {
41969 return Arena::CreateInternal< ::Hdfs::Internal::UpdatePipelineResponseProto >(arena);
41970}
41971template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetBalancerBandwidthRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetBalancerBandwidthRequestProto >(Arena* arena) {
41972 return Arena::CreateInternal< ::Hdfs::Internal::SetBalancerBandwidthRequestProto >(arena);
41973}
41974template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::SetBalancerBandwidthResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::SetBalancerBandwidthResponseProto >(Arena* arena) {
41975 return Arena::CreateInternal< ::Hdfs::Internal::SetBalancerBandwidthResponseProto >(arena);
41976}
41977template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetDataEncryptionKeyRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetDataEncryptionKeyRequestProto >(Arena* arena) {
41978 return Arena::CreateInternal< ::Hdfs::Internal::GetDataEncryptionKeyRequestProto >(arena);
41979}
41980template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::GetDataEncryptionKeyResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::GetDataEncryptionKeyResponseProto >(Arena* arena) {
41981 return Arena::CreateInternal< ::Hdfs::Internal::GetDataEncryptionKeyResponseProto >(arena);
41982}
41983template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CreateSnapshotRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CreateSnapshotRequestProto >(Arena* arena) {
41984 return Arena::CreateInternal< ::Hdfs::Internal::CreateSnapshotRequestProto >(arena);
41985}
41986template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::CreateSnapshotResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::CreateSnapshotResponseProto >(Arena* arena) {
41987 return Arena::CreateInternal< ::Hdfs::Internal::CreateSnapshotResponseProto >(arena);
41988}
41989template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RenameSnapshotRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RenameSnapshotRequestProto >(Arena* arena) {
41990 return Arena::CreateInternal< ::Hdfs::Internal::RenameSnapshotRequestProto >(arena);
41991}
41992template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::RenameSnapshotResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::RenameSnapshotResponseProto >(Arena* arena) {
41993 return Arena::CreateInternal< ::Hdfs::Internal::RenameSnapshotResponseProto >(arena);
41994}
41995template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::AllowSnapshotRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::AllowSnapshotRequestProto >(Arena* arena) {
41996 return Arena::CreateInternal< ::Hdfs::Internal::AllowSnapshotRequestProto >(arena);
41997}
41998template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::AllowSnapshotResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::AllowSnapshotResponseProto >(Arena* arena) {
41999 return Arena::CreateInternal< ::Hdfs::Internal::AllowSnapshotResponseProto >(arena);
42000}
42001template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::DisallowSnapshotRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::DisallowSnapshotRequestProto >(Arena* arena) {
42002 return Arena::CreateInternal< ::Hdfs::Internal::DisallowSnapshotRequestProto >(arena);
42003}
42004template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::DisallowSnapshotResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::DisallowSnapshotResponseProto >(Arena* arena) {
42005 return Arena::CreateInternal< ::Hdfs::Internal::DisallowSnapshotResponseProto >(arena);
42006}
42007template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::DeleteSnapshotRequestProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::DeleteSnapshotRequestProto >(Arena* arena) {
42008 return Arena::CreateInternal< ::Hdfs::Internal::DeleteSnapshotRequestProto >(arena);
42009}
42010template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Hdfs::Internal::DeleteSnapshotResponseProto* Arena::CreateMaybeMessage< ::Hdfs::Internal::DeleteSnapshotResponseProto >(Arena* arena) {
42011 return Arena::CreateInternal< ::Hdfs::Internal::DeleteSnapshotResponseProto >(arena);
42012}
42013} // namespace protobuf
42014} // namespace google
42015
42016// @@protoc_insertion_point(global_scope)
42017